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.hhKFhj5hhubah}(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.hhKJhjTubj)}(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.hhKMhjsubj)}(hhh]jl)}(hstream (connection) socketh]hstream (connection) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKMhjpubj)}(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.hhKPhjubj)}(hhh]jl)}(hdatagram (conn.less) socketh]hdatagram (conn.less) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKPhjpubj)}(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.hhKShjubj)}(hhh]jl)}(h raw socketh]h raw socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjpubj)}(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.hhKVhjubj)}(hhh]jl)}(hreliably-delivered messageh]hreliably-delivered message}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKVhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKVhjpubj)}(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.hhKYhjWubj)}(hhh]jl)}(hsequential packet socketh]hsequential packet socket}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKYhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKYhjpubj)}(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.hhK\hjubj)}(hhh]jl)}(h+Datagram Congestion Control Protocol socketh]h+Datagram Congestion Control Protocol socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK\hjpubj)}(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.hhK_hjubj)}(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&]uh1jkhjhK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK_hjpubeh}(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.hhKbhhhhubjl)}(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.hhKOhhhhubh)}(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.hhKVubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj\hKVubj3)}(hsock_shutdown_cmdh]j9)}(hjIh]hsock_shutdown_cmd}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj\hKVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj\hKVubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hKVhjDhhubjg)}(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.hhKlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj\hKVubeh}(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.hhKphjubj)}(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.hhKshjubj)}(hhh]jl)}(hshutdown receptionsh]hshutdown receptions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(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.hhKvhjubj)}(hhh]jl)}(hshutdown transmissionsh]hshutdown transmissions}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKvhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKvhjubj)}(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.hhKxhj>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.hhKyhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKxhjubeh}(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.hhK~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK~ubj3)}(hsocketh]j9)}(hjh]hsocket}(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)}(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&]uh1jfhjhhhjhK~ubeh}(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 )}(hubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM hj:ubj)}(hhh](j)}(h4``struct sk_buff *skb`` buffer to orphan frags from 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.hhMJ hjYubj)}(hhh]jl)}(hbuffer to orphan frags fromh]hbuffer to orphan frags from}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMJ hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMJ hjVubj)}(h9``gfp_t gfp_mask`` allocation mask for replacement pages 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.hhMK hjubj)}(hhh]jl)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMK hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMK hjVubeh}(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.hhMM hj:ubj)}(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.hhML hjubah}(h]h ]h"]h$]h&]uh1jhjhML hj:ubeh}(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}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMc ubj3)}(h__skb_queue_purge_reasonh]j9)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj0hMc ubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](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)}(h sk_buff_headh]h sk_buff_head}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jEsbc.__skb_queue_purge_reasonasbuh1hhj[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)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(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_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_queue_purge_reasonasbuh1hhjͥubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjͥubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjͥubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj0hMc ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj0hMc ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMc hjhhubjg)}(hhh]jl)}(h empty a listh]h empty a list}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj0hMc ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" 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)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hjaubj)}(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.hhMd hjubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMd hj}ubj)}(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.hhMe hjubj)}(hhh]jl)}(h drop reasonh]h drop reason}(hjئhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԦhMe hjզubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԦhMe hj}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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hjaubj)}(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 }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hj hhhNhNubah}(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.hhMf hjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj;hMf hjubah}(h]h ]h"]h$]h&]uh1jhj;hMf hjaubeh}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhV/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!hjhhhhjzhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhhjzhM ubj3)}(hnetdev_alloc_fragh]j9)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjzhM 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 }(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjzhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhM ubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhM hjahhubjg)}(hhh]jl)}(hallocate a page fragmenth]hallocate a page fragment}(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&]uh1jfhjahhhjzhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj" 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)}(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:17: ./include/linux/skbuff.hhM hj4ubj)}(hhh]j)}(h&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hjYh]hunsigned int fragsz}(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.hhM hjSubj)}(hhh]jl)}(h fragment sizeh]h fragment size}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjPubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj4ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj4ubeh}(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&]uh1jhjը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 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 netdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjըhhhjhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjըhhhjhM ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjըhhhjhM ubj3)}(hnetdev_alloc_skbh]j9)}(hjh]hnetdev_alloc_skb}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjըhhhjhM ubj )}(h-(struct net_device *dev, unsigned int length)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jc.netdev_alloc_skbasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hunsigned int lengthh](jM )}(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 )}(hinth]hint}(hjߩhhhNhNubah}(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 hjKubeh}(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.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(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ΨhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhj" 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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjAubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjfh]hstruct net_device *dev}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj`ubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(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+``unsigned int length`` length to allocate h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(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 to allocateh]hlength to allocate}(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&]uh1jhjAubjl)}(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 hjAubj)}(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 }(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_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubjl)}(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}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubht is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.}(hj&hhhNhNubeh}(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 hjAubeh}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjvhM 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_pagesasbuh1hhjehhhjvhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjvhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjehhhjvhM ubj3)}(h__dev_alloc_pagesh]j9)}(hjh]h__dev_alloc_pages}(hjȫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjīubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjvhM 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 ]jc.__dev_alloc_pagesasbuh1hhj߫ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj߫ubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߫ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj۫ubj )}(hunsigned int orderh](jM )}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubjM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(horderh]horder}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj۫ubeh}(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)}(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&]uh1jfhj^hhhjvhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx 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.hhM hjȬubj)}(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&]uh1jhjȬubeh}(h]h ]h"]h$]h&]uh1jhjhM hjŬubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(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)}(hsize of the allocationh]hsize of the allocation}(hj hhhNhNubah}(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&]uh1jhjubjl)}(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.hhM hjubjl)}(hAllocate a new page.h]hAllocate a new page.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh( is returned if there is no free memory.}(hjghhhNhNubeh}(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](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}(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!hjhhhjhMubh)}(hhh]j9)}(hpageh]hpage}(hjíhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŭmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjhhhjhMubj")}(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__dev_alloc_pageh]j9)}(hjh]h__dev_alloc_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(gfp_t gfp_mask)h]j )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j߭c.__dev_alloc_pageasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjMhhhNhNubah}(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)}(hallocate a page for network Rxh]hallocate a page for network Rx}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(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)}(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)}(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}(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:17: ./include/linux/skbuff.hhM hjubjl)}(hAllocate a new page.h]hAllocate a new page.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM 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&]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](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}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhMubj3)}(hdev_page_is_reusableh]j9)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhMubj )}(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 }(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}(hjʯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̯modnameN classnameNj j )}j ]j )}j jwsbc.dev_page_is_reusableasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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 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)}(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.hhMhj,hhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj" 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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj)}(hhh]j)}(h-``const struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hjph]hconst struct page *page}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj)}(hhh]jl)}(hthe page to testh]hthe page to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubjl)}(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.hhMhjKubjl)}(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.hhMhjKubjl)}(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.hhM hjKubjl)}(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.hhM!hjKubeh}(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}(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_propagate_pfmemalloch]j9)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hM+ubj )}(h.(const struct page *page, struct sk_buff *skb)h](j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j:sbc.skb_propagate_pfmemallocasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hpageh]hpage}(hjȱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(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.skb_propagate_pfmemallocasbuh1hhjݱ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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݱubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(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+hj hhubjg)}(hhh]jl)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(hjbhhhNhNubah}(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 hhhj%hM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" 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.hhM/hj~ubj)}(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)}(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.hhM,hjubj)}(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&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(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}(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 skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(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ֲubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubeh}(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 (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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhM7ubjM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhjDhM7ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhM7ubj3)}(h skb_frag_offh]j9)}(h skb_frag_offh]h skb_frag_off}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhM7ubj )}(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 jusbc.skb_frag_offasbuh1hhjubj")}(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)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhM7ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhM7hj+hhubjg)}(hhh]jl)}(h$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhjDhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj" hNhNubj)}(h?**Parameters** ``const skb_frag_t *frag`` the paged fragmenth](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)}(h-``const skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjSh]hconst skb_frag_t *frag}(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.hhM=hjMubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM=hjJubah}(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}(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_frag_off_addh]j9)}(hskb_frag_off_addh]hskb_frag_off_add}(hjδhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʴubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM@ubj )}(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 jдsbc.skb_frag_off_addasbuh1hhjubj")}(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)}(hfragh]hfrag}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(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)}(hdeltah]hdelta}(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)}(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.hhM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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.hhMDhjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjֵh]hskb_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.hhMAhjеubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjеubeh}(h]h ]h"]h$]h&]uh1jhjhMAhj͵ubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(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.hhMChj ubj)}(hhh]jl)}(h value to addh]h value to add}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMChj͵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_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)}(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.hhMihj3ubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjXh]hconst skb_frag_t *frag}(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.hhMfhjRubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMfhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMfhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(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.hhMhhj3ubjl)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjhhhNhNubh)}(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.hhMhhjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjջhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6. Returns NULL if this frag has no associated net_iov.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjлhMhhj3ubeh}(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&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMtubh)}(hhh]j9)}(hpageh]hpage}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j skb_frag_pagesbc.skb_frag_pageasbuh1hhj hhhjhMtubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMtubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMtubj3)}(h skb_frag_pageh]j9)}(hjJh]h skb_frag_page}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMtubj )}(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_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)}(hfragh]hfrag}(hj޼hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" 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)}(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.hhMxhj$ubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjIh]hconst skb_frag_t *frag}(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.hhMuhjCubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMuhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMuhj@ubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhj$ubjl)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjhhhNhNubh)}(h:c:type:`struct page `h]j)}(hjh]h struct page}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjƽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3. Returns NULL if this frag has no associated page.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMwhj$ubeh}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_netmemsbc.skb_frag_netmemasbuh1hhjhhhV/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_frag_netmemh]j9)}(hjh]hskb_frag_netmem}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]jc.skb_frag_netmemasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hfragh]hfrag}(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 jYjZhjhhhj"hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhjhhubjg)}(hhh]jl)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(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&]uh1jfhjhhhj"hMubeh}(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)}(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 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.hhMhj ubj)}(hhh]jl)}(h the fragmenth]h the fragment}(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&]uh1jhjubjl)}(h **Return**h]j)}(hjMh]hReturn}(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.hhMhjubjl)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hjchhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hjmh]h netmem_ref}(hjohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubh associated with }(hjchhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(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}(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 }(hjֿhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjÿhhhjտhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjÿhhhjտhMubj3)}(hskb_frag_addressh]j9)}(hskb_frag_addressh]hskb_frag_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjÿhhhjտhMubj )}(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}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.skb_frag_addressasbuh1hhj 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)}(hfragh]hfrag}(hjjhhhNhNubah}(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 jYjZhjhhhjտhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjտhMhjhhubjg)}(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&]uh1jfhjhhhjտhMubeh}(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)}(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)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hj&hhhNhNubj)}(h**frag**h]hfrag}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh". The page must already be mapped.}(hj&hhhNhNubeh}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjchhhjuhMubj3)}(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&]jPjQuh1j2hjchhhjuhMubj )}(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*}(hjhhhNhNubah}(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 hjchhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhMubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhj\hhubjg)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" 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)}(hjVh]h Parameters}(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.hhMhjPubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjuh]hconst skb_frag_t *frag}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjoubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubjl)}(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.hhMhjPubjl)}(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.hhMhjPubeh}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_physsbc.skb_frag_physasbuh1hhjhhhV/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)}(h skb_frag_physh]j9)}(hj:h]h skb_frag_phys}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj=hMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(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 ]j8c.skb_frag_physasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(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)}(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&]uh1jfhjhhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.hhMhjubj)}(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.hhMhj'ubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h1the physical address of the data within **frag**.h](h(the physical address of the data within }(hj~hhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(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.hhMhjubeh}(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&]uh1j8hjubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_page_copyasbuh1hhjubj")}(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)}(hfragtoh]hfragto}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst skb_frag_t *fragfromh](j)}(hj h]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jc.skb_frag_page_copyasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(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)}(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)}(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)}(h6``skb_frag_t *fragto`` skb fragment where page is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjh]hskb_frag_t *fragto}(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)}(hskb fragment where page is seth]hskb fragment where page is set}(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?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjNh]hconst skb_frag_t *fragfrom}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHubj)}(hhh]jl)}(h skb fragment page is copied fromh]h skb fragment page is copied from}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1j8hjubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(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 ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(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_mapasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t offseth](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_frag_dma_mapasbuh1hhjubj")}(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 hjubj )}(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 ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum dma_data_direction dirh](j)}(hjh]henum}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(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_mapasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(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%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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(h9``struct device *dev`` the device to map the fragment to 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjXh]hconst skb_frag_t *frag}(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.hhMhjRubj)}(hhh]jl)}(hthe paged fragment to maph]hthe paged fragment to map}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(hM``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) h](j)}(h``enum dma_data_direction dir``h]j)}(hjh]henum dma_data_direction dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h,the direction of the mapping (``PCI_DMA_*``)h](hthe direction of the mapping (}(hjhhhNhNubj)}(h ``PCI_DMA_*``h]h PCI_DMA_*}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(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)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hjghhhNhNubj)}(h**frag**h]hfrag}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh to }(hjghhhNhNubj)}(h **device**h]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(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_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}(hjhhhNhNubah}(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}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jsbc.skb_clone_writableasbuh1hhjubj")}(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)}(hskbh]hskb}(hjkhhhNhNubah}(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 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&]jjjjjjjjjuh1hhhhj" 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)}(hjh]h Parameters}(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.hhMhjubj)}(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 hjubj)}(h1``unsigned int len`` length up to which to write h](j)}(h``unsigned int len``h]j)}(hj`h]hunsigned int len}(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.hhM hjZubj)}(hhh]jl)}(hlength up to which to writeh]hlength up to which to write}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM 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.hhMhjubj)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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.hhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubj3)}(hskb_cowh]j9)}(hskb_cowh]hskb_cow}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.ubj )}(h,(struct sk_buff *skb, unsigned int headroom)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j j sb c.skb_cowasbuh1hhj#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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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© header of skb when it is requiredh]h© header of skb when it is required}(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)}(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)}(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.hhM2hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow 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/hj6ubj)}(hhh]jl)}(h buffer to cowh]h buffer to cow}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM/hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM/hj3ubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjuh]hunsigned int headroom}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjoubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj3ubeh}(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.hhM2hjubj)}(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.hhM1hjubjl)}(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 }(hjhhhNhNubj)}(h **headroom**h]hheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of space at head.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubeh}(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 )}(hhMubj3)}(hskb_needs_linearizeh]j9)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj>hMubj )}(h1(struct sk_buff *skb, netdev_features_t features)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(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 jSsbc.skb_needs_linearizeasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(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_linearizeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(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)}(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.}(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&]uh1jfhj&hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" 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)}(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/``struct sk_buff *skb`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjyh]hstruct sk_buff *skb}(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)}(hsocket buffer to checkh]hsocket buffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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&]uh1jhjhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(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.hhMhjTubj)}(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.}(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&]uh1jhjhMhjTubeh}(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}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhM6ubj3)}(hskb_get_timestamph]j9)}(hskb_get_timestamph]hskb_get_timestamp}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhM6ubj )}(h?(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(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_get_timestampasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(h"struct __kernel_old_timeval *stamph](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__kernel_old_timevalh]h__kernel_old_timeval}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jc.skb_get_timestampasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstamph]hstamp}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhM6ubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhM6hj1hhubjg)}(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.hhM6hjhhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjJhM6ubeh}(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.hhM:hjubj)}(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.hhM7hjubj)}(hhh]jl)}(hskb to get stamp fromh]hskb to get stamp from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(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)}(hjh]h"struct __kernel_old_timeval *stamp}(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.hhM8hjubj)}(hhh]jl)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hjhhhNhNubah}(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)}(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)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjRubah}(h]h ]h"]h$]h&]uh1jhjdhM9hjubeh}(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 }(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 )}(h const int lenh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubjM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hlenh]hlen}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(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}(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]j~ah ](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().}(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)}(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)}(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`` packet to operate on 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjAubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(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}(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)}(hQnumber of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data `h](h0number of bytes to memmove() from pre-push/pull }(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&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubjl)}(hMMoves **n** bytes of packet data, can be zero, and all bytes of skb metadata.h](hMoves }(hjHhhhNhNubj)}(h**n**h]hn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhB bytes of packet data, can be zero, and all bytes of skb metadata.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubjl)}(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 }(hjihhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjsh]h sk_buff->data}(hjuhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubh 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.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj"ubjl)}(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 hj"ubeh}(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.hhM+ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM+ubj3)}(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&]jPjQuh1j2hjhhhjhM+ubj )}(hC(struct sk_buff *skb, const unsigned 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}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_data_moveasbuh1hhjubj")}(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 hjubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(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 }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hj8hhhNhNubah}(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/Move packet data and metadata after skb_pull().h]h/Move packet data and metadata after skb_pull().}(hjahhhNhNubah}(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&]uh1jfhjhhhjhM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj" 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.Uh](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-``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.hhM,hjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(hY``const unsigned int len`` number of bytes pulled from :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.hhM-hjubj)}(hhh]jl)}(h=number of bytes pulled from :c:type:`sk_buff->data `h](hnumber of bytes 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_buffuh1hhjhM-hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(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)}(hj3h]hconst unsigned int n}(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)}(hLnumber of bytes to memmove() from pre-pull :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-pull }(hjLhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjVh]h sk_buff->data}(hjXhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjHhM.hjLubeh}(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&]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.hhM0hj}ubjl)}(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.hhM/hj}ubeh}(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.hhM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM;ubj3)}(hskb_postpush_data_moveh]j9)}(hskb_postpush_data_moveh]hskb_postpush_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM;ubj )}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)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 reftargetj/modnameN classnameNj j )}j ]j )}j jsbc.skb_postpush_data_moveasbuh1hhj 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 hjubj )}(hconst unsigned int lenh](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 )}(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 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}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj2hhhNhNubah}(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 hjhhhjhM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM;ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM;hjhhubjg)}(hhh]jl)}(h/Move packet data and metadata after skb_push().h]h/Move packet data and metadata after skb_push().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjfhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM;ubeh}(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.hhM?hjubj)}(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.hhM<hjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(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.hhM=hjubj)}(hhh]jl)}(h=number of bytes pushed onto :c:type:`sk_buff->data `h](hnumber of bytes pushed onto }(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_buffuh1hhjhM=hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(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)}(hj;h]hconst unsigned int n}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hj5ubj)}(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 }(hjThhhNhNubh)}(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_buffuh1hhjPhM>hjTubeh}(h]h ]h"]h$]h&]uh1jkhjPhM>hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM>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@hjubjl)}(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.hhM?hjubeh}(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}(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_complete_tx_timestamph]j9)}(hskb_complete_tx_timestamph]hskb_complete_tx_timestamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM_ubj )}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.skb_complete_tx_timestampasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jQc.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 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%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.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhj" 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&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj&ubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhjEubj)}(hhh]jl)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMfhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMfhjBubj)}(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.hhMghj~ubj)}(hhh]jl)}(hhardware time stampsh]hhardware time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMghjBubeh}(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.hhMihj&ubjl)}(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.hhM`hj&ubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMrubj3)}(h skb_tstamp_txh]j9)}(h skb_tstamp_txh]h skb_tstamp_tx}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMrubj )}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *orig_skbh](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)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j'sbc.skb_tstamp_txasbuh1hhj=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)}(horig_skbh]horig_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(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 ]j{c.skb_tstamp_txasbuh1hhjubj")}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(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(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" 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)}(hjVh]h Parameters}(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.hhMvhjPubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjuh]hstruct sk_buff *orig_skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshjoubj)}(hhh]jl)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMshjlubj)}(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.hhMthjubj)}(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&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjlubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjPubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjPubeh}(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 hj*hhhV/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!hj*hhhj<hMubj3)}(hskb_tx_timestamph]j9)}(hskb_tx_timestamph]hskb_tx_timestamp}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMubj )}(h(struct sk_buff *skb)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.skb_tx_timestampasbuh1hhjgubj")}(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 hjcubah}(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%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&]uh1jfhj#hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.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}(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)}(hA socket buffer.h]hA socket buffer.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjjh]h Description}(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.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)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjuubj)}(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&]uh1jhjuubjl)}(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.hhMhjuubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubeh}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj@hMubj3)}(hskb_exth]j9)}(hj-h]hskb_ext}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/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)}(hsk_buff extensionsh]hsk_buff extensions}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj@hMubeh}(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.hhMhjubj)}(hhh]jl)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hjh]hoffset}(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)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hj4hhhNhNubj)}(h**data**h]hdata}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh to obtain extension address}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hjfh]hchunks}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`ubj)}(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&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(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&]uh1jhjhMhjubeh}(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)}(hah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhj@hhubjg)}(hhh]jl)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(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@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" 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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjgh]hconst struct sk_buff *skb}(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)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjl)}(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.hhMhjBubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_head_is_lockedh]j9)}(hskb_head_is_lockedh]hskb_head_is_locked}(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}(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)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j sbc.skb_head_is_lockedasbuh1hhjubj")}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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.hhMhjubj)}(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&]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.hhMhjubjl)}(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.}(hjShhhNhNubah}(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](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&]uh1jhj~hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhjhKubj3)}(h sock_commonh]j9)}(hj|h]h sock_common}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhKubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjwhhubjg)}(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&]uh1jfhjwhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" 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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubjl)}(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.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj1h]h{unnamed_union}}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhj(ubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hjjh]h skc_addrpair}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjdubj)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKshj(ubj)}(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&]uh1jhjhKhj(ubj)}(h ``skc_daddr`` Foreign IPv4 addr h](j)}(h ``skc_daddr``h]j)}(hjh]h skc_daddr}(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.hhKqhjubj)}(hhh]jl)}(hForeign IPv4 addrh]hForeign IPv4 addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhj(ubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hj5h]h skc_rcv_saddr}(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.hhKrhj/ubj)}(hhh]jl)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKrhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKrhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjnh]h{unnamed_union}}(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.hhKhjhubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(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&]uh1jhjhKthj(ubj)}(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.hhKuhjubj)}(hhh]jl)}(h-two u16 hash values used by UDP lookup tablesh]h-two u16 hash values used by UDP lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhj(ubj)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hKhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hKhj(ubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjRh]h skc_portpair}(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.hhKxhjLubj)}(hhh]jl)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjkhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh & }(hjkhhhNhNubj)}(h **skc_num**h]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jkhjghKxhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghKxhj(ubj)}(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&]uh1jhjhKhj(ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhj(ubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hjh]hskc_num}(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.hhKwhjubj)}(hhh]jl)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hKwhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hKwhj(ubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjVh]h skc_family}(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.hhKyhjPubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKyhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKyhj(ubj)}(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&]uh1jhjhKzhj(ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK{hj(ubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hjh]h skc_reuseport}(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.hhK|hj ubj)}(hhh]jl)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hK|hj(ubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjVh]h skc_ipv6only}(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.hhK}hjPubj)}(hhh]jl)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhK}hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhK}hj(ubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjh]hskc_net_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.hhK~hjubj)}(hhh]jl)}(h socket is using net ref countingh]h socket is using net ref counting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK~hj(ubj)}(hJ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb h](j)}(h``skc_bypass_prot_mem``h]j)}(hjh]hskc_bypass_prot_mem}(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)}(h1bypass the per-protocol memory accounting for skbh]h1bypass the per-protocol memory accounting for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hjh]hskc_bound_dev_if}(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)}(hbound device index if != 0h]hbound device index if != 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj:h]h{unnamed_union}}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj4ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhj(ubj)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hjsh]h skc_bind_node}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjmubj)}(hhh]jl)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h2``skc_portaddr_node`` second hash linkage for UDP h](j)}(h``skc_portaddr_node``h]j)}(hjh]hskc_portaddr_node}(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)}(hsecond hash linkage for UDPh]hsecond hash linkage for UDP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hjh]hskc_prot}(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)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hj h]hskc_net}(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)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3 hKhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hKhj(ubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hjW h]h skc_v6_daddr}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjQ ubj)}(hhh]jl)}(hIPV6 destination addressh]hIPV6 destination address}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl hKhjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hKhj(ubj)}(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 hKhj(ubj)}(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 hKhj(ubj)}(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 hKhj(ubj)}(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)}(hj; h]h skc_flags}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj5 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 }(hjT hhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh (l_onoff), }(hjT hhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh, }(hjT hhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh, }(hjT hhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh settings, }(hjT hhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh settings}(hjT hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjQ ubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jhjP hKhj(ubj)}(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 hKhj(ubj)}(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)}(hj h]h skc_tw_dr}(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)}(hp(aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**]h](h(aka tw_dr) ptr to }(hj4 hhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hj> h]hstruct inet_timewait_death_row}(hj@ hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj< 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.hhKhj4 ubh [union with }(hj4 hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubh]}(hj4 hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj[ hKhj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj0 hKhj(ubj)}(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 hKhj(ubj)}(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&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(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}(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)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hj5 h]hskc_tx_queue_mapping}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(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}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ hKhjK ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjJ hKhj(ubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjn h]hskc_rx_queue_mapping}(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)}(h#rx queue number for this connectionh]h#rx queue number for this connection}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(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 hKhj(ubj)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hj h]hskc_incoming_cpu}(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,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 hKhj(ubj)}(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)}(hj h]h skc_rcv_wnd}(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](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 }(hj2 hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubh]}(hj2 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. hKhj(ubj)}(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)}(hje h]hskc_tw_rcv_nxt}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj_ ubj)}(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 }(hj~ hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(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&]uh1jhjz hKhj(ubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hj h]h skc_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.hhKhj ubj)}(hhh]jl)}(hreference counth]hreference count}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubeh}(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.}(hjhhhNhNubah}(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&]uh1jhjhKhj" 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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjIhKubj3)}(hsockh]j9)}(hj6h]hsock}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjIhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjIhKubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhKhj1hhubjg)}(hhh]jl)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj{hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjIhKubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hj$h]hsk_drops}(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%hjubj)}(hhh]jl)}(hraw/udp drops counterh]hraw/udp drops counter}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM%hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM%hjubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hj]h]h sk_peek_off}(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.hhMKhjWubj)}(hhh]jl)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMKhjubj)}(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)}(hjh]h sk_backlog}(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.hhMhjubj)}(hhh]jl)}(h-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hjAh]h sk_rx_dst}(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'receive input route used by early demuxh]h'receive input route used by early demux}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjzh]hsk_rx_dst_ifindex}(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.hhKhjtubj)}(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&]uh1jhjtubeh}(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 }(hjhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjh]h sk_ll_usec}(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.hhMhjubj)}(hhh]jl)}(h'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hjAh]h sk_napi_id}(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.hhM hj;ubj)}(hhh]jl)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM hjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjzh]hsk_busy_poll_budget}(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'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjEh]h sk_rcvbuf}(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)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hj~h]h sk_filter}(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.hhM8hjxubj)}(hhh]jl)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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)}(hjh]hsk_wq}(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)}(hsock wait queue and async headh]hsock wait queue and async head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hj)h]h sk_data_ready}(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.hhMUhj#ubj)}(hhh]jl)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMUhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMUhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hjbh]h sk_rcvtimeo}(hjdhhhNhNubah}(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.hhM4hj\ubj)}(hhh]jl)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh setting}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjwhM4hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM4hjubj)}(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)}(hjh]hsk_err}(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 last errorh]h last error}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hj)h]h sk_socket}(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)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMHhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMHhjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hjbh]hsk_memcg}(hjdhhhNhNubah}(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.hhMQhj\ubj)}(hhh]jl)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMQhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMQhjubj)}(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}(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.hhKhjubj)}(hhh]jl)}(h synchronizerh]h synchronizer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjFh]hsk_reserved_mem}(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.hhM hj@ubj)}(hhh]jl)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(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_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hjh]hsk_forward_alloc}(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.hhM hjyubj)}(hhh]jl)}(hspace allocated forwardh]hspace allocated forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(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)}(hjh]hsk_write_pending}(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.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&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hj*h]h sk_omem_alloc}(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"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM 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)}(hjch]h sk_err_soft}(hjehhhNhNubah}(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$hj]ubj)}(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’}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM$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)}(hjh]h sk_tsq_flags}(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.hhMhj ubj)}(hhh]jl)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(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_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjHh]h{unnamed_union}}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjBubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhjubj)}(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.hhMLhj{ubj)}(hhh]jl)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(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}(hjhhhNhNubah}(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)}(hjh]hsk_write_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)}(hPacket sending queueh]hPacket sending queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hj>h]hsk_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.hhMJhj8ubj)}(hhh]jl)}(hcached page fragh]hcached page frag}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMJhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMJhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjwh]h{unnamed_union}}(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.hhKhjqubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h2``mptcp_retransmit_timer`` mptcp retransmit timer h](j)}(h``mptcp_retransmit_timer``h]j)}(hj"h]hmptcp_retransmit_timer}(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;hjubj)}(hhh]jl)}(hmptcp retransmit timerh]hmptcp retransmit timer}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM;hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM;hjubj)}(hL``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) h](j)}(h``sk_pacing_rate``h]j)}(hj[h]hsk_pacing_rate}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjUubj)}(hhh]jl)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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)}(hjh]hsk_tx_queue_mapping_jiffies}(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.hhMFhjubj)}(hhh]jl)}(h8time in jiffies of last **sk_tx_queue_mapping** refresh.h](htime in jiffies of last }(hjhhhNhNubj)}(h**sk_tx_queue_mapping**h]hsk_tx_queue_mapping}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh refresh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hjQh]hsk_dst_pending_confirm}(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.hhMhjKubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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 (}(hjhhhNhNubj)}(h``SO_MAX_PACING_RATE``h]hSO_MAX_PACING_RATE}(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_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hjh]h sk_sndtimeo}(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.hhM5hjubj)}(hhh]jl)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh setting}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj#hM5hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM5hjubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hjUh]h sk_priority}(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.hhM-hjOubj)}(hhh]jl)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh setting}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjjhM-hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM-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)}(hjh]h sk_protocol}(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.hhM/hjubj)}(hhh]jl)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(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/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjGh]hsk_type}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hjAubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hj`hhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh, etc)}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj\hM.hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM.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)}(hjh]hsk_validate_xmit_skb}(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.hhMYhjubj)}(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&]uh1jhjubeh}(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)}(hjOh]h sk_gso_type}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjIubj)}(hhh]jl)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hjhhhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh)}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubj)}(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)}(hjh]hsk_gso_max_size}(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 GSO segment size to buildh]h!Maximum GSO segment size to build}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hj h]h sk_allocation}(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.hhMhjubj)}(hhh]jl)}(hallocation modeh]hallocation mode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hjEh]h sk_txhash}(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.hhM6hj?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&]uh1jkhjZhM6hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM6hjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hj~h]h sk_sndbuf}(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.hhMhjxubj)}(hhh]jl)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hjh]hsk_pacing_shift}(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#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hsk_use_task_frag}(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.hhMBhjubj)}(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.}(hj hhhNhNubah}(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&]uh1jhjhMBhjubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hj*h]hsk_gso_disabled}(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&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hjch]h sk_kern_sock}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hjh]hsk_no_check_tx}(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)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ setting, set checksum in TX packets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``sk_no_check_rx`` allow zero checksum in RX packets h](j)}(h``sk_no_check_rx``h]j)}(hjh]hsk_no_check_rx}(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!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` h](j)}(h``sk_shutdown``h]j)}(hj h]h sk_shutdown}(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)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hj5 hhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubh and/or }(hj5 hhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jkhj1 hKhj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hKhjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hju h]h sk_lingertime}(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.hhMhjo 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&]uh1jhjo 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}(hj1!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)}(hcurrent listen backlogh]hcurrent listen backlog}(hjH!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjD!hM'hjE!ubah}(h]h ]h"]h$]h&]uh1jhj)!ubeh}(h]h ]h"]h$]h&]uh1jhjD!hM'hjubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hjh!h]hsk_max_ack_backlog}(hjj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM(hjb!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&]uh1jhjb!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)}(hj3"h]h sk_bind_phc}(hj5"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1"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}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChjI"ubah}(h]h ]h"]h$]h&]uh1jhj-"ubeh}(h]h ]h"]h$]h&]uh1jhjH"hMDhjubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hjm"h]h sk_peer_pid}(hjo"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hjg"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&]uh1jhjg"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<hj#ubj)}(hhh]jl)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(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)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hjE#h]h sk_stamp_seq}(hjG#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM=hj?#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&]uh1jkhjZ#hM=hj[#ubah}(h]h ]h"]h$]h&]uh1jhj?#ubeh}(h]h ]h"]h$]h&]uh1jhjZ#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.hhMShjx#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&]uh1jhjx#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}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM7hj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hM7hjubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hj)$h]hsk_scm_recv_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.hhMchj#$ubj)}(hhh]jl)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjB$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>$hMchj?$ubah}(h]h ]h"]h$]h&]uh1jhj#$ubeh}(h]h ]h"]h$]h&]uh1jhj>$hMchjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjb$h]h{unnamed_struct}}(hjd$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&]uh1jkhjw$hKhjx$ubah}(h]h ]h"]h$]h&]uh1jhj\$ubeh}(h]h ]h"]h$]h&]uh1jhjw$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.hhMfhj%ubj)}(hhh]jl)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hj&%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"%hMfhj#%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj"%hMfhjubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjF%h]h sk_scm_rights}(hjH%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMghj@%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&]uh1jhj@%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.hhMhhjy%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&]uh1jhjy%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhhjubj)}(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&]uh1jkhj&hM`hj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj&hM`hjubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hj*&h]hsk_txtime_report_errors}(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.hhMahj$&ubj)}(hhh]jl)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hjC&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?&hMahj@&ubah}(h]h ]h"]h$]h&]uh1jhj$&ubeh}(h]h ]h"]h$]h&]uh1jhj?&hMahjubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hjc&h]hsk_txtime_unused}(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.hhMbhj]&ubj)}(hhh]jl)}(hunused txtime flagsh]hunused txtime flags}(hj|&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx&hMbhjy&ubah}(h]h ]h"]h$]h&]uh1jhj]&ubeh}(h]h ]h"]h$]h&]uh1jhjx&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)}(hj 'h]h sk_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.hhMNhj'ubj)}(hhh]jl)}(hused by security modulesh]hused by security modules}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5'hMNhj6'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj5'hMNhjubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hjY'h]h sk_cgrp_data}(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.hhMPhjS'ubj)}(hhh]jl)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hjr'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn'hMPhjo'ubah}(h]h ]h"]h$]h&]uh1jhjS'ubeh}(h]h ]h"]h$]h&]uh1jhjn'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)}(hj(h]hsk_error_report}(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.hhMWhj'ubj)}(hhh]jl)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hj(hhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hj%(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh)}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(hMWhj(ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMWhjubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hjO(h]hsk_backlog_rcv}(hjQ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhjI(ubj)}(hhh]jl)}(hcallback to process the backlogh]hcallback to process the backlog}(hjh(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd(hMXhje(ubah}(h]h ]h"]h$]h&]uh1jhjI(ubeh}(h]h ]h"]h$]h&]uh1jhjd(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}(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_drop_counters`` optional pointer to numa_drop_counters h](j)}(h``sk_drop_counters``h]j)}(hj3)h]hsk_drop_counters}(hj5)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1)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}(hjL)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjH)hM&hjI)ubah}(h]h ]h"]h$]h&]uh1jhj-)ubeh}(h]h ]h"]h$]h&]uh1jhjH)hM&hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjl)h]h{unnamed_union}}(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)}(h anonymoush]h anonymous}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jhjf)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)}(hj*h]h ns_tracker}(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)}(htracker for netns referenceh]htracker for netns reference}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,*hMihj-*ubah}(h]h ]h"]h$]h&]uh1jhj*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)}(hjP*h]h sk_user_frags}(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.hhMjhjJ*ubj)}(hhh]jl)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hji*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje*hMjhjf*ubah}(h]h ]h"]h$]h&]uh1jhjJ*ubeh}(h]h ]h"]h$]h&]uh1jhje*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}(hj+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}(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}(hj9+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hjF+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hsockh]hsock}(hjW+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY+modnameN classnameNj j )}j ]j )}j j+sbc.sk_user_data_is_nocopyasbuh1hhj+ubj")}(h h]h }(hjw+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*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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj,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&]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}(hjW,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hjf,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS,hhhje,hMubj )}(hj h]h*}(hjt,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS,hhhje,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&]jPjQuh1j2hjS,hhhje,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*}(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 )}(huintptr_t flagsh](h)}(hhh]j9)}(h uintptr_th]h uintptr_t}(hj1-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3-modnameN classnameNj j )}j ]j,'c.__locked_read_sk_user_data_with_flagsasbuh1hhj*-ubj")}(h h]h }(hjO-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 hjS,hhhje,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjO,hhhje,hMubah}(h]jJ,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhje,hMhjL,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&]uh1jfhjL,hhhje,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}(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``uintptr_t flags`` flag bits h](j)}(h``uintptr_t flags``h]j)}(hj.h]huintptr_t 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.hhMhj-ubj)}(hhh]jl)}(h flag bitsh]h flag bits}(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&]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.}(hjR.hhhNhNubah}(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}(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)__rcu_dereference_sk_user_data_with_flagsh]j9)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_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.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj.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)}(hskh]hsk}(hj?/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}(hj[/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]/modnameN classnameNj j )}j ]j /+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjT/ubj")}(h h]h }(hjy/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT/ubj9)}(hflagsh]hflags}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT/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)}(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&]uh1jfhjv.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(hS**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bitsh](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}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(h``uintptr_t flags`` flag bitsh](j)}(h``uintptr_t flags``h]j)}(hj+0h]huintptr_t flags}(hj-0hhhNhNubah}(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}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjA0ubah}(h]h ]h"]h$]h&]uh1jhj%0ubeh}(h]h ]h"]h$]h&]uh1jhj@0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(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)}(hj0h]hsk_for_each_entry_offset_rcu}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}0hhhj0hMubah}(h]jx0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhjz0hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjz0hhhj0hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj0jj0jjjuh1hhhhj" hNhNubjl)}(h:``sk_for_each_entry_offset_rcu (tpos, pos, head, offset)``h]j)}(hj0h]h6sk_for_each_entry_offset_rcu (tpos, pos, head, offset)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0hMhj" 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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubj)}(hhh](j)}(h-``tpos`` the type * to use as a loop cursor. h](j)}(h``tpos``h]j)}(hj1h]htpos}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj 1ubj)}(hhh]jl)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$1hMhj%1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj$1hMhj1ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjH1h]hpos}(hjJ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjB1ubj)}(hhh]jl)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hja1hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hjk1h]hstruct hlist_node}(hjm1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhji1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj hlist_nodeuh1hhj]1hMhja1ubh to use as a loop cursor.}(hja1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj]1hMhj^1ubah}(h]h ]h"]h$]h&]uh1jhjB1ubeh}(h]h ]h"]h$]h&]uh1jhj]1hMhj1ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hj1h]hhead}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh]jl)}(hthe head for your list.h]hthe head for your list.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(h2``offset`` offset of hlist_node within the struct.h](j)}(h ``offset``h]j)}(hj1h]hoffset}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh]jl)}(h'offset of hlist_node within the struct.h]h'offset of hlist_node within the struct.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(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)}(hj12h]hSOCK_CONNECT_BIND}(hj;2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj72ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj32hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/2hhhjN2hMubah}(h]j*2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjN2hMhj,2hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj,2hhhjN2hMubeh}(h]h ](jmacroeh"]h$]h&]jjjjg2jjg2jjjuh1hhhhj" hNhNubjl)}(h``SOCK_CONNECT_BIND``h]j)}(hjm2h]hSOCK_CONNECT_BIND}(hjo2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk2ubah}(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)}(hj2h]hsock->sk_userlocks}(hj2hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsockuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj2ubh% flag for auto-bind at connect() time}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2hMhj" 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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hlock_sock_fasth]j9)}(hlock_sock_fasth]hlock_sock_fast}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 3ubh)}(hhh]j9)}(hsockh]hsock}(hj.3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj03modnameN classnameNj j )}j ]j )}j j2sbc.lock_sock_fastasbuh1hhj 3ubj")}(h h]h }(hjN3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 3ubj )}(hj h]h*}(hj\3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 3ubj9)}(hskh]hsk}(hji3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(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)}(hfast version of lock_sockh]hfast version of lock_sock}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj" 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)}(hj3h]h Parameters}(hj3hhhNhNubah}(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``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj3h]hstruct sock *sk}(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)}(hsocketh]hsocket}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubjl)}(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:}(hj%4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(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}(hj84hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj44ubah}(h]h ]h"]h$]h&]uh1jhjF4hMhj3ubjl)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hjM4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jl)}(hj^4h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(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&]uh1jhjm4hMhj3ubeh}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMubj3)}(hunlock_sock_fasth]j9)}(hunlock_sock_fasth]hunlock_sock_fast}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h(struct sock *sk, bool slow)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j4sbc.unlock_sock_fastasbuh1hhj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskh]hsk}(hj*5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h bool slowh](jM )}(hjh]hbool}(hjC5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?5ubj")}(h h]h }(hjP5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?5ubj9)}(hslowh]hslow}(hj^5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?5ubeh}(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)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(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&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj" 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)}(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)}(hj5h]hstruct sock *sk}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh]jl)}(hsocketh]hsocket}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj6h]h bool slow}(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)}(h slow modeh]h slow mode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj=6h]h Description}(hj?6hhhNhNubah}(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)}(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()}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubeh}(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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~6hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~6hhhj6hM> ubj3)}(hsk_wmem_alloc_geth]j9)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~6hhhj6hM> ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hsockh]hsock}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j j6sbc.sk_wmem_alloc_getasbuh1hhj6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj&7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hskh]hsk}(hj37hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hj~6hhhj6hM> ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjz6hhhj6hM> ubah}(h]ju6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hM> hjw6hhubjg)}(hhh]jl)}(hreturns write allocationsh]hreturns write allocations}(hj]7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> hjZ7hhubah}(h]h ]h"]h$]h&]uh1jfhjw6hhhj6hM> ubeh}(h]h ](jfunctioneh"]h$]h&]jjjju7jju7jjjuh1hhhhj" hNhNubj)}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}7ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMB hjy7ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj7h]hconst struct 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.hhM? hj7ubj)}(hhh]jl)}(hsocketh]hsocket}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM? hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM? hj7ubah}(h]h ]h"]h$]h&]uh1jhjy7ubjl)}(h **Return**h]j)}(hj7h]hReturn}(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.hhMA hjy7ubjl)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMA hjy7ubeh}(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}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI ubj")}(h h]h }(hj-8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj,8hMI ubj3)}(hsk_rmem_alloc_geth]j9)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hj?8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj,8hMI ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj[8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW8ubj")}(h h]h }(hjh8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubj)}(hjh]hstruct}(hjv8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubh)}(hhh]j9)}(hsockh]hsock}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j jA8sbc.sk_rmem_alloc_getasbuh1hhjW8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjW8ubj9)}(hskh]hsk}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjW8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjS8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj,8hMI ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj,8hMI ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,8hMI hj8hhubjg)}(hhh]jl)}(hreturns read allocationsh]hreturns read allocations}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj,8hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" hNhNubj)}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](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.hhMM hj9ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj:9h]hconst struct sock *sk}(hj<9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj89ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hj49ubj)}(hhh]jl)}(hsocketh]hsocket}(hjS9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO9hMJ hjP9ubah}(h]h ]h"]h$]h&]uh1jhj49ubeh}(h]h ]h"]h$]h&]uh1jhjO9hMJ hj19ubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h **Return**h]j)}(hju9h]hReturn}(hjw9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj9ubjl)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj9ubeh}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMT ubj3)}(hsk_has_allocationsh]j9)}(hsk_has_allocationsh]hsk_has_allocations}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMT ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hsockh]hsock}(hj/:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1:modnameN classnameNj j )}j ]j )}j j9sbc.sk_has_allocationsasbuh1hhj9ubj")}(h h]h }(hjO:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj]:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hskh]hsk}(hjj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMT ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMT hj9hhubjg)}(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&]uh1jfhj9hhhj9hMT 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}(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.hhMW hj:ubjl)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hj&;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}(hjU;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ ubj")}(h h]h }(hjc;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ;hhhjb;hM_ ubj3)}(hskwq_has_sleeperh]j9)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hju;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQ;hhhjb;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 jw;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 hjQ;hhhjb;hM_ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM;hhhjb;hM_ ubah}(h]jH;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjb;hM_ hjJ;hhubjg)}(hhh]jl)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(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&]uh1jfhjJ;hhhjb;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)}(hj6<h]h Parameters}(hj8<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hj0<ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hjU<h]hstruct socket_wq *wq}(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)}(hstruct socket_wqh]hstruct socket_wq}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjj<hM` hjk<ubah}(h]h ]h"]h$]h&]uh1jhjO<ubeh}(h]h ]h"]h$]h&]uh1jhjj<hM` hjL<ubah}(h]h ]h"]h$]h&]uh1jhj0<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 hj0<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 hj0<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 hj0<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 hj0<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 hj0<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 hj0<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 hj0<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}(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 }(hj8=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%=hhhj7=hM ubj3)}(hsock_poll_waith]j9)}(hsock_poll_waith]hsock_poll_wait}(hjJ=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%=hhhj7=hM ubj )}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j )}(hstruct file *filph](j)}(hjh]hstruct}(hjf=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb=ubj")}(h h]h }(hjs=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb=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 jL=sbc.sock_poll_waitasbuh1hhjb=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjb=ubj9)}(hfilph]hfilp}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb=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 }(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)}(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}(hjK>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM>modnameN classnameNj j )}j ]j=c.sock_poll_waitasbuh1hhjD>ubj")}(h h]h }(hji>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD>ubj )}(hj h]h*}(hjw>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjD>ubj9)}(hj h]hp}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%=hhhj7=hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!=hhhj7=hM ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7=hM hj=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&]uh1jfhj=hhhj7=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}(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.hhM hj>ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hj>h]hstruct file *filp}(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)}(hfileh]hfile}(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 socket *sock`` socket to wait on h](j)}(h``struct socket *sock``h]j)}(hj'?h]hstruct socket *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.hhM hj!?ubj)}(hhh]jl)}(hsocket to wait onh]hsocket to wait on}(hj@?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj`?h]h poll_table *p}(hjb?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 hjZ?ubj)}(hhh]jl)}(h poll_tableh]h poll_table}(hjy?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhju?hM hjv?ubah}(h]h ]h"]h$]h&]uh1jhjZ?ubeh}(h]h ]h"]h$]h&]uh1jhju?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&]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.}(hj?hhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?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 ubh)}(hhh]j9)}(h page_fragh]h page_frag}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j sk_page_fragsbc.sk_page_fragasbuh1hhj?hhhj?hMT ubj")}(h h]h }(hj @hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hMT ubj )}(hj h]h*}(hj.@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?hhhj?hMT ubj3)}(h sk_page_fragh]j9)}(hj@h]h sk_page_frag}(hj?@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hMT ubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](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)}(hsockh]hsock}(hjx@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz@modnameN classnameNj j )}j ]j@c.sk_page_fragasbuh1hhjV@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)}(hskh]hsk}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjR@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)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(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)}(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@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``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjAh]hstruct sock *sk}(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.hhMU hjAubj)}(hhh]jl)}(hsocketh]hsocket}(hj5AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1AhMU hj2Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj1AhMU hjAubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjWAh]h Description}(hjYAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUAubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj@ubjl)}(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 }(hjmAhhhNhNubj)}(h ``current``h]hcurrent}(hjuAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmAubh.}(hjmAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMV hj@ubjl)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZ hj@ubjl)}(h **Return**h]j)}(hjAh]hReturn}(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)}(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.}(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](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}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMf ubj3)}(h_sock_tx_timestamph]j9)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMf ubj )}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj!BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hj.BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hsockh]hsock}(hj?BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Gubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjFubjl)}(hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.h]hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.}(hjRGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_alloc_file (C function)c.sock_alloc_filehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQstruct file * sock_alloc_file (struct socket *sock, int flags, const char *dname)h]j )}(hOstruct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)h](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}GhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}GhhhjGhMubh)}(hhh]j9)}(hfileh]hfile}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j sock_alloc_filesbc.sock_alloc_fileasbuh1hhj}GhhhjGhMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}GhhhjGhMubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}GhhhjGhMubj3)}(hsock_alloc_fileh]j9)}(hjGh]hsock_alloc_file}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}GhhhjGhMubj )}(h3(struct socket *sock, int flags, const char *dname)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(hsocketh]hsocket}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jGc.sock_alloc_fileasbuh1hhjGubj")}(h h]h }(hj7HhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjEHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hsockh]hsock}(hjRHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(h int flagsh](jM )}(hinth]hint}(hjkHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgHubj")}(h h]h }(hjyHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgHubj9)}(hflagsh]hflags}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hconst char *dnameh](j)}(hj h]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubjM )}(hcharh]hchar}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hdnameh]hdname}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}GhhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyGhhhjGhMubah}(h]jtGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhjvGhhubjg)}(hhh]jl)}(h+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hjIhhhNhNubh)}(h:c:type:`socket`h]j)}(hjIh]hsocket}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jGc.sock_alloc_fileasbjsocketuh1hhjGhMhjIubh to a }(hjIhhhNhNubh)}(h:c:type:`file`h]j)}(hj@Ih]hfile}(hjBIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj>Iubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j4Ijfileuh1hhjGhMhjIubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Ihhubah}(h]h ]h"]h$]h&]uh1jfhjvGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmIjjmIjjjuh1hhhhj" 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)}(hjwIh]h Parameters}(hjyIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuIubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjqIubj)}(hhh](j)}(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&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.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 ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hjIh]h int flags}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjIubj)}(hhh]jl)}(hfile status flagsh]hfile status flags}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(h$``const char *dname`` protocol name h](j)}(h``const char *dname``h]j)}(hjJh]hconst char *dname}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJubj)}(hhh]jl)}(h protocol nameh]h protocol name}(hj!JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubeh}(h]h ]h"]h$]h&]uh1jhjqIubjl)}(h**Description**h]j)}(hjCJh]h Description}(hjEJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAJubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjqIubj)}(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 }(hj]JhhhNhNubh)}(h:c:type:`file`h]j)}(hjgJh]hfile}(hjiJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjeJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]Jubh bound with }(hj]JhhhNhNubj)}(h**sock**h]hsock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Jubh3, implicitly storing it in sock->file. If dname is }(hj]JhhhNhNubj)}(h``NULL``h]hNULL}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Jubh, sets to “”.}(hj]JhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjJhMhjYJubjl)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hjJhhhNhNubj)}(h**sock**h]hsock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh- is released, and an ERR pointer is returned.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjYJubjl)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjYJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjqIubeh}(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}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM=ubh)}(hhh]j9)}(hsocketh]hsocket}(hj(KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%Kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*KmodnameN classnameNj j )}j ]j )}j sock_from_filesbc.sock_from_fileasbuh1hhjKhhhjKhM=ubj")}(h h]h }(hjIKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM=ubj )}(hj h]h*}(hjWKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKhhhjKhM=ubj3)}(hsock_from_fileh]j9)}(hjFKh]hsock_from_file}(hjhKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhM=ubj )}(h(struct file *file)h]j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(hfileh]hfile}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]jDKc.sock_from_fileasbuh1hhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hfileh]hfile}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{Kubah}(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=hjJhhubjg)}(hhh]jl)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hjLhhhNhNubh)}(h:c:type:`socket`h]j)}(hjLh]hsocket}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj Lubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jDKc.sock_from_fileasbjsocketuh1hhjGhMhjLubh bounded to }(hjLhhhNhNubj)}(h**file**h]hfile}(hj4LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=hjLhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjKhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVLjjVLjjjuh1hhhhj" hNhNubj)}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jl)}(h**Parameters**h]j)}(hj`Lh]h Parameters}(hjbLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Lubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMAhjZLubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hjLh]hstruct file *file}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Lubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM>hjyLubj)}(hhh]jl)}(hfileh]hfile}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhM>hjLubah}(h]h ]h"]h$]h&]uh1jhjyLubeh}(h]h ]h"]h$]h&]uh1jhjLhM>hjvLubah}(h]h ]h"]h$]h&]uh1jhjZLubjl)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hjZLubj)}(hOn failure returns ``NULL``.h]jl)}(hjLh](hOn failure returns }(hjLhhhNhNubj)}(h``NULL``h]hNULL}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM?hjLubah}(h]h ]h"]h$]h&]uh1jhjLhM?hjZLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsockfd_lookup (C function)c.sockfd_lookuphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0struct socket * sockfd_lookup (int fd, int *err)h]j )}(h.struct socket *sockfd_lookup(int fd, int *err)h](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMubj")}(h h]h }(hj(MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj'MhMMubh)}(hhh]j9)}(hsocketh]hsocket}(hj9MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;MmodnameN classnameNj j )}j ]j )}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjMhhhj'MhMMubj")}(h h]h }(hjZMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj'MhMMubj )}(hj h]h*}(hjhMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMhhhj'MhMMubj3)}(h sockfd_lookuph]j9)}(hjWMh]h sockfd_lookup}(hjyMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj'MhMMubj )}(h(int fd, int *err)h](j )}(hint fdh](jM )}(hinth]hint}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hfdh]hfd}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(hint *errh](jM )}(hinth]hint}(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)}(herrh]herr}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj'MhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhj'MhMMubah}(h]j Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'MhMMhjMhhubjg)}(hhh]jl)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhj'MhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4Njj4Njjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return **Description** The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jl)}(h**Parameters**h]j)}(hj>Nh]h Parameters}(hj@NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Tubh through }(hj6ThhhNhNubj)}(h**sock**h]hsock}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6TubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hj6ThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj2Tubah}(h]h ]h"]h$]h&]uh1jhjhThMhjSubeh}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjThM6ubj3)}(hkernel_sendmsgh]j9)}(hkernel_sendmsgh]hkernel_sendmsg}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjThM6ubj )}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)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 jTsbc.kernel_sendmsgasbuh1hhjTubj")}(h h]h }(hj UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hsockh]hsock}(hj%UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hj>UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Uubj")}(h h]h }(hjKUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:Uubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hj\UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^UmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhj:Uubj")}(h h]h }(hjzUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:Uubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:Uubj9)}(hmsgh]hmsg}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hkvech]hkvec}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hvech]hvec}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj!VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#VmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjVubj")}(h h]h }(hj?VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hnumh]hnum}(hjMVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjiVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkVmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjbVubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbVubj9)}(hsizeh]hsize}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjThM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjThM6ubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM6hjThhubjg)}(hhh]jl)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjVhhhNhNubj)}(h**sock**h]hsock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh (kernel-space)}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjVhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjThM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj" 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)}(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.chM:hjVubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjWh]hstruct socket *sock}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hj Wubj)}(hhh]jl)}(hsocketh]hsocket}(hj+WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'WhM7hj(Wubah}(h]h ]h"]h$]h&]uh1jhj Wubeh}(h]h ]h"]h$]h&]uh1jhj'WhM7hj Wubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hjKWh]hstruct msghdr *msg}(hjMWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM8hjEWubj)}(hhh]jl)}(hmessage headerh]hmessage header}(hjdWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`WhM8hjaWubah}(h]h ]h"]h$]h&]uh1jhjEWubeh}(h]h ]h"]h$]h&]uh1jhj`WhM8hj Wubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hjWh]hstruct kvec *vec}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM9hj~Wubj)}(hhh]jl)}(h kernel vech]h kernel vec}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM9hjWubah}(h]h ]h"]h$]h&]uh1jhj~Wubeh}(h]h ]h"]h$]h&]uh1jhjWhM9hj Wubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hjWh]h size_t num}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM:hjWubj)}(hhh]jl)}(hvec array lengthh]hvec array length}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM:hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM:hj Wubj)}(h(``size_t size`` total message data size h](j)}(h``size_t size``h]j)}(hjWh]h size_t size}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM;hjWubj)}(hhh]jl)}(htotal message data sizeh]htotal message data size}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj XhM;hj Xubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj XhM;hj Wubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hj1Xh]h Description}(hj3XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Xubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=hjVubj)}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h]jl)}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](hBuilds the message data with }(hjKXhhhNhNubj)}(h**vec**h]hvec}(hjSXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKXubh and sends it through }(hjKXhhhNhNubj)}(h**sock**h]hsock}(hjeXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKXubh5. Returns the number of bytes sent, or an error code.}(hjKXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM<hjGXubah}(h]h ]h"]h$]h&]uh1jhj}XhM<hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_recvmsg (C function)c.sock_recvmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hEint sock_recvmsg (struct socket *sock, struct msghdr *msg, int flags)h]j )}(hDint sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMpubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjXhMpubj3)}(h sock_recvmsgh]j9)}(h sock_recvmsgh]h sock_recvmsg}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjXhMpubj )}(h4(struct socket *sock, struct msghdr *msg, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hsocketh]hsocket}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jXsbc.sock_recvmsgasbuh1hhjXubj")}(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)}(hsockh]hsock}(hj:YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjSYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOYubj")}(h h]h }(hj`YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOYubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjqYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsYmodnameN classnameNj j )}j ]jYc.sock_recvmsgasbuh1hhjOYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOYubj9)}(hmsgh]hmsg}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(h int flagsh](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hflagsh]hflags}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjXhMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjXhMpubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMphjXhhubjg)}(hhh]jl)}(hreceive a message from **sock**h](hreceive a message from }(hj ZhhhNhNubj)}(h**sock**h]hsock}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMphjZhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjXhMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/Zjj/Zjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to receive ``int flags`` message flags **Description** Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](jl)}(h**Parameters**h]j)}(hj9Zh]h Parameters}(hj;ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Zubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthj3Zubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjXZh]hstruct socket *sock}(hjZZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqhjRZubj)}(hhh]jl)}(hsocketh]hsocket}(hjqZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmZhMqhjnZubah}(h]h ]h"]h$]h&]uh1jhjRZubeh}(h]h ]h"]h$]h&]uh1jhjmZhMqhjOZubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjZh]hstruct msghdr *msg}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMrhjZubj)}(hhh]jl)}(hmessage to receiveh]hmessage to receive}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMrhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMrhjOZubj)}(h``int flags`` message flags h](j)}(h ``int flags``h]j)}(hjZh]h int flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjZubj)}(hhh]jl)}(h message flagsh]h message flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMshjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMshjOZubeh}(h]h ]h"]h$]h&]uh1jhj3Zubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[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.chMuhj3Zubj)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h]jl)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](h Receives }(hj[hhhNhNubj)}(h**msg**h]hmsg}(hj'[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh from }(hj[hhhNhNubj)}(h**sock**h]hsock}(hj9[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthj[ubah}(h]h ]h"]h$]h&]uh1jhjQ[hMthj3Zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_recvmsg (C function)c.kernel_recvmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hrint kernel_recvmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h]j )}(hqint kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](jM )}(hinth]hint}(hjx[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjt[hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt[hhhj[hMubj3)}(hkernel_recvmsgh]j9)}(hkernel_recvmsgh]hkernel_recvmsg}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjt[hhhj[hMubj )}(h_(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](j )}(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 )}j j[sbc.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)}(hsockh]hsock}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hj'\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#\ubj")}(h h]h }(hj4\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#\ubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjE\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG\modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhj#\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)}(hmsgh]hmsg}(hj~\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#\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&]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)}(hnumh]hnum}(hj6]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjR]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT]modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhjK]ubj")}(h h]h }(hjp]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK]ubj9)}(hsizeh]hsize}(hj~]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK]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 hjt[hhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjp[hhhj[hMubah}(h]jk[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhjm[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&]uh1jfhjm[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}(hj^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)}(hj^h]hstruct socket *sock}(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&The socket to receive the message fromh]h&The socket to receive the message from}(hj7^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3^hMhj4^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj3^hMhj^ubj)}(h(``struct msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hjW^h]hstruct msghdr *msg}(hjY^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQ^ubj)}(hhh]jl)}(hReceived messageh]hReceived message}(hjp^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl^hMhjm^ubah}(h]h ]h"]h$]h&]uh1jhjQ^ubeh}(h]h ]h"]h$]h&]uh1jhjl^hMhj^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^hMhj^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}(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(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hj_h]h size_t size}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(hNumber of bytes to readh]hNumber of bytes to read}(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)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hj;_h]h int flags}(hj=_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5_ubj)}(hhh]jl)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjT_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP_hMhjQ_ubah}(h]h ]h"]h$]h&]uh1jhj5_ubeh}(h]h ]h"]h$]h&]uh1jhjP_hMhj^ubeh}(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&]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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj_ubjl)}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj]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}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhj_hMubj3)}(hsock_create_liteh]j9)}(hsock_create_liteh]hsock_create_lite}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhj_hMubj )}(h9(int family, int type, int protocol, struct socket **res)h](j )}(h int familyh](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)}(hfamilyh]hfamily}(hj-`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj `ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(hint typeh](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)}(htypeh]htype}(hjb`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(h int protocolh](jM )}(hinth]hint}(hj{`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjw`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw`ubj9)}(hprotocolh]hprotocol}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(hstruct socket **resh](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 )}j j_sbc.sock_create_liteasbuh1hhj`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 ahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hresh]hres}(hjahhhNhNubah}(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)}(hcreates a socketh]hcreates a socket}(hj@ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ahhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXajjXajjjuh1hhhhj" 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)}(hjbah]h Parameters}(hjdahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`aubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj\aubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjah]h int family}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj{aubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj{aubeh}(h]h ]h"]h$]h&]uh1jhjahMhjxaubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjah]hint type}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubj)}(hhh]jl)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjxaubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjah]h int protocol}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubj)}(hhh]jl)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhj bubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjxaubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj,bh]hstruct socket **res}(hj.bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*bubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj&bubj)}(hhh]jl)}(h new socketh]h new socket}(hjEbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAbhMhjBbubah}(h]h ]h"]h$]h&]uh1jhj&bubeh}(h]h ]h"]h$]h&]uh1jhjAbhMhjxaubeh}(h]h ]h"]h$]h&]uh1jhj\aubjl)}(h**Description**h]j)}(hjgbh]h Description}(hjibhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjebubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj\aubj)}(hCreates 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)}(hCreates 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](h'Creates a new socket and assigns it to }(hjbhhhNhNubj)}(h**res**h]hres}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hjbhhhNhNubj)}(h**res**h]hres}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh is set to }(hjbhhhNhNubj)}(h``NULL``h]hNULL}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh+. This function internally uses GFP_KERNEL.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj}bubah}(h]h ]h"]h$]h&]uh1jhjbhMhj\aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sock_create (C function)c.__sock_createhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hfint __sock_create (struct net *net, int family, int type, int protocol, struct socket **res, int kern)h]j )}(heint __sock_create(struct net *net, int family, int type, int protocol, struct socket **res, int kern)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)}(h __sock_createh]j9)}(h __sock_createh]h __sock_create}(hj chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj cubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj)chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%cubj")}(h h]h }(hj6chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%cubh)}(hhh]j9)}(hneth]hnet}(hjGchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIcmodnameN classnameNj j )}j ]j )}j jcsbc.__sock_createasbuh1hhj%cubj")}(h h]h }(hjgchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%cubj )}(hj h]h*}(hjuchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%cubj9)}(hneth]hnet}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(h int familyh](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hfamilyh]hfamily}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hint typeh](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(htypeh]htype}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(h int protocolh](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hprotocolh]hprotocol}(hj!dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hj:dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6dubj")}(h h]h }(hjGdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6dubh)}(hhh]j9)}(hsocketh]hsocket}(hjXdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZdmodnameN classnameNj j )}j ]jccc.__sock_createasbuh1hhj6dubj")}(h h]h }(hjvdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6dubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6dubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6dubj9)}(hresh]hres}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hint kernh](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hkernh]hkern}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubeh}(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)}(hcreates a socketh]hcreates a socket}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj" hNhNubj)}(hX.**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 ``int kern`` boolean for kernel space sockets **Description** Creates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hj!ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM"hjeubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hj>eh]hstruct net *net}(hj@ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hopsh]hops}(hjKnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(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)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hjunhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" 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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hjnh]h"const struct net_proto_family *ops}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(hhh]jl)}(hdescription of protocolh]hdescription of protocol}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjnubah}(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&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(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 ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubah}(h]h ]h"]h$]h&]uh1jhjohM hjnubeh}(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}(hj@ohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcreate routine.h](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubj)}(hhh]j)}(h)``int family`` protocol family to remove h](j)}(h``int family``h]j)}(hjph]h int family}(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 hjoubj)}(hhh]jl)}(hprotocol family to removeh]hprotocol family to remove}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hj?ph]h Description}(hjAphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=pubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubj)}(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.}(hjYphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUpubjl)}(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.}(hjhphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUpubeh}(h]h ]h"]h$]h&]uh1jhjgphM hjoubeh}(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}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM0ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjphM0ubj3)}(h kernel_bindh]j9)}(h kernel_bindh]h kernel_bind}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjphM0ubj )}(hA(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hsocketh]hsocket}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j jpsb c.kernel_bindasbuh1hhjpubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hj&qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hsockh]hsock}(hj3qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hjLqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHqubj")}(h h]h }(hjYqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHqubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlqmodnameN classnameNj j )}j ]jq c.kernel_bindasbuh1hhjHqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHqubj9)}(haddrh]haddr}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h int addrlenh](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(haddrlenh]haddrlen}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjphM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjphM0ubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphM0hjphhubjg)}(hhh]jl)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM0hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjphM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj" 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)}(hj$rh]h Parameters}(hj&rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"rubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjrubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjCrh]hstruct socket *sock}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM1hj=rubj)}(hhh]jl)}(hsocketh]hsocket}(hj\rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXrhM1hjYrubah}(h]h ]h"]h$]h&]uh1jhj=rubeh}(h]h ]h"]h$]h&]uh1jhjXrhM1hj:rubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hj|rh]hstruct sockaddr_unsized *addr}(hj~rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM2hjvrubj)}(hhh]jl)}(haddressh]haddress}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM2hjrubah}(h]h ]h"]h$]h&]uh1jhjvrubeh}(h]h ]h"]h$]h&]uh1jhjrhM2hj:rubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hjrh]h int addrlen}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3hjrubj)}(hhh]jl)}(hlength of addressh]hlength of address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM3hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM3hj:rubeh}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hjrubj)}(hReturns 0 or an error.h]jl)}(hjsh]hReturns 0 or an error.}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjsubah}(h]h ]h"]h$]h&]uh1jhjshM4hjrubeh}(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}(hj>shhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:shhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDubj")}(h h]h }(hjMshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:shhhjLshMDubj3)}(h kernel_listenh]j9)}(h kernel_listenh]h kernel_listen}(hj_shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:shhhjLshMDubj )}(h"(struct socket *sock, int backlog)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj{shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwsubh)}(hhh]j9)}(hsocketh]hsocket}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j jassbc.kernel_listenasbuh1hhjwsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwsubj9)}(hsockh]hsock}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjssubj )}(h int backlogh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hbacklogh]hbacklog}(hj thhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjssubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:shhhjLshMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6shhhjLshMDubah}(h]j1sah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLshMDhj3shhubjg)}(hhh]jl)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hj3thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhj0thhubah}(h]h ]h"]h$]h&]uh1jfhj3shhhjLshMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKtjjKtjjjuh1hhhhj" 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)}(hjUth]h Parameters}(hjWthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjStubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjOtubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjtth]hstruct socket *sock}(hjvthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjntubj)}(hhh]jl)}(hsocketh]hsocket}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMEhjtubah}(h]h ]h"]h$]h&]uh1jhjntubeh}(h]h ]h"]h$]h&]uh1jhjthMEhjktubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hjth]h int backlog}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMFhjtubj)}(hhh]jl)}(hpending connections queue sizeh]hpending connections queue size}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMFhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMFhjktubeh}(h]h ]h"]h$]h&]uh1jhjOtubjl)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjOtubj)}(hReturns 0 or an error.h]jl)}(hjuh]hReturns 0 or an error.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMGhjtubah}(h]h ]h"]h$]h&]uh1jhjuhMGhjOtubeh}(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}(hj6uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2uhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRubj")}(h h]h }(hjEuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2uhhhjDuhMRubj3)}(h kernel_accepth]j9)}(h kernel_accepth]h kernel_accept}(hjWuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2uhhhjDuhMRubj )}(h9(struct socket *sock, struct socket **newsock, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjsuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjouubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjouubh)}(hhh]j9)}(hsocketh]hsocket}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j jYusbc.kernel_acceptasbuh1hhjouubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjouubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjouubj9)}(hsockh]hsock}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjouubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkuubj )}(hstruct socket **newsockh](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}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]juc.kernel_acceptasbuh1hhjuubj")}(h h]h }(hj!vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hj/vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h*}(hj{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjY{hMhj@{hhubjg)}(hhh]jl)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(hj{|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjx|hhubah}(h]h ]h"]h$]h&]uh1jfhj@{hhhjY{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address holder **Description** Fills 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)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|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`` socket h](j)}(h``struct socket *sock``h]j)}(hj|h]hstruct socket *sock}(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)}(hsocketh]hsocket}(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 sockaddr *addr`` address holder h](j)}(h``struct sockaddr *addr``h]j)}(hj|h]hstruct sockaddr *addr}(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)}(haddress holderh]haddress holder}(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)}(hj0}h]h Description}(hj2}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)}(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 }(hjJ}hhhNhNubj)}(h**addr**h]haddr}(hjR}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ}ubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hjJ}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjF}ubah}(h]h ]h"]h$]h&]uh1jhjj}hMhj|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}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hMubj3)}(hkernel_getpeernameh]j9)}(hkernel_getpeernameh]hkernel_getpeername}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hMubj )}(h,(struct socket *sock, struct sockaddr *addr)h](j )}(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 )}j j}sbc.kernel_getpeernameasbuh1hhj}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)}(hsockh]hsock}(hj'~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hstruct sockaddr *addrh](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)}(hsockaddrh]hsockaddr}(hj^~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`~modnameN classnameNj j )}j ]j~c.kernel_getpeernameasbuh1hhj<~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)}(haddrh]haddr}(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)}(hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h frag_sizeh]h frag_size}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj،ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjshM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshM7ubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshM7hj[hhubjg)}(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&]uh1jfhj[hhhjshM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.``void *data`` data buffer provided by caller 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:26: ./net/core/skbuff.chM8hjubj)}(hhh]jl)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjލhhhNhNubah}(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)}(hjh]hunsigned int frag_size}(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)}(h size of datah]h size of data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubjl)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjubjl)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hj^hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjhh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(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 on success, }(hj^hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh on allocation failure.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjubeh}(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}(hjŽhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjގubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __alloc_skbsb c.__alloc_skbasbuh1hhjhhhjώ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 __alloc_skbh]j9)}(hjh]h __alloc_skb}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjώhMubj )}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubjM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hsizeh]hsize}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(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.__alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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 hj4ubj )}(h int flagsh](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)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjяubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hint nodeh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnodeh]hnode}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(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)}(hallocate a network bufferh]hallocate a network buffer}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjώhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj" 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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(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)}(hsize to allocateh]hsize to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``gfp_t gfp_mask`` allocation mask 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.chMhjĐubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߐhMhjubah}(h]h ]h"]h$]h&]uh1jhjĐubeh}(h]h ]h"]h$]h&]uh1jhjߐhMhjubj)}(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)}(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:26: ./net/core/skbuff.chMhjubj)}(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}(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&]uh1jhjhMhjubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hj=h]hint node}(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.chMhj7ubj)}(hhh]jl)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(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 }(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. 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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(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 }(hj֑hhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjޑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֑ubh of }(hj֑hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubeh}(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj<hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j __netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhj+hhhj<hMubj")}(h h]h }(hjohhhNhNubah}(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__netdev_alloc_skbh]j9)}(hjlh]h__netdev_alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj<hMubj )}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)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 ]jjc.__netdev_alloc_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)}(hdevh]hdev}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jjc.__netdev_alloc_skbasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(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]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMhj$hhubjg)}(hhh]jl)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(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&]uh1jfhj$hhhj<hMubeh}(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.chMhjߓubj)}(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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``unsigned int len`` length to allocate 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7ubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(hjvh]hgfp_t gfp_mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjpubj)}(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&]uh1jhjpubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjߓubj)}(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 }(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 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.}(hj˔hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjǔ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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjǔubeh}(h]h ]h"]h$]h&]uh1jhjhMhjߓubeh}(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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjMhM;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j napi_alloc_skbsbc.napi_alloc_skbasbuh1hhj<hhhjMhM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjMhM;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<hhhjMhM;ubj3)}(hnapi_alloc_skbh]j9)}(hj}h]hnapi_alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjMhM;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 }(hjǕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(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.napi_alloc_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)}(hnapih]hnapi}(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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(hlenh]hlen}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjMhM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjMhM;ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhM;hj5hhubjg)}(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&]uh1jfhj5hhhjMhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjǖubj)}(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&]uh1jhjǖubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjĖubj)}(h(``unsigned int len`` length to allocate 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)}(hlength to allocateh]hlength to allocate}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjAh]h Description}(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.chM?hjubj)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjWubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh( is returned if there is no free memory.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjWubeh}(h]h ]h"]h$]h&]uh1jhjihM>hjubeh}(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}(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_pp_cow_datah]j9)}(hskb_pp_cow_datah]hskb_pp_cow_data}(hjΗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʗubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h page_poolh]h page_pool}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jЗsbc.skb_pp_cow_dataasbuh1hhjubj")}(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)}(hpoolh]hpool}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff **pskbh](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)}(hsk_buffh]hsk_buff}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j$c.skb_pp_cow_dataasbuh1hhjXubj")}(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)}(hpskbh]hpskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(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 }(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)}(hheadroomh]hheadroom}(hjhhhNhNubah}(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+copy skb data into page-pool backed storageh]h+copy skb data into page-pool backed storage}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhj" 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)}(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.chMhjWubj)}(hhh](j)}(h6``struct page_pool *pool`` page pool to allocate from h](j)}(h``struct page_pool *pool``h]j)}(hj|h]hstruct page_pool *pool}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjvubj)}(hhh]jl)}(hpage pool to allocate fromh]hpage pool to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(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.chMhjubj)}(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}(hjΙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjʙhMhj˙ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʙhMhjsubj)}(h@``unsigned int headroom`` headroom to reserve in the copied skb h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned 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)}(h%headroom to reserve in the copied skbh]h%headroom to reserve in the copied skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubeh}(h]h ]h"]h$]h&]uh1jhjWubjl)}(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.chMhjWubjl)}(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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjWubjl)}(h **Return**h]j)}(hjPh]hReturn}(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.chMhjWubjl)}(h,0 on success or a negative errno on failure.h]h,0 on success or a negative errno on failure.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjWubeh}(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}(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 __kfree_skbh]j9)}(h __kfree_skbh]h __kfree_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}(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 jsb c.__kfree_skbasbuh1hhjΚ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}(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)}(hprivate functionh]hprivate function}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj" 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)}(hjwh]h Parameters}(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.chMhjqubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer 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)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubjl)}(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.chMhjqubj)}(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&]uh1jhjhMhjqubeh}(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}(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.hMubh __fix_address}(hjhhhNhNubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMubj3)}(hsk_skb_reason_droph]j9)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.sk_skb_reason_dropasbuh1hhjkubj")}(h h]h }(hjȜhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hj֜hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(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Ĝc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(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 ]jĜc.sk_skb_reason_dropasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(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#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&]uh1jfhjhhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hS``const struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``const struct sock *sk``h]j)}(hj!h]hconst struct sock *sk}(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)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hj:hhhNhNubj)}(h**skb**h]hskb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, or NULL if not applicable}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h'``struct sk_buff *skb`` buffer to free 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjfubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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&]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&]uh1jhjޞubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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.}(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_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 }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj=hMubj3)}(h skb_tx_errorh]j9)}(h skb_tx_errorh]h skb_tx_error}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj=hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(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 jRsbc.skb_tx_errorasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hskbh]hskb}(hjşhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(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)}(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&]uh1jfhj$hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**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.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.chMhj ubj)}(hhh]j)}(h7``struct sk_buff *skb`` buffer that triggered an error h](j)}(h``struct sk_buff *skb``h]j)}(hj0h]hstruct sk_buff *skb}(hj2hhhNhNubah}(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)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj 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 }(hjɠhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjȠhMubj3)}(h consume_skbh]j9)}(h consume_skbh]h consume_skb}(hj۠hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjנubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jݠsb c.consume_skbasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjPhhhNhNubah}(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)}(hfree an skbuffh]hfree an skbuff}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjȠhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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С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)}(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}(hjhhhNhNubah}(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&]uh1jhjhMhjubeh}(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}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjShMubj3)}(hnapi_consume_skbh]j9)}(hnapi_consume_skbh]hnapi_consume_skb}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjShMubj )}(h!(struct sk_buff *skb, int budget)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 jhsbc.napi_consume_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)}(hskbh]hskb}(hjۢhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubj )}(h int budgeth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbudgeth]hbudget}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjShMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhjShMubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMhj:hhubjg)}(hhh]jl)}(h2consume skb in NAPI context, try to feed skb cacheh]h2consume skb in NAPI context, try to feed skb cache}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj" 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)}(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:26: ./net/core/skbuff.chMhjVubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to free 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjuubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(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&]uh1jkhjɣhMhjʣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɣhMhjrubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVubjl)}(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 }(hjhhhNhNubj)}(h **budget**h]hbudget}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must come from the }(hjhhhNhNubj)}(h **budget**h]hbudget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVubjl)}(hdPassing **budget** of 0 is safe from any context, it turns this function into dev_consume_skb_any().h](hPassing }(hj8hhhNhNubj)}(h **budget**h]hbudget}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhR of 0 is safe from any context, it turns this function into dev_consume_skb_any().}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVubeh}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMiubh)}(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_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjuhhhjhMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMiubj )}(hj h]h*}(hjǤhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuhhhjhMiubj3)}(halloc_skb_for_msgh]j9)}(hjh]halloc_skb_for_msg}(hjؤhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԤubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjhMiubj )}(h(struct sk_buff *first)h]j )}(hstruct sk_buff *firsth](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 ]jc.alloc_skb_for_msgasbuh1hhjubj")}(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)}(hfirsth]hfirst}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhMiubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMihjnhhubjg)}(hhh]jl)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjqhhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](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.chMmhjubj)}(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.chMohjubj)}(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.chMjhj˥ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʥhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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 hhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j skb_morphsb c.skb_morphasbuh1hhj hhhjhMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMubj3)}(h skb_morphh]j9)}(hjLh]h skb_morph}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h*(struct sk_buff *dst, struct sk_buff *src)h](j )}(hstruct sk_buff *dsth](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 ]jJ c.skb_morphasbuh1hhjubj")}(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)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *srch](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 ]jJ c.skb_morphasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsrch]hsrc}(hjPhhhNhNubah}(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 jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hmorph one skb into anotherh]hmorph one skb into another}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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 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}(hjԧhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjЧhMhjѧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЧhMhjubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hjh]hstruct sk_buff *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)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(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)}(hj/h]h Description}(hj1hhhNhNubah}(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)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubjl)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(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}(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_ubufsh]j9)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]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.skb_copy_ubufsasbuh1hhjƨ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}(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 reftargetjAmodnameN classnameNj j )}j ]jc.skb_copy_ubufsasbuh1hhj8ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hgfp_maskh]hgfp_mask}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(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*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(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`` 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)}(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)}(hthe skb to modifyh]hthe skb to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjЩubeh}(h]h ]h"]h$]h&]uh1jhjhMhjͩ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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjJh]h Description}(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.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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj`ubjl)}(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 }(hjshhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh.}(hjshhhNhNubeh}(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 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.}(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&]uh1jhjrhMhjubeh}(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}(hjɪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŪ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$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_clonesb c.skb_cloneasbuh1hhjŪhhhj֪hM$ubj")}(h h]h }(hj hhhNhNubah}(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_cloneh]j9)}(hjh]h skb_clone}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjŪhhhj֪hM$ubj )}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](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}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j c.skb_cloneasbuh1hhj?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;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 ]j c.skb_cloneasbuh1hhjubj")}(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 hj;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjŪhhhj֪hM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj֪hM$ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj֪hM$hjhhubjg)}(hhh]jl)}(hduplicate an sk_buffh]hduplicate an sk_buff}(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&]uh1jfhjhhhj֪hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhj" 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)}(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 clone 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.chM%hjGubj)}(hhh]jl)}(hbuffer to cloneh]hbuffer to clone}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM%hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM%hjDubj)}(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.chM&hjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjDubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hj(ubj)}(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 }(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.chM'hj۬ubh. 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 }(hj۬hhhNhNubj)}(h``NULL``h(]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۬ubh& otherwise the new buffer is returned.}(hj۬hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'hj׬ubjl)}(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}(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.chM,hj׬ubeh}(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 (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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjshMqubh)}(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_copysb c.skb_copyasbuh1hhjbhhhjshMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjshMqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbhhhjshMqubj3)}(hskb_copyh]j9)}(hjh]hskb_copy}(hjŭhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjshMqubj )}(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&]uh1jhjܭubj")}(h h]h }(hjhhhNhNubah}(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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjܭubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܭubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjܭubj9)}(hskbh]hskb}(hjRhhhNhNubah}(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}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjحubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjshMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshMqubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMqhj[hhubjg)}(hhh]jl)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjĮhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhjhhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhjshMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjܮjjܮjjjuh1hhhhj" 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)}(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.chMuhjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy 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.chMrhjubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(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.chMshj8ubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMshjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMshjubeh}(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.chMuhjubj)}(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 }(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.chMthjubh} 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 }(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&]uh1jkhjhMthjubjl)}(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 }(hjׯhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(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.chMyhjׯubh to linear one, so that }(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_buffuh1hhjhMyhjׯubh 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.}(hjׯhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMyhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhQ/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!hjNhhhj_hMubh)}(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 __pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjNhhhj_hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj_hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNhhhj_hMubj3)}(h__pskb_copy_fcloneh]j9)}(hjh]h__pskb_copy_fclone}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj_hMubj )}(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&]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 ]jc.__pskb_copy_fcloneasbuh1hhjȰ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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȰubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjİubj )}(h int headroomh](jM )}(hinth]hint}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hheadroomh]hheadroom}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjİubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jc.__pskb_copy_fcloneasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjİubj )}(h bool fcloneh](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)}(hfcloneh]hfclone}(hjԱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjİubeh}(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)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private 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&]uh1jfhjGhhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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}(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)}(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}(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.chMhj9ubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjxh]h int headroom}(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)}(hheadroom of new skbh]hheadroom of new skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jkhjƲhMhjDzubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƲhMhj6ubj)}(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)}(hjh]h bool fclone}(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)}(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}(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&]uh1jhjhMhj6ubeh}(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)}(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 }(hj@hhhNhNubh)}(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_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj@ubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hj@hhhNhNubh)}(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_buffuh1hhjghMhj@ubh8 and needs private copy of the header 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&]uh1jkhjghMhj<ubah}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(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 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)}(hpskb_expand_headh]j9)}(hpskb_expand_headh]hpskb_expand_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjɳhhhj۳hMubj )}(h;(struct sk_buff *skb, int nhead, int ntail, 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.pskb_expand_headasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int nheadh](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hnheadh]hnhead}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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 ]jDc.pskb_expand_headasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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 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&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(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 j )}j ]jDc.pskb_expand_headasbjsk_buffuh1hhjhKhj?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&]uh1jfhj³hhhj۳hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhj" 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)}(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 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.chMhjubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjݵh]h int nhead}(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)}(hroom to add at headh]hroom to add at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj׵ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjh]h int ntail}(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 tailh]hroom to add at tail}(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 priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjOh]hgfp_t gfp_mask}(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)}(hallocation priorityh]hallocation priority}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubeh}(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)}(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}(hjжhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(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 itself is not changed. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubhv 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)}(hj+h]hsk_buff}(hj-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubjl)}(h**Note**h]j)}(hjih]hNote}(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.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}(hjhhhNhNubah}(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 }(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_buffuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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}(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!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_expand_headsbc.skb_expand_headasbuh1hhjhhhjhM ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(hskb_expand_headh]j9)}(hj8h]hskb_expand_head}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h,(struct sk_buff *skb, unsigned int headroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j6c.skb_expand_headasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hskbh]hskb}(hj̸hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(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 hjmubeh}(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&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hjGhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjQh]hsk_buff}(hjShhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j6c.skb_expand_headasbjsk_buffuh1hhjhKhjGubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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 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}(hjŹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hj¹ubah}(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)}(hjh]hunsigned 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.chM hj߹ubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj6ubjl)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj6ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(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}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhQ/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!hjzhhhjhM 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_copy_expandsbc.skb_copy_expandasbuh1hhjzhhhjhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhM ubj )}(hj h]h*}(hj̺hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzhhhjhM ubj3)}(hskb_copy_expandh]j9)}(hjh]hskb_copy_expand}(hjݺhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٺubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhM 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}(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)}(hsk_buffh]hsk_buff}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]jc.skb_copy_expandasbuh1hhjubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newheadroomh](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 newheadroomh]h newheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newtailroomh](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 newtailroomh]h newtailroom}(hjԻhhhNhNubah}(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 ]jc.skb_copy_expandasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhM ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjshhubjg)}(hhh]jl)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjChhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhj" 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)}(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.chM hjbubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy 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)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj~ubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjh]hint newheadroom}(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)}(hnew free bytes at headh]hnew free bytes at head}(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+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hjh]hint newtailroom}(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 tailh]hnew free bytes at tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj~ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj2h]hgfp_t gfp_mask}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj,ubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hj~ubeh}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hjmh]h Description}(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 hjbubj)}(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 }(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; and its data and while doing so allocate additional space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubjl)}(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 hjubjl)}(heYou must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](hYou must pass }(hjڽhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڽubhI as the allocation priority if this function is called from an interrupt.}(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&]uh1jhjhM hjbubeh}(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 hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hM ubj3)}(h __skb_padh]j9)}(h __skb_padh]h __skb_pad}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hM ubj )}(h2(struct sk_buff *skb, int pad, bool free_on_error)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j jDsb c.__skb_padasbuh1hhjZubj")}(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 )}(hint padh](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)}(hpadh]hpad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̾ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hbool free_on_errorh](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 free_on_errorh]h free_on_error}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(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)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj/hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhj" 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)}(hjlh]h Parameters}(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.chM hjfubj)}(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)}(hjĿh]hint pad}(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)}(h space to padh]h space to pad}(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,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(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)}(hfree buffer on errorh]hfree buffer on error}(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&]uh1jhjfubjl)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjfubj)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjNubjl)}(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 }(hjahhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh is true.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjNubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjfubeh}(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}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.pskb_putasbuh1hhjubj")}(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)}(hskbh]hskb}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *tailh](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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j, c.pskb_putasbuh1hhj`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)}(htailh]htail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(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 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.c hM( hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM( ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhj" 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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM, hj6ubj)}(hhh](j)}(h3``struct sk_buff *skb`` start of the 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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM) hjUubj)}(hhh]jl)}(hstart of the buffer to useh]hstart of the buffer to use}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM) hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM) hjRubj)}(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* hjRubj)}(h"``int len`` amount of data to add 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.chM+ hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+ hjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(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.chM- hj6ubj)}(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. }(hj"hhhNhNubj)}(h**tail**h]htail}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh must be the last fragment of }(hj"hhhNhNubj)}(h**skb**h]hskb}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh -- or }(hj"hhhNhNubj)}(h**skb**h]hskb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh 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.}(hj"hhhNhNubeh}(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&]uh1jhjfhM, hj6ubeh}(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.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)}(hskb_puth]j9)}(hskb_puth]hskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM? 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 jsb c.skb_putasbuh1hhjubj")}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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)}(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.chM? hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM? 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)}(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.chMC hjubj)}(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+``unsigned int len`` amount of data to add 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMA hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMA hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMA hjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC 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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMB hjvubah}(h]h ]h"]h$]h&]uh1jhjhMB 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.chMT ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMT ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMT ubj3)}(hskb_pushh]j9)}(hskb_pushh]hskb_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMT 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 jsb c.skb_pushasbuh1hhjubj")}(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 hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMT ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMT hjhhubjg)}(hhh]jl)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMT hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.chMX hjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMU hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMU hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMU hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjGh]hunsigned int len}(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.chMV hjAubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMV hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMV 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.chMX hjubj)}(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.chMW hjubah}(h]h ]h"]h$]h&]uh1jhjhMW hjubeh}(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 hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMg ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMg ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMg ubj3)}(hskb_pullh]j9)}(hskb_pullh]hskb_pull}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMg 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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jsb c.skb_pullasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjthhhNhNubah}(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 hjhhhjhMg ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMg ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMg hjhhubjg)}(hhh]jl)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMg hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.chMk hj ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hj0h]hstruct sk_buff *skb}(hj2hhhNhNubah}(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.chMh hj*ubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMh hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMh hj'ubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjih]hunsigned int len}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMi hjcubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMi hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMi 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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk hj ubj)}(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.chMj hjubah}(h]h ]h"]h$]h&]uh1jhjhMj hj ubeh}(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}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMw ubj3)}(h skb_pull_datah]j9)}(h skb_pull_datah]h skb_pull_data}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMw 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&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(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 )}j j#sbc.skb_pull_dataasbuh1hhj9ubj")}(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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(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 ]jwc.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 hj5ubeh}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMw hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMw 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)}(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 use h](j)}(h``struct sk_buff *skb``h]j)}(hjIh]hstruct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMy hjCubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMy hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMy hj@ubj)}(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.chMz hj|ubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMz hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMz 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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM| hj$ubj)}(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&]uh1jhjhM{ hj$ubeh}(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}(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)}(hskb_trimh]j9)}(hskb_trimh]hskb_trim}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h'(struct sk_buff *skb, unsigned int len)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/sb c.skb_trimasbuh1hhjEubj")}(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 )}(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 hjAubeh}(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 end from a bufferh]hremove end from 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&]jjjj5jj5jjjuh1hhhhj" 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}(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 hj9ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter 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 hjXubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjUubj)}(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 hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(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 hj9ubj)}(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.}(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 hj9ubeh}(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 hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM# ubj")}(h h]h }(hj0hhhNhNubah}(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)}(h__pskb_pull_tailh]j9)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hM# ubj )}(h (struct sk_buff *skb, int delta)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.__pskb_pull_tailasbuh1hhjgubj")}(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 )}(h int deltah](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdeltah]hdelta}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(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)}(hadvance tail of skb headerh]hadvance tail of skb header}(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&]uh1jfhjhhhj/hM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhj" 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)}(hjEh]h Parameters}(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.chM' hj?ubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjdh]hstruct 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.chM$ hj^ubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM$ hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM$ hj[ubj)}(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% 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&]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 }(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\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM& hjubjl)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(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 MUST have reference count of 1.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjGhM* hjubjl)}(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 }(hjRhhhNhNubj)}(h``NULL``h]hNULL}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh (and }(hjRhhhNhNubh)}(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_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM, hjRubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM, hjubjl)}(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.chM/ hjubeh}(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_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}(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_copy_bitsh]j9)}(h skb_copy_bitsh]h skb_copy_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(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)}(hsk_buffh]hsk_buff}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jsbc.skb_copy_bitsasbuh1hhjubj")}(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 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 )}(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}(hj hhhNhNubah}(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 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 bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjOhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj" 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)}(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)``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)}(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.chM hjubj)}(hhh]jl)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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.chM hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hj>h]hint 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.chM hj8ubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM hjubeh}(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 hjnubj)}(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 hjnubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMm ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMm ubj3)}(hskb_store_bitsh]j9)}(hskb_store_bitsh]hskb_store_bits}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMm 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&]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_store_bitsasbuh1hhj;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 )}(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 hj7ubj )}(hconst void *fromh](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)}(hfromh]hfrom}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint lenh](jM )}(hinth]hint}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hjQhhhNhNubah}(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 hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMm ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMm ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMm hjhhubjg)}(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.chMm hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMm 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.chMq hjubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer 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.chMn hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMn hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMn hjubj)}(h%``int offset`` offset in destination 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.chMo hjubj)}(hhh]jl)}(hoffset in destinationh]hoffset in destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMo hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMo 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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hj6ubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMp hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMp hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjuh]hint len}(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.chMq hjoubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMq 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.chMs 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]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hjubah}(h]h ]h"]h$]h&]uh1jhjhMr 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}(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!hjhhhj hMubj3)}(h skb_zerocopyh]j9)}(h skb_zerocopyh]h skb_zerocopy}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(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&]uh1jhj8ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j )}j j"sbc.skb_zerocopyasbuh1hhj8ubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jvc.skb_zerocopyasbuh1hhjubj")}(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 hj4ubj )}(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 hj4ubj )}(hint hlenh](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj9)}(hhlenh]hhlen}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(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)}(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&]uh1jfhjhhhj hMubeh}(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 geometryh](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sk_buff *from`` source buffer 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.chMhj ubj)}(hhh]jl)}(h source bufferh]h source buffer}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(hjLh]hint len}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjFubj)}(hhh]jl)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from source buffer}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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)}(hXgCopies 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 geometryh](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h`from`h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: 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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hj!hhhNhNubj)}(h`to`h]hto}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!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 geometryh](hFReturn value: 0: everything is OK -ENOMEM: couldn’t orphan frags of }(hjThhhNhNubj)}(h**from**h]hfrom}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhT due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry}(hjThhhNhNubeh}(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](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.chM{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_dequeuesb c.skb_dequeueasbuh1hhjhhhjhM{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)}(h skb_dequeueh]j9)}(hjh]h skb_dequeue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM{ubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](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 sk_buff_headh]h sk_buff_head}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j c.skb_dequeueasbuh1hhjubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjlhhhNhNubah}(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)}(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.chM{hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM{ubeh}(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.chM|hjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjubj)}(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 }(hj,hhhNhNubj)}(h``NULL``h]hNULL}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh if the list is empty.}(hj,hhhNhNubeh}(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&]uh1jhjLhM}hjubeh}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhMubh)}(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_tailasbuh1hhjohhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjohhhjhMubj3)}(hskb_dequeue_tailh]j9)}(hjh]hskb_dequeue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjhMubj )}(h(struct sk_buff_head *list)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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.skb_dequeue_tailasbuh1hhjubj")}(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)}(hlisth]hlist}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjhMubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(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&]uh1jfhjhhhhjhMubeh}(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)}(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)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(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](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}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjYhMubj3)}(hskb_queue_purge_reasonh]j9)}(hskb_queue_purge_reasonh]hskb_queue_purge_reason}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjYhMubj )}(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 jnsbc.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}(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 reftargetjmodnameN classnameNj j )}j ]jc.skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(h empty a listh]h empty a list}(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&]uh1jfhj@hhhjYhMubeh}(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)}(hjh]henum skb_drop_reason reason}(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 drop reasonh]h drop reason}(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&]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)}(hjGh]hsk_buff}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjEubah}(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&]uh1jkhjdhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjdhMhjubeh}(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&]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_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)}(hlisth]hlist}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](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)}(hsk_buffh]hsk_buff}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j c.skb_queue_headasbuh1hhj@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 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)}(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)}(hj?h]hstruct sk_buff *newsk}(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.chMhj9ubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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&]uh1jhjhMhjubeh}(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}(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 hMubj3)}(hskb_queue_tailh]j9)}(hskb_queue_tailh]hskb_queue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j )}j jsbc.skb_queue_tailasbuh1hhj4ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubj )}(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 ]jrc.skb_queue_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)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubeh}(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)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(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&]jjjjCjjCjjjuh1hhhhj" 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)}(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.chMhjGubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjlh]hstruct sk_buff_head *list}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjfubj)}(hhh]jl)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(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&]uh1jhjhMhjcubeh}(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.chMhjGubj)}(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 }(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&]uh1jkhj!hMhjubjl)}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjGubeh}(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}(hjahhhNhNubah}(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 }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhjohMubj3)}(h skb_unlinkh]j9)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjohMubj )}(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*}(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 )}(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 reftargetj0modnameN classnameNj j )}j ]j c.skb_unlinkasbuh1hhj 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)}(hlisth]hlist}(hjghhhNhNubah}(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 jYjZhjYhhhjohMubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMhjVhhubjg)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjohMubeh}(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.chMhjubj)}(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.chMhjubj)}(hhh]jl)}(hbuffer to removeh]hbuffer to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to useh]h list to use}(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)}(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.chMhjubj)}(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}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubjl)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjohhhNhNubah}(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&]uh1jhjnhMhjubeh}(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}(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_appendasbuh1hhjubj")}(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)}(holdh]hold}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](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)}(hsk_buffh]hsk_buff}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j c.skb_appendasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_appendasbuh1hhjubj")}(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)}(hlisth]hlist}(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)}(happend a bufferh]happend a buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjAhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhj" 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)}(hjfh]h Parameters}(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.chM1hj`ubj)}(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.hj|ubj)}(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/hj|ubj)}(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.chM0hjubj)}(hhh]jl)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM0hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM0hj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(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:26: ./net/core/skbuff.chM2hj`ubj)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjHubah}(h]h ]h"]h$]h&]uh1jhjZhM1hj`ubeh}(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 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)}(h skb_splith]j9)}(h skb_splith]h skb_split}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMubj )}(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 }(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_splitasbuh1hhjubj")}(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 )}(hstruct sk_buff *skb1h](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)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j c.skb_splitasbuh1hhj,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)}(hskb1h]hskb1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(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 ]j c.skb_splitasbuh1hhjubj")}(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}hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjvhhubjg)}(hhh]jl)}(h0Split fragmented skb to two parts at length len.h]h0Split fragmented skb to two parts at length len.}(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&]uh1jfhjvhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhj" 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)}(hj6h]h Parameters}(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.chMhj0ubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjUh]hstruct sk_buff *skb}(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)}(hthe buffer to splith]hthe buffer to split}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubj)}(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&]uh1jhjhMhjLubj)}(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&]uh1jhjhMhjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(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 hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hM*ubj3)}(hskb_prepare_seq_readh]j9)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hM*ubj )}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j jDsbc.skb_prepare_seq_readasbuh1hhjZubj")}(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 )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hunsigned int toh](jM )}(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 )}(hinth]hint}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htoh]hto}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hstruct skb_seq_state *sth](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 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_readasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(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%Prepare a sequential read of skb datah]h%Prepare 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.chM*hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj/hM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" 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)}(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`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hj4h]hstruct sk_buff *skb}(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.chM+hj.ubj)}(hhh]jl)}(hthe buffer to readh]hthe buffer to read}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhM+hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM+hj+ubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjmh]hunsigned int from}(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)}(hlower offset of data to be readh]hlower offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj+ubj)}(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-hj+ubj)}(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.chM.hjubj)}(hhh]jl)}(hstate variableh]hstate variable}(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&]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.chM0hjubjl)}(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.}(hj0hhhNhNubah}(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_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}(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 }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhM@ubjM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[hhhjmhM@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhM@ubj3)}(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&]jPjQuh1j2hj[hhhjmhM@ubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hconsumedh]hconsumed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 **datah](j)}(hj h]hconst}(hj hhhNhNubah}(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&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j jsbc.skb_seq_readasbuh1hhjubj")}(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)}(hdatah]hdata}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jCc.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 hj[hhhjmhM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhM@ubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM@hjThhubjg)}(hhh]jl)}(hSequentially read skb datah]hSequentially read skb data}(hj hhhNhNubah}(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&]uh1jfhjThhhjmhM@ubeh}(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)}(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.chMDhj%ubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjJh]hunsigned int consumed}(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.chMAhjDubj)}(hhh]jl)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMAhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMAhjAubj)}(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.chMBhj}ubj)}(hhh]jl)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjAubj)}(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.chMChjubj)}(hhh]jl)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjAubeh}(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.chMEhj%ubjl)}(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 }(hj hhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hj hhhNhNubj)}(h**data**h]hdata}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhj%ubjl)}(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. }(hj@hhhNhNubj)}(h **consumed**h]hconsumed}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh 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.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhj%ubj)}(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,}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQhjdubj)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjwubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjvhMQhjaubj)}(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.chMThjubj)}(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&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjaubeh}(h]h ]h"]h$]h&]uh1jhj%ubeh}(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}(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_abort_seq_readh]j9)}(hskb_abort_seq_readh]hskb_abort_seq_read}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct skb_seq_state *st)h]j )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jsbc.skb_abort_seq_readasbuh1hhj$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)}(hsth]hst}(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#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&]uh1jfhjhhhjhMubeh}(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)}(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 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.chMhjubj)}(hhh]jl)}(hstate variableh]hstate variable}(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.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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhQ/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!hjhhhhjzhMubj3)}(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&]jPjQuh1j2hjhhhhjzhMubj )}(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 }(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 hjubj )}(h int offseth](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)}(hoffseth]hoffset}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(htoh]hto}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(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 hjhhhhjzhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhMubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhMhjahhubjg)}(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&]uh1jfhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(h2``struct skb_seq_state *st`` source skb_seq_state 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.chMhjubj)}(hhh]jl)}(hsource skb_seq_stateh]hsource skb_seq_state}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjRh]h int offset}(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)}(hoffset in sourceh]hoffset in source}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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&]uh1jhjhMhjubj)}(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&]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.chMhjubjl)}(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 }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes into the source }(hjhhhNhNubj)}(h**st**h]hst}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h`offset`h]hoffset}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hjhhhNhNubj)}(h`st`h]hst}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be reset first.}(hjhhhNhNubeh}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.chMhjubeh}(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 }(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)}(h skb_find_texth]j9)}(h skb_find_texth]h skb_find_text}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.skb_find_textasbuh1hhj,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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 }(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(ubj )}(hunsigned int toh](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)}(htoh]hto}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hstruct ts_config *configh](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 ts_configh]h ts_config}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]jjc.skb_find_textasbuh1hhj@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)}(hconfigh]hconfig}(hjhhhNhNubah}(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)}(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&]uh1jfhjhhhjhMubeh}(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)}(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 buffer to look in 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 look inh]hthe buffer to look in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hj?h]hunsigned int from}(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.chMhj9ubj)}(hhh]jl)}(h search offseth]h search offset}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjxh]hunsigned int to}(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)}(h search limith]h search limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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.chMhjubjl)}(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.}(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](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}(hj1hhhNhNubah}(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!ubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-hhhj?hM!ubj3)}(hskb_pull_rcsumh]j9)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj?hM!ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](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_pull_rcsumasbuh1hhjwubj")}(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 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}(hj hhhNhNubah}(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 hjsubeh}(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$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM!hjLhhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj?hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhj" 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)}(hjqh]h Parameters}(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%hjkubj)}(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}(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)}(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&]uh1jhjkubjl)}(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%hjkubj)}(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.}(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$hjkubeh}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhj`hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j skb_segmentsb c.skb_segmentasbuh1hhjOhhhj`hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhj`hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOhhhj`hMubj3)}(h skb_segmenth]j9)}(hjh]h skb_segment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhj`hMubj )}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j )}(hstruct sk_buff *head_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_segmentasbuh1hhjubj")}(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)}(hhead_skbh]hhead_skb}(hj$hhhNhNubah}(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}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j c.skb_segmentasbuh1hhj9ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hfeaturesh]hfeatures}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhj`hMubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhjHhhubjg)}(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&]uh1jfhjHhhhj`hMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hP``netdev_features_t features`` features for the output path (see dev->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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(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)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(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).}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(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 }(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_to_sgvecasbuh1hhjubj")}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct scatterlist *sgh](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 scatterlisth]h scatterlist}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]jc.skb_to_sgvecasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(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}(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 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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" 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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjPubj)}(hhh](j)}(hJ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped h](j)}(h``struct sk_buff *skb``h]j)}(hjuh]hstruct sk_buff *skb}(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)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(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&]uh1jhjhMhjlubj)}(hF``int offset`` The offset into the buffer's contents to start mapping 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)}(h6The offset into the buffer's contents to start mappingh]h8The offset into the buffer’s contents to start mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hj h]hint 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.chMhjubj)}(hhh]jl)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubjl)}(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.chMhjPubj)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(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}(hjhhhNhNubah}(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}(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_cow_dataasbuh1hhjubj")}(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)}(hskbh]hskb}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int tailbitsh](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(htailbitsh]htailbits}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrailerh]htrailer}(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)}(h6Check that a socket buffer's data buffers are writableh]h8Check that a socket buffer’s data buffers are writable}(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&]jjjj4jj4jjjuh1hhhhj" 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}(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.chMhj8ubj)}(hhh](j)}(h4``struct sk_buff *skb`` The socket 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjWubj)}(hhh]jl)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(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&]uh1jhjhMhjTubj)}(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&]uh1jhjubah}(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 }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh space begins}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj8ubj)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubjl)}(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 }(hjEhhhNhNubj)}(h **tailbits**h]htailbits}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh2 is given, make sure that there is space to write }(hjEhhhNhNubj)}(h **tailbits**h]htailbits}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh5 bytes of data beyond current end of socket buffer. }(hjEhhhNhNubj)}(h **trailer**h]htrailer}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh< will be set to point to the skb in which this space begins.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubjl)}(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.chMhj2ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj8ubeh}(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 }(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_clone_sksbc.skb_clone_skasbuh1hhjhhhjhMubj")}(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_clone_skh]j9)}(hjh]h skb_clone_sk}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.skb_clone_skasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubah}(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)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(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`` 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)}(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 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.chMhjubj)}(hhh]jl)}(hthe skb to cloneh]hthe skb to clone}(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)}(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.chMhjubjl)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.chMhjubeh}(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}(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_partial_csum_seth]j9)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h)(struct sk_buff *skb, u16 start, u16 off)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_partial_csum_setasbuh1hhjubj")}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 starth](h)}(hhh]j9)}(hu16h]hu16}(hj; hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj= modnameN classnameNj j )}j ]j c.skb_partial_csum_setasbuh1hhj4 ubj")}(h h]h }(hjY hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4 ubj9)}(hstarth]hstart}(hjg hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj 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&]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 set 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)}(hthe skb to seth]hthe skb to set}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/ hMhj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hMhj ubj)}(hI``u16 start`` the number of bytes after skb->data to start checksumming. h](j)}(h ``u16 start``h]j)}(hjS h]h u16 start}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjM 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.}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh hMhji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hMhj 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 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:26: ./net/core/skbuff.chMhj 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.chMhj 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.chMhj 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}(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_checksum_setuph]j9)}(hskb_checksum_setuph]hskb_checksum_setup}(hj< hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8 ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj) hMubj )}(h'(struct sk_buff *skb, bool recalculate)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjX hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT ubj")}(h h]h }(hje hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjv hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx modnameN classnameNj j )}j ]j )}j j> sbc.skb_checksum_setupasbuh1hhjT 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 ubj )}(hbool recalculateh](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 recalculateh]h recalculate}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjP 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 up partial checksum offseth]hset up partial checksum offset}(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)}(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)}(hj1 h]h Parameters}(hj3 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 set up h](j)}(h``struct sk_buff *skb``h]j)}(hjP h]hstruct sk_buff *skb}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjJ ubj)}(hhh]jl)}(hthe skb to set uph]hthe skb to set up}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje hMhjf ubah}(h]h ]h"]h$]h&]uh1jhjJ ubeh}(h]h ]h"]h$]h&]uh1jhje hMhjG ubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hj h]hbool recalculate}(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)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjG 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_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&]uh1jhj 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 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_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhj hhhj hMubj")}(h h]h }(hj# hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj )}(hj h]h*}(hj1 hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hMubj3)}(hskb_checksum_trimmedh]j9)}(hj h]hskb_checksum_trimmed}(hjB hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj> ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj 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}(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)}(hsk_buffh]hsk_buff}(hj{ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj} modnameN classnameNj j )}j ]j c.skb_checksum_trimmedasbuh1hhjY 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)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU ubj )}(hunsigned int transport_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}(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 transport_lenh]h transport_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU ubj )}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j9)}(h__sum16h]h__sum16}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j c.skb_checksum_trimmedasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(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)}(hskb_chkfh]hskb_chkf}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(h)h]h)}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]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 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&]uh1j8hjubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU 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)}(hvalidate checksum of an skbh]hvalidate checksum of 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&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" 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)}(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)}(h)``struct sk_buff *skb`` the skb to check 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)}(hthe skb to checkh]hthe skb to check}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(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&]uh1jhjhMhjWubj)}(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.chMhjubj)}(hhh]jl)}(hchecksum function to useh]hchecksum function to use}(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)}(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:26: ./net/core/skbuff.chMhj;ubjl)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubjl)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubjl)}(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.}(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_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}(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}hMubj3)}(hskb_try_coalesceh]j9)}(hskb_try_coalesceh]hskb_try_coalesce}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj}hMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_try_coalesceasbuh1hhjubj")}(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 )}(hstruct sk_buff *fromh](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&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jc.skb_try_coalesceasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfromh]hfrom}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 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)}(hdelta_truesizeh]hdelta_truesize}(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)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(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&]uh1jfhjehhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhj" 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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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 *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hjch]hstruct sk_buff *to}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj]ubj)}(hhh]jl)}(h prior bufferh]h prior buffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubj)}(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.chMhjubj)}(hhh]jl)}(h buffer to addh]h buffer to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjZubj)}(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.chMhjubj)}(hhh]jl)}(hpointer to booleanh]hpointer to boolean}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjZubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hjh]hint *delta_truesize}(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.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjZubeh}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhMzubj3)}(hskb_scrub_packeth]j9)}(hskb_scrub_packeth]hskb_scrub_packet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjvhMzubj )}(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 }(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 bool xneth](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)}(hxneth]hxnet}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjvhMzubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhMzubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMzhj]hhubjg)}(hhh]jl)}(h scrub an skbh]h scrub an skb}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhjYhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjvhMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" 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)}(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 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.chM|hjubj)}(hhh]jl)}(hbuffer to cleanh]hbuffer to clean}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubj)}(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.chM}hjubj)}(hhh]jl)}(hpacket is crossing netnsh]hpacket is crossing netns}(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.chMhjxubjl)}(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 (}(hj'hhhNhNubj)}(h**xnet**h]hxnet}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjxubeh}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMgubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhMgubj3)}(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&]jPjQuh1j2hjdhhhjvhMgubj )}(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 }(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 hjdhhhjvhMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhMgubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMghj]hhubjg)}(hhh]jl)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the 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.chMghj%hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjvhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj" 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)}(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.chMkhjDubj)}(hhh]j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjih]hstruct sk_buff *skb}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjcubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMihjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMihj`ubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjDubjl)}(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.chMjhjDubjl)}(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.chMlhjDubjl)}(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.chMohjDubeh}(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}(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'hMubj3)}(h skb_eth_pushh]j9)}(h skb_eth_pushh]h skb_eth_push}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hMubj )}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(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 j<sbc.skb_eth_pushasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hconst unsigned char *srch](j)}(hj h]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hjNhhhNhNubah}(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 }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubjM )}(hcharh]hchar}(hjxhhhNhNubah}(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 hjNubeh}(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)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(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)}(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)}(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)}(h0``struct sk_buff *skb`` Socket buffer to modify 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.chMhjubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(hG``const unsigned char *dst`` Destination MAC address of the new header h](j)}(h``const unsigned char *dst``h]j)}(hjEh]hconst unsigned char *dst}(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)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hj~h]hconst unsigned char *src}(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$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&]uh1jhjxubeh}(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.chMhjubjl)}(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.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.chMhjubeh}(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}(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_mpls_pushh]j9)}(h skb_mpls_pushh]h skb_mpls_push}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<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}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.skb_mpls_pushasbuh1hhjgubj")}(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 )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmpls_lseh]hmpls_lse}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(h__be16 mpls_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 ]jc.skb_mpls_pushasbuh1hhj!ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(h mpls_protoh]h mpls_proto}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(h int mac_lenh](jM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(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 hjcubeh}(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)}(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}(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`` 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)}(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: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.chMhj"ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h3``__be32 mpls_lse`` MPLS label stack entry to push h](j)}(h``__be32 mpls_lse``h]j)}(hjah]h__be32 mpls_lse}(hjchhhNhNubah}(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)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(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&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jl)}(hlength of the MAC headerh]hlength of the MAC header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hj h]h bool ethernet}(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)}(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}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.chMhjubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjmhhhNhNubah}(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_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}(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_popasbuh1hhjubj")}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be16 next_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]jc.skb_mpls_popasbuh1hhjGubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(h next_protoh]h next_proto}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(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 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}(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&]jjjj%jj%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)}(hj/h]h Parameters}(hj1hhhNhNubah}(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)}(hjNh]hstruct sk_buff *skb}(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)}(hbufferh]hbuffer}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubj)}(hC``__be16 next_proto`` ethertype of header after popped MPLS header h](j)}(h``__be16 next_proto``h]j)}(hjh]h__be16 next_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 header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubj)}(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.chMhjubj)}(hhh]jl)}(hlength of the MAC headerh]hlength of the MAC header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hjh]h bool ethernet}(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*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubjl)}(h**Description**h]j)}(hj4 h]h Description}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj)ubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjJ 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.}(hjY 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_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.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(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 hMubj )}(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 }(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 )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hj:!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdata 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.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<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hj "h]h__be32 mpls_lse}(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'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update 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!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjl)}(h**Description**h]j)}(hjE"h]h Description}(hjG"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC"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.}(hjj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hj!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.chM=ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj"hM=ubj3)}(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"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"sbc.skb_mpls_dec_ttlasbuh1hhj"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 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.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of the outermost MPLS header}(hjY#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjV#hhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj"hM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq#jjq#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&]uh1jhjy#ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhju#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#ubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhju#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@hju#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.chMBhju#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}(hj)$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%$hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]ubj")}(h h]h }(hj7$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%$hhhj6$hM]ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjH$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ$modnameN classnameNj j )}j ]j )}j alloc_skb_with_fragssbc.alloc_skb_with_fragsasbuh1hhj%$hhhj6$hM]ubj")}(h h]h }(hji$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%$hhhj6$hM]ubj )}(hj h]h*}(hjw$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%$hhhj6$hM]ubj3)}(halloc_skb_with_fragsh]j9)}(hjf$h]halloc_skb_with_frags}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%$hhhj6$hM]ubj )}(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}(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)}(hdata_lenh]hdata_len}(hj,%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h int orderh](jM )}(hinth]hint}(hjE%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjA%ubj")}(h h]h }(hjS%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA%ubj9)}(horderh]horder}(hja%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h int *errcodeh](jM )}(hinth]hint}(hjz%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjv%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)}(herrcodeh]herrcode}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv%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 ]jd$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 hj%$hhhj6$hM]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!$hhhj6$hM]ubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6$hM]hj$hhubjg)}(hhh]jl)}(hallocate skb with page fragsh]hallocate skb with page frags}(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$hhhj6$hM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-&jj-&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)}(hj7&h]h Parameters}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5&ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahj1&ubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hjV&h]hunsigned long header_len}(hjX&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT&ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hjP&ubj)}(hhh]jl)}(hsize of linear parth]hsize of linear part}(hjo&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjk&hM_hjl&ubah}(h]h ]h"]h$]h&]uh1jhjP&ubeh}(h]h ]h"]h$]h&]uh1jhjk&hM_hjM&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.chM`hj&ubj)}(hhh]jl)}(hneeded length in fragsh]hneeded length in frags}(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`hjM&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.chMahj&ubj)}(hhh]jl)}(hmax page order desired.h]hmax page order desired.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMahj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMahjM&ubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hj'h]h int *errcode}(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.chMbhj&ubj)}(hhh]jl)}(hpointer to error code if anyh]hpointer to error code if any}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMbhj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMbhjM&ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hj:'h]hgfp_t gfp_mask}(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.chMchj4'ubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjS'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO'hMchjP'ubah}(h]h ]h"]h$]h&]uh1jhj4'ubeh}(h]h ]h"]h$]h&]uh1jhjO'hMchjM&ubeh}(h]h ]h"]h$]h&]uh1jhj1&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.chMehj1&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.chMdhj1&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}(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_condenseasbuh1hhj'ubj")}(h h]h }(hj5(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjC(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hskbh]hskb}(hjP(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)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hjz(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjw(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)}(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)}(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.}(hj )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&]uh1jhj)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.}(hj7)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3)ubah}(h]h ]h"]h$]h&]uh1jhjE)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}(hjl)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjh)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!hjh)hhhjz)hMubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjh)hhhjz)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&]jPjQuh1j2hjh)hhhjz)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 }(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 )}(henum skb_ext_id idh](j)}(hjh]henum}(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 skb_ext_idh]h skb_ext_id}(hjF*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjH*modnameN classnameNj j )}j ]j)c.__skb_ext_setasbuh1hhj$*ubj")}(h h]h }(hjd*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$*ubj9)}(hidh]hid}(hjr*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$*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 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)}(h2attach the specified extension storage to this skbh]h2attach the specified extension storage to this 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&]uh1jfhja)hhhjz)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$+jj$+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)}(hj.+h]h Parameters}(hj0+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)}(hjM+h]hstruct sk_buff *skb}(hjO+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjG+ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjf+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjb+hMhjc+ubah}(h]h ]h"]h$]h&]uh1jhjG+ubeh}(h]h ]h"]h$]h&]uh1jhjb+hMhjD+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+hMhjD+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)}(hhhhNhNubah}(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)}(hj >h]hsk_clone}(hj/>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+>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}(hjJ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF>ubj")}(h h]h }(hjW>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF>ubj)}(hjh]hstruct}(hje>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF>ubj")}(h h]h }(hjr>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF>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 > c.sk_cloneasbuh1hhjF>ubj")}(h h]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)}(hskh]hsk}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjB>ubj )}(hconst gfp_t priorityh](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)}(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.sk_cloneasbuh1hhj>ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj9)}(hpriorityh]hpriority}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjB>ubj )}(h bool lockh](jM )}(hjh]hbool}(hj8?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4?ubj")}(h h]h }(hjE?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4?ubj9)}(hlockh]hlock}(hjS?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjB>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}(hj}?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjz?hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj" 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)}(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.``const struct sock *sk`` the socket to clone 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&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj?ubj)}(hhh]jl)}(hthe socket to cloneh]hthe socket to clone}(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)}(hN``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``const gfp_t priority``h]j)}(hj?h]hconst gfp_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.chM hj?ubj)}(hhh]jl)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj@hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, }(hj@hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj*@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, etc)}(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?ubj)}(h*``bool lock`` if true, lock the cloned sk h](j)}(h ``bool lock``h]j)}(hjT@h]h bool lock}(hjV@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR@ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjN@ubj)}(hhh]jl)}(hif true, lock the cloned skh]hif true, lock the cloned sk}(hjm@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji@hM hjj@ubah}(h]h ]h"]h$]h&]uh1jhjN@ubeh}(h]h ]h"]h$]h&]uh1jhji@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&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj?ubjl)}(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 }(hj@hhhNhNubj)}(h**lock**h]hlock}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhv is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().}(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](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@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)}(hskb_page_frag_refillh]j9)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj@hM` ubj )}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j )}(hunsigned int szh](jM )}(hunsignedh]hunsigned}(hj"AhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hj0AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubjM )}(hinth]hint}(hj>AhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjLAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hszh]hsz}(hjZAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(hstruct page_frag *pfragh](j)}(hjh]hstruct}(hjsAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoAubh)}(hhh]j9)}(h page_fragh]h page_frag}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jAsbc.skb_page_frag_refillasbuh1hhjoAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoAubj9)}(hpfragh]hpfrag}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]jAc.skb_page_frag_refillasbuh1hhjAubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hgfph]hgfp}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(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+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hj>BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM` hj;Bhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hM` ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVBjjVBjjjuh1hhhhj" 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)}(hj`Bh]h Parameters}(hjbBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Bubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMd hjZBubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hjBh]hunsigned int sz}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Bubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMa hjyBubj)}(hhh]jl)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMa hjBubah}(h]h ]h"]h$]h&]uh1jhjyBubeh}(h]h ]h"]h$]h&]uh1jhjBhMa hjvBubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hjBh]hstruct page_frag *pfrag}(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.chMb hjBubj)}(hhh]jl)}(hpointer to page_fragh]hpointer to page_frag}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMb hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMb hjvBubj)}(h-``gfp_t gfp`` priority for memory allocation h](j)}(h ``gfp_t gfp``h]j)}(hjBh]h gfp_t gfp}(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.chMc hjBubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMc hjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChMc hjvBubeh}(h]h ]h"]h$]h&]uh1jhjZBubjl)}(h**Note**h]j)}(hj,Ch]hNote}(hj.ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Cubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjZBubjl)}(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, }(hjBChhhNhNubj)}(h**sz**h]hsz}(hjJChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBCubh& MUST be less or equal than PAGE_SIZE.}(hjBChhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjZBubeh}(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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjChM ubj3)}(h sk_wait_datah]j9)}(h sk_wait_datah]h sk_wait_data}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjChM ubj )}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hsockh]hsock}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jCsbc.sk_wait_dataasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hj DhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hskh]hsk}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h long *timeoh](jM )}(hlongh]hlong}(hj2DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.Dubj")}(h h]h }(hj@DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.Dubj )}(hj h]h*}(hjNDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.Dubj9)}(htimeoh]htimeo}(hj[DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjtDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpDubj)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpDubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]jCc.sk_wait_dataasbuh1hhjpDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpDubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpDubj9)}(hskbh]hskb}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjChM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{ChhhjChM ubah}(h]jvCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChM hjxChhubjg)}(hhh]jl)}(h+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj Ehhubah}(h]h ]h"]h$]h&]uh1jfhjxChhhjChM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Ejj(Ejjjuh1hhhhj" 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)}(hj2Eh]h Parameters}(hj4EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Eubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj,Eubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjQEh]hstruct sock *sk}(hjSEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOEubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjKEubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hjjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfEhM hjgEubah}(h]h ]h"]h$]h&]uh1jhjKEubeh}(h]h ]h"]h$]h&]uh1jhjfEhM hjHEubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hjEh]h long *timeo}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjEubj)}(hhh]jl)}(h for how longh]h for how long}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjHEubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue h](j)}(h``const struct sk_buff *skb``h]j)}(hjEh]hconst struct sk_buff *skb}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjEubj)}(hhh]jl)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjHEubeh}(h]h ]h"]h$]h&]uh1jhj,Eubjl)}(h**Description**h]j)}(hjEh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj,Eubjl)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj,Eubeh}(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}(hjCFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?FhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMr ubj")}(h h]h }(hjRFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?FhhhjQFhMr ubj3)}(h__sk_mem_scheduleh]j9)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hjdFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`Fubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?FhhhjQFhMr ubj )}(h%(struct sock *sk, int size, int kind)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Fubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|Fubh)}(hhh]j9)}(hsockh]hsock}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j jfFsbc.__sk_mem_scheduleasbuh1hhj|Fubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|Fubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|Fubj9)}(hskh]hsk}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|Fubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxFubj )}(hint sizeh](jM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hsizeh]hsize}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxFubj )}(hint kindh](jM )}(hinth]hint}(hj'GhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#Gubj")}(h h]h }(hj5GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Gubj9)}(hkindh]hkind}(hjCGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Gubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxFubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?FhhhjQFhMr ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;FhhhjQFhMr ubah}(h]j6Fah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQFhMr hj8Fhhubjg)}(hhh]jl)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hjmGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMr hjjGhhubah}(h]h ]h"]h$]h&]uh1jfhj8FhhhjQFhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj" 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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMv hjGubj)}(hhh](j)}(h``struct sock *sk`` socket 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.chMs hjGubj)}(hhh]jl)}(hsocketh]hsocket}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMs hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMs hjGubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hjGh]hint size}(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.chMt hjGubj)}(hhh]jl)}(hmemory size to allocateh]hmemory size to allocate}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMt hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMt hjGubj)}(h``int kind`` allocation type h](j)}(h ``int kind``h]j)}(hj Hh]hint kind}(hj"HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMu hjHubj)}(hhh]jl)}(hallocation typeh]hallocation type}(hj9HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5HhMu hj6Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj5HhMu hjGubeh}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hj[Hh]h Description}(hj]HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYHubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMw hjGubj)}(hIf 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)}(hIf 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]hIf 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.}(hjuHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMv hjqHubah}(h]h ]h"]h$]h&]uh1jhjHhMv hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_reclaim (C function)c.__sk_mem_reclaimhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3void __sk_mem_reclaim (struct sock *sk, int amount)h]j )}(h2void __sk_mem_reclaim(struct sock *sk, int amount)h](jM )}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM ubj3)}(h__sk_mem_reclaimh]j9)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM ubj )}(h(struct sock *sk, int amount)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}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jHsbc.__sk_mem_reclaimasbuh1hhjHubj")}(h h]h }(hj%IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj3IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hskh]hsk}(hj@IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(h int amounth](jM )}(hinth]hint}(hjYIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUIubj")}(h h]h }(hjgIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUIubj9)}(hamounth]hamount}(hjuIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(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-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim 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.chM hjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj" hNhNubj)}(hu**Parameters** ``struct sock *sk`` socket ``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)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.chM 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.chM hjIubj)}(hhh]jl)}(hsocketh]hsocket}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM hjIubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hjJh]h int amount}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjJubj)}(hhh]jl)}(h6number of bytes (rounded down to a PAGE_SIZE multiple)h]h6number of bytes (rounded down to a PAGE_SIZE multiple)}(hj2JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj/Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj.JhM hjIubeh}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$__skb_try_recv_datagram (C function)c.__skb_try_recv_datagramhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * __skb_try_recv_datagram (struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h]j )}(hstruct sk_buff *__skb_try_recv_datagram(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j)}(hjh]hstruct}(hjsJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoJhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoJhhhjJhKubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j __skb_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhjoJhhhjJhKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoJhhhjJhKubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoJhhhjJhKubj3)}(h__skb_try_recv_datagramh]j9)}(hjJh]h__skb_try_recv_datagram}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjoJhhhjJhKubj )}(hl(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(hsockh]hsock}(hj KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj KmodnameN classnameNj j )}j ]jJc.__skb_try_recv_datagramasbuh1hhjJubj")}(h h]h }(hj)KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hj7KhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hskh]hsk}(hjDKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hstruct sk_buff_head *queueh](j)}(hjh]hstruct}(hj]KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYKubj")}(h h]h }(hjjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYKubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj{KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}KmodnameN classnameNj j )}j ]jJc.__skb_try_recv_datagramasbuh1hhjYKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYKubj9)}(hqueueh]hqueue}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hunsigned int flagsh](jM )}(hunsignedh]hunsigned}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubjM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj9)}(hflagsh]hflags}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hint *offh](jM )}(hinth]hint}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLubj")}(h h]h }(hj,LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hj:LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hoffh]hoff}(hjGLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hint *errh](jM )}(hinth]hint}(hj`LhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\Lubj")}(h h]h }(hjnLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\Lubj )}(hj h]h*}(hj|LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\Lubj9)}(herrh]herr}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\Lubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hstruct sk_buff **lasth](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jJc.__skb_try_recv_datagramasbuh1hhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hlasth]hlast}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(h]h ]h"]h$]h&]jPjQuh1j hjoJhhhjJhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkJhhhjJhKubah}(h]jfJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhKhjhJhhubjg)}(hhh]jl)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hj0MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj-Mhhubah}(h]h ]h"]h$]h&]uh1jfhjhJhhhjJhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHMjjHMjjjuh1hhhhj" hNhNubj)}(hX{**Parameters** ``struct sock *sk`` socket ``struct sk_buff_head *queue`` socket queue from which to receive ``unsigned int flags`` MSG\_ flags ``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts ``int *err`` error code returned ``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking **Description** Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jl)}(h**Parameters**h]j)}(hjRMh]h Parameters}(hjTMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPMubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLMubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjqMh]hstruct sock *sk}(hjsMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjkMubj)}(hhh]jl)}(hsocketh]hsocket}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhKhjMubah}(h]h ]h"]h$]h&]uh1jhjkMubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjhMubj)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hjMh]hstruct sk_buff_head *queue}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjMubj)}(hhh]jl)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhKhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjhMubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hjMh]hunsigned int flags}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjMubj)}(hhh]jl)}(h MSG\_ flagsh]h MSG_ flags}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhKhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjhMubj)}(hm``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts h](j)}(h ``int *off``h]j)}(hjNh]hint *off}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubj)}(hhh]jl)}(h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually startsh]h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts}(hj5NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj1NhKhjhMubj)}(h!``int *err`` error code returned h](j)}(h ``int *err``h]j)}(hjVNh]hint *err}(hjXNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjPNubj)}(hhh]jl)}(herror code returnedh]herror code returned}(hjoNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkNhKhjlNubah}(h]h ]h"]h$]h&]uh1jhjPNubeh}(h]h ]h"]h$]h&]uh1jhjkNhKhjhMubj)}(ho``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking h](j)}(h``struct sk_buff **last``h]j)}(hjNh]hstruct sk_buff **last}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubj)}(hhh]jl)}(hTset to last peeked message to inform the wait function what to look for when peekingh]hTset to last peeked message to inform the wait function what to look for when peeking}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjhMubeh}(h]h ]h"]h$]h&]uh1jhjLMubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLMubj)}(hXcGet a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jl)}(hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.h]hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubjl)}(hX This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected.h](hThis function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with }(hjNhhhNhNubj)}(h**err**h]herr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jl)}(hjOh]h5It does not lock socket since today. This function is}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjOubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(h8free of race conditions. This measure should/can improveh]jl)}(hj6Oh]h8free of race conditions. This measure should/can improve}(hj8OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj4Oubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(h6significantly datagram socket latencies at high loads,h]jl)}(hjNOh]h6significantly datagram socket latencies at high loads,}(hjPOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLOubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(h3when data copying to user space takes lots of time.h]jl)}(hjfOh]h3when data copying to user space takes lots of time.}(hjhOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjdOubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jl)}(hj~Oh]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj|Oubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(h8) Great win.)h]henumerated_list)}(hhh]jO)}(h Great win.)h]jl)}(hjOh]h Great win.)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjOubah}(h]h ]h"]h$]h&]uh1jOhjOubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixjxstartKuh1jOhjOubah}(h]h ]h"]h$]h&]uh1jOhjOubjO)}(h--ANK (980729) h]jl)}(h--ANK (980729)h]h--ANK (980729)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjOubah}(h]h ]h"]h$]h&]uh1jOhjOubeh}(h]h ]h"]h$]h&]bulletj uh1jOhj-OhKhjNubjl)}(hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h]hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don’t change them without having the standard around please.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjLMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_kill_datagram (C function)c.skb_kill_datagramhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hPint skb_kill_datagram (struct sock *sk, struct sk_buff *skb, unsigned int flags)h]j )}(hOint skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj")}(h h]h }(hj*PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhj)PhMbubj3)}(hskb_kill_datagramh]j9)}(hskb_kill_datagramh]hskb_kill_datagram}(hjPsbc.skb_kill_datagramasbuh1hhjTPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTPubj9)}(hskh]hsk}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPPubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]jPc.skb_kill_datagramasbuh1hhjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hskbh]hskb}(hj!QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPPubj )}(hunsigned int flagsh](jM )}(hunsignedh]hunsigned}(hj:QhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6Qubj")}(h h]h }(hjHQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6QubjM )}(hinth]hint}(hjVQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6Qubj")}(h h]h }(hjdQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6Qubj9)}(hflagsh]hflags}(hjrQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Qubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhj)PhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhj)PhMbubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)PhMbhjPhhubjg)}(hhh]jl)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhj)PhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags **Description** This function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjQubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjQh]hstruct sock *sk}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchjQubj)}(hhh]jl)}(hsocketh]hsocket}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMchjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMchjQubj)}(h(``struct sk_buff *skb`` datagram skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjRh]hstruct sk_buff *skb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhjRubj)}(hhh]jl)}(hdatagram skbuffh]hdatagram skbuff}(hj/RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+RhMdhj,Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj+RhMdhjQubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hjORh]hunsigned int flags}(hjQRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjIRubj)}(hhh]jl)}(h MSG\_ flagsh]h MSG_ flags}(hjhRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdRhMehjeRubah}(h]h ]h"]h$]h&]uh1jhjIRubeh}(h]h ]h"]h$]h&]uh1jhjdRhMehjQubeh}(h]h ]h"]h$]h&]uh1jhjQubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghjQubj)}(hXThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jl)}(hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.h]hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjRubjl)}(hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.h]hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMjhjRubjl)}(hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.h]hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhjRubjl)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMfhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.skb_copy_and_crc32c_datagram_iter (C function)#c.skb_copy_and_crc32c_datagram_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hvint skb_copy_and_crc32c_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h]j )}(huint skb_copy_and_crc32c_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjShMubj3)}(h!skb_copy_and_crc32c_datagram_iterh]j9)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hj'ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjShMubj )}(hP(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjCShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?Subj")}(h h]h }(hjPShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?Subj)}(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)}(hsk_buffh]hsk_buff}(hj|ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjySubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~SmodnameN classnameNj j )}j ]j )}j j)Ssb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj?Subj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?Subj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?Subj9)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;Subj )}(h int offseth](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hoffseth]hoffset}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;Subj )}(hstruct iov_iter *toh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hj#ThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%TmodnameN classnameNj j )}j ]jS#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjTubj")}(h h]h }(hjAThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjOThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(htoh]hto}(hj\ThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;Subj )}(hint lenh](jM )}(hinth]hint}(hjuThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqTubj9)}(hlenh]hlen}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;Subj )}(h u32 *crcph](h)}(hhh]j9)}(hu32h]hu32}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]jS#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hcrcph]hcrcp}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;Subeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjShMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjShMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMhjRhhubjg)}(hhh]jl)}(h=Copy datagram to an iovec iterator and update a CRC32C value.h]h=Copy datagram to an iovec iterator and update a CRC32C value.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj Uhhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Ujj(Ujjjuh1hhhhj" hNhNubj)}(hXc**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 iovec ``u32 *crcp`` pointer to CRC32C value to update **Return** 0 on success, -EFAULT if there was a fault during copy.h](jl)}(h**Parameters**h]j)}(hj2Uh]h Parameters}(hj4UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Uubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj,Uubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjQUh]hconst struct sk_buff *skb}(hjSUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKUubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfUhMhjgUubah}(h]h ]h"]h$]h&]uh1jhjKUubeh}(h]h ]h"]h$]h&]uh1jhjfUhMhjHUubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hjUh]h int offset}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjUubj)}(hhh]jl)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjHUubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hjUh]hstruct iov_iter *to}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjUubj)}(hhh]jl)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjHUubj)}(h8``int len`` amount of data to copy from buffer to iovec h](j)}(h ``int len``h]j)}(hjUh]hint len}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjUubj)}(hhh]jl)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjHUubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hj5Vh]h u32 *crcp}(hj7VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Vubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj/Vubj)}(hhh]jl)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hjNVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJVhMhjKVubah}(h]h ]h"]h$]h&]uh1jhj/Vubeh}(h]h ]h"]h$]h&]uh1jhjJVhMhjHUubeh}(h]h ]h"]h$]h&]uh1jhj,Uubjl)}(h **Return**h]j)}(hjpVh]hReturn}(hjrVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnVubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj,Uubjl)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj,Uubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_copy_datagram_iter (C function)c.skb_copy_datagram_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h`int skb_copy_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h]j )}(h_int skb_copy_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhjVhM ubj3)}(hskb_copy_datagram_iterh]j9)}(hskb_copy_datagram_iterh]hskb_copy_datagram_iter}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVhhhjVhM ubj )}(hE(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj)}(hjh]hstruct}(hj WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj+WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-WmodnameN classnameNj j )}j ]j )}j jVsbc.skb_copy_datagram_iterasbuh1hhjVubj")}(h h]h }(hjKWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjYWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hskbh]hskb}(hjfWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h int offseth](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{Wubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{Wubj9)}(hoffseth]hoffset}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hstruct iov_iter *toh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jGWc.skb_copy_datagram_iterasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(htoh]hto}(hj XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hint lenh](jM )}(hinth]hint}(hj$XhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj Xubj")}(h h]h }(hj2XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Xubj9)}(hlenh]hlen}(hj@XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVhhhjVhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjVhM ubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhM hjVhhubjg)}(hhh]jl)}(h%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hjjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjgXhhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjVhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhj" 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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjXubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjXh]hconst struct sk_buff *skb}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjXubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hjXh]h int offset}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjXubj)}(hhh]jl)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hjYh]hstruct iov_iter *to}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjYubj)}(hhh]jl)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hj6YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2YhMhj3Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj2YhMhjXubj)}(h7``int len`` amount of data to copy from buffer to iovech](j)}(h ``int len``h]j)}(hjVYh]hint len}(hjXYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjPYubj)}(hhh]jl)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hjoYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjlYubah}(h]h ]h"]h$]h&]uh1jhjPYubeh}(h]h ]h"]h$]h&]uh1jhjkYhMhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjYhMubj3)}(hskb_copy_datagram_from_iterh]j9)}(hskb_copy_datagram_from_iterh]hskb_copy_datagram_from_iter}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjYhMubj )}(hA(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ZmodnameN classnameNj j )}j ]j )}j jYsbc.skb_copy_datagram_from_iterasbuh1hhjYubj")}(h h]h }(hj+ZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hj9ZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hskbh]hskb}(hjFZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(h int offseth](jM )}(hinth]hint}(hj_ZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[Zubj")}(h h]h }(hjmZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Zubj9)}(hoffseth]hoffset}(hj{ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[Zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(hstruct iov_iter *fromh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j'Zc.skb_copy_datagram_from_iterasbuh1hhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hfromh]hfrom}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(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}(hj [hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubeh}(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!Copy a datagram from an iov_iter.h]h!Copy a datagram from an iov_iter.}(hjJ[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjG[hhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb[jjb[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)}(hjl[h]h Parameters}(hjn[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj[ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjf[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 hj[ubj)}(hhh]jl)}(hthe copy sourceh]hthe copy source}(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``int len`` amount of data to copy to buffer from iovec h](j)}(h ``int len``h]j)}(hj6\h]hint len}(hj8\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4\ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hj0\ubj)}(hhh]jl)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hjO\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK\hM!hjL\ubah}(h]h ]h"]h$]h&]uh1jhj0\ubeh}(h]h ]h"]h$]h&]uh1jhjK\hM!hj[ubeh}(h]h ]h"]h$]h&]uh1jhjf[ubjl)}(h**Description**h]j)}(hjq\h]h Description}(hjs\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo\ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hjf[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"hjf[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&]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.zerocopy_sg_from_iterasbuh1hhj\ubj")}(h h]h }(hj:]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjH]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hskbh]hskb}(hjU]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubj )}(hstruct iov_iter *fromh](j)}(hjh]hstruct}(hjn]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj]ubj")}(h h]h }(hj{]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj]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 ]j6]c.zerocopy_sg_from_iterasbuh1hhjj]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)}(hfromh]hfrom}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj]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*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&]jjjj^jj^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)}(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.chMhj ^ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj0^h]hstruct sk_buff *skb}(hj2^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)}(hbuffer to copyh]hbuffer to copy}(hjI^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjE^hM hjF^ubah}(h]h ]h"]h$]h&]uh1jhj*^ubeh}(h]h ]h"]h$]h&]uh1jhjE^hM hj'^ubj)}(h2``struct iov_iter *from`` the source to copy from h](j)}(h``struct iov_iter *from``h]j)}(hji^h]hstruct iov_iter *from}(hjk^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjc^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&]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&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj ^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^hhhNhNubah}(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^hM hj ^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}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMoubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj_hMoubj3)}(hskb_copy_and_csum_datagram_msgh]j9)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hj#_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj_hMoubj )}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hj]_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj__modnameN classnameNj j )}j ]j )}j j%_sb c.skb_copy_and_csum_datagram_msgasbuh1hhj;_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 hj7_ubj )}(hint hlenh](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)}(hhlenh]hhlen}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7_ubj )}(hstruct msghdr *msgh](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)}(hmsghdrh]hmsghdr}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]jy_ c.skb_copy_and_csum_datagram_msgasbuh1hhj_ubj")}(h h]h }(hj"`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj0`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hmsgh]hmsg}(hj=`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhj_hMoubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhj_hMoubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hMohj^hhubjg)}(hhh]jl)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hjg`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMohjd`hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj_hMoubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" 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)}(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.chMshj`ubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff 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.chMphj`ubj)}(hhh]jl)}(hskbuffh]hskbuff}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMphj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMphj`ubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hj`h]hint hlen}(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.chMqhj`ubj)}(hhh]jl)}(hhardware lengthh]hhardware length}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMqhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMqhj`ubj)}(h#``struct msghdr *msg`` destination h](j)}(h``struct msghdr *msg``h]j)}(hjah]hstruct msghdr *msg}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjaubj)}(hhh]jl)}(h destinationh]h destination}(hj3ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/ahMrhj0aubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj/ahMrhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjUah]h Description}(hjWahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSaubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMthj`ubj)}(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.}(hjoahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshjkaubah}(h]h ]h"]h$]h&]uh1jhj}ahMshj`ubjl)}(h **Return**h]j)}(hjah]hReturn}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMuhj`ubjl)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h]hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMvhj`ubeh}(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}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j datagram_poll_queuesbc.datagram_poll_queueasbuh1hhjahhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjahMubj3)}(hdatagram_poll_queueh]j9)}(hjah]hdatagram_poll_queue}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjahMubj )}(hZ(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hj*bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hfileh]hfile}(hj;bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=bmodnameN classnameNj j )}j ]jac.datagram_poll_queueasbuh1hhjbubj")}(h h]h }(hjYbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjgbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hfileh]hfile}(hjtbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct socket *sockh](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 reftargetjbmodnameN classnameNj j )}j ]jac.datagram_poll_queueasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hsockh]hsock}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jac.datagram_poll_queueasbuh1hhjbubj")}(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)}(hwaith]hwait}(hj9chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct sk_buff_head *rcv_queueh](j)}(hjh]hstruct}(hjRchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNcubj")}(h h]h }(hj_chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNcubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjpchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrcmodnameN classnameNj j )}j ]jac.datagram_poll_queueasbuh1hhjNcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNcubj9)}(h rcv_queueh]h rcv_queue}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjahMubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMhjahhubjg)}(hhh]jl)}(h6same as datagram_poll, but on a specific receive queueh]h6same as datagram_poll, but on a specific receive queue}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjchhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table ``struct sk_buff_head *rcv_queue`` receive queue to poll **Description** Performs 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. **Return** poll bitmask indicating the socket's current stateh](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(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.chMhjcubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjdh]hstruct file *file}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdubj)}(hhh]jl)}(h file structh]h file struct}(hj-dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)dhMhj*dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj)dhMhj dubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjMdh]hstruct socket *sock}(hjOdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjGdubj)}(hhh]jl)}(hsocketh]hsocket}(hjfdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbdhMhjcdubah}(h]h ]h"]h$]h&]uh1jhjGdubeh}(h]h ]h"]h$]h&]uh1jhjbdhMhj dubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjdh]hpoll_table *wait}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdubj)}(hhh]jl)}(h poll tableh]h poll table}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj dubj)}(h9``struct sk_buff_head *rcv_queue`` receive queue to poll h](j)}(h"``struct sk_buff_head *rcv_queue``h]j)}(hjdh]hstruct sk_buff_head *rcv_queue}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdubj)}(hhh]jl)}(hreceive queue to pollh]hreceive queue to poll}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj dubeh}(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&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjcubj)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjeubah}(h]h ]h"]h$]h&]uh1jhj"ehMhjcubjl)}(h **Return**h]j)}(hj+eh]hReturn}(hj-ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)eubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjcubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjAehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjcubeh}(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}(hjsehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuemodnameN classnameNj j )}j ]j )}j datagram_pollsbc.datagram_pollasbuh1hhjlehhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlehhhjehMubj3)}(h datagram_pollh]j9)}(hjeh]h datagram_poll}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlehhhjehMubj )}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(hfileh]hfile}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]jec.datagram_pollasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hj fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hfileh]hfile}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj2fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.fubj")}(h h]h }(hj?fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.fubh)}(hhh]j9)}(hsocketh]hsocket}(hjPfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRfmodnameN classnameNj j )}j ]jec.datagram_pollasbuh1hhj.fubj")}(h h]h }(hjnfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.fubj )}(hj h]h*}(hj|fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.fubj9)}(hsockh]hsock}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.fubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jec.datagram_pollasbuh1hhjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hwaith]hwait}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlehhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhehhhjehMubah}(h]jceah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjeehhubjg)}(hhh]jl)}(hgeneric datagram pollh]hgeneric datagram poll}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjghhubah}(h]h ]h"]h$]h&]uh1jfhjeehhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj gjj gjjjuh1hhhhj" 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)}(hj*gh]h Parameters}(hj,ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(gubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$gubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjIgh]hstruct file *file}(hjKghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGgubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjCgubj)}(hhh]jl)}(h file structh]h file struct}(hjbghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^ghMhj_gubah}(h]h ]h"]h$]h&]uh1jhjCgubeh}(h]h ]h"]h$]h&]uh1jhj^ghMhj@gubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjgh]hstruct socket *sock}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj|gubj)}(hhh]jl)}(hsocketh]hsocket}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhj|gubeh}(h]h ]h"]h$]h&]uh1jhjghMhj@gubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjgh]hpoll_table *wait}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjgubj)}(hhh]jl)}(h poll tableh]h poll table}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhj@gubeh}(h]h ]h"]h$]h&]uh1jhj$gubjl)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$gubj)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj hubah}(h]h ]h"]h$]h&]uh1jhjhhMhj$gubjl)}(h**Note**h]j)}(hj'hh]hNote}(hj)hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%hubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$gubj)}(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 }(hjDhhhhNhNubjY)}(h*don't*h]hdon’t}(hjLhhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjDhubh$ use this routine for this protocol,}(hjDhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj@hubj)}(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.}(hjhhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjehubah}(h]h ]h"]h$]h&]uh1jhj@hubeh}(h]h ]h"]h$]h&]uh1jhjdhhMhj=hubah}(h]h ]h"]h$]h&]uh1jhj$gubjl)}(h **Return**h]j)}(hjhh]hReturn}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$gubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$gubeh}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjhhK6ubj3)}(hsk_stream_wait_connecth]j9)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjhhK6ubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj iubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj iubh)}(hhh]j9)}(hsockh]hsock}(hj+ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-imodnameN classnameNj j )}j ]j )}j jhsbc.sk_stream_wait_connectasbuh1hhj iubj")}(h h]h }(hjKihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj iubj )}(hj h]h*}(hjYihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj iubj9)}(hskh]hsk}(hjfihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{iubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{iubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{iubj9)}(htimeo_ph]htimeo_p}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjhhK6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhjhhK6ubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhhK6hjhhhubjg)}(hhh]jl)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hjihhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhjhhK6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj" 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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjiubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjjh]hstruct sock *sk}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hj jubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hj,jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(jhK7hj)jubah}(h]h ]h"]h$]h&]uh1jhj jubeh}(h]h ]h"]h$]h&]uh1jhj(jhK7hj jubj)}(h'``long *timeo_p`` for how long to wait h](j)}(h``long *timeo_p``h]j)}(hjLjh]h long *timeo_p}(hjNjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK8hjFjubj)}(hhh]jl)}(hfor how long to waith]hfor how long to wait}(hjejhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjajhK8hjbjubah}(h]h ]h"]h$]h&]uh1jhjFjubeh}(h]h ]h"]h$]h&]uh1jhjajhK8hj jubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjiubjl)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK9hjiubeh}(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}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKuubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjjhKuubj3)}(hsk_stream_wait_memoryh]j9)}(hsk_stream_wait_memoryh]hsk_stream_wait_memory}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjjhKuubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hsockh]hsock}(hj'khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)kmodnameN classnameNj j )}j ]j )}j jjsbc.sk_stream_wait_memoryasbuh1hhjkubj")}(h h]h }(hjGkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjUkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hskh]hsk}(hjbkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hj{khhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwkubj9)}(htimeo_ph]htimeo_p}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhjjhKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjjhKuubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhKuhjjhhubjg)}(hhh]jl)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKuhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjjhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj" hNhNubj)}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKyhjkubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory h](j)}(h``struct sock *sk``h]j)}(hjlh]hstruct sock *sk}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj lubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvhj lubj)}(hhh]jl)}(hsocket to wait for memoryh]hsocket to wait for memory}(hj(lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$lhKvhj%lubah}(h]h ]h"]h$]h&]uh1jhj lubeh}(h]h ]h"]h$]h&]uh1jhj$lhKvhjlubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hjHlh]h long *timeo_p}(hjJlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKxhjBlubj)}(hhh]jl)}(h for how longh]h for how long}(hjalhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKwhj^lubah}(h]h ]h"]h$]h&]uh1jhjBlubeh}(h]h ]h"]h$]h&]uh1jhj]lhKxhjlubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(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}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjlhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKxubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhjlhKxubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j sk_filter_trim_capsbc.sk_filter_trim_capasbuh1hhjlhhhjlhKxubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhjlhKxubj3)}(hsk_filter_trim_caph]j9)}(hjlh]hsk_filter_trim_cap}(hj mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhjlhKxubj )}(h8(struct sock *sk, struct sk_buff *skb, unsigned int cap)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj(mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$mubj")}(h h]h }(hj5mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$mubh)}(hhh]j9)}(hsockh]hsock}(hjFmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmmodnameN classnameNj j )}j ]jlc.sk_filter_trim_capasbuh1hhj$mubj")}(h h]h }(hjdmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$mubj )}(hj h]h*}(hjrmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$mubj9)}(hskh]hsk}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj mubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jlc.sk_filter_trim_capasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hskbh]hskb}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj mubj )}(hunsigned int caph](jM )}(hunsignedh]hunsigned}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubjM )}(hinth]hint}(hj$nhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj")}(h h]h }(hj2nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj9)}(hcaph]hcap}(hj@nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj mubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhjlhKxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjlhKxubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhKxhjlhhubjg)}(hhh]jl)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hjjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKxhjgnhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjlhKxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjlhNhNubj)}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjnubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjnh]hstruct sock *sk}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhjnubj)}(hhh]jl)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hjnhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjnh]hsk_buff}(hjnhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjnhKyhjnubeh}(h]h ]h"]h$]h&]uh1jkhjnhKyhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKyhjnubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjoh]hstruct sk_buff *skb}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjnubj)}(hhh]jl)}(hbuffer to filterh]hbuffer to filter}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohKzhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohKzhjnubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hj6oubj)}(hhh]jl)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjUohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQohK{hjRoubah}(h]h ]h"]h$]h&]uh1jhj6oubeh}(h]h ]h"]h$]h&]uh1jhjQohK{hjnubeh}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjwoh]h Description}(hjyohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuoubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjnubjl)}(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.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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjlhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM\ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohM\ubj3)}(hbpf_prog_createh]j9)}(hbpf_prog_createh]hbpf_prog_create}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohM\ubj )}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j josbc.bpf_prog_createasbuh1hhjoubj")}(h h]h }(hj7phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjEphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hj h]h*}(hjRphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hpfph]hpfp}(hj_phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hstruct sock_fprog_kern *fprogh](j)}(hjh]hstruct}(hjxphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtpubh)}(hhh]j9)}(hsock_fprog_kernh]hsock_fprog_kern}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j3pc.bpf_prog_createasbuh1hhjtpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtpubj9)}(hfprogh]hfprog}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(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)}(hcreate an unattached filterh]hcreate an unattached filter}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM\hjphhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjlhNhNubj)}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM`hjqubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hj:qh]hstruct bpf_prog **pfp}(hjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hj:ubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhK/hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhK/hjubeh}(h]h ]h"]h$]h&]uh1jhjŀubjl)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjŀ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.chK0hjŀubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hjŀ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.chK7hjŀubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhj1whhhNhNubh)}(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}(hjނhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjڂhhhT/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!hjڂhhhjhK`ubj3)}(hgnet_stats_start_copyh]j9)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjڂhhhjhK`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}(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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_start_copyasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint 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)}(htypeh]htype}(hjhhhNhNubah}(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}(hjŃhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƒubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǃmodnameN classnameNj j )}j ]jUc.gnet_stats_start_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)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jUc.gnet_stats_start_copyasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjLh]hd}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 hjubeh}(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)}(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`hjɄhhubah}(h]h ]h"]h$]h&]uh1jfhjӂhhhjhK`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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)}(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.chKdhjubj)}(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}(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.chKahjubj)}(hhh]jl)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hKahj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKahjubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjFh]hint type}(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.chKbhj@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&]uh1jkhj[hKbhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKbhjubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjh]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.chKchjyubj)}(hhh]jl)}(hstatistics lockh]hstatistics lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKchjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKchjubj)}(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}(hjхhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjͅhKdhj΅ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͅhKdhjubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjh]h int padattr}(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.chKehjubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKehjubeh}(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.chKghjubjl)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhjubjl)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhj1whhhNhNubh)}(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 hj|hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhKubj3)}(hgnet_stats_copy_basich]j9)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhKubj )}(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}(hjۆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj؆ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj݆modnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_basicasbuh1hhjubj")}(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)}(hjLh]hd}(hjhhhNhNubah}(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}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]jc.gnet_stats_copy_basicasbuh1hhj*ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh__percpu}(hj*hhhNhNubj")}(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)}(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}(hjˇhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLJubj")}(h h]h }(hj؇hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLJubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLJubh)}(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 ]jc.gnet_stats_copy_basicasbuh1hhjLJubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLJubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLJubj9)}(hbh]hb}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hrunningh]hrunning}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhKubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjuhhubjg)}(hhh]jl)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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)}(hj܈h]hstruct gnet_dump *d}(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.chKhjֈubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjֈubeh}(h]h ]h"]h$]h&]uh1jhjhKhjӈubj)}(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)}(hjh]h0const struct gnet_stats_basic_sync __percpu *cpu}(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)}(hcopy statistic per cpuh]hcopy statistic 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)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjNh]h%const struct gnet_stats_basic_sync *b}(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.chKhjHubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhjӈubj)}(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.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 }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC’s internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu**h]hcpu}(hj̉hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjӈubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Context**h]j)}(hjh]hContext}(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.chKhjubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjhhhNhNubah}(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}(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.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().}(hj6hhhNhNubah}(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.}(hjEhhhNhNubah}(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&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhj1whhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhT/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!hjphhhjhM ubj3)}(hgnet_stats_copy_basic_hwh]j9)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhM 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}(hjϊhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̊ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjъmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_basic_hwasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjLh]hd}(hj hhhNhNubah}(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}(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)}(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 ]jc.gnet_stats_copy_basic_hwasbuh1hhjubj")}(h h]h }(hjyhhhNhNubah}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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}(hjڋhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_copy_basic_hwasbuh1hhjubj")}(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)}(hj?h]hb}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj9)}(hrunningh]hrunning}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhM ubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjihhubjg)}(hhh]jl)}(h+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic 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&]uh1jfhjihhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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)}(hjόh]hstruct gnet_dump *d}(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.chMhjɌubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɌubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƌubj)}(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)}(hjh]h0const struct gnet_stats_basic_sync __percpu *cpu}(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)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƌubj)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjAh]h%const struct gnet_stats_basic_sync *b}(hjChhhNhNubah}(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.chMhj;ubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjƌubj)}(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)}(hjzh]h bool running}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjtubj)}(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 }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC’s internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu**h]hcpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƌubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Context**h]j)}(hjh]hContext}(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.chMhjubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(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.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().}(hj)hhhNhNubah}(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.}(hj8hhhNhNubah}(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&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhj1whhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM(ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhM(ubj3)}(hgnet_stats_copy_rate_esth]j9)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhM(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&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjŽhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĎmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_rate_estasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjLh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]jގc.gnet_stats_copy_rate_estasbuh1hhjubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjqhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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&]uh1jfhj\hhhjuhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj͏jj͏jjjuh1hhhhj1whNhNubj)}(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)}(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.chM,hjяubj)}(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.chM)hjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(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>``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}(hj1hhhNhNubah}(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.chM*hj)ubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhM*hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM*hjubeh}(h]h ]h"]h$]h&]uh1jhjяubjl)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjяubjl)}(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+hjяubjl)}(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.chM.hjяubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhj1whhhNhNubh)}(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}(hjߐhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjېubah}(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}(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 jsbc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjLh]hd}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h-const struct gnet_stats_queue __percpu *cpu_qh](j)}(hj h]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(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 ]j5c.gnet_stats_copy_queueasbuh1hhjhubj")}(h h]h }(hjÑhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh__percpu}(hjhhhhNhNubj")}(h h]h }(hjՑhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hcpu_qh]hcpu_q}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const struct gnet_stats_queue *qh](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 }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j5c.gnet_stats_copy_queueasbuh1hhjubj")}(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)}(hqh]hq}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h __u32 qlenh](h)}(hhh]j9)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j5c.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hqlenh]hqlen}(hjÒhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj̐hMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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)}(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:50: ./net/core/gen_stats.chMxhj ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj.h]hstruct gnet_dump *d}(hj0hhhNhNubah}(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.chMuhj(ubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMuhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMuhj%ubj)}(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)}(hjgh]h-const struct gnet_stats_queue __percpu *cpu_q}(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.chMvhjaubj)}(hhh]jl)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMvhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMvhj%ubj)}(h6``const struct gnet_stats_queue *q`` queue statistics h](j)}(h$``const struct gnet_stats_queue *q``h]j)}(hjh]h const struct gnet_stats_queue *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.chMwhjubj)}(hhh]jl)}(hqueue statisticsh]hqueue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj%ubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hjٓh]h __u32 qlen}(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.chMxhjӓubj)}(hhh]jl)}(hqueue length statisticsh]hqueue length statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjӓubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj%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:50: ./net/core/gen_stats.chMzhj ubjl)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMyhj ubjl)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM}hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhj1whhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhMubj3)}(hgnet_stats_copy_apph]j9)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjvhMubj )}(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}(hjÔhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŔmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_appasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjLh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *sth](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*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(hlenh]hlen}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjvhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhMubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMhj]hhubjg)}(hhh]jl)}(h8copy application specific statistics into statistics TLVh]h8copy application specific statistics into statistics TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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}(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.chMhjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjߕh]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.chMhjٕubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjٕubeh}(h]h ]h"]h$]h&]uh1jhjhMhj֕ubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hjh]hvoid *st}(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)}(h$application specific statistics datah]h$application specific statistics data}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj֕ubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjQh]hint len}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjKubj)}(hhh]jl)}(hlength of datah]hlength of data}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj֕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.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&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhj1whhhNhNubh)}(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 hjܖhhhT/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!hjܖhhhjhMubj3)}(hgnet_stats_finish_copyh]j9)}(hgnet_stats_finish_copyh]hgnet_stats_finish_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjܖhhhjhMubj )}(h(struct gnet_dump *d)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}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_finish_copyasbuh1hhjubj")}(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)}(hjLh]hd}(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)}(hfinish dumping procedureh]hfinish dumping procedure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjՖhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(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}(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.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.chMhjڗubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(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)}(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.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.}(hj1hhhNhNubah}(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.}(hj@hhhNhNubah}(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&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhj1whhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj}hKqubj3)}(hgen_new_estimatorh]j9)}(hgen_new_estimatorh]hgen_new_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhj}hKqubj )}(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_new_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)}(hbstatsh]hbstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](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)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__percpu}(hjhhhNhNubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jc.gen_new_estimatorasbuh1hhjubj")}(h h]h }(hjܙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(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)}(hrate_esth]hrate_est}(hjhhhNhNubah}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhj+ubj")}(h h]h }(hjPhhhNhNubah}(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}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(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 hjubj )}(hstruct nlattr *opth](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)}(hnlattrh]hnlattr}(hj֚hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӚubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjؚmodnameN classnameNj j )}j ]jc.gen_new_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)}(hopth]hopt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhj}hKqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj}hKqubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hKqhjdhhubjg)}(hhh]jl)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhj6hhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj}hKqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj1whNhNubj)}(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)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjUubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjzh]h$struct gnet_stats_basic_sync *bstats}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKrhjtubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjqubj)}(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&]uh1jkhjțhKshjɛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjțhKshjqubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(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.chKthjubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjqubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj%h]hspinlock_t *lock}(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.chKuhjubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hKuhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKuhjqubj)}(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)}(hj^h]h bool running}(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.chKxhjXubj)}(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 }(hjwhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh" represents a running qdisc, thus }(hjwhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubhB’ internal values might change during basic reads. Only used if }(hjwhhhNhNubj)}(h**bstats_cpu**h]h bstats_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh is NULL}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKxhjqubj)}(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.chKyhjȜubj)}(hhh]jl)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjȜubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(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.chK{hjUubjl)}(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 }(hjhhhNhNubh)}(h:c:type:`bstats`h]j)}(hj)h]hbstats}(hj+hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhjubh as source and }(hjhhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjMh]hrate_est}(hjOhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrate_estuh1hhjFhKzhjubh 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 }(hjhhhNhNubh)}(h:c:type:`bstats`h]j)}(hjph]hbstats}(hjrhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhjFhKzhjubh* and the estimated rate will be stored in }(hjhhhNhNubh)}(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_estuh1hhjFhKzhjubh5 with the statistics lock grabbed during this period.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFhKzhjUubjl)}(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.chKhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhj1whhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgen_kill_estimatorh]j9)}(hgen_kill_estimatorh]hgen_kill_estimator}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h,(struct net_rate_estimator __rcu **rate_est)h]j )}(h*struct net_rate_estimator __rcu **rate_esth](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)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.gen_kill_estimatorasbuh1hhj"ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh__rcu}(hj"hhhNhNubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj 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)}(hrate_esth]hrate_est}(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)jehuh1jhjhKhjޝhhubjg)}(hhh]jl)}(hremove a rate estimatorh]hremove a rate estimator}(hjȞhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjŞhhubah}(h]h ]h"]h$]h&]uh1jfhjޝhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj1whNhNubj)}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj"hhhNhNubah}(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)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjZhhhNhNubah}(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&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhj1whhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgen_replace_estimatorh]j9)}(hgen_replace_estimatorh]hgen_replace_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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}(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)}(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 )}j jsbc.gen_replace_estimatorasbuh1hhjŸ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)}(hbstatsh]hbstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŸubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhj4ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh__percpu}(hj4hhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(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 }(hjǠhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjؠhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՠubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڠmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(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)}(hrate_esth]hrate_est}(hj0hhhNhNubah}(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}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhjEubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(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 hjubj )}(hstruct nlattr *opth](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)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhjΡ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)}(hopth]hopt}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΡubeh}(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$replace rate estimator configurationh]h$replace rate estimator configuration}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjPhhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj1whNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjoubj)}(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.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)}(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}(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)}(hbstats per cpuh]hbstats per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjǢubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(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)}(hrate estimator statisticsh]hrate estimator statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj?h]hspinlock_t *lock}(hjAhhhNhNubah}(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.chKhj9ubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhjubj)}(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)}(hjxh]h bool running}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjrubj)}(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 }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB’ internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(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.chKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjh]hstruct nlattr *opt}(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)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjoubjl)}(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().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjoubjl)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhj1whhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjhKubj3)}(hgen_estimator_activeh]j9)}(hgen_estimator_activeh]hgen_estimator_active}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhKubj )}(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}(hjѤhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΤubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjӤmodnameN classnameNj j )}j ]j )}j jsbc.gen_estimator_activeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrate_esth]hrate_est}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhKubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjlhhubjg)}(hhh]jl)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj1whNhNubj)}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(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)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubjl)}(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:53: ./net/core/gen_estimator.chKhjqubjl)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1whhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j xdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhj+hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhjShK)ubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+hhhjShK)ubj3)}(hxdr_encode_opaque_fixedh]j9)}(hjPh]hxdr_encode_opaque_fixed}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhjShK)ubj )}(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 ]jNc.xdr_encode_opaque_fixedasbuh1hhjubj")}(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 hjubj )}(hconst void *ptrh](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 )}(hvoidh]hvoid}(hjhhhNhNubah}(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)}(hptrh]hptr}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjަubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;ubj")}(h h]h }(hjMhhhNhNubah}(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 }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj9)}(hnbytesh]hnbytes}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhjShK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhjShK)ubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShK)hj$hhubjg)}(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)hjhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhjShK)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjçh]h Parameters}(hjŧhhhNhNubah}(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)}(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.chK*hjܧubj)}(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&]uh1jkhjhK*hjubah}(h]h ]h"]h$]h&]uh1jhjܧubeh}(h]h ]h"]h$]h&]uh1jhjhK*hj٧ubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjh]hconst void *ptr}(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#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hK+hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hK+hj٧ubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjTh]hunsigned int nbytes}(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.chK,hjNubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihK,hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihK,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&]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}(hjۨhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hKGubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj.hKGubj3)}(hxdr_encode_opaqueh]j9)}(hj+h]hxdr_encode_opaque}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hKGubj )}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j )}(h __be32 *ph](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)c.xdr_encode_opaqueasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(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}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hptrh]hptr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hunsigned int nbytesh](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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hKGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hKGubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hKGhjhhubjg)}(hhh]jl)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjyhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hKGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chKKhjubj)}(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.}(hj֪hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjҪhKHhjӪubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҪhKHhjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjh]hconst void *ptr}(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.chKIhjubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKIhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKIhjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hj/h]hunsigned int nbytes}(hj1hhhNhNubah}(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.chKJhj)ubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhKJhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKJhjubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKLhjubjl)}(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.chKKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjhhhNhNubh)}(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}(hjЫhhhNhNubah}(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}(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}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jҫsbc.xdr_terminate_stringasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const u32 lenh](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jAc.xdr_terminate_stringasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hlenh]hlen}(hjìhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]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.chKahj ubj)}(hhh](j)}(h>``const struct xdr_buf *buf`` XDR buffer where string resides h](j)}(h``const struct xdr_buf *buf``h]j)}(hj.h]hconst struct xdr_buf *buf}(hj0hhhNhNubah}(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.chK^hj(ubj)}(hhh]jl)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChK^hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChK^hj%ubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjgh]h const u32 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.chK`hjaubj)}(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_hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hK`hj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjhhhNhNubh)}(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 }(hjЭhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϭhKubj3)}(hxdr_buf_to_bvech]j9)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjޭubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjϭhKubj )}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j )}(hstruct bio_vec *bvech](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)}(hbio_vech]hbio_vec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_to_bvecasbuh1hhjubj")}(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)}(hbvech]hbvec}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int bvec_sizeh](jM )}(hunsignedh]hunsigned}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj9)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j8c.xdr_buf_to_bvecasbuh1hhjubj")}(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}(hj3hhhNhNubah}(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)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjZhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjϭhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjhNhNubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjyubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjh]hstruct bio_vec *bvec}(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)}(hbio_vec array to populateh]hbio_vec array to populate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h5``unsigned int bvec_size`` element count of **bvec** h](j)}(h``unsigned int bvec_size``h]j)}(hjׯh]hunsigned int bvec_size}(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)}(helement count of **bvec**h](helement count of }(hjhhhNhNubj)}(h**bvec**h]hbvec}(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)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hjh]hconst struct xdr_buf *xdr}(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.chKhjubj)}(hhh]jl)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjyubjl)}(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 }(hjohhhNhNubj)}(h**bvec**h]hbvec}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh# on success, or -ESERVERFAULT when }(hjohhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh does not fit within }(hjohhhNhNubj)}(h **bvec_size**h]h bvec_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh entries.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_sg (C function)c.xdr_buf_to_sghNtauh1hhjhhhNhNubh)}(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}(hj԰hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjаhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjаhhhjhKubj3)}(h xdr_buf_to_sgh]j9)}(h xdr_buf_to_sgh]h xdr_buf_to_sg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjаhhhjhKubj )}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj)}(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)}(hxdr_bufh]hxdr_buf}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_to_sgasbuh1hhj 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 hj ubj )}(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 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}(hj hhhNhNubah}(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 hj ubj )}(hstruct scatterlist *sgh](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 scatterlisth]h scatterlist}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]jfc.xdr_buf_to_sgasbuh1hhj<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)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 }(hjڲhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnsgh]hnsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(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,Populate a scatterlist from an xdr_buf rangeh]h,Populate a scatterlist from an xdr_buf range}(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&]uh1jfhjɰhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj.ubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjSh]hconst struct xdr_buf *buf}(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.chKhjMubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhKhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjJubj)}(h<``unsigned int offset`` starting byte offset within **buf** 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.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjJubj)}(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.chKhjͳubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjͳubeh}(h]h ]h"]h$]h&]uh1jhjhKhjJubj)}(hN``struct scatterlist *sg`` scatterlist array initialized with sg_init_table() h](j)}(h``struct scatterlist *sg``h]j)}(hj h]hstruct scatterlist *sg}(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.chKhjubj)}(hhh]jl)}(h2scatterlist array initialized with sg_init_table()h]h2scatterlist array initialized with sg_init_table()}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjJubj)}(h;``unsigned int nsg`` number of entries available in **sg** h](j)}(h``unsigned int nsg``h]j)}(hjEh]hunsigned int nsg}(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.chKhj?ubj)}(hhh]jl)}(h%number of entries available in **sg**h](hnumber of entries available in }(hj^hhhNhNubj)}(h**sg**h]hsg}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjJubeh}(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.chKhj.ubjl)}(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.chKhj.ubjl)}(h **Return**h]j)}(hjôh]hReturn}(hjŴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj.ubjl)}(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.}(hjٴhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_buf_to_sg_alloc (C function)c.xdr_buf_to_sg_allochNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMLubj3)}(hxdr_buf_to_sg_alloch]j9)}(hxdr_buf_to_sg_alloch]hxdr_buf_to_sg_alloc}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMLubj )}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j+sbc.xdr_buf_to_sg_allocasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjεubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(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 hj=ubj )}(hstruct scatterlist *sg_headh](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 ]jc.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 hjpubj9)}(hsg_headh]hsg_head}(hj˶hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(hunsigned int sg_head_nentsh](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 sg_head_nentsh]h sg_head_nents}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(h struct scatterlist **sg_overflowh](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 scatterlisth]h scatterlist}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jc.xdr_buf_to_sg_allocasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(h sg_overflowh]h sg_overflow}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(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 ]jc.xdr_buf_to_sg_allocasbuh1hhjubj")}(h h]h }(hjӷhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubeh}(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+Populate a scatterlist for an xdr_buf rangeh]h+Populate a scatterlist for an xdr_buf range}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjhNhNubj)}(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)}(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.chMPhj'ubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjLh]hconst struct xdr_buf *buf}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMMhjFubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMMhjCubj)}(h<``unsigned int offset`` starting byte offset within **buf** 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.chMNhjubj)}(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&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjCubj)}(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.chMOhjƸubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjƸubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjCubj)}(h^``struct scatterlist *sg_head`` caller-provided scatterlist array (typically stack-allocated) h](j)}(h``struct scatterlist *sg_head``h]j)}(hjh]hstruct scatterlist *sg_head}(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.chMPhjubj)}(hhh]jl)}(h=caller-provided scatterlist array (typically stack-allocated)h]h=caller-provided scatterlist array (typically stack-allocated)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjCubj)}(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}(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.chMQhj8ubj)}(hhh]jl)}(h number of entries in **sg_head**h](hnumber of entries in }(hjWhhhNhNubj)}(h **sg_head**h]hsg_head}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jkhjShMQhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMQhjCubj)}(h_``struct scatterlist **sg_overflow`` OUT: chained extension, or NULL when **sg_head** sufficed h](j)}(h$``struct scatterlist **sg_overflow``h]j)}(hjh]h struct scatterlist **sg_overflow}(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.chMRhjubj)}(hhh]jl)}(h9OUT: chained extension, or NULL when **sg_head** sufficedh](h%OUT: chained extension, or NULL when }(hjhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh sufficed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjCubj)}(h3``gfp_t gfp`` memory allocation flags for overflow h](j)}(h ``gfp_t gfp``h]j)}(hjйh]h gfp_t gfp}(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.chMShjʹubj)}(hhh]jl)}(h$memory allocation flags for overflowh]h$memory allocation flags for overflow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjʹubeh}(h]h ]h"]h$]h&]uh1jhjhMShjCubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMUhj'ubjl)}(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}(hj)hhhNhNubah}(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}(hj;hhhNhNubah}(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.chMThj'ubjl)}(h **Return**h]j)}(hjVh]hReturn}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMYhj'ubjl)}(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). }(hjlhhhNhNubj)}(h **sg_head**h]hsg_head}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh7 is the head of the resulting list. Caller must kfree }(hjlhhhNhNubj)}(h**sg_overflow**h]h sg_overflow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh* when done. On failure, a negative errno.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjhhhNhNubh)}(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&]uh1j8hjܺubah}(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}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.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 hjubj9)}(hxdrh]hxdr}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjݻhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڻubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj߻modnameN classnameNj j )}j ]j6c.xdr_inline_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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)}(hpagesh]hpages}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubjM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hbaseh]hbase}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(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}(hjżhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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(Prepare receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(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&]uh1jfhjhhhjͺhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMhj ubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hj0h]hstruct xdr_buf *xdr}(hj2hhhNhNubah}(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'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes h](j)}(h``unsigned int offset``h]j)}(hjih]hunsigned int offset}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjcubj)}(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&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj'ubj)}(hP``unsigned int base`` offset in first page where receive should start, 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.chMhjսubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjսubeh}(h]h ]h"]h$]h&]uh1jhjhMhj'ubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](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)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMaubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj|hMaubj3)}(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&]jPjQuh1j2hjjhhhj|hMaubj )}(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*}(hjǾhhhNhNubah}(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 page **pagesh](j)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc._copy_from_pagesasbuh1hhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t pgbaseh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j&c._copy_from_pagesasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(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 ]j&c._copy_from_pagesasbuh1hhjubj")}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj|hMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj|hMaubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMahjchhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjchhhj|hMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMehjubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hj>h]hchar *p}(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.chMbhj8ubj)}(hhh]jl)}(hpointer to destinationh]hpointer to destination}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMbhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMbhj5ubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjwh]hstruct page **pages}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMchjqubj)}(hhh]jl)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMchj5ubj)}(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&]uh1jhjhMdhj5ubj)}(h``size_t len`` length 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&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMehjubj)}(hhh]jl)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj5ubeh}(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.chMghjubjl)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjwhMEubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhjwhMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjwhMEubj3)}(hxdr_stream_posh]j9)}(hxdr_stream_posh]hxdr_stream_pos}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjwhMEubj )}(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 jsbc.xdr_stream_posasbuh1hhjubj")}(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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjwhMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjwhMEubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhMEhj^hhubjg)}(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}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhj]hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhjwhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjhNhNubj)}(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.chMIhj|ubj)}(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&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjhhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM[ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj hM[ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM[ubj3)}(h xdr_page_posh]j9)}(h xdr_page_posh]h xdr_page_pos}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM[ubj )}(h(const struct xdr_stream *xdr)h]j )}(hconst struct xdr_stream *xdrh](j)}(hj h]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(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_page_posasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(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)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(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&]uh1jfhjhhhj hM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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.chM_hjubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hj3h]hconst struct xdr_stream *xdr}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMahj-ubj)}(hhh]jl)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMahj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjhhhNhNubh)}(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}(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_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}(hj#hhhNhNubah}(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&]uh1jhj8ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]jc.xdr_init_encodeasbuh1hhj8ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(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 ]jc.xdr_init_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)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_rqst *rqsth](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_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.xdr_init_encodeasbuh1hhjubj")}(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)}(hrqsth]hrqst}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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.chMhhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMjhjubj)}(hhh]jl)}(h-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hj4h]h __be32 *p}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMkhj.ubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMkhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMkhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjmh]hstruct rpc_rqst *rqst}(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.chMlhjgubj)}(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&]uh1jhjgubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjhhhNhNubh)}(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}(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_init_encode_pagesh]j9)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj&hMubj )}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j;sbc.xdr_init_encode_pagesasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(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_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)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(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)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(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&]uh1jfhj hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjhNhNubj)}(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)}(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)}(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&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]j )}(h0void __xdr_commit_encode(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.chMubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj*hMubj3)}(h__xdr_commit_encodeh]j9)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj*hMubj )}(h(struct xdr_stream *xdr)h]j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j j?sbc.__xdr_commit_encodeasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubah}(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$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&]uh1jfhjhhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubah}(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.chMhjubjl)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjhhhNhNubh)}(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)}(hjh]hxdr_reserve_space}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)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 ]jc.xdr_reserve_spaceasbuh1hhjubj")}(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 )}(h size_t nbytesh](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.xdr_reserve_spaceasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(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 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&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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}(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-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjNh]h size_t 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.chMhjHubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(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.chMhjubjl)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjhhhNhNubh)}(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}(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_reserve_space_vech]j9)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.xdr_reserve_space_vecasbuh1hhj: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)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(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 ]jxc.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 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)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hj hhhNhNubah}(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!jjjuh1hhhhjhNhNubj)}(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)}(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`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjJh]hstruct xdr_stream *xdr}(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.chMhjDubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.chMhj}ubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(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)}(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)}(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.chMhj%ubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](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)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh : success }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh#: not enough space is available in }(hjhhhNhNubj)}(h**xdr**h]hxdr}(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 hjubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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)}(hjh]h size_t 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.chMEhjubj)}(hhh]jl)}(hnew length of bufferh]hnew length of buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubeh}(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.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.}(hjLhhhNhNubah}(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 }(hj[hhhNhNubjY)}(h*not*h]hnot}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jXhj[ubh 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.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjhMubj3)}(hxdr_restrict_buflenh]j9)}(hxdr_restrict_buflenh]hxdr_restrict_buflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjhMubj )}(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 }(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 int newbuflenh](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)}(h newbuflenh]h newbuflen}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(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)}(hdecrease available buffer spaceh]hdecrease available buffer space}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h int newbuflen}(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%new maximum number of bytes availableh]h%new maximum number of bytes 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)}(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)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhMubj3)}(hxdr_write_pagesh]j9)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhMubj )}(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 }(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 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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jc.xdr_write_pagesasbuh1hhjubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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}(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 hjchhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhMubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhj\hhubjg)}(hhh]jl)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjChhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjhNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjbubj)}(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&]uh1jhjhMhj~ubj)}(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&]uh1jhjhMhj~ubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** 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)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjhhhNhNubj)}(h **pages**h]hpages}(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~ubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hj@h]hunsigned int len}(hjBhhhNhNubah}(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+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjYhhhNhNubj)}(h **pages**h]hpages}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh to insert}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj~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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjbubjl)}(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.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjhhhNhNubh)}(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}(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)}(hxdr_init_decodeh]j9)}(hxdr_init_decodeh]hxdr_init_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMAubj )}(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 }(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&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jsbc.xdr_init_decodeasbuh1hhjubj")}(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)}(hxdrh]hxdr}(hjzhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[c.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]j[c.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj2hhhNhNubah}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j[c.xdr_init_decodeasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(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]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&]uh1jfhjhhhjhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMEhjubj)}(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.chMBhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMBhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMBhjubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjRh]hstruct xdr_buf *buf}(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.chMChjLubj)}(hhh]jl)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMChjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMChjubj)}(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&]uh1jhjhMDhjubj)}(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&]uh1jhjhMFhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hMZubj3)}(hxdr_init_decode_pagesh]j9)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj,hMZubj )}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)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 ]j )}j jAsbc.xdr_init_decode_pagesasbuh1hhjWubj")}(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 )}(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_decode_pagesasbuh1hhjubj")}(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}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(hstruct page **pagesh](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)}(hpageh]hpage}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhj9ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(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 hjSubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj,hMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hMZubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMZhjhhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj,hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(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}(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.chM^hj8ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct 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)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM[hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM[hjTubj)}(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\hjTubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjTubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(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.chM_hjubj)}(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^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhjphMmubj3)}(hxdr_finish_decodeh]j9)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhjphMmubj )}(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*}(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 hj^hhhjphMmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjphMmubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMmhjWhhubjg)}(hhh]jl)}(h,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjphMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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)}(hjch]hstruct xdr_stream *xdr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMshj]ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMnhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMshjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hxdr_inline_decodeh]j9)}(hjh]hxdr_inline_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]jc.xdr_inline_decodeasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(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&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hj hhhNhNubah}(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)}(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.chMhj ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream 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)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hj_h]h size_t nbytes}(hjahhhNhNubah}(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 bytes of data to decodeh]h!number of bytes of data to decode}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjhhhNhNubh)}(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 }(hjhhhNhNubah}(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)}(hxdr_read_pagesh]j9)}(hxdr_read_pagesh]hxdr_read_pages}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j )}j jsbc.xdr_read_pagesasbuh1hhj4ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hxdrh]hxdr}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(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$jjjuh1hhhhjhNhNubj)}(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)}(hj.h]h Parameters}(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(ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjMh]hstruct xdr_stream *xdr}(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.chMhjGubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(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&]uh1jhjhMhjDubeh}(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)}(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.chMhj(ubjl)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjhhhNhNubh)}(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}(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 }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj5hMubj3)}(hxdr_set_pagelenh]j9)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj5hMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jJsbc.xdr_set_pagelenasbuh1hhj`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 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 }(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 hj#hhhj5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj5hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMhjhhubjg)}(hhh]jl)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjhNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjTubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjyh]hstruct xdr_stream *xdr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjsubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(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.chMhjTubjl)}(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 }(hjhhhNhNubj)}(h**len**h]hlen}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjTubjl)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjahMubj3)}(hxdr_enter_pageh]j9)}(hxdr_enter_pageh]hxdr_enter_page}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjahMubj )}(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 jvsbc.xdr_enter_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)}(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 }(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}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhjahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjahMubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMhjHhhubjg)}(hhh]jl)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjahhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjhNhNubj)}(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}(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&]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.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjhhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM=ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhM=ubj3)}(hxdr_buf_subsegmenth]j9)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhM=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 }(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 hjubj )}(hstruct xdr_buf *subbufh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jc.xdr_buf_subsegmentasbuh1hhj$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)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(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}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjlhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhM=ubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhM=hjShhubjg)}(hhh]jl)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM=hjHhhubah}(h]h ]h"]h$]h&]uh1jfhjShhhjlhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(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)}(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.chMAhjgubj)}(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)}(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.chM@hjubj)}(hhh]jl)}(hbeginning of range in bytesh]hbeginning of range in bytes}(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 range in bytes h](j)}(h``unsigned int len``h]j)}(hj7h]hunsigned int len}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhj1ubj)}(hhh]jl)}(hlength of range in bytesh]hlength of range in bytes}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMAhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjl)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMChjgubjl)}(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.chMBhjgubjl)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(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.chMEhjgubjl)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjhhhNhNubh)}(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 hj9hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhM{ubj3)}(hxdr_stream_subsegmenth]j9)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjJhM{ubj )}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(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_stream_subsegmentasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hstruct xdr_buf *subbufh](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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.xdr_stream_subsegmentasbuh1hhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsubbufh]hsubbuf}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hunsigned int nbytesh](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)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhjJhM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjJhM{ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhM{hj2hhubjg)}(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&]uh1jfhj2hhhjJhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(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.chM|hjubj)}(hhh]jl)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM|hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM|hjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjWh]hstruct xdr_buf *subbuf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM}hjQubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM}hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM}hjubj)}(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~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.chMhjubjl)}(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 }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to represent a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.. The portion starts at the current offset in }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and extends for a length of }(hjhhhNhNubj)}(h **nbytes**h]hnbytes}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If this is successful, }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh> is advanced to the next XDR data item following that portion.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(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:}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh]jl)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh: }(hjuhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh has been initialized, and }(hjuhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh has been advanced. }(hjuhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh: a bounds error has occurred}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj\ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjhhhNhNubh)}(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}(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 }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_stream_move_subsegmenth]j9)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](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)}(h xdr_streamh]h xdr_stream}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j j8sbc.xdr_stream_move_subsegmentasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hunsigned int targeth](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)}(htargeth]htarget}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(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 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj h]hstruct xdr_stream *xdr}(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.chMhjubj)}(hhh]jl)}(hthe source xdr_streamh]hthe source xdr_stream}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjBh]hunsigned int offset}(hjDhhhNhNubah}(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 the source offset of the segmenth]h the source offset of the segment}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h9``unsigned int target`` the target offset of the segment h](j)}(h``unsigned int target``h]j)}(hj{h]hunsigned int target}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(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 }(hjhhhNhNubj)}(h **length**h]hlength}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **target**h]htarget}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjhhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjxhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhjxhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjxhMubj3)}(hxdr_stream_zeroh]j9)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjxhMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_zeroasbuh1hhjubj")}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubjM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hoffseth]hoffset}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(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 hjfhhhjxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjxhMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMhj_hhubjg)}(hhh]jl)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(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_hhhjxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(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)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out 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.chMhj#ubj)}(hhh]jl)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(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)}(hjbh]hunsigned int offset}(hjdhhhNhNubah}(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 the starting point in the streamh]h the starting point in the stream}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj 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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjhhhNhNubh)}(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}(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)}(h xdr_buf_trimh]j9)}(h xdr_buf_trimh]h xdr_buf_trim}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_buf *buf, unsigned int len)h](j )}(hstruct xdr_buf *bufh](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)}(hxdr_bufh]hxdr_buf}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_trimasbuh1hhj.ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj~hhhNhNubah}(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 )}(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 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,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(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&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hjGh]hstruct xdr_buf *buf}(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.chMhjAubj)}(hhh]jl)}(hbuf to be trimmedh]hbuf to be trimmed}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjzubj)}(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&]uh1jhjzubeh}(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)}(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.chMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5 ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hM5 ubj3)}(hxdr_stream_decode_string_duph]j9)}(hj!h]hxdr_stream_decode_string_dup}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hM5 ubj )}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j )}(hstruct xdr_stream *xdrh](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)}(h xdr_streamh]h xdr_stream}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jc.xdr_stream_decode_string_dupasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(h size_t maxlenh](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_stream_decode_string_dupasbuh1hhj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmaxlenh]hmaxlen}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hgfp_t gfp_flagsh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]jc.xdr_stream_decode_string_dupasbuh1hhjUubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj$hM5 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hM5 ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hM5 hjhhubjg)}(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&]uh1jfhjhhhj$hM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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 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.chM6 hjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6 hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6 hjubj)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hj,h]h char **str}(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.chM7 hj&ubj)}(hhh]jl)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM7 hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM7 hjubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hjeh]h size_t maxlen}(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.chM8 hj_ubj)}(hhh]jl)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM8 hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM8 hjubj)}(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 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 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:}(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 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 }(hjhhhNhNubj)}(h***ptr**h]h*ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if the size of the string would exceed }(hjhhhNhNubj)}(h **maxlen**h]hmaxlen}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }hjsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on memory allocation failure}(hjhhhNhNubeh}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjhhhNhNubh)}(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}(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_decode_opaque_authasbuh1hhjubj")}(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)}(hxdrh]hxdr}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 *flavorh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int *body_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 }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbody_lenh]hbody_len}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMV hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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&]uh1jkhjhMW hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjubj)}(h1``u32 *flavor`` location to store decoded flavor 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.chMX hjubj)}(hhh]jl)}(h location to store decoded flavorh]h location to store decoded flavor}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hj+h]h void **body}(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.chMY hj%ubj)}(hhh]jl)}(hlocation to store decode bodyh]hlocation to store decode body}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMY hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMY hjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjdh]hunsigned int *body_len}(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.chMZ hj^ubj)}(hhh]jl)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMZ hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMZ 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 }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 if the decoded size of the body field exceeds 400 octets}(hjhhhNhNubeh}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j xdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhj/hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMr ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhjWhMr ubj3)}(hxdr_stream_encode_opaque_authh]j9)}(hjTh]hxdr_stream_encode_opaque_auth}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhjWhMr 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 ]jRc.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 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 ]jRc.xdr_stream_encode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflavorh]hflavor}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(h void *bodyh](jM )}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hbodyh]hbody}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hunsigned int body_lenh](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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj9)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhjWhMr ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhjWhMr ubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMr hj(hhubjg)}(hhh]jl)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode 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.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhjWhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMv hjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMs hjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMs hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMs hjubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hj[h]h u32 flavor}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMt hjUubj)}(hhh]jl)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMt hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMt hjubj)}(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 hjubj)}(h3``unsigned int body_len`` length of body to encode 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.chMv hjubj)}(hhh]jl)}(hlength of body to encodeh]hlength of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMv hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMv hjubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hjubj)}(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:}(hj%hhhNhNubah}(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 }(hj7hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh on XDR buffer overflow }(hj7hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh if the size of }(hj7hhhNhNubj)}(h**body**h]hbody}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh exceeds 400 octets}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hj4ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj3hMy hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjhhhNhNubh)}(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&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKNubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.svc_reg_xprt_classasbuh1hhjubj")}(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)}(hxclh]hxcl}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chKQhjubjl)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hjhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjhhhNhNubh)}(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}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhU/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!hj+hhhj=hKhubj3)}(hsvc_unreg_xprt_classh]j9)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj=hKhubj )}(h(struct svc_xprt_class *xcl)h]j )}(hstruct svc_xprt_class *xclh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(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 jRsbc.svc_unreg_xprt_classasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hxclh]hxcl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj=hKhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj=hKhubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hKhhj$hhubjg)}(hhh]jl)}(h,Unregister a server-side RPC transport classh]h,Unregister 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.chKhhjhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj=hKhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](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.chKlhj ubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hj0h]hstruct svc_xprt_class *xcl}(hj2hhhNhNubah}(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.chKnhj*ubj)}(hhh]jl)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKnhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hsvc_xprt_deferred_closeh]j9)}(hsvc_xprt_deferred_closeh]hsvc_xprt_deferred_close}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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 jsbc.svc_xprt_deferred_closeasbuh1hhjubj")}(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}(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]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hClose a transporth]hClose a transport}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjfubj)}(hhh]j)}(h-``struct svc_xprt *xprt`` transport instance h](j)}(h``struct svc_xprt *xprt``h]j)}(hjh]hstruct svc_xprt *xprt}(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.chKhjubj)}(hhh]jl)}(htransport instanceh]htransport instance}(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)}(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.chKhjfubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjhhhNhNubh)}(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}(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_receivedh]j9)}(hsvc_xprt_receivedh]hsvc_xprt_received}(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}(hjH hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD ubj")}(h h]h }(hjU hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjf hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh modnameN classnameNj j )}j ]j )}j j. sbc.svc_xprt_receivedasbuh1hhjD 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)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD 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]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 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 hhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(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)}(hcontrolling transporth]hcontrolling transport}(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)}(hjG h]h Description}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE 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)}(hjn h]hNote}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl 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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjhhhNhNubh)}(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}(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_create_from_saasbuh1hhj 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 *xprt_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)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j* c.svc_xprt_create_from_saasbuh1hhj 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 )}(hstruct sockaddr *saph](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}(hjM hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO modnameN classnameNj j )}j ]j* c.svc_xprt_create_from_saasbuh1hhj+ ubj")}(h h]h }(hjk hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ ubj )}(hj h]h*}(hjy hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ ubj9)}(hsaph]hsap}(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 ubj )}(hconst struct cred *credh](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)}(hcredh]hcred}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j* c.svc_xprt_create_from_saasbuh1hhj ubj")}(h h]h }(hj+ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj9 hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hcredh]hcred}(hjF 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)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hjp hhhNhNubj)}(h**serv**h]hserv}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubh from socket address}(hjp hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM.hjm hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(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.chM2hj ubj)}(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&]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)}(htarget RPC serviceh]htarget RPC service}(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/``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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM0hj ubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj ubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj5h]hstruct net *net}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM1hj/ubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM1hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM1hj ubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjnh]hstruct sockaddr *sap}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM2hjhubj)}(hhh]jl)}(hsocket address pointerh]hsocket address pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM2hj ubj)}(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&]uh1jhjhM3hj ubj)}(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}(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.chM4hjubj)}(hhh]jl)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj 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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM6hj ubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hj1hhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh on failure}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM5hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhU/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!hjnhhhjhMXubj3)}(hsvc_xprt_createh]j9)}(hsvc_xprt_createh]hsvc_xprt_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjhMXubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.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)}(hservh]hserv}(hjhhhNhNubah}(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&]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 }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h xprt_nameh]h xprt_name}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.svc_xprt_createasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst int familyh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(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)}(hfamilyh]hfamily}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubjM )}(hunsignedh]hunsigned}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubjM )}(hshorth]hshort}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj9)}(hporth]hport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(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 }(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)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.svc_xprt_createasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcredh]hcred}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjhMXubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMXubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMXhjghhubjg)}(hhh]jl)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hj{hhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(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.chMXhjxhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMYhjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(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)}(hjh]hconst char *xprt_name}(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.chMZhjubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hj6ubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM[hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM[hjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjuh]hconst int family}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjoubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(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)}(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.chM^hjubj)}(hhh]jl)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^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}(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)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hM_hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM_hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(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 }(hjqhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh on failure}(hjqhhhNhNubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(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 jsbc.svc_print_addrasbuh1hhjubj")}(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)}(hrqstph]hrqstp}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h char *bufh](jM )}(hcharh]hchar}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(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 ]j6c.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 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!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hj hhhNhNubah}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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)}(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)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjJh]hstruct svc_rqst *rqstp}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjDubj)}(hhh]jl)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.chMhj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(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&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjhhhNhNubh)}(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}(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 }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(hsvc_xprt_enqueueh]j9)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](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)}(hsvc_xprth]hsvc_xprt}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j j9sbc.svc_xprt_enqueueasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hxprth]hxprt}(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(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&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](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.chMhjubj)}(hhh]j)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hjh]hstruct svc_xprt *xprt}(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)}(htransport with data pendingh]htransport with data pending}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhU/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!hjmhhhjhM"ubj3)}(h svc_reserveh]j9)}(h svc_reserveh]h svc_reserve}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjhM"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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.svc_reserveasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqstph]hrqstp}(hjhhhNhNubah}(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 hjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspaceh]hspace}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(h5change the space reserved for the reply to a request.h]h5change the space reserved for the reply to a request.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjchhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjhNhNubj)}(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}(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)}(hnew max space to reserveh]hnew max space to reserve}(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)}(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.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 }(hj1hhhNhNubj)}(h **space**h]hspace}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh.}(hj1hhhNhNubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhU/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!hjnhhhjhMcubj3)}(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&]jPjQuh1j2hjnhhhjhMcubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.svc_wake_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)}(hservh]hserv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMcubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMchjghhubjg)}(hhh]jl)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMchj/hhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMghjNubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjsh]hstruct svc_serv *serv}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMdhjmubj)}(hhh]jl)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjjubah}(h]h ]h"]h$]h&]uh1jhjNubjl)}(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.chMfhjNubjl)}(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.chMehjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjhhhNhNubh)}(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}(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!hjhhhjhMubj3)}(hsvc_recvh]j9)}(hsvc_recvh]hsvc_recv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h$(struct svc_rqst *rqstp, long timeo)h](j )}(hstruct svc_rqst *rqstph](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)}(hsvc_rqsth]hsvc_rqst}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsb c.svc_recvasbuh1hhj,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)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 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)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(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.chMhjubj)}(hhh](j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hj)h]hstruct svc_rqst *rqstp}(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)}(han idle RPC service threadh]han idle RPC service thread}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(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)}(hjbh]h long timeo}(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.chMhj\ubj)}(hhh]jl)}(h/timeout (in jiffies) (0 means infinite timeout)h]h/timeout (in jiffies) (0 means infinite timeout)}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj 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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjl)}(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.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjhhhNhNubh)}(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}(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 }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hM|ubj3)}(hsvc_xprt_closeh]j9)}(hsvc_xprt_closeh]hsvc_xprt_close}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hM|ubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(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 jMsbc.svc_xprt_closeasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hM|ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hM|hjhhubjg)}(hhh]jl)}(hClose a client connectionh]hClose a client connection}(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&]uh1jfhjhhhj8hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(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.chMhjubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](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.chMhj%ubj)}(hhh]jl)}(htransport to disconnecth]htransport to disconnect}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM}hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjhhhNhNubh)}(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}(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!hjhhhjhMubj3)}(hsvc_xprt_destroy_allh]j9)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct svc_serv *serv, struct net *net, bool unregister)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_destroy_allasbuh1hhjubj")}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](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)}(hneth]hnet}(hjR hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT modnameN classnameNj j )}j ]jc.svc_xprt_destroy_allasbuh1hhj0 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)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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)}(h+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hj hhhNhNubj)}(h**serv**h]hserv}(hj 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&]uh1jfhjzhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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)}(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)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hj8!h]hstruct svc_serv *serv}(hj:!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj2!ubj)}(hhh]jl)}(hRPC service to be shut downh]hRPC service to be shut down}(hjQ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjM!hMhjN!ubah}(h]h ]h"]h$]h&]uh1jhj2!ubeh}(h]h ]h"]h$]h&]uh1jhjM!hMhj/!ubj)}(h-``struct net *net`` target network namespace h](j)}(h``struct net *net``h]j)}(hjq!h]hstruct net *net}(hjs!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjk!ubj)}(hhh]jl)}(htarget network namespaceh]htarget network namespace}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjk!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj/!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!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)}(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.chMhj!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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjhhhNhNubh)}(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}(hj9"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5"hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYubj")}(h h]h }(hjG"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5"hhhjF"hMYubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjX"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ"modnameN classnameNj j )}j ]j )}j svc_find_listenersbc.svc_find_listenerasbuh1hhj5"hhhjF"hMYubj")}(h h]h }(hjy"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5"hhhjF"hMYubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5"hhhjF"hMYubj3)}(hsvc_find_listenerh]j9)}(hjv"h]hsvc_find_listener}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5"hhhjF"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 ]jt"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}(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 }(hj0#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 }(hjL#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjZ#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hxcl_nameh]hxcl_name}(hjg#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 ]jt"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}(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}(hj)$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+$modnameN classnameNj j )}j ]jt"c.svc_find_listenerasbuh1hhj#ubj")}(h h]h }(hjG$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjU$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hsah]hsa}(hjb$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5"hhhjF"hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1"hhhjF"hMYubah}(h]j,"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjF"hMYhj."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&]uh1jfhj."hhhjF"hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(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)}(hj%h]hconst char *xcl_name}(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)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(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 net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hj?%h]hstruct net *net}(hjA%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\hj9%ubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(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\hj$ubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hjx%h]hconst struct sockaddr *sa}(hjz%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hjr%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&]uh1jhjr%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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjhhhNhNubh)}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%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{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 svc_find_xprtsbc.svc_find_xprtasbuh1hhj%hhhj&hM{ubj")}(h h]h }(hj8&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj&hM{ubj )}(hj h]h*}(hjF&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%hhhj&hM{ubj3)}(h svc_find_xprth]j9)}(hj5&h]h svc_find_xprt}(hjW&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj&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}(hjr&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn&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 ]j3&c.svc_find_xprtasbuh1hhjn&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjn&ubj9)}(hservh]hserv}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj&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 }(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 hjj&ubj )}(hstruct net *neth](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)}(hneth]hnet}(hj]'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_'modnameN classnameNj j )}j ]j3&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)}(hneth]hnet}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj&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 ]j3&c.svc_find_xprtasbuh1hhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hafh]haf}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj&ubj )}(hconst unsigned short porth](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 )}(hshorth]hshort}(hjI(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hjW(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hporth]hport}(hje(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj&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)}(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%hhhj&hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjhNhNubj)}(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)}(hj )h]hconst char *xcl_name}(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)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(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 net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjB)h]hstruct net *net}(hjD)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&]uh1jkhjW)hM~hjX)ubah}(h]h ]h"]h$]h&]uh1jhj<)ubeh}(h]h ]h"]h$]h&]uh1jhjW)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&]uh1jhjy)ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhju)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&]uh1jhju)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}(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)}(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.}(hj*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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjhhhNhNubh)}(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}(hjC*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 }(hjR*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?*hhhjQ*hMubj3)}(hsvc_xprt_namesh]j9)}(hsvc_xprt_namesh]hsvc_xprt_names}(hjd*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?*hhhjQ*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 jf*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 hjx*ubj )}(h char *bufh](jM )}(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)}(hbufh]hbuf}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjx*ubj )}(hconst int buflenh](j)}(hj h]hconst}(hj4+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0+ubj")}(h h]h }(hjA+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0+ubjM )}(hinth]hint}(hjO+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0+ubj")}(h h]h }(hj]+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0+ubj9)}(hbuflenh]hbuflen}(hjk+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjx*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?*hhhjQ*hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;*hhhjQ*hMubah}(h]j6*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQ*hMhj8*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&]uh1jfhj8*hhhjQ*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjhNhNubj)}(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)}(hj,h]h char *buf}(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#pointer to a buffer to be filled inh]h#pointer to a 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+ubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hjH,h]hconst int buflen}(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.chMhjB,ubj)}(hhh]jl)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hja,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj],hMhj^,ubah}(h]h ]h"]h$]h&]uh1jhjB,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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjhhhNhNubh)}(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 }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,hK[ubj3)}(hxprt_register_transporth]j9)}(hxprt_register_transporth]hxprt_register_transport}(hj -hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hK[ubj )}(h(struct xprt_class *transport)h]j )}(hstruct xprt_class *transporth](j)}(hjh]hstruct}(hj&-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"-ubj")}(h h]h }(hj3-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"-ubh)}(hhh]j9)}(h xprt_classh]h xprt_class}(hjD-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF-modnameN classnameNj j )}j ]j )}j j -sbc.xprt_register_transportasbuh1hhj"-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)}(h transporth]h transport}(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,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)}(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,hhhj,hK[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjhNhNubj)}(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-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.chK_hj-ubj)}(hhh]j)}(h7``struct xprt_class *transport`` transport to register h](j)}(h ``struct xprt_class *transport``h]j)}(hj-h]hstruct xprt_class *transport}(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.chK\hj-ubj)}(hhh]jl)}(htransport to registerh]htransport to register}(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-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.chK^hj-ubjl)}(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.}(hj;.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hj-ubjl)}(h **Return**h]j)}(hjL.h]hReturn}(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.chK`hj-ubjl)}(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}(hjb.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjhhhNhNubh)}(hhh](j)}(h 0: transport identifier -ENOENT: transport module not availableh](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(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.chKhj0ubj)}(hhh]j)}(h(``const char *netid`` transport to load h](j)}(h``const char *netid``h]j)}(hj0h]hconst char *netid}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj0ubj)}(hhh]jl)}(htransport to loadh]htransport to load}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h **Return**h]j)}(hj91h]hReturn}(hj;1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj71ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj0ubjl)}(hM> 0: transport identifier -ENOENT: transport module not availableh]hM> 0: transport identifier -ENOENT: transport module not available}(hjO1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjhhhNhNubh)}(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}(hj~1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz1hhhj1hMubj3)}(hxprt_reserve_xprth]j9)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjz1hhhj1hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j1sbc.xprt_reserve_xprtasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hxprth]hxprt}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hstruct rpc_task *taskh](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)}(hrpc_taskh]hrpc_task}(hjK2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM2modnameN classnameNj j )}j ]j1c.xprt_reserve_xprtasbuh1hhj)2ubj")}(h h]h }(hji2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)2ubj )}(hj h]h*}(hjw2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)2ubj9)}(htaskh]htask}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjz1hhhj1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjv1hhhj1hMubah}(h]jq1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMhjs1hhubjg)}(hhh]jl)}(h$serialize write access to transportsh]h$serialize write access to transports}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjs1hhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjhNhNubj)}(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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubj)}(hhh](j)}(h:``struct rpc_xprt *xprt`` pointer to the target transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj2h]hstruct rpc_xprt *xprt}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubj)}(hhh]jl)}(hpointer to the target transporth]hpointer to the target transport}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj(3h]hstruct rpc_task *task}(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.chMhj"3ubj)}(hhh]jl)}(h/task that is requesting access to the transporth]h/task that is requesting access to the transport}(hjA3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=3hMhj>3ubah}(h]h ]h"]h$]h&]uh1jhj"3ubeh}(h]h ]h"]h$]h&]uh1jhj=3hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hjc3h]h Description}(hje3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubjl)}(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.}(hjy3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjhhhNhNubh)}(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}(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_release_xprth]j9)}(hxprt_release_xprth]hxprt_release_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 }(hj3hhhNhNubah}(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_release_xprtasbuh1hhj3ubj")}(h h]h }(hj#4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hj14hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hxprth]hxprt}(hj>4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjW4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS4ubj")}(h h]h }(hjd4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS4ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hju4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw4modnameN classnameNj j )}j ]j4c.xprt_release_xprtasbuh1hhjS4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS4ubj9)}(htaskh]htask}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS4ubeh}(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'allow other requests to use a transporth]h'allow other requests to use a transport}(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&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj5h]hstruct rpc_xprt *xprt}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj5ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj25hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.5hMhj/5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj.5hMhj5ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjR5h]hstruct rpc_task *task}(hjT5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjL5ubj)}(hhh]jl)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hjk5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg5hMhjh5ubah}(h]h ]h"]h$]h&]uh1jhjL5ubeh}(h]h ]h"]h$]h&]uh1jhjg5hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(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.chMhj4ubjl)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjhhhNhNubh)}(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}(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_xprt_congh]j9)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 6ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj-6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/6modnameN classnameNj j )}j ]j )}j j5sbc.xprt_release_xprt_congasbuh1hhj 6ubj")}(h h]h }(hjM6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 6ubj )}(hj h]h*}(hj[6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 6ubj9)}(hxprth]hxprt}(hjh6hhhNhNubah}(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&]uh1jhj}6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}6ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jI6c.xprt_release_xprt_congasbuh1hhj}6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}6ubj9)}(htaskh]htask}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}6ubeh}(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.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjhNhNubj)}(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)}(hj$7h]h Parameters}(hj&7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"7ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjC7h]hstruct rpc_xprt *xprt}(hjE7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj=7ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj\7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjX7hMhjY7ubah}(h]h ]h"]h$]h&]uh1jhj=7ubeh}(h]h ]h"]h$]h&]uh1jhjX7hMhj:7ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj|7h]hstruct rpc_task *task}(hj~7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjv7ubj)}(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&]uh1jhjv7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj:7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(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.chMhj7ubjl)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhQ/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!hj7hhhj 8hMubj3)}(hxprt_request_get_congh]j9)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj 8hMubj )}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj88hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj48ubj")}(h h]h }(hjE8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj48ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjV8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX8modnameN classnameNj j )}j ]j )}j j8sbc.xprt_request_get_congasbuh1hhj48ubj")}(h h]h }(hjv8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj48ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj48ubj9)}(hxprth]hxprt}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj48ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj08ubj )}(hstruct rpc_rqst *reqh](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_rqsth]hrpc_rqst}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]jr8c.xprt_request_get_congasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hreqh]hreq}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj08ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj 8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj 8hMubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 8hMhj7hhubjg)}(hhh]jl)}(h"Request congestion control creditsh]h"Request congestion control credits}(hj+9hhhNhNubah}(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&]uh1jfhj7hhhj 8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjC9jjC9jjjuh1hhhhjhNhNubj)}(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)}(hjM9h]h Parameters}(hjO9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjG9ubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjl9h]hstruct rpc_xprt *xprt}(hjn9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjf9ubj)}(hhh]jl)}(hpointer to transporth]hpointer to transport}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjf9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjc9ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hj9h]hstruct rpc_rqst *req}(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)}(hpointer to RPC requesth]hpointer to RPC request}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjc9ubeh}(h]h ]h"]h$]h&]uh1jhjG9ubjl)}(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.chMhjG9ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjG9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjhhhNhNubh)}(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}(hj%: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 }(hj4:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!:hhhj3:hMubj3)}(hxprt_release_rqst_congh]j9)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hjF:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!:hhhj3:hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjb:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^:ubj")}(h h]h }(hjo: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 jH: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 hjZ:ubah}(h]h ]h"]h$]h&]jPjQuh1j hj!:hhhj3:hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhj3:hMubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3:hMhj: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&]uh1jfhj:hhhj3:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(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)}(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_task *task`` RPC request that recently completed 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.chMhj ;ubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(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)}(hja;h]h Description}(hjc;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.}(hjw;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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjhhhNhNubh)}(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 reftargetj<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*}(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;ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjU<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ<ubj")}(h h]h }(hjb<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ<ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjs<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju<modnameN classnameNj j )}j ]j<c.xprt_adjust_cwndasbuh1hhjQ<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ<ubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQ<ubj9)}(htaskh]htask}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ<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}(hj =hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hj=hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj;hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#=jj#=jjjuh1hhhhjhNhNubj)}(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)}(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.chM'hj'=ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjL=h]hstruct rpc_xprt *xprt}(hjN=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjF=ubj)}(hhh]jl)}(hpointer to xprth]hpointer to xprt}(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$hjC=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%hjC=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&hjC=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.chM(hj'=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}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj'=ubj)}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]jO)}(hhh](jO)}(ha reply is received andh]jl)}(hj'>h]ha reply is received 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&]uh1jOhj">ubjO)}(h-a full number of requests are outstanding andh]jl)}(hj?>h]h-a full number of requests are outstanding and}(hjA>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&]uh1jOhj">ubjO)}(h3the congestion window hasn't been updated recently.h]jl)}(hjW>h]h5the congestion window hasn’t been updated recently.}(hjY>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hjU>ubah}(h]h ]h"]h$]h&]uh1jOhj">ubeh}(h]h ]h"]h$]h&]jO-uh1jOhj6>hM-hj>ubah}(h]h ]h"]h$]h&]uh1jhj6>hM-hj'=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjhhhNhNubh)}(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}(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 reftargetj>modnameN classnameNj j )}j ]j )}j j>sbc.xprt_wake_pending_tasksasbuh1hhj>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}(hj0?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(h int statush](jM )}(hinth]hint}(hjI?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjE?ubj")}(h h]h }(hjW?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE?ubj9)}(hstatush]hstatus}(hje?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhj?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj>hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(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)}(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.chMOhj?ubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks 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.chMLhj?ubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMLhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMLhj?ubj)}(hA``int status`` result code to plant in each task before waking ith](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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhj@ubj)}(hhh]jl)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hj"@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMNhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjhhhNhNubh)}(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}(hjc@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj")}(h h]h }(hjr@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_@hhhjq@hMZubj3)}(hxprt_wait_for_buffer_spaceh]j9)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_@hhhjq@hMZubj )}(h(struct rpc_xprt *xprt)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 reftargetj@modnameN classnameNj j )}j ]j )}j j@sbc.xprt_wait_for_buffer_spaceasbuh1hhj@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 hj_@hhhjq@hMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[@hhhjq@hMZubah}(h]jV@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjq@hMZhjX@hhubjg)}(hhh]jl)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hj#AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhj Ahhubah}(h]h ]h"]h$]h&]uh1jfhjX@hhhjq@hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;Ajj;Ajjjuh1hhhhjhNhNubj)}(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)}(hjEAh]h Parameters}(hjGAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCAubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM^hj?Aubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjdAh]hstruct rpc_xprt *xprt}(hjfAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hj^Aubj)}(hhh]jl)}(h transporth]h transport}(hj}AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyAhM[hjzAubah}(h]h ]h"]h$]h&]uh1jhj^Aubeh}(h]h ]h"]h$]h&]uh1jhjyAhM[hj[Aubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hj?Aubjl)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hj?Aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMtubj3)}(hxprt_write_spaceh]j9)}(hxprt_write_spaceh]hxprt_write_space}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMtubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hj-BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj>BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@BmodnameN classnameNj j )}j ]j )}j jBsbc.xprt_write_spaceasbuh1hhjBubj")}(h h]h }(hj^BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjlBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hxprth]hxprt}(hjyBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjAhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjAhMtubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMthjAhhubjg)}(hhh]jl)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthjBhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjhNhNubj)}(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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMxhjBubj)}(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&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhjBubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMuhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMuhjBubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjCh]h Description}(hj!ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhjBubjl)}(hFCan be called in a soft IRQ context, so xprt_write_space never sleeps.h]hFCan be called in a soft IRQ context, so xprt_write_space never sleeps.}(hj5ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMvhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]j )}(h0void xprt_disconnect_done(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjdChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`ChhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjsChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ChhhjrChMubj3)}(hxprt_disconnect_doneh]j9)}(hxprt_disconnect_doneh]hxprt_disconnect_done}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`ChhhjrChMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jCsbc.xprt_disconnect_doneasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hxprth]hxprt}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(h]h ]h"]h$]h&]jPjQuh1j hj`ChhhjrChMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\ChhhjrChMubah}(h]jWCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrChMhjYChhubjg)}(hhh]jl)}(h mark a transport as disconnectedh]h mark a transport as disconnected}(hj$DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj!Dhhubah}(h]h ]h"]h$]h&]uh1jfhjYChhhjrChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqueue_lock.h](jl)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjJubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjKh]hstruct rpc_xprt *xprt}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hjKubj)}(hhh]jl)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hj.KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*KhM%hj+Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj*KhM%hj Kubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hjNKh]h __be32 xid}(hjPKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjHKubj)}(hhh]jl)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hjgKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcKhM&hjdKubah}(h]h ]h"]h$]h&]uh1jhjHKubeh}(h]h ]h"]h$]h&]uh1jhjcKhM&hj Kubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjJubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMDubj3)}(h xprt_pin_rqsth]j9)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMDubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj)LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+LmodnameN classnameNj j )}j ]j )}j jKsbc.xprt_pin_rqstasbuh1hhjLubj")}(h h]h }(hjILhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjWLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hreqh]hreq}(hjdLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhMDubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhMDhjKhhubjg)}(hhh]jl)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhjLubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjLh]hstruct rpc_rqst *req}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhjLubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMEhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMEhjLubah}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj Mh]h Description}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhjLubjl)}(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 MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjhhhNhNubh)}(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}(hjOMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj")}(h h]h }(hj^MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKMhhhj]MhMQubj3)}(hxprt_unpin_rqsth]j9)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hjpMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKMhhhj]MhMQubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](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_rqsth]hrpc_rqst}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jrMsbc.xprt_unpin_rqstasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hreqh]hreq}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjKMhhhj]MhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGMhhhj]MhMQubah}(h]jBMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]MhMQhjDMhhubjg)}(hhh]jl)}(h-Unpin a request on the transport receive listh]h-Unpin 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.chMQhj Nhhubah}(h]h ]h"]h$]h&]uh1jfhjDMhhhj]MhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'Njj'Njjjuh1hhhhjhNhNubj)}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hj1Nh]h Parameters}(hj3NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Nubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhj+Nubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjPNh]hstruct rpc_rqst *req}(hjRNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhjJNubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hjiNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjeNhMRhjfNubah}(h]h ]h"]h$]h&]uh1jhjJNubeh}(h]h ]h"]h$]h&]uh1jhjeNhMRhjGNubah}(h]h ]h"]h$]h&]uh1jhj+Nubjl)}(h**Description**h]j)}(hjNh]h Description}(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.chMThj+Nubjl)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShj+Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjhhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhjNhMubj3)}(hxprt_update_rtth]j9)}(hxprt_update_rtth]hxprt_update_rtt}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhjNhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj+OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-OmodnameN classnameNj j )}j ]j )}j jNsbc.xprt_update_rttasbuh1hhj Oubj")}(h h]h }(hjKOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubj )}(hj h]h*}(hjYOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Oubj9)}(htaskh]htask}(hjfOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Oubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjNhMubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhjNhhubjg)}(hhh]jl)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjOubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjOh]hstruct rpc_task *task}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjOubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h**Description**h]j)}(hj Ph]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjOubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj"PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjhhhNhNubh)}(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}(hjQPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMPhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj`PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMPhhhj_PhMubj3)}(hxprt_complete_rqsth]j9)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hjrPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMPhhhj_PhMubj )}(h#(struct rpc_task *task, int copied)h](j )}(hstruct rpc_task *taskh](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_taskh]hrpc_task}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jtPsbc.xprt_complete_rqstasbuh1hhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(htaskh]htask}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(h int copiedh](jM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hcopiedh]hcopied}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMPhhhj_PhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIPhhhj_PhMubah}(h]jDPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_PhMhjFPhhubjg)}(hhh]jl)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hjFQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCQhhubah}(h]h ]h"]h$]h&]uh1jfhjFPhhhj_PhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^Qjj^Qjjjuh1hhhhjhNhNubj)}(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)}(hjhQh]h Parameters}(hjjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfQubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjbQubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjQh]hstruct rpc_task *task}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj~Qubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjQh]h int copied}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubj)}(hhh]jl)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj~Qubeh}(h]h ]h"]h$]h&]uh1jhjbQubjl)}(h**Description**h]j)}(hjQh]h Description}(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.chMhjbQubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjbQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjhhhNhNubh)}(hhh](j)}(hUhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjQUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>UhhhjPUhMubj3)}(hxprt_add_backlog_noncongestedh]j9)}(hxprt_add_backlog_noncongestedh]hxprt_add_backlog_noncongested}(hjcUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_Uubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>UhhhjPUhMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{Uubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{Uubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jeUsbc.xprt_add_backlog_noncongestedasbuh1hhj{Uubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{Uubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{Uubj9)}(hxprth]hxprt}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwUubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jUc.xprt_add_backlog_noncongestedasbuh1hhjUubj")}(h h]h }(hj-VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hj;VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(htaskh]htask}(hjHVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwUubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>UhhhjPUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:UhhhjPUhMubah}(h]j5Uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPUhMhj7Uhhubjg)}(hhh]jl)}(hqueue task on backlogh]hqueue task on backlog}(hjrVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjoVhhubah}(h]h ]h"]h$]h&]uh1jfhj7UhhhjPUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjhNhNubj)}(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)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubj)}(hhh](j)}(hJ``struct rpc_xprt *xprt`` transport whose backlog queue receives the task h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjVh]hstruct rpc_xprt *xprt}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubj)}(hhh]jl)}(h/transport whose backlog queue receives the taskh]h/transport whose backlog queue receives the task}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(h(``struct rpc_task *task`` task to queue h](j)}(h``struct rpc_task *task``h]j)}(hjVh]hstruct rpc_task *task}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubj)}(hhh]jl)}(h task to queueh]h task to queue}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hj'Wh]h Description}(hj)WhhhNhNubah}(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)}(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=WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhjhhhNhNubh)}(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}(hjlWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhWhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjzWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhWhhhjyWhMubh)}(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 xprt_getsb c.xprt_getasbuh1hhjhWhhhjyWhMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhWhhhjyWhMubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhWhhhjyWhMubj3)}(hxprt_geth]j9)}(hjWh]hxprt_get}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhWhhhjyWhMubj )}(h(struct rpc_xprt *xprt)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}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]jW c.xprt_getasbuh1hhjWubj")}(h h]h }(hj"XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hj0XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hxprth]hxprt}(hj=XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubah}(h]h ]h"]h$]h&]jPjQuh1j hjhWhhhjyWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdWhhhjyWhMubah}(h]j_Wah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyWhMhjaWhhubjg)}(hhh]jl)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hjgXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjdXhhubah}(h]h ]h"]h$]h&]uh1jfhjaWhhhjyWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjhNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](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)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](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)}(hpointer to the transporth]hpointer to the transport}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void xprt_put (struct rpc_xprt *xprt)h]j )}(h$void xprt_put(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjYhMubj3)}(hxprt_puth]j9)}(hxprt_puth]hxprt_put}(hj#YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjYhMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](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)}(hrpc_xprth]hrpc_xprt}(hj]YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_YmodnameN classnameNj j )}j ]j )}j j%Ysb c.xprt_putasbuh1hhj;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)}(hxprth]hxprt}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7Yubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjYhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjYhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhjXhhubjg)}(hhh]jl)}(h(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjYubj)}(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.chMhjYubj)}(hhh]jl)}(hpointer to the transporth]hpointer to the transport}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhjhhhNhNubh)}(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]ZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYZhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hjlZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYZhhhjkZhMubj3)}(h rpc_wake_uph]j9)}(h rpc_wake_uph]h rpc_wake_up}(hj~ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYZhhhjkZhMubj )}(h(struct rpc_wait_queue *queue)h]j )}(hstruct rpc_wait_queue *queueh](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_wait_queueh]hrpc_wait_queue}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j jZsb c.rpc_wake_upasbuh1hhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hqueueh]hqueue}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjYZhhhjkZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUZhhhjkZhMubah}(h]jPZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkZhMhjRZhhubjg)}(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.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhjRZhhhjkZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5[jj5[jjjuh1hhhhjhNhNubj)}(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}(hjA[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.chMhj9[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.chMhjX[ubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjw[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjs[hMhjt[ubah}(h]h ]h"]h$]h&]uh1jhjX[ubeh}(h]h ]h"]h$]h&]uh1jhjs[hMhjU[ubah}(h]h ]h"]h$]h&]uh1jhj9[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.chMhj9[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.chMhj9[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjhhhNhNubh)}(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}(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}(hj9\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;\modnameN classnameNj j )}j ]j )}j j\sbc.rpc_wake_up_statusasbuh1hhj\ubj")}(h h]h }(hjY\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjg\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hqueueh]hqueue}(hjt\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\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 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)}(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\jjjuh1hhhhjhNhNubj)}(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)}(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.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)}(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 ]ubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hjM]h]h int status}(hjO]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjG]ubj)}(hhh]jl)}(hstatus value to seth]hstatus value to set}(hjf]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjb]hMhjc]ubah}(h]h ]h"]h$]h&]uh1jhjG]ubeh}(h]h ]h"]h$]h&]uh1jhjb]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&]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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjhhhNhNubh)}(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 }(hjbhhhNhNubj)}(h**task**h]htask}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjbubah}(h]h ]h"]h$]h&]uh1jhj}bubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjAbubeh}(h]h ]h"]h$]h&]uh1jhj%bubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhKubj3)}(hrpc_count_iostatsh]j9)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhKubj )}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j )}(hconst struct rpc_task *taskh](j)}(hj h]hconst}(hj(chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$cubj")}(h h]h }(hj5chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$cubj)}(hjh]hstruct}(hjCchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$cubj")}(h h]h }(hjPchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$cubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjachhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjccmodnameN classnameNj j )}j ]j )}j jcsbc.rpc_count_iostatsasbuh1hhj$cubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$cubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$cubj9)}(htaskh]htask}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj cubj )}(hstruct rpc_iostats *statsh](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 rpc_iostatsh]h rpc_iostats}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j}cc.rpc_count_iostatsasbuh1hhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hstatsh]hstats}(hj dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj cubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjbhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjbhKubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhKhjbhhubjg)}(hhh]jl)}(htally up per-task statsh]htally up per-task stats}(hj6dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj3dhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNdjjNdjjjuh1hhhhjhNhNubj)}(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)}(hjXdh]h Parameters}(hjZdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVdubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjRdubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjwdh]hconst struct rpc_task *task}(hjydhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjudubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjqdubj)}(hhh]jl)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjqdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjndubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hjdh]hstruct rpc_iostats *stats}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjdubj)}(hhh]jl)}(harray of stat structuresh]harray of stat structures}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjndubeh}(h]h ]h"]h$]h&]uh1jhjRdubjl)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjRdubjl)}(hUses the statidx from **task**h](hUses the statidx from }(hjehhhNhNubj)}(h**task**h]htask}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjRdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjhhhNhNubh)}(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>ehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:ehhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj")}(h h]h }(hjMehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ehhhjLehK}ubj3)}(hrpc_queue_upcallh]j9)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hj_ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[eubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:ehhhjLehK}ubj )}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hj{ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjweubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjweubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jaesbc.rpc_queue_upcallasbuh1hhjweubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjweubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjweubj9)}(hpipeh]hpipe}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjweubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjseubj )}(hstruct rpc_pipe_msg *msgh](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 rpc_pipe_msgh]h rpc_pipe_msg}(hj fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj fmodnameN classnameNj j )}j ]jec.rpc_queue_upcallasbuh1hhjeubj")}(h h]h }(hj)fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hj7fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hmsgh]hmsg}(hjDfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjseubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:ehhhjLehK}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6ehhhjLehK}ubah}(h]j1eah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLehK}hj3ehhubjg)}(hhh]jl)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjnfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjkfhhubah}(h]h ]h"]h$]h&]uh1jfhj3ehhhjLehK}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjhNhNubj)}(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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjfubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjfh]hstruct rpc_pipe *pipe}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hjfubj)}(hhh]jl)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhK~hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhK~hjfubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hjfh]hstruct rpc_pipe_msg *msg}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjfubj)}(hhh]jl)}(hmessage to queueh]hmessage to queue}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjfubeh}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjfubjl)}(hXCall 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](h Call with an }(hj9ghhhNhNubj)}(h **inode**h]hinode}(hjAghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9gubh 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 }(hj9ghhhNhNubj)}(h**msg**h]hmsg}(hjSghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9gubh (other than }(hj9ghhhNhNubj)}(h **msg->list**h]h msg->list}(hjeghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9gubh) appropriately.}(hj9ghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMiubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghMiubj3)}(hrpc_mkpipe_dentryh]j9)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghMiubj )}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j )}(hstruct dentry *parenth](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jgsbc.rpc_mkpipe_dentryasbuh1hhjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hj'hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hparenth]hparent}(hj4hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hconst char *nameh](j)}(hj h]hconst}(hjMhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhubj")}(h h]h }(hjZhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhubjM )}(hcharh]hchar}(hjhhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIhubj")}(h h]h }(hjvhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIhubj9)}(hnameh]hname}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(h void *privateh](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hprivateh]hprivate}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hj ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj imodnameN classnameNj j )}j ]jhc.rpc_mkpipe_dentryasbuh1hhjhubj")}(h h]h }(hj(ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hj6ihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hpipeh]hpipe}(hjCihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjghMiubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMihjghhubjg)}(hhh]jl)}(huserspace communicationh]huserspace communication}(hjmihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMihjjihhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjhNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjiubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hjih]hstruct dentry *parent}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhjiubj)}(hhh]jl)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMkhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMkhjiubj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hjih]hconst char *name}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhjiubj)}(hhh]jl)}(h name of pipeh]h name of pipe}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMlhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMlhjiubj)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hj jh]h void *private}(hj"jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjjubj)}(hhh]jl)}(h=private data to associate with the pipe, for the caller's useh]h?private data to associate with the pipe, for the caller’s use}(hj9jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5jhMmhj6jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj5jhMmhjiubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjYjh]hstruct rpc_pipe *pipe}(hj[jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhjSjubj)}(hhh]jl)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hjxjh]hrpc_pipe}(hjzjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrpc_pipeuh1hhjnjhMnhjrjubh containing input parameters}(hjrjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjnjhMnhjojubah}(h]h ]h"]h$]h&]uh1jhjSjubeh}(h]h ]h"]h$]h&]uh1jhjnjhMnhjiubeh}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMphjiubjl)}(hData 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.h](hwData is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to }(hjjhhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohjiubjl)}(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 }(hjjhhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMthjiubjl)}(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 }(hj khhhNhNubj)}(h **private**h]hprivate}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj kubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hj khhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMwhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]j )}(h&void rpc_unlink(struct rpc_pipe *pipe)h](jM )}(hvoidh]hvoid}(hjLkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHkhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hj[khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHkhhhjZkhMubj3)}(h rpc_unlinkh]j9)}(h rpc_unlinkh]h rpc_unlink}(hjmkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjikubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHkhhhjZkhMubj )}(h(struct rpc_pipe *pipe)h]j )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j joksb c.rpc_unlinkasbuh1hhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hpipeh]hpipe}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hjHkhhhjZkhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDkhhhjZkhMubah}(h]j?kah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZkhMhjAkhhubjg)}(hhh]jl)}(h remove a pipeh]h remove a pipe}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj lhhubah}(h]h ]h"]h$]h&]uh1jfhjAkhhhjZkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$ljj$ljjjuh1hhhhjhNhNubj)}(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)}(hj.lh]h Parameters}(hj0lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,lubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj(lubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjMlh]hstruct rpc_pipe *pipe}(hjOlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjGlubj)}(hhh]jl)}(hthe pipe to be removedh]hthe pipe to be removed}(hjflhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjblhMhjclubah}(h]h ]h"]h$]h&]uh1jhjGlubeh}(h]h ]h"]h$]h&]uh1jhjblhMhjDlubah}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj(lubjl)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj(lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhjhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhjlhMubj3)}(hrpc_init_pipe_dir_headh]j9)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhjlhMubj )}(h(struct rpc_pipe_dir_head *pdh)h]j )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj(mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*mmodnameN classnameNj j )}j ]j )}j jlsbc.rpc_init_pipe_dir_headasbuh1hhjmubj")}(h h]h }(hjHmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjVmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hpdhh]hpdh}(hjcmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(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%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jl)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjmubj)}(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)}(hjmh]hstruct rpc_pipe_dir_head *pdh}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjmubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhjhhhNhNubh)}(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}(hj(nhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$nhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hj7nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$nhhhj6nhMubj3)}(hrpc_init_pipe_dir_objecth]j9)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hjInhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$nhhhj6nhMubj )}(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}(hjenhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjanubj")}(h h]h }(hjrnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjanubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j )}j jKnsbc.rpc_init_pipe_dir_objectasbuh1hhjanubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjanubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjanubj9)}(hpdoh]hpdo}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjanubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]nubj )}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](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)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jnc.rpc_init_pipe_dir_objectasbuh1hhjnubj")}(h h]h }(hj.ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjtmodnameN classnameNj j )}j ]jsc.rpc_remove_pipe_dir_objectasbuh1hhjtubj")}(h h]h }(hjZthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hpdhh]hpdh}(hjuthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jsc.rpc_remove_pipe_dir_objectasbuh1hhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hpdoh]hpdo}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkshhhj}shMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjgshhhj}shMubah}(h]jbsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}shMhjdshhubjg)}(hhh]jl)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj uhhubah}(h]h ]h"]h$]h&]uh1jfhjdshhhj}shMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'ujj'ujjjuh1hhhhjhNhNubj)}(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)}(hj1uh]h Parameters}(hj3uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/uubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hj+uubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjPuh]hstruct net *net}(hjRuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjJuubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjiuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjeuhM hjfuubah}(h]h ]h"]h$]h&]uh1jhjJuubeh}(h]h ]h"]h$]h&]uh1jhjeuhM hjGuubj)}(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.chM hjuubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjGuubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjuh]hstruct rpc_pipe_dir_object *pdo}(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.chM hjuubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjGuubeh}(h]h ]h"]h$]h&]uh1jhj+uubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(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_objecthNtauh1hhjhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hj*vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhj)vhMubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj;vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=vmodnameN classnameNj j )}j ]j )}j !rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjvhhhj)vhMubj")}(h h]h }(hj\vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhj)vhMubj )}(hj h]h*}(hjjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvhhhj)vhMubj3)}(h!rpc_find_or_alloc_pipe_dir_objecth]j9)}(hjYvh]h!rpc_find_or_alloc_pipe_dir_object}(hj{vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhj)vhMubj )}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(hneth]hnet}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jWv#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hneth]hnet}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hstruct rpc_pipe_dir_head *pdhh](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_pipe_dir_headh]hrpc_pipe_dir_head}(hj$whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&wmodnameN classnameNj j )}j ]jWv#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjwubj")}(h h]h }(hjBwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjPwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hpdhh]hpdh}(hj]whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](jM )}(hinth]hint}(hjvwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrwubj )}(hjOh]h(}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj9)}(hmatchh]hmatch}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrwubj )}(hjxh]h)}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj )}(hjOh]h(}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrwubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jWv#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjrwubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj )}(h,h]h,}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj")}(h h]h }(hj+xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrwubjM )}(hvoidh]hvoid}(hj9xhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrwubj )}(hj h]h*}(hjGxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubj )}(hjxh]h)}(hjTxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](j)}(hjh]hstruct}(hjlxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhxubj")}(h h]h }(hjyxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhxubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jWv#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjhxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubj )}(hjOh]h(}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubj9)}(halloch]halloc}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhxubj )}(hjxh]h)}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubj )}(hjOh]h(}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubjM )}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhxubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubj )}(hjxh]h)}(hj yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(h void *datah](jM )}(hvoidh]hvoid}(hj8yhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4yubj")}(h h]h }(hjFyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4yubj )}(hj h]h*}(hjTyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4yubj9)}(hdatah]hdata}(hjayhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhj)vhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhj)vhMubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)vhMhjvhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjvhhhj)vhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjhNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjyubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjyh]hstruct net *net}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjyubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubj)}(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)}(hjyh]hstruct rpc_pipe_dir_head *pdh}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjyubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj zhM hj zubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj zhM hjyubj)}(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)}(hj/zh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hj1zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-zubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!hj)zubj)}(hhh]jl)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hjHzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDzhM!hjEzubah}(h]h ]h"]h$]h&]uh1jhj)zubeh}(h]h ]h"]h$]h&]uh1jhjDzhM!hjyubj)}(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)}(hjhzh]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hjjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfzubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjbzubj)}(hhh]jl)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}zhM"hj~zubah}(h]h ]h"]h$]h&]uh1jhjbzubeh}(h]h ]h"]h$]h&]uh1jhj}zhM"hjyubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjzh]h void *data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hjzubj)}(hhh]jl)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM$hjyubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjhhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj")}(h h]h }(hj {hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhj {hMubj3)}(hrpcb_getport_asynch]j9)}(hrpcb_getport_asynch]hrpcb_getport_async}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhj {hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj8{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4{ubj")}(h h]h }(hjE{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4{ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjV{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX{modnameN classnameNj j )}j ]j )}j j{sbc.rpcb_getport_asyncasbuh1hhj4{ubj")}(h h]h }(hjv{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4{ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4{ubj9)}(htaskh]htask}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0{ubah}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhj {hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhj {hMubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj {hMhjzhhubjg)}(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&]uh1jfhjzhhhj {hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjhNhNubj)}(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&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj{ubj)}(hhh]jl)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper 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{ubah}(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&]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.}(hjM|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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjhhhNhNubh)}(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&]uh1jhjx|hhhQ/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!hjx|hhhj|hMubh)}(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_createasbuh1hhjx|hhhj|hMubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx|hhhj|hMubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjx|hhhj|hMubj3)}(h rpc_createh]j9)}(hj|h]h rpc_create}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjx|hhhj|hMubj )}(h(struct rpc_create_args *args)h]j )}(hstruct rpc_create_args *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)}(hrpc_create_argsh]hrpc_create_args}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j| c.rpc_createasbuh1hhj|ubj")}(h h]h }(hj2}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hj@}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hargsh]hargs}(hjM}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubah}(h]h ]h"]h$]h&]jPjQuh1j hjx|hhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjt|hhhj|hMubah}(h]jo|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjq|hhubjg)}(hhh]jl)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjw}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjt}hhubah}(h]h ]h"]h$]h&]uh1jfhjq|hhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjhNhNubj)}(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)}(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)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hj}h]hstruct rpc_create_args *args}(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)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj}ubjl)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj}ubjl)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjhhhNhNubh)}(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}(hjG~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC~hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjU~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC~hhhjT~hMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjf~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh~modnameN classnameNj j )}j ]j )}j rpc_clone_clientsbc.rpc_clone_clientasbuh1hhjC~hhhjT~hMubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC~hhhjT~hMubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjC~hhhjT~hMubj3)}(hrpc_clone_clienth]j9)}(hj~h]hrpc_clone_client}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjC~hhhjT~hMubj )}(h(struct rpc_clnt *clnt)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}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j~c.rpc_clone_clientasbuh1hhj~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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubah}(h]h ]h"]h$]h&]jPjQuh1j hjC~hhhjT~hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?~hhhjT~hMubah}(h]j:~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjT~hMhj<~hhubjg)}(hhh]jl)}(hClone an RPC client structureh]hClone an RPC client structure}(hjBhhhNhNubah}(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<~hhhjT~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj^ubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied 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.chMhj}ubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubah}(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)}(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.chMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjhhhNhNubh)}(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}(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}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j rpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhjhhhjhMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hrpc_clone_client_set_authh]j9)}(hj@h]hrpc_clone_client_set_auth}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j )}(hstruct rpc_clnt *clnth](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)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j>c.rpc_clone_client_set_authasbuh1hhjyubj")}(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)}(hclnth]hclnt}(hjԀhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hrpc_authflavor_t flavorh](h)}(hhh]j9)}(hrpc_authflavor_th]hrpc_authflavor_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j>c.rpc_clone_client_set_authasbuh1hhjubj")}(h 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 hjuubeh}(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.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjhNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied 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)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hjh]hrpc_authflavor_t flavor}(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)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(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&]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:83: ./net/sunrpc/clnt.chMhjbubjl)}(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.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhjhhhNhNubh)}(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}(hj@hhhNhNubah}(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 }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhMubj3)}(hrpc_switch_client_transporth]j9)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhMubj )}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j )}(hstruct rpc_clnt *clnth](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)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.rpc_switch_client_transportasbuh1hhjyubj")}(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)}(hclnth]hclnt}(hjւhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct xprt_create *argsh](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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhjubj")}(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)}(hargsh]hargs}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h!const struct rpc_timeout *timeouth](j)}(hj h]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(h rpc_timeouth]h rpc_timeout}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhj[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)}(htimeouth]htimeout}(hjуhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(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#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(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&]uh1jfhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj6ubj)}(hhh]jl)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjuh]hstruct xprt_create *args}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubj)}(hhh]jl)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubj)}(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}(hjDŽhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjÄhMhjĄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÄhMhj3ubeh}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjhhhNhNubh)}(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 hj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjKhMBubj3)}(hrpc_clnt_iterate_for_each_xprth]j9)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjKhMBubj )}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(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`sb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjƅhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hclnth]hclnt}(hjӅhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjOh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfnh]hfn}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjxh]h)}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]h(}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j c.rpc_clnt_iterate_for_each_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]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 }(hjhhhNhNubah}(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 reftargetjΆmodnameN classnameNj j )}j ]j c.rpc_clnt_iterate_for_each_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(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*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h)}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hdatah]hdata}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhjKhMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjKhMBubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhMBhj2hhubjg)}(hhh]jl)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(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&]uh1jfhj2hhhjKhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMFhjubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client 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.chMChjӇubj)}(hhh]jl)}(hpointer to clienth]hpointer to client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjӇubeh}(h]h ]h"]h$]h&]uh1jhjhMChjЇubj)}(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)}(hjh]h7int (*fn)(struct rpc_clnt *, 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.chMDhj ubj)}(hhh]jl)}(hfunction to applyh]hfunction to apply}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMDhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMDhjЇubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjKh]h void *data}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhjEubj)}(hhh]jl)}(hvoid pointer to function datah]hvoid pointer to function data}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMEhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMEhjЇ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.chMGhjubjl)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjubjl)}(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.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjhhhNhNubh)}(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}(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}ubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjֈhhhjhM}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjֈhhhjhM}ubj3)}(hrpc_cancel_tasksh]j9)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjֈhhhjhM}ubj )}(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}(hj3hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.rpc_cancel_tasksasbuh1hhj/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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(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 hj+ubj )}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](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։ubj )}(hjOh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj9)}(hfnmatchh]hfnmatch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj։ubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj )}(hjOh]h(}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj)}(hj h]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj։ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj։ubj)}(hjh]hstruct}(hjRhhhNhNubah}(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}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jmc.rpc_cancel_tasksasbuh1hhj։ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj )}(hjxh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj։ubj)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj։ubj")}(h h]h }(hjÊhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj։ubjM )}(hvoidh]hvoid}(hjъhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj։ubj )}(hj h]h*}(hjߊhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj։ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hconst void *datah](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 }(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(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 try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjohhubah}(h]h ]h"]h$]h&]uh1jfhjψhhhjhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(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)}(hPointer to RPC clienth]hPointer to RPC client}(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 error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hjh]h int error}(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 task error value to seth]hRPC task error value to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj%h]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(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)}(hPointer to selector functionh]hPointer to selector function}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hj^h]hconst 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.chMhjXubj)}(hhh]jl)}(h User datah]h User data}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(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~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}(hjɌhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_release_client (C function)c.rpc_release_clienthNtauh1hhjhhhNhNubh)}(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}(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_release_clienth]j9)}(hrpc_release_clienth]hrpc_release_client}(hj#hhhNhNubah}(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}(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_clnth]hrpc_clnt}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.rpc_release_clientasbuh1hhj;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 hj7ubah}(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"release a reference on an rpc_clnth]h"release a reference on an rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڍjjڍjjjuh1hhhhjhNhNubj)}(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)}(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.chMhjލubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` rpc_clnt to release 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)}(hrpc_clnt to releaseh]hrpc_clnt to release}(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)}(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)}(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.}(hjThhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/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!hjhhhjhM%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 )}j rpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhjhhhjhM%ubj")}(h h]h }(hjÎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM%ubj )}(hj h]h*}(hjюhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM%ubj3)}(hrpc_bind_new_programh]j9)}(hjh]hrpc_bind_new_program}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjގubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM%ubj )}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j )}(hstruct rpc_clnt *oldh](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 reftargetjmodnameN classnameNj j )}j ]jc.rpc_bind_new_programasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(holdh]hold}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_program *programh](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)}(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_programasbuh1hhjiubj")}(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)}(hprogramh]hprogram}(hjߏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 versh](h)}(hhh]j9)}(hu32h]hu32}(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!hjubj9)}(hversh]hvers}(hj'hhhNhNubah}(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]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM%hjxhhubjg)}(hhh]jl)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM%hjNhhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjhNhNubj)}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM)hjmubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjh]hstruct rpc_clnt *old}(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)}(hold rpc_clienth]hold rpc_client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(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&]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)}(hrpc program to seth]hrpc program to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjŐubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(h!``u32 vers`` rpc program version h](j)}(h ``u32 vers``h]j)}(hjh]hu32 vers}(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 program versionh]hrpc program version}(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&]uh1jhjmubjl)}(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:83: ./net/sunrpc/clnt.chM*hjmubjl)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM)hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhjhhhNhNubh)}(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}(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_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_run_tasksbc.rpc_run_taskasbuh1hhjhhhjhMubj")}(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 rpc_run_taskh]j9)}(hjh]h rpc_run_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߑubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h.(const struct rpc_task_setup *task_setup_data)h]j )}(h,const struct rpc_task_setup *task_setup_datah](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)}(hrpc_task_setuph]hrpc_task_setup}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jc.rpc_run_taskasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htask_setup_datah]htask_setup_data}(hjphhhNhNubah}(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]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjyhhubjg)}(hhh]jl)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(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&]uh1jfhjyhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjےh]h,const struct rpc_task_setup *task_setup_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.chMhjՒubj)}(hhh]jl)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhjChMubj3)}(h rpc_call_synch]j9)}(h rpc_call_synch]h rpc_call_sync}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhjChMubj )}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)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_call_syncasbuh1hhjnubj")}(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 )}(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}(hjhhhNhNubah}(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 ]jc.rpc_call_syncasbuh1hhjubj")}(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)}(hmsgh]hmsg}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(h int flagsh](jM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(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)}(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&]uh1jfhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj͔jj͔jjjuh1hhhhjhNhNubj)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(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}(hj1hhhNhNubah}(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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjhh]h int flags}(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.chMhjbubj)}(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.chMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubeh}(h]h ]h"]h$]h&]uh1jhjєubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjhhhNhNubh)}(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}(hj•hhhNhNubah}(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ЕhMubj3)}(hrpc_call_asynch]j9)}(hrpc_call_asynch]hrpc_call_async}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߕubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjЕhMubj )}(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}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.rpc_call_asyncasbuh1hhjubj")}(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)}(hclnth]hclnt}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct rpc_message *msgh](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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(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 ]j9c.rpc_call_asyncasbuh1hhjmubj")}(h h]h }(hjȖhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hj֖hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hmsgh]hmsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_call_ops *tk_opsh](j)}(hj h]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(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 rpc_call_opsh]h rpc_call_ops}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j9c.rpc_call_asyncasbuh1hhj-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)}(htk_opsh]htk_ops}(hjhhhNhNubah}(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 }(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 hjhhhjЕhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjЕhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjЕhMhjhhubjg)}(hhh]jl)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(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&]uh1jfhjhhhjЕhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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)}(hjPh]hstruct rpc_clnt *clnt}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjJubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjh]hconst struct rpc_message *msg}(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 parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hj˜h]h int flags}(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)}(hRPC call flagsh]hRPC call flags}(hjۘhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjטhMhjؘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjטhMhjGubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hjh]h!const struct rpc_call_ops *tk_ops}(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 RPC call opsh]h RPC call ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hj4h]h void *data}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj.ubj)}(hhh]jl)}(huser call datah]huser call data}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMVubj3)}(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&]jPjQuh1j2hjhhhjhMVubj )}(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&]uh1jhjǙubj")}(h h]h }(hjؙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǙubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.rpc_prepare_reply_pagesasbuh1hhjǙ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)}(hreqh]hreq}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǙubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÙubj )}(hstruct page **pagesh](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)}(hpageh]hpage}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]jc.rpc_prepare_reply_pagesasbuh1hhj9ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÙubj )}(hunsigned int baseh](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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÙubj )}(hunsigned int 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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÙubj )}(hunsigned int hdrsizeh](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 )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(hhdrsizeh]hhdrsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÙubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMVubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMVhjhhubjg)}(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.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj֛jj֛jjjuh1hhhhjhNhNubj)}(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}(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.chMZhjڛubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hjh]hstruct rpc_rqst *req}(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.chMWhjubj)}(hhh]jl)}(hRPC request to prepareh]hRPC request to prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hj8h]hstruct page **pages}(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.chMXhj2ubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMXhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMXhjubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjqh]hunsigned int base}(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.chMYhjkubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(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.chMZhjubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjÜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjh]hunsigned int hdrsize}(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\hjݜubj)}(hhh]jl)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(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&]uh1jhjݜubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubeh}(h]h ]h"]h$]h&]uh1jhjڛubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjhhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMqubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjahMqubj3)}(h rpc_peeraddrh]j9)}(hj^h]h rpc_peeraddr}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjahMqubj )}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)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\c.rpc_peeraddrasbuh1hhjubj")}(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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *bufh](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)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j\c.rpc_peeraddrasbuh1hhjubj")}(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)}(hbufh]hbuf}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hsize_t bufsizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j\c.rpc_peeraddrasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hbufsizeh]hbufsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhjahMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjahMqubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMqhj2hhubjg)}(hhh]jl)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjȞhhhNhNubah}(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&]uh1jfhj2hhhjahMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMuhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMrhjubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjBh]hstruct sockaddr *buf}(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.chMshj<ubj)}(hhh]jl)}(h target bufferh]h target buffer}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMshjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMshjubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hj{h]hsize_t bufsize}(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.chMthjuubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(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.chMvhjubjl)}(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.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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!hjhhhjhMubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hrpc_peeraddr2strh]j9)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j )}(hstruct rpc_clnt *clnth](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)}(hrpc_clnth]hrpc_clnt}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.rpc_peeraddr2strasbuh1hhj\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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(h enum rpc_display_format_t formath](j)}(hjh]henum}(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_display_format_th]hrpc_display_format_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_peeraddr2strasbuh1hhjΠubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΠubj9)}(hformath]hformat}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΠubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(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.return remote peer address in printable formath]h.return remote peer address in printable format}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjhNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure 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)}(hRPC client structureh]hRPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubj)}(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}(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)}(haddress formath]haddress format}(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&]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:83: ./net/sunrpc/clnt.chMhjbubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjhhhNhNubh)}(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}(hj@hhhNhNubah}(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 }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhMubj3)}(h rpc_localaddrh]j9)}(h rpc_localaddrh]h rpc_localaddr}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhMubj )}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j )}(hstruct rpc_clnt *clnth](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)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.rpc_localaddrasbuh1hhjyubj")}(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)}(hclnth]hclnt}(hj֢hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct sockaddr *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)}(hsockaddrh]hsockaddr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_localaddrasbuh1hhjubj")}(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)}(hbufh]hbuf}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h size_t buflenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]jc.rpc_localaddrasbuh1hhj[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(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)}(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&]uh1jfhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjУjjУjjjuh1hhhhjhNhNubj)}(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)}(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)}(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)}(hRPC client structureh]hRPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hj2h]hstruct sockaddr *buf}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjkh]h size_t buflen}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjeubj)}(hhh]jl)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjԣubjl)}(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.chMhjԣubjl)}(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.chMhjԣubjl)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMEubh)}(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 )}j rpc_net_nssb c.rpc_net_nsasbuh1hhjhhhjhMEubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMEubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMEubj3)}(h rpc_net_nsh]j9)}(hjFh]h rpc_net_ns}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMEubj )}(h(struct rpc_clnt *clnt)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 ]jD 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}(hjڥhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubah}(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-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](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.chMIhj ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjEh]hstruct rpc_clnt *clnt}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhj?ubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjhhhNhNubh)}(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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_max_payloadsbc.rpc_max_payloadasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUubj")}(h h]h }(hjĦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjæhMUubj3)}(hrpc_max_payloadh]j9)}(hjh]hrpc_max_payload}(hj֦hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҦubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjæhMUubj )}(h(struct rpc_clnt *clnt)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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_max_payloadasbuh1hhjubj")}(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)}(hclnth]hclnt}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjæhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjæhMUubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjæhMUhjhhubjg)}(hhh]jl)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUhjohhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjæhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMYhjubj)}(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.chMVhjubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hj̧hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjȧhMVhjɧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȧhMVhjubah}(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.chMXhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j rpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhj/hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMiubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhjWhMiubj3)}(hrpc_max_bc_payloadh]j9)}(hjTh]hrpc_max_bc_payload}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhjWhMiubj )}(h(struct rpc_clnt *clnt)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 ]jRc.rpc_max_bc_payloadasbuh1hhjubj")}(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}(hjܨhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubah}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhjWhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhjWhMiubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMihj(hhubjg)}(hhh]jl)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhjWhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](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.chMmhj"ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjGh]hstruct rpc_clnt *clnt}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMohjAubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMjhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMohj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjhhhNhNubh)}(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 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_force_rebindh]j9)}(hrpc_force_rebindh]hrpc_force_rebind}(hj©hhhNhNubah}(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}(hjީhhhNhNubah}(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 )}j jĩsbc.rpc_force_rebindasbuh1hhjک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)}(hclnth]hclnt}(hj7hhhNhNubah}(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)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjahhhNhNubah}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjhNhNubj)}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](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.chMhj}ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/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!hjhhhj hM ubj3)}(hrpc_clnt_test_and_add_xprth]j9)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM 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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.rpc_clnt_test_and_add_xprtasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(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}(hjɫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƫubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj˫modnameN classnameNj j )}j ]jsc.rpc_clnt_test_and_add_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)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hstruct rpc_xprt *xprth](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_xprth]hrpc_xprt}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jsc.rpc_clnt_test_and_add_xprtasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprth]hxprt}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hvoid *in_max_connecth](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)}(hin_max_connecth]hin_max_connect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(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*Test and add a new transport to a rpc_clnth]h*Test and 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&]uh1jfhjhhhj hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM hjubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]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.chM hjubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjXh]hstruct rpc_xprt_switch *xps}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjRubj)}(hhh]jl)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt 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)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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&]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)}(hApointer to the max_connect value for the passed in xprt transporth]hApointer to the max_connect value for the passed in xprt transport}(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&]uh1jhjĭubeh}(h]h ]h"]h$]h&]uh1jhj߭hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(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_xprthNtauh1hhjhhhNhNubh)}(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}(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 }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj2hM 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}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj2hM 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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(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 jGsb"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*}(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 hjYubj )}(hstruct rpc_xprt_switch *xpsh](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)}(hrpc_xprt_switchh]hrpc_xprt_switch}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjϮubj9)}(hxpsh]hxps}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϮubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(hstruct rpc_xprt *xprth](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)}(hrpc_xprth]hrpc_xprt}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN 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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(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*}(hjϯhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjܯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj2hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj2hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM hjhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjhhhj2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM hjubj)}(hhh](j)}(hC``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport 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.chM hj2ubj)}(hhh]jl)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM hj/ubj)}(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)}(hjqh]hstruct rpc_xprt_switch *xps}(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.chM hjkubj)}(hhh]jl)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM hj/ubj)}(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}(hjðhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj/ubj)}(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)}(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 hjݰubj)}(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}(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&]uh1jhjݰubeh}(h]h ]h"]h$]h&]uh1jhjhM hj/ubeh}(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:83: ./net/sunrpc/clnt.chM hjubj)}(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 hj8ubj)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjKubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjJhM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(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}(hjohhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/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!hjhhhjhM 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&]jPjQuh1j2hjhhhjhM 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}(hj۱hhhNhNubah}(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 )}j jsbc.rpc_clnt_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)}(hclnth]hclnt}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjױubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjӱubj )}(hstruct xprt_create *xprtargsh](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 xprt_createh]h xprt_create}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jc.rpc_clnt_add_xprtasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hxprtargsh]hxprtargs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjӱubj )}(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 )}(hjOh]h(}(hjٲhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsetuph]hsetup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]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_clnth]hrpc_clnt}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h,}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjqhhhNhNubah}(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_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h,}(hjȳhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h,}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h)}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjӱubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(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!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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM hjubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](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.chM hjubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(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 xprt_create *xprtargs`` pointer to struct xprt_create h](j)}(h ``struct xprt_create *xprtargs``h]j)}(hjGh]hstruct xprt_create *xprtargs}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjAubj)}(hhh]jl)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hM hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM hjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjzubj)}(hhh]jl)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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}(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)}(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.chM hjubjl)}(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.}(hj hhhNhNubah}(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&]uh1jhjhhhNhNubeh}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhjAhhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjyhMdubj3)}(h dev_add_packh]j9)}(h dev_add_packh]h dev_add_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjyhMdubj )}(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&]uh1j8hjöubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȶmodnameN classnameNj j )}j ]j )}j jsbc.dev_add_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 hjghhhjyhMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjyhMdubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMdhj`hhubjg)}(hhh]jl)}(hadd packet handlerh]hadd packet handler}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhj(hhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhjyhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjAhNhNubj)}(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)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjGubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjlh]hstruct packet_type *pt}(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.chMehjfubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMehjcubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjGubj)}(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&]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.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&]uh1jkhjhMfhjubjl)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhjAhhhNhNubh)}(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.chM~ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hM~ubj3)}(h__dev_remove_packh]j9)}(h__dev_remove_packh]h__dev_remove_pack}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj6hM~ubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](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 packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsbc.__dev_remove_packasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hpth]hpt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj6hM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj6hM~ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hM~hjhhubjg)}(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.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hj h]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.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.chMhj#ubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjBhhhNhNubah}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(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 }(hj~hhhNhNubh)}(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.chMhj~ubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjzubjl)}(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.chMhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhjAhhhNhNubh)}(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}(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_remove_packh]j9)}(hdev_remove_packh]hdev_remove_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](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 packet_typeh]h packet_type}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jsbc.dev_remove_packasbuh1hhjubj")}(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)}(hpth]hpt}(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 jYjZhjݹhhhjhMubah}(h]jعah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjڹhhubjg)}(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&]uh1jfhjڹhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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.chMhjubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhjubah}(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 }(hj;hhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjEh]h packet_type}(hjGhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj;ubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjbhMhj7ubjl)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhjAhhhNhNubh)}(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 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_get_iflinkh]j9)}(hdev_get_iflinkh]hdev_get_iflink}(hjûhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hjhhhNhNubah}(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)}(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.dev_get_iflinkasbuh1hhjۻubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۻubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjۻubj9)}(hdevh]hdev}(hjShhhNhNubah}(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!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhjAhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjVhMubj3)}(hdev_fill_metadata_dsth]j9)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjVhMubj )}(h-(struct net_device *dev, struct sk_buff *skb)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 jksbc.dev_fill_metadata_dstasbuh1hhjubj")}(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 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 ]jc.dev_fill_metadata_dstasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjVhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjVhMubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhMhj=hhubjg)}(hhh]jl)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(hjҾhhhNhNubah}(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 *skb`` The packet. 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)}(h The packet.h]h The packet.}(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&]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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubah}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhjAhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhMdubh)}(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_nameasbuh1hhjxhhhjhMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhMdubj )}(hj h]h*}(hjʿhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxhhhjhMdubj3)}(h__dev_get_by_nameh]j9)}(hjh]h__dev_get_by_name}(hjۿhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׿ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhMdubj )}(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 ]jc.__dev_get_by_nameasbuh1hhjubj")}(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)}(hneth]hnet}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *nameh](j)}(hj h]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhMdubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMdhjqhhubjg)}(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.chMdhjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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.chMehjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMehj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMehj ubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjNh]hconst char *name}(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.chMfhjHubj)}(hhh]jl)}(h name to findh]h name to find}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMfhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMfhj 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.chMhhjubj)}(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.chMghjubah}(h]h ]h"]h$]h&]uh1jhjhMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubh)}(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 dev_get_by_name_rcusbc.dev_get_by_name_rcuasbuh1hhjhhhjhMyubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMyubj3)}(hdev_get_by_name_rcuh]j9)}(hj'h]hdev_get_by_name_rcu}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(h#(struct net *net, const char *name)h](j )}(hstruct net *neth](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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j%c.dev_get_by_name_rcuasbuh1hhj`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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(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*}(hj hhhNhNubah}(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 hjhhhjhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMyubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMyhjhhubjg)}(hhh]jl)}(hfind a device by its nameh]hfind a device by its name}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyhj?hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjAhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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)}(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.chMzhj}ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjzubj)}(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{hjzubeh}(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)}(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 }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hj hhhNhNubeh}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhjAhhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhN/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!hjJhhhj[hMubh)}(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 netdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjJhhhj[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)}(hnetdev_get_by_nameh]j9)}(hjh]hnetdev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhj[hMubj )}(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}(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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *nameh](j)}(hj h]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubjM )}(hcharh]hchar}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hnameh]hname}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(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}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hjhhhNhNubah}(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)}(hfind a device by its nameh]hfind a device by its name}(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&]uh1jfhjChhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjAhNhNubj)}(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)}(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.chMhj_ubj)}(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.chMhj~ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(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&]uh1jhjhMhj{ubj)}(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.chMhjubj)}(hhh]jl)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(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`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hj/h]h gfp_t gfp}(hj1hhhNhNubah}(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 allocation flags for the trackerh]h allocation flags for the tracker}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubj)}(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&]uh1jhjhMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhjAhhhNhNubh)}(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}(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_get_by_indexsbc.__dev_get_by_indexasbuh1hhjhhhjhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__dev_get_by_indexh]j9)}(hjh]h__dev_get_by_index}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hneth]hnet}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]jc.__dev_get_by_indexasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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}(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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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.chMhj6ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjuh]h int ifindex}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjoubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubeh}(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)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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 hhhjhMubh)}(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 dev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhj hhhjhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMubj3)}(hdev_get_by_index_rcuh]j9)}(hjNh]hdev_get_by_index_rcu}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(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 ]jLc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](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)}(hifindexh]hifindex}(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 jYjZhj hhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjAhhhNhNubah}(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&]jjjjYjjYjjjuh1hhhhjAhNhNubj)}(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)}(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.chMhj]ubj)}(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.chMhj|ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(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&]uh1jhjhMhjyubeh}(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)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubah}(h]h ]h"]h$]h&]uh1jhj0hMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhjAhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjdhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j netdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjShhhjdhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjdhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjShhhjdhMubj3)}(hnetdev_get_by_indexh]j9)}(hjh]hnetdev_get_by_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjdhMubj )}(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&]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.netdev_get_by_indexasbuh1hhjubj")}(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)}(hneth]hnet}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](jM )}(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)}(hifindexh]hifindex}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jc.netdev_get_by_indexasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjdhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjdhMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhMhjLhhubjg)}(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.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjAhNhNubj)}(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)}(hjFh]h Parameters}(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.chMhj@ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjeh]hstruct net *net}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(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&]uh1jhjhMhj\ubj)}(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.chMhjubj)}(hhh]jl)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(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.chMhj ubj)}(hhh]jl)}(h allocation flags for the trackerh]h allocation flags for the tracker}(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)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj@ubj)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjshMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhjAhhhNhNubh)}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hdev_getbyhwaddr_rcuh]j9)}(hjh]hdev_getbyhwaddr_rcu}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]jc.dev_getbyhwaddr_rcuasbuh1hhjubj")}(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)}(hneth]hnet}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 hj ubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(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%find a device by its hardware addressh]h%find a device by its hardware address}(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[jjjuh1hhhhjAhNhNubj)}(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)}(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.chMhj_ubj)}(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.chMhj~ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(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&]uh1jhjhMhj{ubj)}(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}(hjhhhNhNubah}(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)}(hj1h]h Description}(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)}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGubah}(h]h ]h"]h$]h&]uh1jhjYhMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhjAhhhNhNubh)}(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&]uh1jhj|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|hhhjhMubh)}(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_getbyhwaddrasbuh1hhj|hhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|hhhjhMubj3)}(hdev_getbyhwaddrh]j9)}(hjh]hdev_getbyhwaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMubj )}(h6(struct net *net, unsigned short type, const char *ha)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_getbyhwaddrasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(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 jYjZhjxhhhjhMubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjuhhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(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&]uh1jfhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjAhNhNubj)}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjEubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjjh]hstruct net *net}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjdubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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&]uh1jhjhMhjaubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(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.chMhjEubjl)}(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.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjEubjl)}(h **Context**h]j)}(hj>h]hContext}(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.chMhjEubjl)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjEubjl)}(h **Return**h]j)}(hjeh]hReturn}(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.chMhjEubjl)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(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}(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}(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(check if name is okay for network deviceh]h(check if name is okay for network device}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjAhNhNubj)}(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)}(hjvh]h Parameters}(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.chM*hjpubj)}(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&]uh1jhjpubjl)}(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)hjpubj)}(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.}(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(hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h=int dev_alloc_name (struct net_device *dev, const char *name)h]j )}(hhM%ubj3)}(hregister_netdevice_notifier_neth]j9)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj>hM%ubj )}(h,(struct net *net, struct notifier_block *nb)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jSsb!c.register_netdevice_notifier_netasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(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!c.register_netdevice_notifier_netasbuh1hhjubj")}(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)}(hnbh]hnb}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(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+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(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&]jjjjxjjxjjjuh1hhhhjAhNhNubj)}(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.chM)hj|ubj)}(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}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM)hj|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.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(hj|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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.unregister_netdevice_notifier_net (C function)#c.unregister_netdevice_notifier_nethNtauh1hhjAhhhNhNubh)}(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}(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 }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjwhM@ubj3)}(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&]jPjQuh1j2hjehhhjwhM@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.unregister_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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j#c.unregister_netdevice_notifier_netasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnbh]hnb}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjwhM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjwhM@ubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhM@hj^hhubjg)}(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.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhjwhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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.chMDhjubj)}(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.chMBhjubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(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.chMChj ubj)}(hhh]jl)}(hnotifierh]hnotifier}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMChj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMChjubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMEhjubjl)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMDhjubjl)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%call_netdevice_notifiers (C function)c.call_netdevice_notifiershNtauh1hhjAhhhNhNubh)}(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.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hcall_netdevice_notifiersh]j9)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(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 hjubj )}(hstruct net_device *devh](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)}(h net_deviceh]h net_device}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.call_netdevice_notifiersasbuh1hhj,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)}(hdevh]hdev}(hjhhhNhNubah}(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 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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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.chMhjubj)}(hhh](j)}(hC``unsigned long val`` value passed unmodified to notifier function h](j)}(h``unsigned long val``h]j)}(hjh]hunsigned long val}(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,value passed unmodified to notifier functionh]h,value passed unmodified to notifier function}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hU``struct net_device *dev`` net_device pointer passed unmodified to notifier function 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)}(h9net_device pointer passed unmodified to notifier functionh]h9net_device pointer passed unmodified to notifier function}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubeh}(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.chMhjubj)}(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.chMhj~ubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_forward_skb (C function)c.dev_forward_skbhNtauh1hhjAhhhNhNubh)}(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}(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_forward_skbasbuh1hhjubj")}(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)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(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.dev_forward_skbasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(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 loopback an skb to another netifh]h loopback an skb to another netif}(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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hj h]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.chM hjubj)}(hhh](j)}(h6``struct net_device *dev`` destination 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj"ubj)}(hhh]jl)}(hdestination network deviceh]hdestination network device}(hjAhhhNhNubah}(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 *skb`` buffer to forward 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj[ubj)}(hhh]jl)}(hbuffer to forwardh]hbuffer to forward}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhM hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM 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)}(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)}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhjAhhhNhNubh)}(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}(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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hM ubj3)}(hdev_nit_active_rcuh]j9)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj7hM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(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 jLsbc.dev_nit_active_rcuasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hdevh]hdev}(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)}(h4return true if any network interface taps are in useh]h4return true if any network interface taps are in use}(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&]uh1jfhjhhhj7hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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)}(hjEh]hconst struct net_device *dev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM hj<ubah}(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&]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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h*(struct net_device *dev, unsigned int rxq)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.netif_set_real_num_rx_queuesasbuh1hhjubj")}(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)}(hdevh]hdev}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int rxqh](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)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(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 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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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}(hj0hhhNhNubah}(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)}(hjPh]hunsigned int rxq}(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.chM hjJubj)}(hhh]jl)}(hActual number of RX queuesh]hActual number of RX queues}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM 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)}(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 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhjAhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_real_num_queuesh]j9)}(hnetif_set_real_num_queuesh]hnetif_set_real_num_queues}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.netif_set_real_num_queuesasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(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 hjubj )}(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 hjubj )}(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 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 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 hj9hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjAhNhNubj)}(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)}(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 hjXubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hj}h]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.chM hjwubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(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&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(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 hjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(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 hjXubj)}(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.}(hjDhhhNhNubah}(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&]uh1jhjRhM hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhjAhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhhN/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!hjuhhhjhM 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&]jPjQuh1j2hjuhhhjhM 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 }(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 )}(hunsigned int sizeh](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)}(hsizeh]hsize}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhM ubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjnhhubjg)}(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&]uh1jfhjnhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(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)}(hjh]hunsigned int size}(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)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(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}(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.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 }(hjUhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh.}(hjUhhhNhNubeh}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_set_tso_max_segsasbuh1hhjubj")}(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}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int segsh](jM )}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubjM )}(hinth]hint}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hsegsh]hsegs}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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 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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(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)}(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)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hj!h]hunsigned int segs}(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)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 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 }(hjrhhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh.}(hjrhhhNhNubeh}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhjAhhhNhNubh)}(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}(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 jsbc.netif_inherit_tso_maxasbuh1hhjubj")}(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)}(htoh]hto}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct net_device *fromh](j)}(hj h]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hjohhhNhNubah}(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)}(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.netif_inherit_tso_maxasbuh1hhj^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)}(hfromh]hfrom}(hjhhhNhNubah}(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)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(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.chM hjubj)}(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}(hjAhhhNhNubah}(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 hj9ubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM hj6ubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hjxh]hconst struct net_device *from}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjrubj)}(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.chM hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhjAhhhNhNubh)}(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 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 netif_get_num_default_rss_queuesh]j9)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubah}(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)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjAhNhNubj)}(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)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM! hjUubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjzh]hvoid}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjtubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKhjqubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjUubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1void netif_device_detach (struct net_device *dev)h]j )}(h0void netif_device_detach(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_device_detachh]j9)}(hnetif_device_detachh]hnetif_device_detach}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jsbc.netif_device_detachasbuh1hhj3ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(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)}(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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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.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.}(hjLhhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1void netif_device_attach (struct net_device *dev)h]j )}(h0void netif_device_attach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhN/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!hjwhhhjhM ubj3)}(hnetif_device_attachh]j9)}(hnetif_device_attachh]hnetif_device_attach}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjhM 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 }(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 hjwhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjshhhjhM ubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjphhubjg)}(hhh]jl)}(hmark device as attachedh]hmark device as attached}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj8hhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjAhNhNubj)}(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)}(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 hjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubah}(h]h ]h"]h$]h&]uh1jhjWubjl)}(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 hjWubjl)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhjAhhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hdev_loopback_xmith]j9)}(hdev_loopback_xmith]hdev_loopback_xmit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)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 ]j )}j jsbc.dev_loopback_xmitasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(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 )}(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 reftargetjmodnameN classnameNj j )}j ]jsc.dev_loopback_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)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jsc.dev_loopback_xmitasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(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 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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(hD``struct net *net`` network namespace this loopback is happening in 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)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(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&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h*``struct sk_buff *skb`` buffer to transmith](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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjWubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhjAhhhNhNubh)}(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}(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.__dev_queue_xmitasbuh1hhjubj")}(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)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *sb_devh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j.c.__dev_queue_xmitasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hsb_devh]hsb_dev}(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)}(htransmit a bufferh]htransmit a buffer}(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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hj h]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.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjah]hstruct net_device *sb_dev}(hjchhhNhNubah}(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)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(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)}(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.chMhjubjl)}(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.chMhjubjl)}(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.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.chMhjubjO)}(hhh](jO)}(h<0 - buffer successfully transmittedh]jl)}(hjh]h<0 - buffer successfully transmitted}(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&]uh1jOhjubjO)}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jl)}(hjh]h/positive qdisc return code - NET_XMIT_DROP etc.}(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&]uh1jOhjubjO)}(h)negative errno - other errorsh]jl)}(hj,h]h)negative errno - other errors}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj*ubah}(h]h ]h"]h$]h&]uh1jOhjubeh}(h]h ]h"]h$]h&]jOj uh1jOhj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhjAhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMeubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjuhMeubj3)}(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&]jPjQuh1j2hjdhhhjuhMeubj )}(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 }(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 )}(h u16 rxq_indexh](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 }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h rxq_indexh]h rxq_index}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flow_idh](h)}(hhh]j9)}(hu32h]hu32}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(hflow_idh]hflow_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(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 hjdhhhjuhMeubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjuhMeubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMehj]hhubjg)}(hhh]jl)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjuhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(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.chMihjubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hj@h]hstruct net_device *dev}(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.chMfhj:ubj)}(hhh]jl)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMfhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMfhj7ubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjyh]h u16 rxq_index}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjsubj)}(hhh]jl)}(hRX queue indexh]hRX queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMghj7ubj)}(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.chMhhjubj)}(hhh]jl)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhj7ubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hjh]h u16 filter_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.chMihjubj)}(hhh]jl)}(h)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihj7ubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhjubjl)}(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}(hjDhhhNhNubah}(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.chMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h$int __netif_rx (struct sk_buff *skb)h]j )}(h#int __netif_rx(struct sk_buff *skb)h](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjhMgubj3)}(h __netif_rxh]j9)}(h __netif_rxh]h __netif_rx}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjhMgubj )}(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 }(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 hjyhhhjhMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjhMgubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMghjrhhubjg)}(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.chMghj:hhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjAhNhNubj)}(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)}(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.chMkhjYubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjxubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjuubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjYubj)}(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.chMihjubah}(h]h ]h"]h$]h&]uh1jhjhMihjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhjAhhhNhNubh)}(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.chM|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM|ubj3)}(hnetif_rxh]j9)}(hnetif_rxh]hnetif_rx}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM|ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j j+sb c.netif_rxasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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)}(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.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuba<h}(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)}(hj h]hstruct sk_buff *skb}(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)}(hbuffer to posth]hbuffer to post}(hj"hhhNhNubah}(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)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hjZubjl)}(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)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubeh}(h]h ]h"]h$]h&]uh1jhjlhM~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhjAhhhNhNubh)}(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.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetdev_is_rx_handler_busyh]j9)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(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}(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.netdev_is_rx_handler_busyasbuh1hhjubj")}(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}(hj7hhhNhNubah}(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&check if receive handler is registeredh]h&check if receive handler is registered}(hjahhhNhNubah}(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&]jjjjyjjyjjjuh1hhhhjAhNhNubj)}(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)}(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.chMhj}ubj)}(hhh]j)}(h+``struct net_device *dev`` device to check 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)}(hdevice to checkh]hdevice 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&]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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhjAhhhNhNubh)}(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}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhMubj3)}(hnetdev_rx_handler_registerh]j9)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhMubj )}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(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.netdev_rx_handler_registerasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hrx_handler_func_t *rx_handlerh](h)}(hhh]j9)}(hrx_handler_func_th]hrx_handler_func_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_rx_handler_registerasbuh1hhjubj")}(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)}(h rx_handlerh]h rx_handler}(hj& hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hvoid *rx_handler_datah](jM )}(hvoidh]hvoid}(hj? hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj; 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)}(hrx_handler_datah]hrx_handler_data}(hjh hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj; ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhMhj0hhubjg)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjAhNhNubj)}(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.chMhj 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.chMhj 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 hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hj h]hrx_handler_func_t *rx_handler}(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)}(hreceive handler to registerh]hreceive handler to register}(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``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hjE h]hvoid *rx_handler_data}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj? 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&]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&]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.chMhj 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.chMhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhjAhhhNhNubh)}(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.chM$ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM$ubj3)}(hnetdev_rx_handler_unregisterh]j9)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(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 }(hj7 hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj& ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjH hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ modnameN classnameNj j )}j ]j )}j j sbc.netdev_rx_handler_unregisterasbuh1hhj& ubj")}(h h]h }(hjh hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj& ubj )}(hj h]h*}(hjv 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 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)}(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.chM$hj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjAhNhNubj)}(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)}(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 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.chM%hj ubj)}(hhh]jl)}(h#device to unregister a handler fromh]h#device to unregister a handler 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 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)}(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.}(hjC 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.}(hjR hhhNhNubah}(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&]uh1jhjQ hM&hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhjAhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMJubj3)}(hnetif_receive_skb_coreh]j9)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMJubj )}(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 sbc.netif_receive_skb_coreasbuh1hhj 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 hj hhhj hMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMJubah}(h]jz ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMJhj| hhubjg)}(hhh]jl)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhjD hhubah}(h]h ]h"]h$]h&]uh1jfhj| hhhj hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_ jj_ jjjuh1hhhhjAhNhNubj)}(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)}(hji h]h Parameters}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNhjc ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhj ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMKhj ubah}(h]h ]h"]h$]h&]uh1jhjc 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.chMMhjc ubj)}(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 }(hj hhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(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.chMLhj 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhj ubjl)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShj ubeh}(h]h ]h"]h$]h&]uh1jhj hMLhjc ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhjAhhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjPhM2ubj3)}(hnetif_receive_skbh]j9)}(hnetif_receive_skbh]hnetif_receive_skb}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjPhM2ubj )}(h(struct sk_buff *skb)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 jesbc.netif_receive_skbasbuh1hhj{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 hjwubah}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhjPhM2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjPhM2ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhM2hj7hhubjg)}(hhh]jl)}(h#process receive buffer from networkh]h#process receive buffer from network}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjhhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhjPhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.chM6hjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjCh]hstruct sk_buff *skb}(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.chM3hj=ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM3hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM3hj: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.chM5hjubj)}(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.chM4hjubjl)}(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.chM8hjubjl)}(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.chM;hjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhjAhhhNhNubh)}(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}(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)}(hnetif_receive_skb_listh]j9)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMNubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h list_headh]h list_head}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jsbc.netif_receive_skb_listasbuh1hhj$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)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(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)}(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.chMNhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(h4``struct list_head *head`` list of skbs to process. h](j)}(h``struct list_head *head``h]j)}(hjh]hstruct list_head *head}(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)}(hlist of skbs to process.h]hlist of skbs to process.}(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)}(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.chMQhjubj)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhj=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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShj=ubeh}(h]h ]h"]h$]h&]uh1jhjOhMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhjAhhhNhNubh)}(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.chM:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM:ubj3)}(h__napi_scheduleh]j9)}(h__napi_scheduleh]h__napi_schedule}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__napi_scheduleasbuh1hhjubj")}(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 hjhhhjhM:ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhjhM:ubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM:hjzhhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:hjAhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjAhNhNubj)}(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)}(hjfh]h Parameters}(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.chM>hj`ubj)}(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.chM;hjubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(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)}(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)}(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.chM<hj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMKubj3)}(hnapi_schedule_preph]j9)}(hnapi_schedule_preph]hnapi_schedule_prep}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMKubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j'sbc.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 hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMKhjhhubjg)}(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.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.chMOhjubj)}(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.chMLhjubj)}(hhh]jl)}(h napi contexth]h napi context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNhjubjl)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhjAhhhNhNubh)}(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.chMkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMkubj3)}(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&]jPjQuh1j2hjhhhjhMkubj )}(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_schedule_irqoffasbuh1hhjubj")}(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)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhjhMkubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMkhjyhhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhj@hhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjhMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjAhNhNubj)}(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)}(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.chMohj_ubj)}(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.chMlhj~ubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj{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.chMnhj_ubjl)}(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.chMmhj_ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h3void netif_threaded_enable (struct net_device *dev)h]j )}(h2void netif_threaded_enable(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.chMgubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMgubj3)}(hnetif_threaded_enableh]j9)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMgubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.netif_threaded_enableasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMgubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMghjhhubjg)}(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.chMghjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.chMkhjubj)}(hhh]j)}(h/``struct net_device *dev`` net_device instance 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.chMhhjubj)}(hhh]jl)}(hnet_device instanceh]hnet_device instance}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhhj 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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjubjl)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjubjl)}(hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int queue_indexh](jM )}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`ubj")}(h h]h }(hjrhhhNhNubah}(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)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]j,c.netif_queue_set_napiasbuh1hhjubj")}(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 hjubj )}(hstruct napi_struct *napih](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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j,c.netif_queue_set_napiasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hjohhhNhNubah}(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)}(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.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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.chM|hjubj)}(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.chMyhjubj)}(hhh]jl)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(h,``unsigned int queue_index`` Index of queue h](j)}(h``unsigned int queue_index``h]j)}(hjh]hunsigned int queue_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.chMzhj ubj)}(hhh]jl)}(hIndex of queueh]hIndex of queue}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMzhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMzhjubj)}(h7``enum netdev_queue_type type`` queue type as RX or TX h](j)}(h``enum netdev_queue_type type``h]j)}(hjLh]henum netdev_queue_type type}(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)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahM{hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM{hjubj)}(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.chM|hjubj)}(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&]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)}(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)}(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.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_disable (C function)c.napi_disablehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h)void napi_disable (struct napi_struct *n)h]j )}(h(void napi_disable(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_disableh]j9)}(h napi_disableh]h napi_disable}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j j(sbc.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 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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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`` 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.chMhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(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}(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.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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_enable (C function) c.napi_enablehNtauh1hhjAhhhNhNubh)}(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.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h napi_enableh]j9)}(h napi_enableh]h napi_enable}(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 }(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 jsb c.napi_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)}(hjDh]hn}(hjhhhNhNubah}(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]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjzhhubjg)}(hhh]jl)}(henable NAPI schedulingh]henable NAPI scheduling}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjAhNhNubj)}(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)}(hjfh]h Parameters}(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.chMhj`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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj|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`ubjl)}(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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_has_upper_dev (C function)c.netdev_has_upper_devhNtauh1hhjAhhhNhNubh)}(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}(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)}(hnetdev_has_upper_devh]j9)}(hnetdev_has_upper_devh]hnetdev_has_upper_dev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMYubj )}(h6(struct net_device *dev, struct net_device *upper_dev)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.netdev_has_upper_devasbuh1hhj=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 )}(hstruct net_device *upper_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.netdev_has_upper_devasbuh1hhjubj")}(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 upper_devh]h upper_dev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(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,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjAhNhNubj)}(hXW**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 only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(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.chM]hjPubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjuh]hstruct net_device *dev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZhjoubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjlubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_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)}(hupper device to checkh]hupper device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjlubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjPubjl)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_has_upper_dev_all_rcu (C function)c.netdev_has_upper_dev_all_rcuhNtauh1hhjAhhhNhNubh)}(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}(hj. hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj* hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMpubj")}(h h]h }(hj< hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj* hhhj; hMpubj3)}(hnetdev_has_upper_dev_all_rcuh]j9)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hjN hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj* hhhj; hMpubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf ubj")}(h h]h }(hjw 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 )}j jP sbc.netdev_has_upper_dev_all_rcuasbuh1hhjf ubj")}(h h]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)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb 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_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)}(h upper_devh]h upper_dev}(hj3!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb ubeh}(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)}(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.chMphjZ!hhubah}(h]h ]h"]h$]h&]uh1jfhj# hhhj; hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjju!jju!jjjuh1hhhhjAhNhNubj)}(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.chMthjy!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.chMqhj!ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMqhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMqhj!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.chMrhj!ubj)}(hhh]jl)}(hupper device to checkh]hupper device to check}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMrhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMrhj!ubeh}(h]h ]h"]h$]h&]uh1jhjy!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.chMthjy!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.}(hj("hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjy!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_has_any_upper_dev (C function)c.netdev_has_any_upper_devhNtauh1hhjAhhhNhNubh)}(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}(hjW"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hje"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS"hhhjd"hMubj3)}(hnetdev_has_any_upper_devh]j9)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hjw"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjS"hhhjd"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 jy"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 hjS"hhhjd"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjO"hhhjd"hMubah}(h]jJ"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjd"hMhjL"hhubjg)}(hhh]jl)}(h(Check if device is linked to some deviceh]h(Check if device is linked to some 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&]uh1jfhjL"hhhjd"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.#jj.#jjjuh1hhhhjAhNhNubj)}(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)}(hj8#h]h Parameters}(hj:#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6#ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj2#ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjW#h]hstruct net_device *dev}(hjY#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjQ#ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjp#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl#hMhjm#ubah}(h]h ]h"]h$]h&]uh1jhjQ#ubeh}(h]h ]h"]h$]h&]uh1jhjl#hMhjN#ubah}(h]h ]h"]h$]h&]uh1jhj2#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.chMhj2#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.chMhj2#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhjAhhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhj#hhhj#hMubj")}(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)}(hnetdev_master_upper_dev_geth]j9)}(hj$h]hnetdev_master_upper_dev_get}(hj6$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj#hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjQ$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM$ubj")}(h h]h }(hj^$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjo$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjq$modnameN classnameNj j )}j ]j$c.netdev_master_upper_dev_getasbuh1hhjM$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM$ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjM$ubj9)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjI$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$jjjuh1hhhhjAhNhNubj)}(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)}(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 %ubah}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hjN%h]h Description}(hjP%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL%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.}(hjd%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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhjAhhhNhNubh)}(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.chMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj%hMubh)}(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%hMubj")}(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)}(hnetdev_upper_get_next_dev_rcuh]j9)}(hj%h]hnetdev_upper_get_next_dev_rcu}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj%hMubj )}(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%c.netdev_upper_get_next_dev_rcuasbuh1hhj &ubj")}(h h]h }(hjI&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj &ubj )}(hj h]h*}(hjW&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj &ubj9)}(hdevh]hdev}(hjd&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&]uh1jhjy&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy&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_rcuasbuh1hhjy&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&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjy&ubj9)}(hiterh]hiter}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy&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 Get the next dev from upper listh]h Get the next dev from upper list}(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#'jjjuh1hhhhjAhNhNubj)}(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)}(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)}(hjL'h]hstruct net_device *dev}(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.chMhjF'ubj)}(hhh]jl)}(hdeviceh]hdevice}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhja'hMhjb'ubah}(h]h ]h"]h$]h&]uh1jhjF'ubeh}(h]h ]h"]h$]h&]uh1jhja'hMhjC'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.chMhj'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'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjC'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.chMhj''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.chMhj''ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhjAhhhNhNubh)}(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}(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_next_privateh]j9)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hj3(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}(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)}(h net_deviceh]h net_device}(hjm(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo(modnameN classnameNj j )}j ]j )}j j5(sbc.netdev_lower_get_next_privateasbuh1hhjK(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)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjG(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*}(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 hjG(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)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjO)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjL)hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj(hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg)jjg)jjjuh1hhhhjAhNhNubj)}(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)}(hjq)h]h Parameters}(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.chM hjk)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&]uh1jhjk)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 hjk)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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjk)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhjAhhhNhNubh)}(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}(hjI*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjE*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!hjE*hhhjW*hM ubj )}(hj h]h*}(hjf*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjE*hhhjW*hM ubj3)}(h!netdev_lower_get_next_private_rcuh]j9)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hjw*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjE*hhhjW*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 jy*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}(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_private_rcuasbuh1hhj+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+ubj )}(hj h]h*}(hj\+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hiterh]hiter}(hji+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubeh}(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)}(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>*hhhjW*hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjAhNhNubj)}(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)}(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)}(hjH,h]h Description}(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 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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhjAhhhNhNubh)}(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}(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_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,ubj9)}(hdevh]hdev}(hj0-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hstruct list_head **iterh](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 list_headh]h list_head}(hjg-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji-modnameN classnameNj j )}j ]j-c.netdev_lower_get_nextasbuh1hhjE-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-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjE-ubj9)}(hiterh]hiter}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE-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}(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-jjjuh1hhhhjAhNhNubj)}(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)}(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}(hj1.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)}(hjQ.h]hstruct list_head **iter}(hjS.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjK.ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf.hM hjg.ubah}(h]h ]h"]h$]h&]uh1jhjK.ubeh}(h]h ]h"]h$]h&]uh1jhjf.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 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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhjAhhhNhNubh)}(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}(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_first_private_rcuh]j9)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(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}(hj9/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;/modnameN classnameNj j )}j ]j )}j j/sb$c.netdev_lower_get_first_private_rcuasbuh1hhj/ubj")}(h h]h }(hjY/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjg/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hdevh]hdev}(hjt/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)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->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/jjjuh1hhhhjAhNhNubj)}(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)}(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/ubah}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(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!hj/ubjl)}(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.}(hj00hhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhjAhhhNhNubh)}(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}(hj_0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[0hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!ubj")}(h h]h }(hjm0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[0hhhjl0hM!ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj~0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhj[0hhhjl0hM!ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[0hhhjl0hM!ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[0hhhjl0hM!ubj3)}(hnetdev_master_upper_dev_get_rcuh]j9)}(hj0h]hnetdev_master_upper_dev_get_rcu}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[0hhhjl0hM!ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j0!c.netdev_master_upper_dev_get_rcuasbuh1hhj0ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hj#1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hdevh]hdev}(hj01hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubah}(h]h ]h"]h$]h&]jPjQuh1j hj[0hhhjl0hM!ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjW0hhhjl0hM!ubah}(h]jR0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjl0hM!hjT0hhubjg)}(hhh]jl)}(hGet master upper deviceh]hGet master upper device}(hjZ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjW1hhubah}(h]h ]h"]h$]h&]uh1jfhjT0hhhjl0hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr1jjr1jjjuh1hhhhjAhNhNubj)}(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)}(hj|1h]h Parameters}(hj~1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz1ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjv1ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj1h]hstruct net_device *dev}(hj1hhhNhNubah}(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!hj1ubj)}(hhh]jl)}(hdeviceh]hdevice}(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&]uh1jhjv1ubjl)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(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!hjv1ubjl)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjv1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhjAhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj*2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj)2hM#ubj3)}(hnetdev_upper_dev_linkh]j9)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hj<2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj82ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj)2hM#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}(hjX2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT2ubj")}(h h]h }(hje2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT2ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjv2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx2modnameN classnameNj j )}j ]j )}j j>2sbc.netdev_upper_dev_linkasbuh1hhjT2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjT2ubj9)}(hdevh]hdev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjP2ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(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 ]j2c.netdev_upper_dev_linkasbuh1hhj2ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(h upper_devh]h upper_dev}(hj!3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjP2ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj:3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj63ubj")}(h h]h }(hjG3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj63ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjX3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ3modnameN classnameNj j )}j ]j2c.netdev_upper_dev_linkasbuh1hhj63ubj")}(h h]h }(hjv3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj63ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj63ubj9)}(hextackh]hextack}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj63ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjP2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj)2hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj)2hM#ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)2hM#hj2hhubjg)}(hhh]jl)}(hAdd a link to the upper deviceh]hAdd a link to the 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&]uh1jfhj2hhhj)2hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjAhNhNubj)}(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)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM#hj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hM#hj3ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj54h]hstruct net_device *upper_dev}(hj74hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj34ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj/4ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hjN4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ4hM#hjK4ubah}(h]h ]h"]h$]h&]uh1jhj/4ubeh}(h]h ]h"]h$]h&]uh1jhjJ4hM#hj3ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjn4h]hstruct netlink_ext_ack *extack}(hjp4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjh4ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM#hj4ubah}(h]h ]h"]h$]h&]uh1jhjh4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM#hj3ubeh}(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)}(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.}(hj4hhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhjAhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hM#ubj3)}(hnetdev_master_upper_dev_linkh]j9)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hM#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}(hj+5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'5ubj")}(h h]h }(hj85hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'5ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjI5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK5modnameN classnameNj j )}j ]j )}j j5sbc.netdev_master_upper_dev_linkasbuh1hhj'5ubj")}(h h]h }(hji5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'5ubj )}(hj h]h*}(hjw5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'5ubj9)}(hdevh]hdev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#5ubj )}(hstruct net_device *upper_devh](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 net_deviceh]h net_device}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]je5c.netdev_master_upper_dev_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)}(h upper_devh]h upper_dev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#5ubj )}(hvoid *upper_privh](jM )}(hvoidh]hvoid}(hj 6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 6ubj )}(hj h]h*}(hj)6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 6ubj9)}(h upper_privh]h upper_priv}(hj66hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#5ubj )}(hvoid *upper_infoh](jM )}(hvoidh]hvoid}(hjO6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjK6ubj")}(h h]h }(hj]6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK6ubj )}(hj h]h*}(hjk6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjK6ubj9)}(h upper_infoh]h upper_info}(hjx6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#5ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]je5c.netdev_master_upper_dev_linkasbuh1hhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hextackh]hextack}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hM#ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hM#hj4hhubjg)}(hhh]jl)}(h%Add a master link to the upper deviceh]h%Add a master link to the upper device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj7hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*7jj*7jjjuh1hhhhjAhNhNubj)}(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)}(hj47h]h Parameters}(hj67hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj27ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj.7ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjS7h]hstruct net_device *dev}(hjU7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjM7ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjl7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh7hM#hji7ubah}(h]h ]h"]h$]h&]uh1jhjM7ubeh}(h]h ]h"]h$]h&]uh1jhjh7hM#hjJ7ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj7h]hstruct net_device *upper_dev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj7ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM#hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM#hjJ7ubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hj7h]hvoid *upper_priv}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj7ubj)}(hhh]jl)}(hupper device privateh]hupper device private}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM#hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM#hjJ7ubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hj7h]hvoid *upper_info}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj7ubj)}(hhh]jl)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM#hj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hM#hjJ7ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj78h]hstruct netlink_ext_ack *extack}(hj98hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj58ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj18ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hjP8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjL8hM#hjM8ubah}(h]h ]h"]h$]h&]uh1jhj18ubeh}(h]h ]h"]h$]h&]uh1jhjL8hM#hjJ7ubeh}(h]h ]h"]h$]h&]uh1jhj.7ubjl)}(h**Description**h]j)}(hjr8h]h Description}(hjt8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp8ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!#hj.7ubjl)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM #hj.7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhjAhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW#ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hMW#ubj3)}(hnetdev_upper_dev_unlinkh]j9)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hMW#ubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(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 j8sbc.netdev_upper_dev_unlinkasbuh1hhj8ubj")}(h h]h }(hj29hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj@9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hdevh]hdev}(hjM9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hjf9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb9ubj")}(h h]h }(hjs9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb9ubh)}(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.9c.netdev_upper_dev_unlinkasbuh1hhjb9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb9ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjb9ubj9)}(h upper_devh]h upper_dev}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hMW#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hMW#ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMW#hj8hhubjg)}(hhh]jl)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW#hj9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hMW#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjAhNhNubj)}(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)}(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.chMX#hj":ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjA:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=:hMX#hj>:ubah}(h]h ]h"]h$]h&]uh1jhj":ubeh}(h]h ]h"]h$]h&]uh1jhj=:hMX#hj:ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hja:h]hstruct net_device *upper_dev}(hjc: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.chMY#hj[:ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hjz:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv:hMY#hjw:ubah}(h]h ]h"]h$]h&]uh1jhj[:ubeh}(h]h ]h"]h$]h&]uh1jhjv:hMY#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)}(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.chMZ#hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhjAhhhNhNubh)}(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}(hj;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&]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&]uh1j8hj9;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>;modnameN classnameNj j )}j ]j )}j j;sbc.netdev_bonding_info_changeasbuh1hhj;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;ubj9)}(hdevh]hdev}(hjw;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;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 ]jX;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 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!Dispatch event about slave changeh]h!Dispatch event about slave change}(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)<jjjuh1hhhhjAhNhNubj)}(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)}(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.chM#hj-<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.chM#hjL<ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjk<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg<hM#hjh<ubah}(h]h ]h"]h$]h&]uh1jhjL<ubeh}(h]h ]h"]h$]h&]uh1jhjg<hM#hjI<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#hjI<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)}(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#hj-<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhjAhhhNhNubh)}(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}(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_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhj=hhhj=hM$ubj")}(h h]h }(hjK=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM$ubj )}(hj h]h*}(hjY=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=hhhj=hM$ubj3)}(hnetdev_get_xmit_slaveh]j9)}(hjH=h]hnetdev_get_xmit_slave}(hjj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=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 ]jF=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}(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 ]jF=c.netdev_get_xmit_slaveasbuh1hhj=ubj")}(h h]h }(hj1>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}(hjL>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}=ubj )}(hbool all_slavesh](jM )}(hjh]hbool}(hje>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hja>ubj")}(h h]h }(hjr>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja>ubj9)}(h all_slavesh]h all_slaves}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja>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#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=hhhj=hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjAhNhNubj)}(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>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)}(h#``struct sk_buff *skb`` The packet 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj?ubj)}(hhh]jl)}(h The packeth]h The packet}(hj=?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9?hM$hj:?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj9?hM$hj>ubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hj]?h]hbool all_slaves}(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$hjW?ubj)}(hhh]jl)}(h assume all the slaves are activeh]h assume all the slaves are active}(hjv?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr?hM$hjs?ubah}(h]h ]h"]h$]h&]uh1jhjW?ubeh}(h]h ]h"]h$]h&]uh1jhjr?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)}(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. }(hj?hhhNhNubj)}(h``NULL``h]hNULL}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh" is returned if no slave is found.}(hj?hhhNhNubeh}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhjAhhhNhNubh)}(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?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_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhj?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_sk_get_lowest_devh]j9)}(hj,@h]hnetdev_sk_get_lowest_dev}(hjN@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hM$ubj )}(h)(struct net_device *dev, struct sock *sk)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*@c.netdev_sk_get_lowest_devasbuh1hhje@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@ubj )}(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*@c.netdev_sk_get_lowest_devasbuh1hhj@ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj#AhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hskh]hsk}(hj0AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hja@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)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hjZAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjWAhhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrAjjrAjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct sock *sk`` the socket **Description** ``NULL`` is returned if no lower device is found.h](jl)}(h**Parameters**h]j)}(hj|Ah]h Parameters}(hj~AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzAubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjvAubj)}(hhh](j)}(h"``struct net_device *dev`` 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjAubj)}(hhh]jl)}(hdeviceh]hdevice}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM$hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM$hjAubj)}(h``struct sock *sk`` the socket h](j)}(h``struct sock *sk``h]j)}(hjAh]hstruct sock *sk}(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 the socketh]h the socket}(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&]uh1jhjvAubjl)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjvAubjl)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hj)BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Bubh) is returned if no lower device is found.}(hj%BhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjvAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_lower_state_changed (C function)c.netdev_lower_state_changedhNtauh1hhjAhhhNhNubh)}(hhh](j)}(hVvoid netdev_lower_state_changed (struct net_device *lower_dev, void *lower_state_info)h]j )}(hUvoid netdev_lower_state_changed(struct net_device *lower_dev, void *lower_state_info)h](jM )}(hvoidh]hvoid}(hjbBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^BhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]%ubj")}(h h]h }(hjqBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^BhhhjpBhM]%ubj3)}(hnetdev_lower_state_changedh]j9)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^BhhhjpBhM]%ubj )}(h6(struct net_device *lower_dev, void *lower_state_info)h](j )}(hstruct net_device *lower_devh](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 net_deviceh]h net_device}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsbc.netdev_lower_state_changedasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(h lower_devh]h lower_dev}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(hvoid *lower_state_infoh](jM )}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj Cubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Cubj )}(hj h]h*}(hj-ChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Cubj9)}(hlower_state_infoh]hlower_state_info}(hj:ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^BhhhjpBhM]%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZBhhhjpBhM]%ubah}(h]jUBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjpBhM]%hjWBhhubjg)}(hhh]jl)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hjdChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]%hjaChhubah}(h]h ]h"]h$]h&]uh1jfhjWBhhhjpBhM]%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|Cjj|Cjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``struct net_device *lower_dev`` device ``void *lower_state_info`` state to dispatch **Description** Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa%hjCubj)}(hhh](j)}(h(``struct net_device *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hjCh]hstruct net_device *lower_dev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^%hjCubj)}(hhh]jl)}(hdeviceh]hdevice}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM^%hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM^%hjCubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hjCh]hvoid *lower_state_info}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_%hjCubj)}(hhh]jl)}(hstate to dispatchh]hstate to dispatch}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM_%hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM_%hjCubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa%hjCubjl)}(h_Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.h]h_Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.}(hj/DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`%hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_get_flags (C function)c.netif_get_flagshNtauh1hhjAhhhNhNubh)}(hhh](j)}(h;unsigned int netif_get_flags (const struct net_device *dev)h]j )}(h:unsigned int netif_get_flags(const struct net_device *dev)h](jM )}(hunsignedh]hunsigned}(hj^DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZDhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%ubj")}(h h]h }(hjmDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZDhhhjlDhM%ubjM )}(hinth]hint}(hj{DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZDhhhjlDhM%ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZDhhhjlDhM%ubj3)}(hnetif_get_flagsh]j9)}(hnetif_get_flagsh]hnetif_get_flags}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZDhhhjlDhM%ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](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 net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j jDsbc.netif_get_flagsasbuh1hhjDubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hdevh]hdev}(hj+EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hjZDhhhjlDhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVDhhhjlDhM%ubah}(h]jQDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlDhM%hjSDhhubjg)}(hhh]jl)}(hget flags reported to userspaceh]hget flags reported to userspace}(hjUEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjREhhubah}(h]h ]h"]h$]h&]uh1jfhjSDhhhjlDhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmEjjmEjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``const struct net_device *dev`` device **Description** Get the combination of flag bits exported through APIs to userspace.h](jl)}(h**Parameters**h]j)}(hjwEh]h Parameters}(hjyEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuEubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjqEubj)}(hhh]j)}(h(``const struct net_device *dev`` device h](j)}(h ``const struct net_device *dev``h]j)}(hjEh]hconst struct net_device *dev}(hjEhhhNhNubah}(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%hjEubj)}(hhh]jl)}(hdeviceh]hdevice}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM%hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM%hjEubah}(h]h ]h"]h$]h&]uh1jhjqEubjl)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjqEubjl)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjqEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netif_pre_changeaddr_notify (C function)c.netif_pre_changeaddr_notifyhNtauh1hhjAhhhNhNubh)}(hhh](j)}(hjint netif_pre_changeaddr_notify (struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h]j )}(hiint netif_pre_changeaddr_notify(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj")}(h h]h }(hj%FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhj$FhM&ubj3)}(hnetif_pre_changeaddr_notifyh]j9)}(hnetif_pre_changeaddr_notifyh]hnetif_pre_changeaddr_notify}(hj7FhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3Fubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhj$FhM&ubj )}(hJ(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjSFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOFubj")}(h h]h }(hj`FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOFubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjqFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsFmodnameN classnameNj j )}j ]j )}j j9Fsbc.netif_pre_changeaddr_notifyasbuh1hhjOFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOFubj9)}(hdevh]hdev}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKFubj )}(hconst char *addrh](j)}(hj h]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubjM )}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(haddrh]haddr}(hj GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKFubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj"GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hj/GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj@GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBGmodnameN classnameNj j )}j ]jFc.netif_pre_changeaddr_notifyasbuh1hhjGubj")}(h h]h }(hj^GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjlGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hextackh]hextack}(hjyGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKFubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhj$FhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhj$FhM&ubah}(h]j Fah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$FhM&hj Fhhubjg)}(hhh]jl)}(hCall NETDEV_PRE_CHANGEADDR.h]hCall NETDEV_PRE_CHANGEADDR.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjGhhubah}(h]h ]h"]h$]h&]uh1jfhj Fhhhj$FhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``const char *addr`` new address ``struct netlink_ext_ack *extack`` netlink extended ack **Return** 0 on success, -errno on failure.h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(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&hjGubj)}(hhh](j)}(h"``struct net_device *dev`` 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjGubj)}(hhh]jl)}(hdeviceh]hdevice}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM&hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM&hjGubj)}(h!``const char *addr`` new address h](j)}(h``const char *addr``h]j)}(hjHh]hconst char *addr}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjHubj)}(hhh]jl)}(h new addressh]h new address}(hj6HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2HhM&hj3Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj2HhM&hjGubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjVHh]hstruct netlink_ext_ack *extack}(hjXHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTHubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjPHubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hjoHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkHhM&hjlHubah}(h]h ]h"]h$]h&]uh1jhjPHubeh}(h]h ]h"]h$]h&]uh1jhjkHhM&hjGubeh}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h **Return**h]j)}(hjHh]hReturn}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjGubjl)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netif_get_port_parent_id (C function)c.netif_get_port_parent_idhNtauh1hhjAhhhNhNubh)}(hhh](j)}(heint netif_get_port_parent_id (struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h]j )}(hdint netif_get_port_parent_id(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](jM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi'ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhMi'ubj3)}(hnetif_get_port_parent_idh]j9)}(hnetif_get_port_parent_idh]hnetif_get_port_parent_id}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhMi'ubj )}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hj IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj1IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3ImodnameN classnameNj j )}j ]j )}j jHsbc.netif_get_port_parent_idasbuh1hhjIubj")}(h h]h }(hjQIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hj_IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hdevh]hdev}(hjlIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Iubj )}(h struct netdev_phys_item_id *ppidh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hnetdev_phys_item_idh]hnetdev_phys_item_id}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jMIc.netif_get_port_parent_idasbuh1hhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hppidh]hppid}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Iubj )}(h bool recurseh](jM )}(hjh]hbool}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj9)}(hrecurseh]hrecurse}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Iubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhMi'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhMi'ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMi'hjHhhubjg)}(hhh]jl)}(h'Get the device's port parent identifierh]h)Get the device’s port parent identifier}(hj:JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi'hj7Jhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhMi'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRJjjRJjjjuh1hhhhjAhNhNubj)}(hXA**Parameters** ``struct net_device *dev`` network device ``struct netdev_phys_item_id *ppid`` pointer to a storage for the port's parent identifier ``bool recurse`` allow/disallow recursion to lower devices **Description** Get the devices's port parent identifier. **Return** 0 on success, -errno on failure.h](jl)}(h**Parameters**h]j)}(hj\Jh]h Parameters}(hj^JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZJubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMm'hjVJubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj{Jh]hstruct net_device *dev}(hj}JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMj'hjuJubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMj'hjJubah}(h]h ]h"]h$]h&]uh1jhjuJubeh}(h]h ]h"]h$]h&]uh1jhjJhMj'hjrJubj)}(h[``struct netdev_phys_item_id *ppid`` pointer to a storage for the port's parent identifier h](j)}(h$``struct netdev_phys_item_id *ppid``h]j)}(hjJh]h struct netdev_phys_item_id *ppid}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk'hjJubj)}(hhh]jl)}(h5pointer to a storage for the port's parent identifierh]h7pointer to a storage for the port’s parent identifier}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMk'hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMk'hjrJubj)}(h;``bool recurse`` allow/disallow recursion to lower devices h](j)}(h``bool recurse``h]j)}(hjJh]h bool recurse}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl'hjJubj)}(hhh]jl)}(h)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMl'hjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjKhMl'hjrJubeh}(h]h ]h"]h$]h&]uh1jhjVJubjl)}(h**Description**h]j)}(hj(Kh]h Description}(hj*KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Kubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn'hjVJubjl)}(h)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hj>KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMm'hjVJubjl)}(h **Return**h]j)}(hjOKh]hReturn}(hjQKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMKubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMo'hjVJubjl)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjeKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMp'hjVJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_port_same_parent_id (C function)c.netdev_port_same_parent_idhNtauh1hhjAhhhNhNubh)}(hhh](j)}(hLbool netdev_port_same_parent_id (struct net_device *a, struct net_device *b)h]j )}(hKbool netdev_port_same_parent_id(struct net_device *a, struct net_device *b)h](jM )}(hjh]hbool}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM'ubj3)}(hnetdev_port_same_parent_idh]j9)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhM'ubj )}(h,(struct net_device *a, struct net_device *b)h](j )}(hstruct net_device *ah](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.netdev_port_same_parent_idasbuh1hhjKubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hah]ha}(hj)LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hstruct net_device *bh](j)}(hjh]hstruct}(hjBLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>Lubj")}(h h]h }(hjOLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>Lubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj`LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbLmodnameN classnameNj j )}j ]j Lc.netdev_port_same_parent_idasbuh1hhj>Lubj")}(h h]h }(hj~LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>Lubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>Lubj9)}(hj?h]hb}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Lubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhM'ubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM'hjKhhubjg)}(hhh]jl)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjAhNhNubj)}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjLubj)}(hhh](j)}(h.``struct net_device *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hjMh]hstruct net_device *a}(hjMhhhNhNubah}(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'hjLubj)}(hhh]jl)}(hfirst network deviceh]hfirst network device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM'hjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhM'hjLubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Mubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj6Mubj)}(hhh]jl)}(hsecond network deviceh]hsecond network device}(hjUMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjRMubah}(h]h ]h"]h$]h&]uh1jhj6Mubeh}(h]h ]h"]h$]h&]uh1jhjQMhM'hjLubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_update_features (C function)c.netdev_update_featureshNtauh1hhjAhhhNhNubh)}(hhh](j)}(h4void netdev_update_features (struct net_device *dev)h]j )}(h3void netdev_update_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ+ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjMhMZ+ubj3)}(hnetdev_update_featuresh]j9)}(hnetdev_update_featuresh]hnetdev_update_features}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhMZ+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jMsbc.netdev_update_featuresasbuh1hhjMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hdevh]hdev}(hj,NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhjMhMZ+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjMhMZ+ubah}(h]jMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhMZ+hjMhhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hjVNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ+hjSNhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjMhMZ+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnNjjnNjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate 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)}(h**Parameters**h]j)}(hjxNh]h Parameters}(hjzNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^+hjrNubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hjNh]hstruct net_device *dev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[+hjNubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM[+hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM[+hjNubah}(h]h ]h"]h$]h&]uh1jhjrNubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]+hjrNubj)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\+hjNubah}(h]h ]h"]h$]h&]uh1jhjNhM\+hjrNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhjAhhhNhNubh)}(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!OhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi+ubj")}(h h]h }(hj0OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhj/OhMi+ubj3)}(hnetdev_change_featuresh]j9)}(hnetdev_change_featuresh]hnetdev_change_features}(hjBOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhj/OhMi+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj^OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZOubj")}(h h]h }(hjkOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZOubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj|OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~OmodnameN classnameNj j )}j ]j )}j jDOsbc.netdev_change_featuresasbuh1hhjZOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZOubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZOubj9)}(hdevh]hdev}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVOubah}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhj/OhMi+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhj/OhMi+ubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/OhMi+hjOhhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi+hjOhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhj/OhMi+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjAhNhNubj)}(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)}(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.chMm+hjOubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj"Ph]hstruct net_device *dev}(hj$PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMj+hjPubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(hj;PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7PhMj+hj8Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj7PhMj+hjPubah}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h**Description**h]j)}(hj]Ph]h Description}(hj_PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Pubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl+hjOubj)}(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]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.}(hjwPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk+hjsPubah}(h]h ]h"]h$]h&]uh1jhjPhMk+hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_stacked_transfer_operstate (C function)"c.netif_stacked_transfer_operstatehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h`void netif_stacked_transfer_operstate (const struct net_device *rootdev, struct net_device *dev)h]j )}(h_void netif_stacked_transfer_operstate(const struct net_device *rootdev, struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz+ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjPhMz+ubj3)}(h netif_stacked_transfer_operstateh]j9)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjPhMz+ubj )}(h:(const struct net_device *rootdev, struct net_device *dev)h](j )}(h const struct net_device *rootdevh](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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj"QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$QmodnameN classnameNj j )}j ]j )}j jPsb"c.netif_stacked_transfer_operstateasbuh1hhjPubj")}(h h]h }(hjBQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hrootdevh]hrootdev}(hj]QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjvQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrQubh)}(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>Q"c.netif_stacked_transfer_operstateasbuh1hhjrQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrQubj9)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjPhMz+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjPhMz+ubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMz+hjPhhubjg)}(hhh]jl)}(htransfer operstateh]htransfer operstate}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz+hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjPhMz+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjAhNhNubj)}(hXr**Parameters** ``const struct net_device *rootdev`` the root or lower level device to transfer state from ``struct net_device *dev`` the device to transfer operstate to **Description** Transfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h](jl)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~+hjRubj)}(hhh](j)}(h[``const struct net_device *rootdev`` the root or lower level device to transfer state from h](j)}(h$``const struct net_device *rootdev``h]j)}(hj8Rh]h const struct net_device *rootdev}(hj:RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Rubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{+hj2Rubj)}(hhh]jl)}(h5the root or lower level device to transfer state fromh]h5the root or lower level device to transfer state from}(hjQRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMRhM{+hjNRubah}(h]h ]h"]h$]h&]uh1jhj2Rubeh}(h]h ]h"]h$]h&]uh1jhjMRhM{+hj/Rubj)}(h?``struct net_device *dev`` the device to transfer operstate to h](j)}(h``struct net_device *dev``h]j)}(hjqRh]hstruct net_device *dev}(hjsRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoRubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|+hjkRubj)}(hhh]jl)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM|+hjRubah}(h]h ]h"]h$]h&]uh1jhjkRubeh}(h]h ]h"]h$]h&]uh1jhjRhM|+hj/Rubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~+hjRubj)}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]jl)}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).}(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}+hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdevice (C function)c.register_netdevicehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h/int register_netdevice (struct net_device *dev)h]j )}(h.int register_netdevice(struct net_device *dev)h](jM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7,ubj")}(h h]h }(hj ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhj ShM7,ubj3)}(hregister_netdeviceh]j9)}(hregister_netdeviceh]hregister_netdevice}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhj ShM7,ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj8ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Subj")}(h h]h }(hjEShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Subh)}(hhh]j9)}(h net_deviceh]h net_device}(hjVShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXSmodnameN classnameNj j )}j ]j )}j jSsbc.register_netdeviceasbuh1hhj4Subj")}(h h]h }(hjvShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Subj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4Subj9)}(hdevh]hdev}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0Subah}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhj ShM7,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhj ShM7,ubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj ShM7,hjRhhubjg)}(hhh]jl)}(hregister a network deviceh]hregister a network device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7,hjShhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhj ShM7,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjAhNhNubj)}(hX3**Parameters** ``struct net_device *dev`` device to register **Description** Take a prepared network device structure and make it externally accessible. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.h](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(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.chM;,hjSubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hjSh]hstruct net_device *dev}(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.chM8,hjSubj)}(hhh]jl)}(hdevice to registerh]hdevice to register}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM8,hjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThM8,hjSubah}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hj7Th]h Description}(hj9ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Tubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:,hjSubjl)}(hTake a prepared network device structure and make it externally accessible. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.h](hNTake a prepared network device structure and make it externally accessible. A }(hjMThhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hjUThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMTubh message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.}(hjMThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9,hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdev (C function)c.register_netdevhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h,int register_netdev (struct net_device *dev)h]j )}(h+int register_netdev(struct net_device *dev)h](jM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjThM-ubj3)}(hregister_netdevh]j9)}(hregister_netdevh]hregister_netdev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjThM-ubj )}(h(struct net_device *dev)h]j )}(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}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j jTsbc.register_netdevasbuh1hhjTubj")}(h h]h }(hj UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hdevh]hdev}(hj$UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubah}(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)}(hregister a network deviceh]hregister a network device}(hjNUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjKUhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjThM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfUjjfUjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to register **Description** Take a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jl)}(h**Parameters**h]j)}(hjpUh]h Parameters}(hjrUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnUubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjjUubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hjUh]hstruct net_device *dev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjUubj)}(hhh]jl)}(hdevice to registerh]hdevice to register}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM-hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM-hjUubah}(h]h ]h"]h$]h&]uh1jhjjUubjl)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjjUubj)}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jl)}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.h](hQTake a completed network device structure and add it to the kernel interfaces. A }(hjUhhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjUubjl)}(hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h]hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjUubeh}(h]h ]h"]h$]h&]uh1jhjVhM-hjjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_stats (C function)c.dev_get_statshNtauh1hhjAhhhNhNubh)}(hhh](j)}(hdstruct rtnl_link_stats64 * dev_get_stats (struct net_device *dev, struct rtnl_link_stats64 *storage)h]j )}(hbstruct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j)}(hjh]hstruct}(hj:VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6VhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX.ubj")}(h h]h }(hjHVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6VhhhjGVhMX.ubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjYVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[VmodnameN classnameNj j )}j ]j )}j dev_get_statssbc.dev_get_statsasbuh1hhj6VhhhjGVhMX.ubj")}(h h]h }(hjzVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6VhhhjGVhMX.ubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6VhhhjGVhMX.ubj3)}(h dev_get_statsh]j9)}(hjwVh]h dev_get_stats}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6VhhhjGVhMX.ubj )}(h;(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]juVc.dev_get_statsasbuh1hhjVubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hdevh]hdev}(hj WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h!struct rtnl_link_stats64 *storageh](j)}(hjh]hstruct}(hj$WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Wubj")}(h h]h }(hj1WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Wubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjBWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDWmodnameN classnameNj j )}j ]juVc.dev_get_statsasbuh1hhj Wubj")}(h h]h }(hj`WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Wubj )}(hj h]h*}(hjnWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Wubj9)}(hstorageh]hstorage}(hj{WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6VhhhjGVhMX.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2VhhhjGVhMX.ubah}(h]j-Vah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGVhMX.hj/Vhhubjg)}(hhh]jl)}(hget network device statisticsh]hget network device statistics}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX.hjWhhubah}(h]h ]h"]h$]h&]uh1jfhj/VhhhjGVhMX.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *storage`` place to store stats **Description** Get 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)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\.hjWubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hjWh]hstruct net_device *dev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY.hjWubj)}(hhh]jl)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMY.hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMY.hjWubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hjXh]h!struct rtnl_link_stats64 *storage}(hj!XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ.hjXubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hj8XhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4XhMZ.hj5Xubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj4XhMZ.hjWubeh}(h]h ]h"]h$]h&]uh1jhjWubjl)}(h**Description**h]j)}(hjZXh]h Description}(hj\XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXXubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\.hjWubj)}(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 }(hjtXhhhNhNubj)}(h **storage**h]hstorage}(hj|XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtXubh. 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.}(hjtXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[.hjpXubah}(h]h ]h"]h$]h&]uh1jhjXhM[.hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhjAhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjXhM.ubj3)}(hdev_fetch_sw_netstatsh]j9)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjXhM.ubj )}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jXsbc.dev_fetch_sw_netstatsasbuh1hhjXubj")}(h h]h }(hj6YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjDYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hsh]hs}(hjQYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(h0const struct pcpu_sw_netstats __percpu *netstatsh](j)}(hj h]hconst}(hjjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfYubj")}(h h]h }(hjwYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfYubj)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfYubh)}(hhh]j9)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j2Yc.dev_fetch_sw_netstatsasbuh1hhjfYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfYubh__percpu}(hjfYhhhNhNubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfYubj9)}(hnetstatsh]hnetstats}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjXhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjXhM.ubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhM.hjXhhubjg)}(hhh]jl)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjXhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0Zjj0Zjjjuh1hhhhjAhNhNubj)}(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)}(hj:Zh]h Parameters}(hjstats 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.hjx\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&]uh1jhjx\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.hjx\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 }(hj+]hhhNhNubj)}(h**s**h]hs}(hj3]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+]ubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(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&]uh1jhjK]hM.hjx\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhjAhhhNhNubh)}(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}(hjr]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjn]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!hjn]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&]jPjQuh1j2hjn]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}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hjn]hhhj]hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjj]hhhj]hM.ubah}(h]je]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hM.hjg]hhubjg)}(hhh]jl)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hj2^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&]uh1jfhjg]hhhj]hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJ^jjJ^jjjuh1hhhhjAhNhNubj)}(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)}(hjT^h]h Parameters}(hjV^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR^ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjN^ubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hjs^h]hstruct net_device *dev}(hju^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq^ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjm^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&]uh1jhjm^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM.hjj^ubah}(h]h ]h"]h$]h&]uh1jhjN^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.hjN^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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjN^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhjAhhhNhNubh)}(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}(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 alloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhj^hhhj_hM.ubj")}(h h]h }(hj3_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj_hM.ubj )}(hj h]h*}(hjA_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^hhhj_hM.ubj3)}(halloc_netdev_mqsh]j9)}(hj0_h]halloc_netdev_mqs}(hjR_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj_hM.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}(hjm_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hji_ubj")}(h h]h }(hj{_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji_ubj9)}(h sizeof_privh]h sizeof_priv}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(hconst char *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)}(hnameh]hname}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(hunsigned char name_assign_typeh](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 )}(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_ubj9)}(hname_assign_typeh]hname_assign_type}(hj7`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(h!void (*setup)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjP`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjL`ubj")}(h h]h }(hj^`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL`ubj )}(hjOh]h(}(hjl`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubj )}(hj h]h*}(hjy`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubj9)}(hsetuph]hsetup}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL`ubj )}(hjxh]h)}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubj )}(hjOh]h(}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubj)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL`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.alloc_netdev_mqsasbuh1hhjL`ubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubj )}(hjxh]h)}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj aubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj aubjM )}(hinth]hint}(hj+ahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj aubj")}(h h]h }(hj9ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj aubj9)}(htxqsh]htxqs}(hjGahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hj`ahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\aubj")}(h h]h }(hjnahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\aubjM )}(hinth]hint}(hj|ahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\aubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\aubj9)}(hrxqsh]hrxqs}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_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)}(hallocate network deviceh]hallocate network device}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjahhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj_hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjAhNhNubj)}(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)}(hjah]h Parameters}(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.hjaubj)}(hhh](j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjbh]hint sizeof_priv}(hjbhhhNhNubah}(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.hjaubj)}(hhh]jl)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM.hjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhM.hjaubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:bubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj6bubj)}(hhh]jl)}(hdevice name format stringh]hdevice name format string}(hjUbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQbhM.hjRbubah}(h]h ]h"]h$]h&]uh1jhj6bubeh}(h]h ]h"]h$]h&]uh1jhjQbhM.hjaubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hjubh]hunsigned char name_assign_type}(hjwbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsbubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjobubj)}(hhh]jl)}(horigin of device nameh]horigin of device name}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM.hjbubah}(h]h ]h"]h$]h&]uh1jhjobubeh}(h]h ]h"]h$]h&]uh1jhjbhM.hjaubj)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hjbh]h"void (*setup)(struct net_device *)}(hjbhhhNhNubah}(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.hjbubj)}(hhh]jl)}(hcallback to initialize deviceh]hcallback to initialize device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM.hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM.hjaubj)}(h=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hjbh]hunsigned int txqs}(hjbhhhNhNubah}(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.hjbubj)}(hhh]jl)}(h&the number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM.hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM.hjaubj)}(h=``unsigned int rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hj ch]hunsigned int rxqs}(hj"chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjcubj)}(hhh]jl)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues to allocate}(hj9chhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5chM.hj6cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj5chM.hjaubeh}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hj[ch]h Description}(hj]chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjaubjl)}(hAllocates 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]hAllocates 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.}(hjqchhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfree_netdev (C function) c.free_netdevhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h)void free_netdev (struct net_device *dev)h]j )}(h(void free_netdev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjchhhNhNubah}(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 }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjchM/ubj3)}(h free_netdevh]j9)}(h free_netdevh]h free_netdev}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjchM/ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j jcsb c.free_netdevasbuh1hhjcubj")}(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)}(hdevh]hdev}(hj6dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjchM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjchM/ubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchM/hjchhubjg)}(hhh]jl)}(hfree network deviceh]hfree network device}(hj`dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj]dhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhjchM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxdjjxdjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device **Description** This function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h](jl)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj|dubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjdh]hstruct net_device *dev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjdubj)}(hhh]jl)}(hdeviceh]hdevice}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhM/hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM/hjdubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj|dubjl)}(hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h]hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj|dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_dummy (C function)c.alloc_netdev_dummyhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h8struct net_device * alloc_netdev_dummy (int sizeof_priv)h]j )}(h6struct net_device *alloc_netdev_dummy(int sizeof_priv)h](j)}(hjh]hstruct}(hj!ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj")}(h h]h }(hj/ehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhj.ehM/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj@ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBemodnameN classnameNj j )}j ]j )}j alloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhjehhhj.ehM/ubj")}(h h]h }(hjaehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhj.ehM/ubj )}(hj h]h*}(hjoehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjehhhj.ehM/ubj3)}(halloc_netdev_dummyh]j9)}(hj^eh]halloc_netdev_dummy}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|eubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhj.ehM/ubj )}(h(int sizeof_priv)h]j )}(hint sizeof_privh](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(h sizeof_privh]h sizeof_priv}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubah}(h]h ]h"]h$]h&]jPjQuh1j hjehhhj.ehM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhj.ehM/ubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.ehM/hjehhubjg)}(hhh]jl)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjehhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj.ehM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjAhNhNubj)}(h**Parameters** ``int sizeof_priv`` size of private data to allocate space for **Return** the allocated net_device on success, NULL otherwiseh](jl)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(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/hjeubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj"fh]hint sizeof_priv}(hj$fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj fubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjfubj)}(hhh]jl)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj;fhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7fhM/hj8fubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhj7fhM/hjfubah}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h **Return**h]j)}(hj]fh]hReturn}(hj_fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[fubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjeubjl)}(h3the allocated net_device on success, NULL otherwiseh]h3the allocated net_device on success, NULL otherwise}(hjsfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsynchronize_net (C function)c.synchronize_nethNtauh1hhjAhhhNhNubh)}(hhh](j)}(hvoid synchronize_net (void)h]j )}(hvoid synchronize_net(void)h](jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjfhM/ubj3)}(hsynchronize_neth]j9)}(hsynchronize_neth]hsynchronize_net}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjfhM/ubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubah}(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)}(h*Synchronize with packet receive processingh]h*Synchronize with packet receive processing}(hj ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjghhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjfhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!gjj!gjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``void`` no arguments **Description** Wait for packets currently being received to be done. Does not block later packets from starting.h](jl)}(h**Parameters**h]j)}(hj+gh]h Parameters}(hj-ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)gubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj%gubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjJgh]hvoid}(hjLghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHgubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjDgubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjcghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_ghKhj`gubah}(h]h ]h"]h$]h&]uh1jhjDgubeh}(h]h ]h"]h$]h&]uh1jhj_ghKhjAgubah}(h]h ]h"]h$]h&]uh1jhj%gubjl)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhj%gubj)}(haWait for packets currently being received to be done. Does not block later packets from starting.h]jl)}(haWait for packets currently being received to be done. Does not block later packets from starting.h]haWait for packets currently being received to be done. Does not block later packets from starting.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjgubah}(h]h ]h"]h$]h&]uh1jhjghM/hj%gubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'unregister_netdevice_queue (C function)c.unregister_netdevice_queuehNtauh1hhjAhhhNhNubh)}(hhh](j)}(hPvoid unregister_netdevice_queue (struct net_device *dev, struct list_head *head)h]j )}(hOvoid unregister_netdevice_queue(struct net_device *dev, struct list_head *head)h](jM )}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 0ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghM 0ubj3)}(hunregister_netdevice_queueh]j9)}(hunregister_netdevice_queueh]hunregister_netdevice_queue}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghM 0ubj )}(h0(struct net_device *dev, struct list_head *head)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj/hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1hmodnameN classnameNj j )}j ]j )}j jgsbc.unregister_netdevice_queueasbuh1hhj hubj")}(h h]h }(hjOhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hubj )}(hj h]h*}(hj]hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hubj9)}(hdevh]hdev}(hjjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj hubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj hubj )}(hstruct list_head *headh](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 list_headh]h list_head}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jKhc.unregister_netdevice_queueasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hheadh]hhead}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj hubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghM 0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjghM 0ubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghM 0hjghhubjg)}(hhh]jl)}(hremove device from the kernelh]hremove device from the kernel}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 0hjihhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghM 0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjAhNhNubj)}(hXk**Parameters** ``struct net_device *dev`` device ``struct list_head *head`` list **Description** This function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later. Callers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h](jl)}(h**Parameters**h]j)}(hj&ih]h Parameters}(hj(ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$iubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj iubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjEih]hstruct net_device *dev}(hjGihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 0hj?iubj)}(hhh]jl)}(hdeviceh]hdevice}(hj^ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZihM 0hj[iubah}(h]h ]h"]h$]h&]uh1jhj?iubeh}(h]h ]h"]h$]h&]uh1jhjZihM 0hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjLlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hdevh]hdev}(hjYlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhjkhM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjkhM0ubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhM0hjkhhubjg)}(hhh]jl)}(hremove device from the kernelh]hremove device from the kernel}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjlhhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjkhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjAhNhNubj)}(hX@**Parameters** ``struct net_device *dev`` device **Description** This function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjlubj)}(hhh]j)}(h"``struct net_device *dev`` 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjlubj)}(hhh]jl)}(hdeviceh]hdevice}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM0hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM0hjlubah}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjlh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjlubj)}(hThis function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jl)}(hRThis function shuts down a device interface and removes it from the kernel tables.h]hRThis function shuts down a device interface and removes it from the kernel tables.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjmubjl)}(hThis is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h]hThis is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.}(hj(mhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjmubeh}(h]h ]h"]h$]h&]uh1jhj'mhM0hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_increment_features (C function)c.netdev_increment_featureshNtauh1hhjAhhhNhNubh)}(hhh](j)}(hrnetdev_features_t netdev_increment_features (netdev_features_t all, netdev_features_t one, netdev_features_t mask)h]j )}(hqnetdev_features_t netdev_increment_features(netdev_features_t all, netdev_features_t one, netdev_features_t mask)h](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hj`mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmmodnameN classnameNj j )}j ]j )}j netdev_increment_featuressbc.netdev_increment_featuresasbuh1hhjYmhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYmhhhjmhM1ubj3)}(hnetdev_increment_featuresh]j9)}(hj~mh]hnetdev_increment_features}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYmhhhjmhM1ubj )}(hF(netdev_features_t all, netdev_features_t one, netdev_features_t mask)h](j )}(hnetdev_features_t allh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j|mc.netdev_increment_featuresasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hallh]hall}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(hnetdev_features_t oneh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j|mc.netdev_increment_featuresasbuh1hhjmubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(honeh]hone}(hj&nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(hnetdev_features_t maskh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjBnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDnmodnameN classnameNj j )}j ]j|mc.netdev_increment_featuresasbuh1hhj;nubj")}(h h]h }(hj`nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;nubj9)}(hmaskh]hmask}(hjnnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;nubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubeh}(h]h ]h"]h$]h&]jPjQuh1j hjYmhhhjmhM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUmhhhjmhM1ubah}(h]jPmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM1hjRmhhubjg)}(hhh]jl)}(hincrement feature set by oneh]hincrement feature set by one}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjnhhubah}(h]h ]h"]h$]h&]uh1jfhjRmhhhjmhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``netdev_features_t all`` current feature set ``netdev_features_t one`` new feature set ``netdev_features_t mask`` mask feature set **Description** Computes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjnubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hjnh]hnetdev_features_t all}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjnubj)}(hhh]jl)}(hcurrent feature seth]hcurrent feature set}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM1hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM1hjnubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hjoh]hnetdev_features_t one}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj oubj)}(hhh]jl)}(hnew feature seth]hnew feature set}(hj+ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'ohM1hj(oubah}(h]h ]h"]h$]h&]uh1jhj oubeh}(h]h ]h"]h$]h&]uh1jhj'ohM1hjnubj)}(h,``netdev_features_t mask`` mask feature set h](j)}(h``netdev_features_t mask``h]j)}(hjKoh]hnetdev_features_t mask}(hjMohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIoubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjEoubj)}(hhh]jl)}(hmask feature seth]hmask feature set}(hjdohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`ohM1hjaoubah}(h]h ]h"]h$]h&]uh1jhjEoubeh}(h]h ]h"]h$]h&]uh1jhj`ohM1hjnubeh}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjnubj)}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h]jl)}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](hBComputes a new feature set after adding a device with feature set }(hjohhhNhNubj)}(h**one**h]hone}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh/ to the master device with current feature set }(hjohhhNhNubj)}(h**all**h]hall}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh+. Will not enable anything that is off in }(hjohhhNhNubj)}(h**mask**h]hmask}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh. Returns the new feature set.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjoubah}(h]h ]h"]h$]h&]uh1jhjohM1hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1netdev_compute_master_upper_features (C function)&c.netdev_compute_master_upper_featureshNtauh1hhjAhhhNhNubh)}(hhh](j)}(hVvoid netdev_compute_master_upper_features (struct net_device *dev, bool update_header)h]j )}(hUvoid netdev_compute_master_upper_features(struct net_device *dev, bool update_header)h](jM )}(hvoidh]hvoid}(hj phhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjphM 2ubj3)}(h$netdev_compute_master_upper_featuresh]j9)}(h$netdev_compute_master_upper_featuresh]h$netdev_compute_master_upper_features}(hj,phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(pubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjphM 2ubj )}(h,(struct net_device *dev, bool update_header)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjHphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDpubj")}(h h]h }(hjUphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDpubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjfphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhpmodnameN classnameNj j )}j ]j )}j j.psb&c.netdev_compute_master_upper_featuresasbuh1hhjDpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDpubj9)}(hdevh]hdev}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@pubj )}(hbool update_headerh](jM )}(hjh]hbool}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(h update_headerh]h update_header}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@pubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjphM 2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjphM 2ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphM 2hjphhubjg)}(hhh]jl)}(hcompute feature from lowersh]hcompute feature from lowers}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hjphhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjphM 2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjAhNhNubj)}(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!qh]h Parameters}(hj#qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjqubj)}(hhh](j)}(h,``struct net_device *dev`` the upper device h](j)}(h``struct net_device *dev``h]j)}(hj@qh]hstruct net_device *dev}(hjBqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>qubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hj:qubj)}(hhh]jl)}(hthe upper deviceh]hthe upper device}(hjYqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUqhM 2hjVqubah}(h]h ]h"]h$]h&]uh1jhj:qubeh}(h]h ]h"]h$]h&]uh1jhjUqhM 2hj7qubj)}(hU``bool update_header`` whether to update upper device's header_len/headroom/tailroom h](j)}(h``bool update_header``h]j)}(hjyqh]hbool update_header}(hj{qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwqubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjsqubj)}(hhh]jl)}(h=whether to update upper device's header_len/headroom/tailroomh]h?whether to update upper device’s header_len/headroom/tailroom}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhM2hjqubah}(h]h ]h"]h$]h&]uh1jhjsqubeh}(h]h ]h"]h$]h&]uh1jhjqhM2hj7qubeh}(h]h ]h"]h$]h&]uh1jhjqubjl)}(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.chM2hjqubj)}(h@Recompute the upper device's feature based on all lower devices.h]jl)}(hjqh]hBRecompute the upper device’s feature based on all lower devices.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjqubah}(h]h ]h"]h$]h&]uh1jhjqhM2hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header (C function) c.eth_headerhNtauh1hhjAhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjrhKCubj3)}(h eth_headerh]j9)}(h eth_headerh]h eth_header}(hj#rhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjrhKCubj )}(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?rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;rubj")}(h h]h }(hjLrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;rubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj]rhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_rmodnameN classnameNj j )}j ]j )}j j%rsb c.eth_headerasbuh1hhj;rubj")}(h h]h }(hj}rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;rubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;rubj9)}(hskbh]hskb}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubj )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jyr c.eth_headerasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hj!shhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hj/shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hshorth]hshort}(hj=shhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjKshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(htypeh]htype}(hjYshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubj )}(hconst void *daddrh](j)}(hj h]hconst}(hjrshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnsubjM )}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnsubj9)}(hdaddrh]hdaddr}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubj )}(hconst void *saddrh](j)}(hj h]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hsaddrh]hsaddr}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj,thhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(tubj")}(h h]h }(hj:thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(tubjM )}(hinth]hint}(hjHthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(tubj")}(h h]h }(hjVthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(tubj9)}(hlenh]hlen}(hjdthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(tubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7rubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhjrhKCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjrhKCubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhKChjqhhubjg)}(hhh]jl)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChjthhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjrhKCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjAhNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjtubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjth]hstruct sk_buff *skb}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjtubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthKDhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKDhjtubj)}(h)``struct net_device *dev`` source device h](j)}(h``struct net_device *dev``h]j)}(hjuh]hstruct net_device *dev}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKEhjuubj)}(hhh]jl)}(h source deviceh]h source device}(hj!uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKEhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKEhjtubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjAuh]hunsigned short type}(hjCuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?uubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKFhj;uubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hjZuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVuhKFhjWuubah}(h]h ]h"]h$]h&]uh1jhj;uubeh}(h]h ]h"]h$]h&]uh1jhjVuhKFhjtubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjzuh]hconst void *daddr}(hj|uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjtuubj)}(hhh]jl)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKGhjuubah}(h]h ]h"]h$]h&]uh1jhjtuubeh}(h]h ]h"]h$]h&]uh1jhjuhKGhjtubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hjuh]hconst void *saddr}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhjuubj)}(hhh]jl)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKHhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKHhjtubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hjuh]hunsigned int len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhjuubj)}(hhh]jl)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhKIhjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhKIhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(h**Description**h]j)}(hj'vh]h Description}(hj)vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%vubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhjtubjl)}(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=vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhjAhhhNhNubh)}(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}(hjovhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqvmodnameN classnameNj j )}j ]j )}j eth_get_headlensbc.eth_get_headlenasbuh1hhjhvhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhvhhhjvhKuubj3)}(heth_get_headlenh]j9)}(hjvh]heth_get_headlen}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhvhhhjvhKuubj )}(h9(const struct net_device *dev, const void *data, u32 len)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jvc.eth_get_headlenasbuh1hhjvubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hj#whhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hdevh]hdev}(hj0whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hconst void *datah](j)}(hj h]hconst}(hjIwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEwubj")}(h h]h }(hjVwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEwubjM )}(hvoidh]hvoid}(hjdwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEwubj")}(h h]h }(hjrwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEwubj9)}(hdatah]hdata}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hu32 lenh](h)}(hhh]j9)}(hu32h]hu32}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jvc.eth_get_headlenasbuh1hhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hlenh]hlen}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhvhhhjvhKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdvhhhjvhKuubah}(h]j_vah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhKuhjavhhubjg)}(hhh]jl)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjavhhhjvhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjAhNhNubj)}(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!xh]h Parameters}(hj#xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjxubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hj@xh]hconst struct net_device *dev}(hjBxhhhNhNubah}(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.chKvhj:xubj)}(hhh]jl)}(hpointer to network deviceh]hpointer to network device}(hjYxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUxhKvhjVxubah}(h]h ]h"]h$]h&]uh1jhj:xubeh}(h]h ]h"]h$]h&]uh1jhjUxhKvhj7xubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjyxh]hconst void *data}(hj{xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjsxubj)}(hhh]jl)}(hpointer to start of frameh]hpointer to start of frame}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKwhjxubah}(h]h ]h"]h$]h&]uh1jhjsxubeh}(h]h ]h"]h$]h&]uh1jhjxhKwhj7xubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hjxh]hu32 len}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhjxubj)}(hhh]jl)}(htotal length of frameh]htotal length of frame}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKxhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKxhj7xubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjxubjl)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_type_trans (C function)c.eth_type_transhNtauh1hhjAhhhNhNubh)}(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}(hj5yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7ymodnameN classnameNj j )}j ]j )}j eth_type_transsbc.eth_type_transasbuh1hhj.yhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjWyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.yhhhjVyhKubj3)}(heth_type_transh]j9)}(hjSyh]heth_type_trans}(hjiyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.yhhhjVyhKubj )}(h-(struct sk_buff *skb, struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jQyc.eth_type_transasbuh1hhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hskbh]hskb}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|yubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jQyc.eth_type_transasbuh1hhjyubj")}(h h]h }(hj0zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hj>zhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hdevh]hdev}(hjKzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|yubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.yhhhjVyhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*yhhhjVyhKubah}(h]j%yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVyhKhj'yhhubjg)}(hhh]jl)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjuzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjrzhhubah}(h]h ]h"]h$]h&]uh1jfhj'yhhhjVyhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjAhNhNubj)}(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)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjzubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data h](j)}(h``struct sk_buff *skb``h]j)}(hjzh]hstruct sk_buff *skb}(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.chKhjzubj)}(hhh]jl)}(hreceived socket datah]hreceived socket data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjzubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hjzh]hstruct net_device *dev}(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.chKhjzubj)}(hhh]jl)}(hreceiving network deviceh]hreceiving network device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjzubeh}(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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjzubjl)}(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.chKhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_cache (C function)c.eth_header_cachehNtauh1hhjAhhhNhNubh)}(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}(hjo{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjk{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!hjk{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&]jPjQuh1j2hjk{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 }(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)}(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}(hj9|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5|ubj")}(h h]h }(hjF|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5|ubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hjW|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY|modnameN classnameNj j )}j ]j|c.eth_header_cacheasbuh1hhj5|ubj")}(h h]h }(hju|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5|ubj9)}(hhhh]hhh}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5|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}(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}{hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjg{hhhj}{hKubah}(h]jb{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}{hKhjd{hhubjg)}(hhh]jl)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(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&]uh1jfhjd{hhhj}{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjAhNhNubj)}(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)}(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)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjC}h]hconst struct neighbour *neigh}(hjE}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA}ubah}(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}(hj\}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjX}hKhjY}ubah}(h]h ]h"]h$]h&]uh1jhj=}ubeh}(h]h ]h"]h$]h&]uh1jhjX}hKhj:}ubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hj|}h]hstruct hh_cache *hh}(hj~}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjv}ubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjv}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj:}ubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hj}h]h __be16 type}(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)}(hEthernet type fieldh]hEthernet type field}(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&]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:95: ./net/ethernet/eth.chKhj}ubjl)}(h6Create an Ethernet header template from the neighbour.h]h6Create an Ethernet header template from the neighbour.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$eth_header_cache_update (C function)c.eth_header_cache_updatehNtauh1hhjAhhhNhNubh)}(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}(hj5~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1~hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjD~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1~hhhjC~hKubj3)}(heth_header_cache_updateh]j9)}(heth_header_cache_updateh]heth_header_cache_update}(hjV~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1~hhhjC~hKubj )}(hO(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hjr~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn~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 )}j jX~sbc.eth_header_cache_updateasbuh1hhjn~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjn~ubj9)}(hhhh]hhh}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj~ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j~c.eth_header_cache_updateasbuh1hhj~ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~ubj9)}(hdevh]hdev}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj~ubj )}(hconst unsigned char *haddrh](j)}(hj h]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hhaddrh]hhaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1~hhhjC~hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-~hhhjC~hKubah}(h]j(~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjC~hKhj*~hhubjg)}(hhh]jl)}(hupdate cache entryh]hupdate cache entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj*~hhhjC~hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.chKhjubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hj:h]hstruct hh_cache *hh}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj4ubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhj1ubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjsh]hconst struct net_device *dev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhj1ubj)}(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}(hjŀhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj€ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj1ubeh}(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.chKhjubjl)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhjAhhhNhNubh)}(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}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j eth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhj(hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhjPhMubj3)}(heth_header_parse_protocolh]j9)}(hjMh]heth_header_parse_protocol}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhjPhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj)}(hjh]hstruct}(hjhhhNhNubah}(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 ]jKc.eth_header_parse_protocolasbuh1hhjzubj")}(h h]h }(hjՁhhhNhNubah}(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 hjvubah}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhjPhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhjPhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMhj!hhubjg)}(hhh]jl)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(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!hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjAhNhNubj)}(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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj6ubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hj[h]hconst struct sk_buff *skb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjUubj)}(hhh]jl)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhjAhhhNhNubh)}(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 }(hjĂhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjÂhM ubj3)}(heth_prepare_mac_addr_changeh]j9)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjւhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj҂ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjÂhM ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j؂sbc.eth_prepare_mac_addr_changeasbuh1hhjubj")}(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 )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`ubj")}(h h]h }(hjrhhhNhNubah}(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}(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)}(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&]uh1jfhjhhhjÂhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj΃jj΃jjjuh1hhhhjAhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](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.chMhj҃ubj)}(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.chM hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hj0h]hvoid *p}(hj2hhhNhNubah}(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.chMhj*ubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubeh}(h]h ]h"]h$]h&]uh1jhj҃ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(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&]jPjQuh1j2hjhhhjhMubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjDŽ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_commit_mac_addr_changeasbuh1hhjÄ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 hjubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hj h]hp}(hjbhhhNhNubah}(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)}(hcommit mac changeh]hcommit mac change}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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.chMhjƅubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjƅubeh}(h]h ]h"]h$]h&]uh1jhjhMhjÅubj)}(h``void *p`` socket addressh](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}(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&]uh1jhjhM hjÅubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhjAhhhNhNubh)}(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}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhM*ubj3)}(h eth_mac_addrh]j9)}(h eth_mac_addrh]h eth_mac_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjmhM*ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_mac_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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *ph](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)}(hj h]hp}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjmhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhM*ubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM*hjThhubjg)}(hhh]jl)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*hj]hhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjmhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjAhNhNubj)}(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}(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.hj|ubj)}(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.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)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjڇh]hvoid *p}(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.chM,hjԇubj)}(hhh]jl)}(hsocket addressh]hsocket address}(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&]uh1jhj|ubjl)}(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.chM.hj|ubjl)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hj|ubjl)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM/hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhjAhhhNhNubh)}(hhh](j)}(h)void ether_setup (struct net_device *dev)h]j )}(h(void ether_setup(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjwhMQubj3)}(h ether_setuph]j9)}(h ether_setuph]h ether_setup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjwhMQubj )}(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 jsb c.ether_setupasbuh1hhjubj")}(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 hjehhhjwhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjwhMQubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhMQhj^hhubjg)}(hhh]jl)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQhj&hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhjwhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjAhNhNubj)}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjEubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjjh]hstruct net_device *dev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMRhjdubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjaubah}(h]h ]h"]h$]h&]uh1jhjEubjl)}(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.chMThjEubjl)}(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.chMShjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubh)}(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 alloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjhhhjhMjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMjubj3)}(halloc_etherdev_mqsh]j9)}(hj'h]halloc_etherdev_mqs}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMjubj )}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j )}(hint sizeof_privh](jM )}(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)}(h sizeof_privh]h sizeof_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubj )}(hunsigned int txqsh](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)}(htxqsh]htxqs}(hjъhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubj )}(hunsigned int rxqsh](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)}(hrxqsh]hrxqs}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMjubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMjubah}(h]j݉ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMjhj߉hhubjg)}(hhh]jl)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjhjIhhubah}(h]h ]h"]h$]h&]uh1jfhj߉hhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjAhNhNubj)}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjhubj)}(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)}(hjh]hint sizeof_priv}(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.chMlhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjNjh]hunsigned int txqs}(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.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&]uh1jkhj܋hMmhj݋ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj܋hMmhjubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hjh]hunsigned int rxqs}(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.chMnhjubj)}(hhh]jl)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjhubjl)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjhubjl)}(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.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(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&]jPjQuh1j2hjhhhjhMubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hǰhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȌubj")}(h h]h }(hjٌhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȌubh)}(hhh]j9)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.platform_get_ethdev_addressasbuh1hhjȌ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)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȌubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjČubj )}(hstruct net_device *netdevh](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 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.platform_get_ethdev_addressasbuh1hhj: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)}(hnetdevh]hnetdev}(hjhhhNhNubah}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj׍jj׍jjjuh1hhhhjAhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(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.chMhjۍubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjh]hstruct 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.chMhjubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hj9h]hstruct net_device *netdev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj3ubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubeh}(h]h ]h"]h$]h&]uh1jhjۍubjl)}(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.chMhjۍubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjۍubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhjAhhhNhNubh)}(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 }(hjȎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjǎhM>ubj3)}(hfwnode_get_mac_addressh]j9)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjڎhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֎ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjǎhM>ubj )}(h*(struct fwnode_handle *fwnode, char *addr)h](j )}(hstruct fwnode_handle *fwnodeh](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 fwnode_handleh]h fwnode_handle}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j܎sbc.fwnode_get_mac_addressasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfwnodeh]hfwnode}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(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)}(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&]uh1jfhjhhhjǎhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӏjjӏjjjuh1hhhhjAhNhNubj)}(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)}(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.chMBhj׏ubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjh]hstruct fwnode_handle *fwnode}(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)}(hPointer to the firmware nodeh]hPointer to the firmware node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hj5h]h char *addr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM@hj/ubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM@hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM@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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhj׏ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhj׏ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMGhj׏ubjl)}(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.chMKhj׏ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhjAhhhNhNubh)}(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}(hjӐhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϐhhhR/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!hjϐhhhjhM_ubj3)}(hdevice_get_mac_addressh]j9)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϐhhhjhM_ubj )}(h (struct device *dev, char *addr)h](j )}(hstruct device *devh](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)}(hdeviceh]hdevice}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j jsbc.device_get_mac_addressasbuh1hhj 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)}(hdevh]hdev}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h char *addrh](jM )}(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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(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)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hjՑhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM_hjґhhubah}(h]h ]h"]h$]h&]uh1jfhjȐhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(hv**Parameters** ``struct device *dev`` Pointer to the device ``char *addr`` Address of buffer to store the MAC inh](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.chMchjubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjh]hstruct 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.chM`hjubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(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)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjOh]h char *addr}(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.chMbhjIubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMahjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMbhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhjAhhhNhNubh)}(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&]uh1j8hjƒubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMmubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct 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)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j̒sbc.device_get_ethdev_addressasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj2hhhNhNubah}(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 net_device *netdevh](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 net_deviceh]h net_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j c.device_get_ethdev_addressasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hnetdevh]hnetdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(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)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjٓhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhj֓hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.chMqhjubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjh]hstruct 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.chMnhjubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMnhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMnhjubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjSh]hstruct net_device *netdev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjMubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMohjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMohjubeh}(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.chMqhjubjl)}(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.chMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhjAhhhNhNubh)}(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}(hjӔhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϔhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϔhhhjhMrubj3)}(hnetif_carrier_onh]j9)}(hnetif_carrier_onh]hnetif_carrier_on}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϔhhhjhMrubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j jsbc.netif_carrier_onasbuh1hhj 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)}(hdevh]hdev}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjϔhhhjhMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj˔hhhjhMrubah}(h]jƔah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMrhjȔhhubjg)}(hhh]jl)}(h set carrierh]h set carrier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jfhjȔhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjԕh]hstruct net_device *dev}(hj֕hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҕubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjΕubeh}(h]h ]h"]h$]h&]uh1jhjhMshj˕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&]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.}(hj%hhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhjAhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhMubj3)}(hnetif_carrier_offh]j9)}(hnetif_carrier_offh]hnetif_carrier_off}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhMubj )}(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 jwsbc.netif_carrier_offasbuh1hhjubj")}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhMubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjIhhubjg)}(hhh]jl)}(h clear carrierh]h clear carrier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjAhNhNubj)}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhj0ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjUh]hstruct net_device *dev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjOubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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**Description**h]j)}(hjh]h Description}(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.chMhj0ubjl)}(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.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1void netif_carrier_event (struct net_device *dev)h]j )}(h0void netif_carrier_event(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj՗hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjїhhhW/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!hjїhhhjhMubj3)}(hnetif_carrier_eventh]j9)}(hnetif_carrier_eventh]hnetif_carrier_event}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjїhhhjhMubj )}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jsbc.netif_carrier_eventasbuh1hhjubj")}(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 ubah}(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)}(hreport carrier state eventh]hreport carrier state event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjʗhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hj֘h]hstruct net_device *dev}(hjؘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԘubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjИubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(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)}(hjh]h Description}(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.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.}(hj'hhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhjAhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjchKRubj3)}(his_link_local_ether_addrh]j9)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjchKRubj )}(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 jxsbc.is_link_local_ether_addrasbuh1hhjubj")}(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjchKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjchKRubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchKRhjKhhubjg)}(hhh]jl)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRhjhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjchKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjAhNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKVhj1ubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjVh]hconst u8 *addr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKShjPubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKShjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKShjMubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(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.hhKUhj1ubjl)}(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.hhKUhj1ubjl)}(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.hhKXhj1ubjl)}(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.hhKWhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKiubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hKiubj3)}(his_zero_ether_addrh]j9)}(his_zero_ether_addrh]his_zero_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hKiubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hu8h]hu8}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.is_zero_ether_addrasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hKiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hKiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hKihjhhubjg)}(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&]uh1jfhjhhhj hKiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjԛjjԛjjjuh1hhhhjAhNhNubj)}(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)}(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:101: ./include/linux/etherdevice.hhKmhj؛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)}(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.hhKjhjubj)}(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&]uh1jkhjhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKjhjubah}(h]h ]h"]h$]h&]uh1jhj؛ubjl)}(h **Return**h]j)}(hj8h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhj؛ubjl)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhj؛ubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(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.hhKnhj؛ubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhj؛ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhjAhhhNhNubh)}(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 hjhhh\/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!hjhhhjhK|ubj3)}(his_multicast_ether_addrh]j9)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjĜhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK|ubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](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)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jƜsbc.is_multicast_ether_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)}(haddrh]haddr}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܜubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj؜ubah}(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)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hj`hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjAhNhNubj)}(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)}(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)}(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}hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjubah}(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: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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhjAhhhNhNubh)}(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}(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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj1hKubj3)}(his_local_ether_addrh]j9)}(his_local_ether_addrh]his_local_ether_addr}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj1hKubj )}(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 }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hu8h]hu8}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.is_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj1hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hKhjhhubjg)}(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).}(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&]uh1jfhjhhhj1hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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&]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&]uh1jkhj9hKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj_h]hReturn}(hjahhhNhNubah}(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)}(h'true if the address is a local address.h]h'true if the address is a local address.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhjAhhhNhNubh)}(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 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_broadcast_ether_addrh]j9)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjğhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܟubj")}(h h]h }(hjhhhNhNubah}(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 jƟsbc.is_broadcast_ether_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)}(haddrh]haddr}(hj9hhhNhNubah}(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)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjchhhNhNubah}(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&]jjjj{jj{jjjuh1hhhhjAhNhNubj)}(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)}(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)}(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&]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:101: ./include/linux/etherdevice.hhKhjubjl)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(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.hhKhjubjl)}(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.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhjAhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjXhKubj3)}(his_unicast_ether_addrh]j9)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjXhKubj )}(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 jmsbc.is_unicast_ether_addrasbuh1hhjubj")}(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjXhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjXhKubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhKhj@hhubjg)}(hhh]jl)}(h,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(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&]uh1jfhj@hhhjXhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjAhNhNubj)}(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)}(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.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)}(hjKh]hconst u8 *addr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjEubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hKhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjBubah}(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 unicast address.h]h)true if the address is a unicast 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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhjAhhhNhNubh)}(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 hjǢhhh\/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!hjǢhhhjآhKubj3)}(his_valid_ether_addrh]j9)}(his_valid_ether_addrh]his_valid_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjǢhhhjآhKubj )}(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}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsbc.is_valid_ether_addrasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjǢhhhjآhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjâhhhjآhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjآhKhjhhubjg)}(hhh]jl)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(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&]uh1jfhjhhhjآhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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&]uh1jhjɣubah}(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**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.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.}(hjhhhNhNubah}(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.hhKhjubjl)}(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.hhKhjubjl)}(htrue if the address is valid.h]htrue if the address is valid.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhjAhhhNhNubh)}(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 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)}(heth_proto_is_802_3h]j9)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhKubj )}(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 reftargetj¤modnameN 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}(hjhhhNhNubah}(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 jYjZhjyhhhjhKubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjvhhubjg)}(hhh]jl)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(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&]uh1jfhjvhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjAhNhNubj)}(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)}(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.hhKhj4ubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjYh]h __be16 proto}(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.hhKhjSubj)}(hhh]jl)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhKhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjPubah}(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:101: ./include/linux/etherdevice.hhKhj4ubjl)}(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.hhKhj4ubjl)}(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.hhKhj4ubjl)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjѥhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhjAhhhNhNubh)}(hhh](j)}(hvoid eth_random_addr (u8 *addr)h]j )}(hvoid eth_random_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_random_addrh]j9)}(heth_random_addrh]heth_random_addr}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j j#sbc.eth_random_addrasbuh1hhj9ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(haddrh]haddr}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(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)}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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&]uh1jhjhKhjݦubah}(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&]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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h"void eth_broadcast_addr (u8 *addr)h]j )}(h!void eth_broadcast_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjthKubj3)}(heth_broadcast_addrh]j9)}(heth_broadcast_addrh]heth_broadcast_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjthKubj )}(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 jsbc.eth_broadcast_addrasbuh1hhjubj")}(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjthKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjthKubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthKhj[hhubjg)}(hhh]jl)}(hAssign broadcast addressh]hAssign broadcast address}(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&]uh1jfhj[hhhjthKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjAhNhNubj)}(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)}(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.hhKhj'ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjLh]hu8 *addr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjFubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahKhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKhjCubah}(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.hhKhj'ubjl)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhjAhhhNhNubh)}(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 hjȨhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjۨhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȨhhhjڨhMubj3)}(h eth_zero_addrh]j9)}(h eth_zero_addrh]h eth_zero_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjȨhhhjڨhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_zero_addrasbuh1hhjubj")}(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}(hjGhhhNhNubah}(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ڨhMhjhhubjg)}(hhh]jl)}(hAssign zero addressh]hAssign zero address}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjnhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjڨhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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&]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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhjAhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hM ubj3)}(heth_hw_addr_randomh]j9)}(heth_hw_addr_randomh]heth_hw_addr_random}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hM ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.eth_hw_addr_randomasbuh1hhjkubj")}(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}(hjȪhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(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>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(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'hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjAhNhNubj)}(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)}(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 net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hj3h]hstruct net_device *dev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hj-ubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhjAhhhNhNubh)}(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 }(hjثhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj׫hMubj3)}(heth_hw_addr_crch]j9)}(hjԫh]heth_hw_addr_crc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj׫hMubj )}(h(struct netdev_hw_addr *ha)h]j )}(hstruct netdev_hw_addr *hah](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetdev_hw_addrh]hnetdev_hw_addr}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]jҫc.eth_hw_addr_crcasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(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)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(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&]uh1jfhjhhhj׫hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjǬh]hstruct netdev_hw_addr *ha}(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.hhMhjubj)}(hhh]jl)}(hpointer to hardware addressh]hpointer to hardware address}(hjhhhNhNubah}(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&]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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhjAhhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhM(ubj3)}(hether_addr_copyh]j9)}(hether_addr_copyh]hether_addr_copy}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhM(ubj )}(h(u8 *dst, const u8 *src)h](j )}(hu8 *dsth](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsbc.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}(hj­hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h const u8 *srch](j)}(hj h]hconst}(hjۭhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj׭ubj")}(h h]h }(hjhhhNhNubah}(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_copyasbuh1hhj׭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)}(hsrch]hsrc}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׭ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhM(ubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhM(hj<hhubjg)}(hhh]jl)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hjYhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjAhNhNubj)}(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)}(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:101: ./include/linux/etherdevice.hhM,hjxubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjh]hu8 *dst}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hj֮h]h const u8 *src}(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)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(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&]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:101: ./include/linux/etherdevice.hhM,hjxubjl)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhjAhhhNhNubh)}(hhh](j)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]j )}(hubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjdhM>ubj3)}(heth_hw_addr_seth]j9)}(heth_hw_addr_seth]heth_hw_addr_set}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjdhM>ubj )}(h((struct net_device *dev, const u8 *addr)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 jysbc.eth_hw_addr_setasbuh1hhjubj")}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]jͯc.eth_hw_addr_setasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjdhM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjdhM>ubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM>hjKhhubjg)}(hhh]jl)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(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&]uh1jfhjKhhhjdhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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:101: ./include/linux/etherdevice.hhM?hjubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(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%``const u8 *addr`` address to assign 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.hhM@hjubj)}(hhh]jl)}(haddress to assignh]haddress to assign}(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&]uh1jhj9ubah}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhjAhhhNhNubh)}(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 hj|hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMJubj3)}(heth_hw_addr_inherith]j9)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMJubj )}(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}(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_inheritasbuh1hhjubj")}(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)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *srch](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 ]jc.eth_hw_addr_inheritasbuh1hhj+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)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMJubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMJhjuhhubjg)}(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&]uh1jfhjuhhhjhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȲjjȲjjjuh1hhhhjAhNhNubj)}(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)}(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.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)}(hjh]hstruct net_device *dst}(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.hhMKhjubj)}(hhh]jl)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hG``struct net_device *src`` pointer to net_device to copy dev_addr from h](j)}(h``struct net_device *src``h]j)}(hj*h]hstruct net_device *src}(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.hhMLhj$ubj)}(hhh]jl)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMLhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMLhjubeh}(h]h ]h"]h$]h&]uh1jhj̲ubjl)}(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.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).}(hj{hhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhjAhhhNhNubh)}(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&]uh1j8hjƳubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMYubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j̳sbc.ether_addr_equalasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr1h]haddr1}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj޳ubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hu8h]hu8}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j c.ether_addr_equalasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj޳ubeh}(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)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjٴhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYhjִhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address 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.hhMZhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMZhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMZhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjSh]hconst u8 *addr2}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM[hjMubj)}(hhh]jl)}(hbool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2)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.hhMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj޵hhhjhMqubj3)}(hether_addr_equal_64bitsh]j9)}(hether_addr_equal_64bitsh]hether_addr_equal_64bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj޵hhhjhMqubj )}(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 }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equal_64bitsasbuh1hhjubj")}(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)}(haddr1h]haddr1}(hjwhhhNhNubah}(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 }(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 ]jXc.ether_addr_equal_64bitsasbuh1hhjubj")}(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)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj޵hhhjhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjڵhhhjhMqubah}(h]jյah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMqhj׵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.hhMqhjhhubah}(h]h ]h"]h$]h&]uh1jfhj׵hhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjAhNhNubj)}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhj-ubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes h](j)}(h``const u8 *addr1``h]j)}(hjRh]hconst u8 *addr1}(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.hhMrhjLubj)}(hhh]jl)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMrhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMrhjIubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes 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.hhMshjubj)}(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&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjIubeh}(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.hhMuhj-ubjl)}(hGCompare two Ethernet addresses, returns true if equal, false otherwise.h]hGCompare two Ethernet addresses, returns true if equal, false otherwise.}(hjܷhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthj-ubjl)}(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 }}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMvhj-ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMzhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhjAhhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMubj3)}(hether_addr_equal_unalignedh]j9)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj6hMubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsbc.ether_addr_equal_unalignedasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hj׸hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӸubj")}(h h]h }(hjhhhNhNubah}(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_unalignedasbuh1hhjӸ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)}(haddr2h]haddr2}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӸubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubeh}(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)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjUhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjAhNhNubj)}(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)}(hjzh]h Parameters}(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.hhMhjtubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address 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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address 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.hhMhj̹ubj)}(hhh]jl)}(hubah}(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.hhMhj"ubjl)}(ha u64 value of the addressh]ha u64 value of the address}(hjhhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hu64_to_ether_addr (C function)c.u64_to_ether_addrhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h(void u64_to_ether_addr (u64 u, u8 *addr)h]j )}(h'void u64_to_ether_addr(u64 u, 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.hhMubj")}(h h]h }(hj־hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjþhhhjվhMubj3)}(hu64_to_ether_addrh]j9)}(hu64_to_ether_addrh]hu64_to_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjþhhhjվhMubj )}(h(u64 u, u8 *addr)h](j )}(hu64 uh](h)}(hhh]j9)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.u64_to_ether_addrasbuh1hhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(huh]hu}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j#c.u64_to_ether_addrasbuh1hhjJubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(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%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet 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&]uh1jfhjhhhjվhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̿jj̿jjjuh1hhhhjAhNhNubj)}(h**Parameters** ``u64 u`` u64 to convert to an Ethernet MAC address ``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](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)}(h4``u64 u`` u64 to convert to an Ethernet MAC address h](j)}(h ``u64 u``h]j)}(hjh]hu64 u}(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)u64 to convert to an Ethernet MAC addressh]h)u64 to convert to an Ethernet MAC address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hH``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](j)}(h ``u8 *addr``h]j)}(hj.h]hu8 *addr}(hj0hhhNhNubah}(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 to contain the Ethernet addressh]h;Pointer to a six-byte array to contain the Ethernet address}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubeh}(h]h ]h"]h$]h&]uh1jhjпubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_dec (C function)c.eth_addr_dechNtauh1hhjAhhhNhNubh)}(hhh](j)}(hvoid eth_addr_dec (u8 *addr)h]j )}(hvoid eth_addr_dec(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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_addr_dech]j9)}(h eth_addr_dech]h eth_addr_dec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsbc.eth_addr_decasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj}hhubjg)}(hhh]jl)}(hDecrement the given MAC addressh]hDecrement the given MAC address}(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&]uh1jfhj}hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjAhNhNubj)}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](jl)}(h**Parameters**h]j)}(hjOh]h Parameters}(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.hhMhjIubj)}(hhh]j)}(hQ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](j)}(h ``u8 *addr``h]j)}(hjnh]hu8 *addr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhubj)}(hhh]jl)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_inc (C function)c.eth_addr_inchNtauh1hhjAhhhNhNubh)}(hhh](j)}(hvoid eth_addr_inc (u8 *addr)h]j )}(hvoid eth_addr_inc(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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_addr_inch]j9)}(h eth_addr_inch]h eth_addr_inc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 reftargetj modnameN classnameNj j )}j ]j )}j jsbc.eth_addr_incasbuh1hhjubj")}(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)}(haddrh]haddr}(hjChhhNhNubah}(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 Increment the given MAC address.h]h Increment the given MAC address.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.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)}(hR``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.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)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_add (C function)c.eth_addr_addhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h)void eth_addr_add (u8 *addr, long offset)h]j )}(h(void eth_addr_add(u8 *addr, long offset)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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_addr_addh]j9)}(h eth_addr_addh]h eth_addr_add}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(u8 *addr, long offset)h](j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j j+sbc.eth_addr_addasbuh1hhjAubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(h long offseth](jM )}(hlongh]hlong}(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=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:Add (or subtract) an offset to/from the given MAC address.h]h:Add (or subtract) an offset to/from the given MAC 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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment. ``long offset`` Offset to add.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)}(hS``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment. 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.hhMhjubj)}(hhh]jl)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h``long offset`` Offset to add.h](j)}(h``long offset``h]j)}(hj\h]h long offset}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjVubj)}(hhh]jl)}(hOffset to add.h]hOffset to add.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_etherdev_addr (C function)c.is_etherdev_addrhNtauh1hhjAhhhNhNubh)}(hhh](j)}(hJbool is_etherdev_addr (const struct net_device *dev, const u8 addr[6 + 2])h]j )}(hIbool is_etherdev_addr(const struct net_device *dev, const u8 addr[6 + 2])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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(his_etherdev_addrh]j9)}(his_etherdev_addrh]his_etherdev_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h4(const struct net_device *dev, const u8 addr[6 + 2])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}(hj hhhNhNubah}(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.is_etherdev_addrasbuh1hhjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 addr[6 + 2]h](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)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jGc.is_etherdev_addrasbuh1hhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubj )}(h[h]h[}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubhdesc_sig_literal_number)}(h6h]h6}(hjhhhNhNubah}(h]h ]mah"]h$]h&]uh1jhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj)}(h2h]h2}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj )}(h]h]h]}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{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)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjAhNhNubj)}(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)}(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:101: ./include/linux/etherdevice.hhMhjwubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(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.hhMhjwubjl)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjwubjl)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhjAhhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhM.ubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhjrhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhM.ubj3)}(hcompare_ether_headerh]j9)}(hcompare_ether_headerh]hcompare_ether_header}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjrhM.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 }(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)}(hj+Lh]ha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const void *bh](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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj?h]hb}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhjrhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhjrhM.ubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhM.hjYhhubjg)}(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&]uh1jfhjYhhhjrhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjh]h const void *b}(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.hhM0hjubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(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)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhjAhhhNhNubh)}(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 hj|hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMSubj3)}(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&]jPjQuh1j2hj|hhhjhMSubj )}(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 }(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.eth_hw_addr_genasbuh1hhjubj")}(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 hjubj )}(hconst u8 *base_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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jc.eth_hw_addr_genasbuh1hhj+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)}(h base_addrh]h base_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(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 hj|hhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMSubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjuhhubjg)}(hhh]jl)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMShjhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.hhMWhjubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjBh]hstruct net_device *dev}(hjDhhhNhNubah}(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.hhMThj<ubj)}(hhh]jl)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMThjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMThj9ubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hj{h]hconst u8 *base_addr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhjuubj)}(hhh]jl)}(hbase Ethernet addressh]hbase Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj9ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj9ubeh}(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.hhMXhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhjAhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjBhMhubj3)}(heth_skb_pkt_typeh]j9)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMhubj )}(h3(struct sk_buff *skb, const struct net_device *dev)h](j )}(hstruct sk_buff *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.eth_skb_pkt_typeasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(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 }(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 ]jc.eth_skb_pkt_typeasbuh1hhjubj")}(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 hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhjBhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjBhMhubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhhj)hhubjg)}(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.hhMhhj|hhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(hjhhhNhNubah}(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)}(hj h]hconst struct 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:101: ./include/linux/etherdevice.hhMjhjubj)}(hhh]jl)}(h5Network device used to compare packet address againsth]h5Network device used to compare packet address against}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMjhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMjhjubeh}(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&]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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.eth_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}(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]j~ah ](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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjAhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjgubj)}(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&]uh1jhjgubjl)}(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.hhMhjgubjl)}(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.hhMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhjAhhhNhNubh)}(hhh](j)}(hgro_nodeh]j )}(hstruct gro_nodeh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgro_nodeh]j9)}(hjh]hgro_node}(hj,hhhNhNubah}(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,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjfjjfjjjuh1hhhhjAhNhNubj)}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh:}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjjubj)}(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.hhMghjjubjl)}(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.hhMohjjubj)}(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)}(hjh]hhash}(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)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hj;h]hrx_list}(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.hhMehj5ubj)}(hhh]jl)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjThhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh skbs}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjPhMehjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMehjubj)}(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)}(hjh]hcached_napi_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.hhMfhjubj)}(hhh]jl)}(h9napi_struct::napi_id cached for hotpath, 0 for standaloneh]h9napi_struct::napi_id cached for hotpath, 0 for standalone}(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&]uh1jhjhMfhjubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhjAhhhNhNubh)}(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}(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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj4hMubj3)}(hnapi_is_scheduledh]j9)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj4hMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jIsbc.napi_is_scheduledasbuh1hhj_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 hj[ubah}(h]h ]h"]h$]h&]jPjQuh1j hj#hhhj4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMhjhhubjg)}(hhh]jl)}(htest if NAPI is scheduledh]htest if NAPI is scheduled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjh]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.hhMhjubj)}(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.hhMhj ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h*bool napi_schedule (struct napi_struct *n)h]j )}(h)bool napi_schedule(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.hhM'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM'ubj3)}(h napi_scheduleh]j9)}(h napi_scheduleh]h napi_schedule}(hj hhhNhNubah}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j j sbc.napi_scheduleasbuh1hhj#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)}(hjDh]hn}(hjhhhNhNubah}(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&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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)}(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.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjubjl)}(h **Return**h]j)}(hjLh]hReturn}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(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.}(hjbhhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhjAhhhNhNubh)}(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}(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_schedule_irqoffasbuh1hhjubj")}(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)}(hjDh]hn}(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)}(hschedule NAPI pollh]hschedule NAPI poll}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjlubj)}(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&]uh1jhjlubjl)}(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>hjlubjl)}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMGubj3)}(hnapi_complete_doneh]j9)}(hnapi_complete_doneh]hnapi_complete_done}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMGubj )}(h&(struct napi_struct *n, int work_done)h](j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j j3sbc.napi_complete_doneasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(h int work_doneh](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 work_doneh]h work_done}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhjhMGubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMGhjhhubjg)}(hhh]jl)}(hNAPI processing completeh]hNAPI processing complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.hhMKhj 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.hhMHhj?ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMHhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMHhj<ubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hj~h]h int work_done}(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.hhMIhjxubj)}(hhh]jl)}(hnumber of packets processedh]hnumber of packets processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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}(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.hhMNhj ubjl)}(h1false if device should avoid rearming interrupts.h]h1false if device should avoid rearming interrupts.}(hjhhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h3void napi_synchronize (const struct napi_struct *n)h]j )}(h2void napi_synchronize(const struct napi_struct *n)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.hhMbubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj3hMbubj3)}(hnapi_synchronizeh]j9)}(hnapi_synchronizeh]hnapi_synchronize}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj3hMbubj )}(h(const struct napi_struct *n)h]j )}(hconst struct napi_struct *nh](j)}(hj h]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hjohhhNhNubah}(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)}(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 jHsbc.napi_synchronizeasbuh1hhj^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 hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj3hMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj3hMbubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMbhjhhubjg)}(hhh]jl)}(hwait until NAPI is not runningh]hwait until NAPI is not running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj3hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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}(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.hhMfhjubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hj@h]hconst struct napi_struct *n}(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.hhMchj:ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMchjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMchj7ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubjl)}(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.hhMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhjAhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMsubj3)}(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&]jPjQuh1j2hjhhhjhMsubj )}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_if_scheduled_mark_missedasbuh1hhjubj")}(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)}(hjDh]hn}(hjUhhhNhNubah}(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.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshj{hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(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.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhjAhhhNhNubh)}(hhh](j)}(hnetdev_priv_flagsh]j )}(henum netdev_priv_flagsh](j)}(hjh]henum}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjLhM|ubj3)}(hnetdev_priv_flagsh]j9)}(hj9h]hnetdev_priv_flags}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjLhM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjLhM|ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhM|hj4hhubjg)}(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 j9sbc.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.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjLhM|ubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(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)}(hjh]h Constants}(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.hhMhjubj)}(hhh](j)}(h'``IFF_802_1Q_VLAN`` 802.1Q VLAN device h](j)}(h``IFF_802_1Q_VLAN``h]j)}(hjh]hIFF_802_1Q_VLAN}(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)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``IFF_EBRIDGE`` Ethernet bridging device h](j)}(h``IFF_EBRIDGE``h]j)}(hj"h]h IFF_EBRIDGE}(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)}(hEthernet bridging deviceh]hEthernet bridging device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hj[h]h IFF_BONDING}(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)}(hbonding master or slaveh]hbonding master or slave}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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)}(hjh]h IFF_WAN_HDLC}(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)}(hWAN HDLC deviceh]hWAN HDLC device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst h](j)}(h``IFF_XMIT_DST_RELEASE``h]j)}(hjh]hIFF_XMIT_DST_RELEASE}(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)}(h4dev_hard_start_xmit() is allowed to release skb->dsth]h4dev_hard_start_xmit() is allowed to release skb->dst}(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&]uh1jhjhMhjubj)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hj@h]hIFF_DONT_BRIDGE}(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)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hjyh]hIFF_DISABLE_NETPOLL}(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)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(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}(hjhhhNhNubah}(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)}(hjh]hIFF_BRIDGE_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 bridge porth]hdevice used as bridge port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hj$h]hIFF_OVS_DATAPATH}(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)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hj]h]hIFF_TX_SKB_SHARING}(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.hhMhjWubj)}(hhh]jl)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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&]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 team porth]hdevice used as team port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``IFF_SUPP_NOFCS`` device supports sending custom FCS h](j)}(h``IFF_SUPP_NOFCS``h]j)}(hjh]hIFF_SUPP_NOFCS}(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"device supports sending custom FCSh]h"device supports sending custom FCS}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hS``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running h](j)}(h``IFF_LIVE_ADDR_CHANGE``h]j)}(hjAh]hIFF_LIVE_ADDR_CHANGE}(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)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(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&]uh1jhjVhMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hj{h]h IFF_MACVLAN}(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)}(hMacvlan deviceh]hMacvlan device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(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}(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&]uh1jhjhMhjubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hjh]hIFF_L3MDEV_MASTER}(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 an L3 master deviceh]hdevice is an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hj'h]h IFF_NO_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)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hj@hhhNhNubah}(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)}(hj`h]hIFF_OPENVSWITCH}(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.hhMhjZubj)}(hhh]jl)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hdevice is a team deviceh]hdevice is a team device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj h]hIFF_PHONY_HEADROOM}(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`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)}(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 hMhjubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjEh]h IFF_MACSEC}(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)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hj~h]hIFF_NO_RX_HANDLER}(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)}(h*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hjh]hIFF_FAILOVER_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.hhM hjubj)}(hhh]jl)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hj)h]hIFF_L3MDEV_RX_HANDLER}(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.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjbh]hIFF_NO_ADDRCONF}(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)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(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&]uh1jhjAhhhNhNubjl)}(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.hhMhjAhhubjl)}(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 }(hjhhhNhNubh)}(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 jj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubh, 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjAhhubjl)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhjAhhhNhNubh)}(hhh](j)}(h net_deviceh]j )}(hstruct net_deviceh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhZ/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!hjIhhhjZhMubj3)}(h net_deviceh]j9)}(hjGh]h net_device}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhjZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhjZhMubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhMhjBhhubjg)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjZhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjAhNhNubj)}(hXh**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; 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 ``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; 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; 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[]; };}hjsbah}(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.hhMQhjubj)}(hhh](j)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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)}(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)}(hj5h]h priv_flags}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hj/ubj)}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM%hjubj)}(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)}(hjoh]hlltx}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(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.hhM)hjubj)}(hhh]jl)}(hdevice netmem TX modeh]hdevice netmem TX mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hjh]h netdev_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.hhM`hjubj)}(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}(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`hjubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hjh]h header_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)}(hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.h]hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMjhjubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hjVh]h_tx}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPubj)}(hhh]jl)}(hArray of TX queuesh]hArray of TX queues}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(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.hhMLhjubj)}(hhh]jl)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(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}(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 TX queues currently active in deviceh]h.Number of TX queues currently active in device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``gso_max_size`` Maximum size of generic segmentation offload h](j)}(h``gso_max_size``h]j)}(hjh]h gso_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.hhMhjubj)}(hhh]jl)}(h,Maximum size of generic segmentation offloadh]h,Maximum size of generic segmentation offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hj:h]hgso_ipv4_max_size}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj4ubj)}(hhh]jl)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjubj)}(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)}(hjth]h gso_max_segs}(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.hhMhjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhM hjubj)}(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&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``mtu`` Interface MTU value h](j)}(h``mtu``h]j)}(hjh]hmtu}(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 MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(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}(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.hhM}hjubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM}hjubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjZh]h tc_to_txq}(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.hhM hjTubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjubj)}(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&]uh1jhjhMhjubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjh]hnf_hooks_egress}(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 egress packetsh]h+netfilter hooks executed for egress packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``tcx_egress`` BPF & clsact qdisc specific data for egress processing h](j)}(h``tcx_egress``h]j)}(hjh]h tcx_egress}(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)}(h6BPF & clsact qdisc specific data for egress processingh]h6BPF & clsact qdisc specific data for egress processing}(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)}(hj>h]h{unnamed_union}}(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.hhKhj8ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhjubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hjwh]hlstats}(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)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h=``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes h](j)}(h ``dstats``h]j)}(hjh]hdstats}(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)}(h1Dummy statistics: RX/TX/drop packets, RX/TX bytesh]h1Dummy statistics: RX/TX/drop packets, RX/TX bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hj"h]hstate}(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.hhM6hjubj)}(hhh]jl)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM6hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM6hjubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hj[h]hflags}(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.hhMlhjUubj)}(hhh]jl)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMlhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMlhjubj)}(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.hhMyhjubj)}(hhh]jl)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(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)}(hjh]hpcpu_stat_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)}(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.}(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&]uh1jhjhMhjubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjh]hfeatures}(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.hhM@hjubj)}(hhh]jl)}(h Currently active device featuresh]h Currently active device features}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h``ip6_ptr`` IPv6 specific data h](j)}(h ``ip6_ptr``h]j)}(hj@h]hip6_ptr}(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)}(hIPv6 specific datah]hIPv6 specific data}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjyh]hxdp_prog}(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)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhM=hjubj)}(hhh]jl)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h``ifindex`` interface index h](j)}(h ``ifindex``h]j)}(hjh]hifindex}(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)}(hinterface indexh]hinterface index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hj$h]hreal_num_rx_queues}(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.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hj]h]h_rx}(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.hhMhjWubj)}(hhh]jl)}(hArray of RX queuesh]hArray of RX queues}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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.hhM@hjubj)}(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.hhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubj)}(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.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hj h]h rx_handler}(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)}(hhandler for received packetsh]hhandler for received packets}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``rx_handler_data`` XXX: need comments on this one h](j)}(h``rx_handler_data``h]j)}(hjCh]hrx_handler_data}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hj|h]hnd_net}(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)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(hH``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing h](j)}(h``tcx_ingress``h]j)}(hjh]h tcx_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)}(h7BPF & clsact qdisc specific data for ingress processingh]h7BPF & clsact qdisc specific data for ingress processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj6h]hname}(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.hhM-hj0ubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM-hjubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjph]h name_node}(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.hhM/hjjubj)}(hhh]jl)}(hName hashlist nodeh]hName hashlist node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(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.hhM0hjubj)}(hhh]jl)}(h SNMP aliash]h SNMP alias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h``mem_end`` Shared memory end h](j)}(h ``mem_end``h]j)}(hjh]hmem_end}(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.hhM1hjubj)}(hhh]jl)}(hShared memory endh]hShared memory end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hjh]h mem_start}(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.hhM2hjubj)}(hhh]jl)}(hShared memory starth]hShared memory start}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM2hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM2hjubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjTh]h base_addr}(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.hhM3hjNubj)}(hhh]jl)}(hDevice I/O addressh]hDevice I/O address}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM3hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM3hjubj)}(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.hhM7hjubj)}(hhh]jl)}(h"The global list of network devicesh]h"The global list of network devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(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.hhM8hjubj)}(hhh]jl)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hd``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev h](j)}(h``unreg_list``h]j)}(hjh]h unreg_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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hj9h]h close_list}(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.hhM;hj3ubj)}(hhh]jl)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM;hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM;hjubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjrh]h ptype_all}(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.hhM<hjlubj)}(hhh]jl)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjh]hadj_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)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h8``xdp_features`` XDP capability supported by the device h](j)}(h``xdp_features``h]j)}(hjh]h xdp_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&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(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.hhMahjubj)}(hhh]jl)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMahj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMahjubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjVh]hxsk_tx_metadata_ops}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjPubj)}(hhh]jl)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMbhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMbhjubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hjh]hgflags}(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.hhMnhjubj)}(hhh]jl)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(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)}(hjh]hneeded_tailroom}(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)}(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}(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&]uh1jhjhMhjubj)}(h)``hw_features`` User-changeable features h](j)}(h``hw_features``h]j)}(hjh]h hw_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.hhMAhjubj)}(hhh]jl)}(hUser-changeable featuresh]hUser-changeable features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hj;h]hwanted_features}(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.hhMChj5ubj)}(hhh]jl)}(hUser-requested featuresh]hUser-requested features}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMChjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMChjubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjth]h vlan_features}(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.hhMDhjnubj)}(hhh]jl)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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)}(hjh]hhw_enc_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.hhMIhjubj)}(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.}(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&]uh1jhjhMIhjubj)}(h7``mpls_features`` Mask of features inheritable by MPLS h](j)}(h``mpls_features``h]j)}(hjh]h mpls_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.hhMKhjubj)}(hhh]jl)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hf``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. h](j)}(h``mangleid_features``h]j)}(hj h]hmangleid_features}(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.hhMNhjubj)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMNhjubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjZh]hmin_mtu}(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.hhMvhjTubj)}(hhh]jl)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMvhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMvhjubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hjh]hmax_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.hhMwhjubj)}(hhh]jl)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjh]htype}(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)}(hInterface hardware typeh]hInterface hardware type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h2``min_header_len`` Minimum hardware header length h](j)}(h``min_header_len``h]j)}(hjh]hmin_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.hhMzhjubj)}(hhh]jl)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hj>h]hname_assign_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.hhMhj8ubj)}(hhh]jl)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hjwh]hgroup}(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.hhMQhjqubj)}(hhh]jl)}(hThe group the device belongs toh]hThe group the device belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hjh]hstats}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hjh]h core_stats}(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)}(h4core networking counters, do not use this in driversh]h4core networking counters, do not use this in drivers}(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&]uh1jhjhMWhjubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hj$h]hcarrier_up_count}(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.hhMXhjubj)}(hhh]jl)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMXhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMXhjubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hj]h]hcarrier_down_count}(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.hhMYhjWubj)}(hhh]jl)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMYhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMYhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjubj)}(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.}(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]hjubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjh]h ethtool_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.hhMchjubj)}(hhh]jl)}(hManagement operationsh]hManagement operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hj h]h l3mdev_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.hhMdhjubj)}(hhh]jl)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjBh]h ndisc_ops}(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.hhMfhj<ubj)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMfhjubj)}(h2``xfrmdev_ops`` Transformation offload operations h](j)}(h``xfrmdev_ops``h]j)}(hj|h]h xfrmdev_ops}(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.hhMghjvubj)}(hhh]jl)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjh]h tlsdev_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.hhMhhjubj)}(hhh]jl)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hjh]h operstate}(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.hhMqhjubj)}(hhh]jl)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hj'h]h link_mode}(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)}(hMapping policy to operstateh]hMapping policy to operstate}(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$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hj`h]hif_port}(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.hhMshjZubj)}(hhh]jl)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMshjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMshjubj)}(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.hhMthjubj)}(hhh]jl)}(h DMA channelh]h DMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjh]h perm_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)}(hPermanent hw addressh]hPermanent hw address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hj h]haddr_assign_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.hhMhjubj)}(hhh]jl)}(hHw address assignment typeh]hHw address assignment type}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hjDh]haddr_len}(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)}(hHardware address lengthh]hHardware address length}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hj}h]h upper_level}(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.hhMhjwubj)}(hhh]jl)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjh]h lower_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 lower devices.h]h%Maximum depth level of lower devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hjh]hthreaded}(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)}(hnapi threaded state.h]hnapi threaded state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hj(h]hneigh_priv_len}(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)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjah]hdev_id}(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)}(hDUsed to differentiate devices that share the same link layer addressh]hDUsed to differentiate devices that share the same link layer address}(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&]uh1jhjvhMhjubj)}(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}(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&]uh1jhjhMhjubj)}(h``irq`` Device IRQ number h](j)}(h``irq``h]j)}(hjh]hirq}(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.hhM4hjubj)}(hhh]jl)}(hDevice IRQ numberh]hDevice IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjubj)}(hhh]jl)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMohj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMohjubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hjGh]haddr_list_lock}(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)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hjh]huc}(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)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjh]hmc}(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)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hjh]h dev_addrs}(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 device hw addressesh]hlist of device hw addresses}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hj+h]h queues_kset}(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-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(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)}(hjdh]h unlink_list}(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.hhM>hj^ubj)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM>hjubj)}(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}(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&]uh1jhjhMhjubj)}(h<``allmulti`` Counter, enables or disables allmulticast mode h](j)}(h ``allmulti``h]j)}(hjh]hallmulti}(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.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhj ubj)}(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()}(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&hMhjubj)}(h:``work_node`` List entry for async netdev_work processing h](j)}(h ``work_node``h]j)}(hjKh]h work_node}(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)}(h+List entry for async netdev_work processingh]h+List entry for async netdev_work processing}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjubj)}(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.hhMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hd``work_pending`` Driver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched()) h](j)}(h``work_pending``h]j)}(hjh]h work_pending}(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)}(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())}(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&]uh1jhjhMhjubj)}(hG``work_core_pending`` Core-defined pending netdev_work (NETDEV_WORK_*) h](j)}(h``work_core_pending``h]j)}(hjh]hwork_core_pending}(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)}(h0Core-defined pending netdev_work (NETDEV_WORK_*)h]h0Core-defined pending netdev_work (NETDEV_WORK_*)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hB``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work h](j)}(h``rx_mode_addr_cache``h]j)}(hj0h]hrx_mode_addr_cache}(hj2hhhNhNubah}(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*Recycled snapshot entries for rx_mode workh]h*Recycled snapshot entries for rx_mode work}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(hH``rx_mode_retry_timer`` Timer that re-queues rx_mode work after failure h](j)}(h``rx_mode_retry_timer``h]j)}(hjih]hrx_mode_retry_timer}(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)}(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&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hS``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. h](j)}(h``nested_level``h]j)}(hjh]h nested_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.hhM<hjubj)}(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.}(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<hjubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjNh]h fib_nh_head}(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.hhM2 hjHubj)}(hhh]jl)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchM2 hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM2 hjubj)}(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&]uh1jhjhMhjubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hjh]hdsa_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)}(hdsa specific datah]hdsa specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``tipc_ptr`` TIPC specific data h](j)}(h ``tipc_ptr``h]j)}(hjh]htipc_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)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hj2h]h ieee80211_ptr}(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)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjkh]hieee802154_ptr}(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)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``mpls_ptr`` mpls_dev struct pointer h](j)}(h ``mpls_ptr``h]j)}(hjh]hmpls_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)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``mctp_ptr`` MCTP specific data h](j)}(h ``mctp_ptr``h]j)}(hjh]hmctp_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)}(hMCTP specific datah]hMCTP specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjPh]hdev_addr}(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)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubj)}(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&]uh1jhjhMhjubj)}(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)}(hjh]hxdp_zc_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.hhMDhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h1``ingress_queue`` XXX: need comments on this one h](j)}(h``ingress_queue``h]j)}(hjh]h ingress_queue}(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&]uh1jhjhMhjubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hj7h]hnf_hooks_ingress}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1ubj)}(hhh]jl)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hjph]h broadcast}(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)}(hhw bcast addressh]hhw bcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]h rx_cpu_rmap}(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)}(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}(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&]uh1jhjhMhjubj)}(h(``index_hlist`` Device index hash chain h](j)}(h``index_hlist``h]j)}(hjh]h index_hlist}(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 index hash chainh]hDevice index hash chain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjUh]hqdisc}(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.hhMhjOubj)}(hhh]jl)}(h'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h.``tx_queue_len`` Max frames per queue allowed h](j)}(h``tx_queue_len``h]j)}(hjh]h tx_queue_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)}(hMax frames per queue allowedh]hMax frames per queue allowed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``tx_global_lock`` XXX: need comments on this one h](j)}(h``tx_global_lock``h]j)}(hjh]htx_global_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&]uh1jhjhMhjubj)}(h$``xdp_bulkq`` XDP device bulk queue h](j)}(h ``xdp_bulkq``h]j)}(hjh]h xdp_bulkq}(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)}(hXDP device bulk queueh]hXDP device bulk queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hj9h]h qdisc_hash}(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)}(hqdisc hash tableh]hqdisc hash table}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hjrh]hwatchdog_timer}(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)}(hList of timersh]hList of timers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hjh]hwatchdog_timeo}(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)}(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())}(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&]uh1jhjhMhjubj)}(h,``watchdog_lock`` protect watchdog_ref_held h](j)}(h``watchdog_lock``h]j)}(hjh]h watchdog_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)}(hprotect watchdog_ref_heldh]hprotect watchdog_ref_held}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``watchdog_ref_held`` True if the watchdog device ref is taken. h](j)}(h``watchdog_ref_held``h]j)}(hjh]hwatchdog_ref_held}(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)True if the watchdog device ref is taken.h]h)True if the watchdog device ref is taken.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjWh]hproto_down_reason}(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)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hjh]h todo_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)}(hDelayed register/unregisterh]hDelayed register/unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjh]h pcpu_refcnt}(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 references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hjh]h dev_refcnt}(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 references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hj;h]hrefcnt_tracker}(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.hhMhj5ubj)}(hhh]jl)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjth]hlink_watch_list}(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.hhMhjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hjh]h reg_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.hhMhjubj)}(hhh]jl)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hjh]h dismantle}(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 going to be freedh]hDevice is going to be freed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hjh]h moving_ns}(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.hhM hjubj)}(hhh]jl)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hj8hhhNhNubj)}(h**lock**h]hlock}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jkhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hjfh]hrtnl_link_initializing}(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.hhM hj`ubj)}(hhh]jl)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(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=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hjh]hneeds_free_netdev}(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&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjh]hpriv_destructor}(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)}(hCalled from unregisterh]hCalled from unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hjh]hml_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.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&hMhjubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjJh]h ml_priv_type}(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)}(hMid-layer private typeh]hMid-layer private type}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(h``garp_port`` GARP h](j)}(h ``garp_port``h]j)}(hjh]h garp_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.hhMhj}ubj)}(hhh]jl)}(hGARPh]hGARP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjh]hmrp_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)}(hMRPh]hMRP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hjh]h dm_private}(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)}(hDrop monitor privateh]hDrop monitor private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hj.h]hdev}(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.hhMhj(ubj)}(hhh]jl)}(hClass/net/name entryh]hClass/net/name entry}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hjgh]h sysfs_groups}(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?Space for optional device, statistics and wireless sysfs groupsh]h?Space for optional device, statistics and wireless sysfs groups}(hjhhhNhNubah}(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&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hjh]hsysfs_rx_queue_group}(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*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjh]h rtnl_link_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.hhMhjubj)}(hhh]jl)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhj 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( hMhj) ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj( hMhjubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hjL h]hqueue_mgmt_ops}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjF ubj)}(hhh]jl)}(h!Optional ops for queue managementh]h!Optional ops for queue management}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhja hMhjb ubah}(h]h ]h"]h$]h&]uh1jhjF ubeh}(h]h ]h"]h$]h&]uh1jhja hMhjubj)}(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.hhMhj 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 hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hj h]h tso_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.hhMhj 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}(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/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hj h]h dcbnl_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 Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(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/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hj0 h]h prio_tc_map}(hj2 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}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjE hMhjF ubah}(h]h ]h"]h$]h&]uh1jhj* ubeh}(h]h ]h"]h$]h&]uh1jhjE hMhjubj)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hji h]h fcoe_ddp_xid}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjc 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&]uh1jhjc ubeh}(h]h ]h"]h$]h&]uh1jhj~ hMhjubj)}(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}(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<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hj h]h link_topo}(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 link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(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) hMhjubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hjN h]hsfp_bus}(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)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(hjg hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjq h]hstruct sfp_bus}(hjs hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjc hMhjg ubh structure.}(hjg hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjc hMhjd ubah}(h]h ]h"]h$]h&]uh1jhjH ubeh}(h]h ]h"]h$]h&]uh1jhjc hMhjubj)}(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.hhMhj ubj)}(hhh]jl)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(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``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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(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.}(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 hMhjubj)}(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)}(hj h]hirq_affinity_auto}(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)}(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()).}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj2 hM"hjubj)}(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)}(hjW h]hrx_cpu_rmap_auto}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjQ ubj)}(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().}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hM%hjubj)}(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&]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)}(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.hhM'hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM*hjubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hj h]hchange_proto_down}(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 supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(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>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hj h]hnetns_immutable}(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)interface can't change network namespacesh]h+interface can’t change network namespaces}(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:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hj= h]hfcoe_mtu}(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-hj7 ubj)}(hhh]jl)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR hM-hjS ubah}(h]h ]h"]h$]h&]uh1jhj7 ubeh}(h]h ]h"]h$]h&]uh1jhjR hM-hjubj)}(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)}(hjv h]hnet_notifier_list}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjp ubj)}(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.}(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&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj hM1hjubj)}(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.hhM3hj ubj)}(hhh]jl)}(hMACsec offloading opsh]hMACsec offloading ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM3hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM3hjubj)}(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)}(hj h]hudp_tunnel_nic_info}(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.hhM6hj 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM6hjubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hj#h]hudp_tunnel_nic}(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.hhM7hjubj)}(hhh]jl)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM7hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM7hjubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hj\h]hcfg}(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)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhM hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjubj)}(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&]uh1jhjubah}(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 }(hjhhhNhNubj)}(h**cfg**h]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" but when device is being actively}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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.}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hj h]hethtool}(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.hhM8hjubj)}(hhh]jl)}(hethtool related stateh]hethtool related state}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM8hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM8hjubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hjDh]h xdp_state}(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.hhM9hj>ubj)}(hhh]jl)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM9hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM9hjubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hj}h]hdev_addr_shadow}(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.hhMFhjwubj)}(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&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjh]hlinkwatch_dev_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.hhMGhjubj)}(hhh]jl)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hjh]hwatchdog_dev_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.hhMHhjubj)}(hhh]jl)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hj:h]hdev_registered_tracker}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhj4ubj)}(hhh]jl)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMJhjubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjth]hoffload_xstats_l3}(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.hhMKhjnubj)}(hhh]jl)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(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)}(hjh]h devlink_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.hhMPhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(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)}(hjh]hdpll_pin}(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)}(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.}(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&]uh1jhjhMShjubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hj!h]h page_pools}(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.hhM hjubj)}(hhh]jl)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjZh]h irq_moder}(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.hhM hjTubj)}(hhh]jl)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hjh]hmax_pacing_offload_horizon}(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 max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjh]h napi_config}(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)}(h@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(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&]uh1jhjhMWhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjubj)}(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.hhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(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)}(hj@h]hnapi_defer_hard_irqs}(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)}(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.}(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&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM\hjubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hjzh]hgro_flush_timeout}(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.hhMZhjtubj)}(hhh]jl)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(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)}(hjh]hup}(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]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 }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(’s IFF_UP, but safe to read with just }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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)}(hjMh]hrequest_ops_lock}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjGubj)}(hhh]jl)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjfhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh and }(hjfhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh under the }(hjfhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjubj)}(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)}(hjh]hlock}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(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 }(hjhhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(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 hjubjl)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hj hhhNhNubah}(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 hjubjO)}(hhh](jO)}(h+simply protected by the instance **lock**; h]jl)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hj*hhhNhNubj)}(h**lock**h]hlock}(hj2hhhNhNubah}(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 hj&ubah}(h]h ]h"]h$]h&]uh1jOhj#ubjO)}(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;}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjQubah}(h]h ]h"]h$]h&]uh1jOhj#ubjO)}(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;}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjubah}(h]h ]h"]h$]h&]uh1jOhj#ubjO)}(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&]uh1jOhj#ubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjJhM hjubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM' 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **napi_list**h]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **threaded**h]hthreaded}(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.hhM& hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM* hj:ubj)}(hhh]jl)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, }(hjPhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, }hjPsbj)}(h **nd_net**h]hnd_net}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, }hjPsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jkhjLhM* hjMubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjLhM* hjubj)}(h@Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** h](j)}(h Ops protects:h]h 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)}(h1**cfg**, **cfg_pending**, **ethtool**, **hwprov**h](j)}(h**cfg**h]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**cfg_pending**h]h cfg_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **ethtool**h]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **hwprov**h]hhwprov}(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)}(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.hhM0 hjubj)}(hhh]jl)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }(hj0hhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jkhj,hM0 hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM0 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:}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3 hjfubj)}(hhh]jl)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhM3 hjyubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjxhM3 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h Ordering:h]h Ordering:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5 hjubjO)}(hhh](jO)}(htake after rtnl_lock h]jl)}(htake after rtnl_lockh]htake after rtnl_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7 hjubah}(h]h ]h"]h$]h&]uh1jOhjubjO)}(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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9 hjubah}(h]h ]h"]h$]h&]uh1jOhjubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjhM7 hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM< hjubj)}(h```net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h h](j)}(h``net_shaper_hierarchy``h]j)}(hjh]hnet_shaper_hierarchy}(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.hhMC hjubj)}(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&]uh1jhj hMC hjubj)}(hhh]jl)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMC hj&ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMC hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMC hjubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hj[h]h neighbours}(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.hhM_hjUubj)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM_hjubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hjh]hhwprov}(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)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjh]hpriv}(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&Flexible array containing private datah]h&Flexible array containing private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubjl)}(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.hhMshjAhhubj)}(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.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj'ubjl)}(hinterface address info:h]hinterface address info:}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hj'ubjl)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hj'ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjAhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhjAhhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhZ/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!hjshhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjshhhjhM ubj3)}(h netdev_privh]j9)}(h netdev_privh]h netdev_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhM 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 jsb c.netdev_privasbuh1hhjubj")}(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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhM ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjlhhubjg)}(hhh]jl)}(h"access network device private datah]h"access network device private data}(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&]uh1jfhjlhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjAhNhNubj)}(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 hj{ubj)}(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}(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&]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.hhM hj{ubjl)}(hGet network device private datah]hGet network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_from_priv (C function)c.netdev_from_privhNtauh1hhjAhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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!hjhhhj-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 reftargetjAmodnameN classnameNj j )}j ]j )}j netdev_from_privsbc.netdev_from_privasbuh1hhjhhhj-hM ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj-hM ubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj-hM ubj3)}(hnetdev_from_privh]j9)}(hj]h]hnetdev_from_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj-hM ubj )}(h(const void *priv)h]j )}(hconst void *privh](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)}(hprivh]hpriv}(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)}(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 hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj-hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjAhNhNubj)}(ht**Parameters** ``const void *priv`` network device private data **Return** net_device to which **priv** belongsh](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)}(h1``const void *priv`` network device private data h](j)}(h``const void *priv``h]j)}(hjIh]hconst void *priv}(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.hhM hjCubj)}(hhh]jl)}(hnetwork device private datah]hnetwork device private data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj@ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj$ubjl)}(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 hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhjAhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMG ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMG ubj3)}(hnetif_napi_addh]j9)}(hnetif_napi_addh]hnetif_napi_add}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMG 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 }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j jsbc.netif_napi_addasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjqhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jRc.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)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjOh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpollh]hpoll}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjxh]h)}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]h(}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jRc.netif_napi_addasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMG ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMG ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMG hjhhubjg)}(hhh]jl)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMG hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMG ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjAhNhNubj)}(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)}(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.hhMK hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMH hj.ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMH hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMH hj+ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjmh]hstruct napi_struct *napi}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMI hjgubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMI hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMI hj+ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjh]h&int (*poll)(struct napi_struct *, int)}(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.hhMJ hjubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJ 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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhML hjubjl)}(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 }(hjhhhNhNubjY)}(h*any*h]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjubh% of the other NAPI-related functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMK hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhjAhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMq ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMq ubj3)}(hnetif_napi_add_configh]j9)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjFhMq 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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(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_napi_add_configasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.netif_napi_add_configasbuh1hhjubj")}(h h]h }(hj# hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1 hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hj> hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjW hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS ubj")}(h h]h }(hje hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS ubj )}(hjOh]h(}(hjs hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj9)}(hpollh]hpoll}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS ubj )}(hjxh]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj )}(hjOh]h(}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS 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 ]jc.netif_napi_add_configasbuh1hhjS ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj )}(hjxh]h,}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubj")}(h h]h }(hj !hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS ubjM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS ubj )}(hjxh]h)}(hj'!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(h int indexh](jM )}(hinth]hint}(hj?!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;!ubj")}(h h]h }(hjM!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 hjmubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjFhMq ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjFhMq ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMq 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.hhMq hj!hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhjFhMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjAhNhNubj)}(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.hhMu 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.hhMr hj!ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMr hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMr 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.hhMs hj!ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMs hj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMs hj!ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hj8"h]h&int (*poll)(struct napi_struct *, int)}(hj:"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMt hj2"ubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjQ"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjM"hMt hjN"ubah}(h]h ]h"]h$]h&]uh1jhj2"ubeh}(h]h ]h"]h$]h&]uh1jhjM"hMt hj!ubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjq"h]h int index}(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.hhMv hjk"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.hhMu hj"ubah}(h]h ]h"]h$]h&]uh1jhjk"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMv hj!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhjAhhhNhNubh)}(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}(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_txh]j9)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj"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 j"sbc.netif_napi_add_txasbuh1hhj#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)}(hdevh]hdev}(hja#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hstruct napi_struct *napih](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)}(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 ]jB#c.netif_napi_add_txasbuh1hhjv#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)}(hnapih]hnapi}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv#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 )}(hjOh]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 )}(hjxh]h)}(hj.$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj )}(hjOh]h(}(hj;$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj)}(hjh]hstruct}(hjH$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hjU$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjf$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh$modnameN classnameNj j )}j ]jB#c.netif_napi_add_txasbuh1hhj#ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj )}(hjxh]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 )}(hjxh]h)}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#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 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 hj$hhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj"hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjAhNhNubj)}(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 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.hhM hj%ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj=%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9%hM hj:%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj9%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 hjW%ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjv%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr%hM hjs%ubah}(h]h ]h"]h$]h&]uh1jhjW%ubeh}(h]h ]h"]h$]h&]uh1jhjr%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&]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$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 hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhjAhhhNhNubh)}(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}(hj7&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj$&hM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](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 napi_structh]h napi_struct}(hjq&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs&modnameN classnameNj j )}j ]j )}j j9&sbc.__netif_napi_delasbuh1hhjO&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)}(hnapih]hnapi}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjK&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}(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&jjjuh1hhhhjAhNhNubj)}(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)}(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}(hj0'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)}(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.hhM hj&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 }(hjh'hhhNhNubj)}(h**napi**h]hnapi}(hjp'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh'ubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjh'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhjAhhhNhNubh)}(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 }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hM ubj3)}(hnetif_napi_delh]j9)}(hnetif_napi_delh]hnetif_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*}(hj2(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}(hji(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjf(hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjAhNhNubj)}(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&]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&]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)}(hj(h]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(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 )hM hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhjAhhhNhNubh)}(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}(hj3)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvubj")}(h h]h }(hjB)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/)hhhjA)hMvubj3)}(hnetif_start_queueh]j9)}(hnetif_start_queueh]hnetif_start_queue}(hjT)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/)hhhjA)hMvubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjp)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl)ubj")}(h h]h }(hj})hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl)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 jV)sbc.netif_start_queueasbuh1hhjl)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl)ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjl)ubj9)}(hdevh]hdev}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh)ubah}(h]h ]h"]h$]h&]jPjQuh1j hj/)hhhjA)hMvubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+)hhhjA)hMvubah}(h]j&)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjA)hMvhj()hhubjg)}(hhh]jl)}(hallow transmith]hallow transmit}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj)hhubah}(h]h ]h"]h$]h&]uh1jfhj()hhhjA)hMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj *jj *jjjuh1hhhhjAhNhNubj)}(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.hhMzhj*ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj4*h]hstruct net_device *dev}(hj6*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj.*ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjM*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjI*hMwhjJ*ubah}(h]h ]h"]h$]h&]uh1jhj.*ubeh}(h]h ]h"]h$]h&]uh1jhjI*hMwhj+*ubah}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hjo*h]h Description}(hjq*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj*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.hhMxhj*ubah}(h]h ]h"]h$]h&]uh1jhj*hMxhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhjAhhhNhNubh)}(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}(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_wake_queueh]j9)}(hnetif_wake_queueh]hnetif_wake_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_wake_queueasbuh1hhj*ubj")}(h h]h }(hj8+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjF+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hdevh]hdev}(hjS+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)}(hrestart transmith]hrestart transmit}(hj}+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjz+hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjAhNhNubj)}(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)}(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. 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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhjAhhhNhNubh)}(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}(hjH,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjW,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD,hhhjV,hMubj3)}(hnetif_stop_queueh]j9)}(hnetif_stop_queueh]hnetif_stop_queue}(hji,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjD,hhhjV,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 jk,sbc.netif_stop_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)}(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 hjD,hhhjV,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@,hhhjV,hMubah}(h]j;,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjV,hMhj=,hhubjg)}(hhh]jl)}(hstop transmitted packetsh]hstop transmitted packets}(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=,hhhjV,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj -jj -jjjuh1hhhhjAhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.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)}(hjI-h]hstruct net_device *dev}(hjK-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjC-ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjb-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^-hMhj_-ubah}(h]h ]h"]h$]h&]uh1jhjC-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|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]jl)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_queue_stopped (C function)c.netif_queue_stoppedhNtauh1hhjAhhhNhNubh)}(hhh](j)}(h7bool netif_queue_stopped (const struct net_device *dev)h]j )}(h6bool netif_queue_stopped(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_queue_stoppedh]j9)}(hnetif_queue_stoppedh]hnetif_queue_stopped}(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 }(hj7.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj .ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjH.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ.modnameN classnameNj j )}j ]j )}j j-sbc.netif_queue_stoppedasbuh1hhj .ubj")}(h h]h }(hjh.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj .ubj )}(hj h]h*}(hjv.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 transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(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.jjjuh1hhhhjAhNhNubj)}(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)}(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.ubj)}(h=Test if transmit queue on device is currently unable to send.h]jl)}(hjA/h]h=Test if transmit queue on device is currently unable to send.}(hjC/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&]uh1jhjP/hMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhjAhhhNhNubh)}(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}(hjw/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjs/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!hjs/hhhj/hMubj3)}(hnetdev_queue_set_dql_min_limith]j9)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs/hhhj/hMubj )}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)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/sb c.netdev_queue_set_dql_min_limitasbuh1hhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(h dev_queueh]h dev_queue}(hj 0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hunsigned int min_limith](jM )}(hunsignedh]hunsigned}(hj&0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"0ubj")}(h h]h }(hj40hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"0ubjM )}(hinth]hint}(hjB0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"0ubj")}(h h]h }(hjP0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"0ubj9)}(h min_limith]h min_limit}(hj^0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjs/hhhj/hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo/hhhj/hMubah}(h]jj/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMhjl/hhubjg)}(hhh]jl)}(hset dql minimum limith]hset dql minimum limit}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0hhubah}(h]h ]h"]h$]h&]uh1jfhjl/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjAhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj0h]hstruct netdev_queue *dev_queue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h-``unsigned int min_limit`` dql minimum limit h](j)}(h``unsigned int min_limit``h]j)}(hj1h]hunsigned int min_limit}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jl)}(hdql minimum limith]hdql minimum limit}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubjl)}(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 }(hjS1hhhNhNubj)}(h **min_limit**h]h min_limit}(hj[1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS1ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hjS1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhjAhhhNhNubh)}(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}(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)}(h netdev_txq_bql_enqueue_prefetchwh]j9)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj1hMubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j1sb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhj1ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(h dev_queueh]h dev_queue}(hj*2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubah}(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)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjT2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQ2hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl2jjl2jjjuh1hhhhjAhNhNubj)}(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)}(hjv2h]h Parameters}(hjx2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjp2ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj2h]hstruct netdev_queue *dev_queue}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjp2ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjp2ubjl)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjp2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhjAhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj$3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj#3hMubj3)}(h!netdev_txq_bql_complete_prefetchwh]j9)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hj63hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj23ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj#3hMubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hjR3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN3ubj")}(h h]h }(hj_3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN3ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hjp3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjm3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjr3modnameN classnameNj j )}j ]j )}j j83sb#c.netdev_txq_bql_complete_prefetchwasbuh1hhjN3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjN3ubj9)}(h dev_queueh]h dev_queue}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJ3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj#3hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 3hhhj#3hMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#3hMhj 3hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj 3hhhj#3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjAhNhNubj)}(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)}(hj3h]h Parameters}(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.hhM hj3ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj4h]hstruct netdev_queue *dev_queue}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj4ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj/4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+4hM hj,4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj+4hM hj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hjQ4h]h Description}(hjS4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj3ubjl)}(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.}(hjg4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhjAhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMubj3)}(hnetdev_tx_sent_queueh]j9)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](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 netdev_queueh]h netdev_queue}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j4sbc.netdev_tx_sent_queueasbuh1hhj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(h dev_queueh]h dev_queue}(hj,5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hjE5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjA5ubj")}(h h]h }(hjS5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA5ubjM )}(hinth]hint}(hja5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjA5ubj")}(h h]h }(hjo5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA5ubj9)}(hbytesh]hbytes}(hj}5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA5ubeh}(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)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjAhNhNubj)}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj5h]hstruct netdev_queue *dev_queue}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hj!6h]hunsigned int bytes}(hj#6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubj)}(hhh]jl)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hj:6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj66hMhj76ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj66hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj\6h]h Description}(hj^6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(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. }(hjv6hhhNhNubj)}(h **bytes**h]hbytes}(hj~6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv6ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hjv6hhhNhNubj)}(h **bytes**h]hbytes}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv6ubhB. This is typically called once per packet, from ndo_start_xmit().}(hjv6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjr6ubah}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhjAhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hMRubj3)}(hnetdev_sent_queueh]j9)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hMRubj )}(h,(struct net_device *dev, unsigned int bytes)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj 7hhhNhNubah}(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}(hj*7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,7modnameN classnameNj j )}j ]j )}j j6sbc.netdev_sent_queueasbuh1hhj7ubj")}(h h]h }(hjJ7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjX7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hdevh]hdev}(hje7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj~7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz7ubjM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz7ubj9)}(hbytesh]hbytes}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj6hMRubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMRhj6hhubjg)}(hhh]jl)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjAhNhNubj)}(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)}(hj8h]h Parameters}(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.hhMVhj7ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj!8h]hstruct net_device *dev}(hj#8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShj8ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj:8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj68hMShj78ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj68hMShj8ubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hjZ8h]hunsigned int bytes}(hj\8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjT8ubj)}(hhh]jl)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hjs8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjo8hMThjp8ubah}(h]h ]h"]h$]h&]uh1jhjT8ubeh}(h]h ]h"]h$]h&]uh1jhjo8hMThj8ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(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.hhMVhj7ubj)}(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. }(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}(hj8hhhNhNubah}(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.hhMUhj8ubah}(h]h ]h"]h$]h&]uh1jhj8hMUhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhjAhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMiubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMiubj3)}(hnetdev_tx_completed_queueh]j9)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hj)9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMiubj )}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hjE9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA9ubj")}(h h]h }(hjR9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA9ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hjc9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje9modnameN classnameNj j )}j ]j )}j j+9sbc.netdev_tx_completed_queueasbuh1hhjA9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA9ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjA9ubj9)}(h dev_queueh]h dev_queue}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=9ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubjM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hpktsh]hpkts}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=9ubj )}(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 }(hj2: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=9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMiubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMihj8hhubjg)}(hhh]jl)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hjj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjg:hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj9hMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjAhNhNubj)}(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.hhMmhj: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.hhMjhj:ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMjhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMjhj: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.hhMkhj:ubj)}(hhh]jl)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMkhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMkhj: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.hhMlhj;ubj)}(hhh]jl)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hj6;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2;hMlhj3;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj2;hMlhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjX;h]h Description}(hjZ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhj: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.}(hjr;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjn;ubah}(h]h ]h"]h$]h&]uh1jhj;hMmhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhjAhhhNhNubh)}(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}(hj;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&]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_completed_queueasbuh1hhj;ubj")}(h h]h }(hj"<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hj0<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 )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hjV<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR<ubj")}(h h]h }(hjd<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR<ubjM )}(hinth]hint}(hjr<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR<ubj9)}(hpktsh]hpkts}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR<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 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!=jjjuh1hhhhjAhNhNubj)}(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)}(hjJ=h]hstruct net_device *dev}(hjL=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjD=ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjc=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_=hMhj`=ubah}(h]h ]h"]h$]h&]uh1jhjD=ubeh}(h]h ]h"]h$]h&]uh1jhj_=hMhjA=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=hMhjA=ubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium 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+actual number of bytes sent over the mediumh]h+actual number of bytes 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=hMhjA=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)}(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&]uh1jhjC>hMhj%=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhjAhhhNhNubh)}(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}(hjj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjf>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjy>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf>hhhjx>hMubj3)}(hnetdev_tx_reset_subqueueh]j9)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjf>hhhjx>hMubj )}(h'(const struct net_device *dev, u32 qid)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.netdev_tx_reset_subqueueasbuh1hhj>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 )}(hu32 qidh](h)}(hhh]j9)}(hu32h]hu32}(hj7?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9?modnameN classnameNj j )}j ]j>c.netdev_tx_reset_subqueueasbuh1hhj0?ubj")}(h h]h }(hjU?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0?ubj9)}(hqidh]hqid}(hjc?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjf>hhhjx>hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjb>hhhjx>hMubah}(h]j]>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjx>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}(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_>hhhjx>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjAhNhNubj)}(hr**Parameters** ``const struct net_device *dev`` network device ``u32 qid`` stack index of the queue to reseth](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?ubj)}(h-``u32 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hj@h]hu32 qid}(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!stack index of the queue to reseth]h!stack index of the queue to reset}(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@hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_reset_queue (C function)c.netdev_reset_queuehNtauh1hhjAhhhNhNubh)}(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}(hja@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 }(hjp@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]@hhhjo@hMubj3)}(hnetdev_reset_queueh]j9)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]@hhhjo@hMubj )}(h(struct net_device *dev_queue)h]j )}(hstruct net_device *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 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_reset_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@ubah}(h]h ]h"]h$]h&]jPjQuh1j hj]@hhhjo@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjY@hhhjo@hMubah}(h]jT@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjo@hMhjV@hhubjg)}(hhh]jl)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hj!AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAhhubah}(h]h ]h"]h$]h&]uh1jfhjV@hhhjo@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9Ajj9Ajjjuh1hhhhjAhNhNubj)}(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)}(hjCAh]h Parameters}(hjEAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=Aubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hjbAh]hstruct net_device *dev_queue}(hjdAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\Aubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj{AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwAhMhjxAubah}(h]h ]h"]h$]h&]uh1jhj\Aubeh}(h]h ]h"]h$]h&]uh1jhjwAhMhjYAubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=Aubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAhMhj=Aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhjAhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j netdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjBhMubj3)}(hnetdev_cap_txqueueh]j9)}(hj Bh]hnetdev_cap_txqueue}(hj#BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjBhMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](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)}(h net_deviceh]h net_device}(hj\BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^BmodnameN classnameNj j )}j ]j Bc.netdev_cap_txqueueasbuh1hhj: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)}(hdevh]hdev}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:Bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6Bubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j Bc.netdev_cap_txqueueasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(h queue_indexh]h queue_index}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6Bubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjBhMubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhjAhhubjg)}(hhh]jl)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(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&]uh1jfhjAhhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjAhNhNubj)}(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)}(hj)Ch]h Parameters}(hj+ChhhNhNubah}(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.hhMhj#Cubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjHCh]hstruct net_device *dev}(hjJChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBCubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjaChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]ChMhj^Cubah}(h]h ]h"]h$]h&]uh1jhjBCubeh}(h]h ]h"]h$]h&]uh1jhj]ChMhj?Cubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hjCh]hu16 queue_index}(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.hhMhj{Cubj)}(hhh]jl)}(hgiven tx queue indexh]hgiven tx queue index}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhj{Cubeh}(h]h ]h"]h$]h&]uh1jhjChMhj?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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#Cubj)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubah}(h]h ]h"]h$]h&]uh1jhjChMhj#Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1bool netif_running (const struct net_device *dev)h]j )}(h0bool netif_running(const struct net_device *dev)h](jM )}(hjh]hbool}(hj DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjDhMubj3)}(h netif_runningh]j9)}(h netif_runningh]h netif_running}(hj+DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'Dubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjDhMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjGDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCDubj")}(h h]h }(hjTDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCDubj)}(hjh]hstruct}(hjbDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCDubj")}(h h]h }(hjoDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCDubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j j-Dsbc.netif_runningasbuh1hhjCDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCDubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCDubj9)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?Dubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjDhMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhjDhhubjg)}(hhh]jl)}(h test if uph]h test if up}(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&]uh1jfhjDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjAhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if the device has been brought up.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hj EhhhNhNubah}(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)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj&Eh]hconst struct net_device *dev}(hj(EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Eubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj?EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;EhMhjhj3Tubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hjXTh]hunsigned long j}(hjZThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjRTubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjqThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmThM;hjnTubah}(h]h ]h"]h$]h&]uh1jhjRTubeh}(h]h ]h"]h$]h&]uh1jhjmThM;hjOTubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjTh]h const unsigned long *online_mask}(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.hhM<hjTubj)}(hhh]jl)}(h*bitmask for CPUs/Rx queues that are onlineh]h*bitmask for CPUs/Rx queues that are online}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM<hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM<hjOTubj)}(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.hhM=hjTubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM=hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM=hjOTubeh}(h]h ]h"]h$]h&]uh1jhj3Tubjl)}(h **Return**h]j)}(hjUh]hReturn}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hj3Tubjl)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hj3Tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_attrmask_next (C function)c.netif_attrmask_nexthNtauh1hhjAhhhNhNubh)}(hhh](j)}(hYunsigned int netif_attrmask_next (int n, const unsigned long *srcp, unsigned int nr_bits)h]j )}(hXunsigned int netif_attrmask_next(int n, const unsigned long *srcp, unsigned int nr_bits)h](jM )}(hunsignedh]hunsigned}(hjJUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNubj")}(h h]h }(hjYUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFUhhhjXUhMNubjM )}(hinth]hint}(hjgUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFUhhhjXUhMNubj")}(h h]h }(hjuUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFUhhhjXUhMNubj3)}(hnetif_attrmask_nexth]j9)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFUhhhjXUhMNubj )}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hjDh]hn}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hconst unsigned long *srcph](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 }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hlongh]hlong}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hj*VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hsrcph]hsrcp}(hj7VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjPVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLVubj")}(h h]h }(hj^VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLVubjM )}(hinth]hint}(hjlVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLVubj")}(h h]h }(hjzVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLVubj9)}(hnr_bitsh]hnr_bits}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFUhhhjXUhMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBUhhhjXUhMNubah}(h]j=Uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXUhMNhj?Uhhubjg)}(hhh]jl)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhjVhhubah}(h]h ]h"]h$]h&]uh1jfhj?UhhhjXUhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *srcp`` the cpumask/Rx queue mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.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:104: ./include/linux/netdevice.hhMRhjVubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjVh]hint n}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjVubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMOhj Wubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhMOhjVubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hj,Wh]hconst unsigned long *srcp}(hj.WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhj&Wubj)}(hhh]jl)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hjEWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAWhMPhjBWubah}(h]h ]h"]h$]h&]uh1jhj&Wubeh}(h]h ]h"]h$]h&]uh1jhjAWhMPhjVubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjeWh]hunsigned int nr_bits}(hjgWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhj_Wubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj~WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzWhMQhj{Wubah}(h]h ]h"]h$]h&]uh1jhj_Wubeh}(h]h ]h"]h$]h&]uh1jhjzWhMQhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjVubjl)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhjAhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjWhMdubj3)}(hnetif_attrmask_next_andh]j9)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjWhMdubj )}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hj"XhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hj0XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(hjDh]hn}(hj>XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hconst unsigned long *src1ph](j)}(hj h]hconst}(hjVXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRXubj")}(h h]h }(hjcXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRXubjM )}(hunsignedh]hunsigned}(hjqXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRXubjM )}(hlongh]hlong}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRXubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRXubj9)}(hsrc1ph]hsrc1p}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hconst unsigned long *src2ph](j)}(hj h]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubjM )}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubjM )}(hlongh]hlong}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(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)}(hsrc2ph]hsrc2p}(hj/YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjHYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDYubj")}(h h]h }(hjVYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDYubjM )}(hinth]hint}(hjdYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDYubj")}(h h]h }(hjrYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDYubj9)}(hnr_bitsh]hnr_bits}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjWhMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjWhMdubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMdhjWhhubjg)}(hhh]jl)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjWhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjAhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjYubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjYh]hint n}(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.hhMehjYubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMehjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMehjYubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hj$Zh]hconst unsigned long *src1p}(hj&ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Zubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjZubj)}(hhh]jl)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj=ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9ZhMfhj:Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj9ZhMfhjYubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj]Zh]hconst unsigned long *src2p}(hj_ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Zubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjWZubj)}(hhh]jl)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hjvZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrZhMghjsZubah}(h]h ]h"]h$]h&]uh1jhjWZubeh}(h]h ]h"]h$]h&]uh1jhjrZhMghjYubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjZh]hunsigned int nr_bits}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjZubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhhjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(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.hhMjhjYubjl)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhjAhhhNhNubh)}(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}(hj6[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2[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}(hjR[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN[ubj")}(h h]h }(hj_[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN[ubj)}(hjh]hstruct}(hjm[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN[ubj")}(h h]h }(hjz[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN[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 j8[sbc.netif_is_multiqueueasbuh1hhjN[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN[ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjN[ubj9)}(hdevh]hdev}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJ[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}(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\jjjuh1hhhhjAhNhNubj)}(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)}(hj1\h]hconst struct net_device *dev}(hj3\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}(hjJ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjF\hMhjG\ubah}(h]h ]h"]h$]h&]uh1jhj+\ubeh}(h]h ]h"]h$]h&]uh1jhjF\hMhj(\ubah}(h]h ]h"]h$]h&]uh1jhj \ubjl)}(h**Description**h]j)}(hjl\h]h Description}(hjn\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj\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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_hold (C function) c.dev_holdhNtauh1hhjAhhhNhNubh)}(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 }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hMubj3)}(hdev_holdh]j9)}(hdev_holdh]hdev_hold}(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\sb c.dev_holdasbuh1hhj\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\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 reference to deviceh]hget reference to device}(hjq]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjn]hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjAhNhNubj)}(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}(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)}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_put (C function) c.dev_puthNtauh1hhjAhhhNhNubh)}(hhh](j)}(h%void dev_put (struct net_device *dev)h]j )}(h$void dev_put(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj2^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 }(hjA^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.^hhhj@^hMubj3)}(hdev_puth]j9)}(hdev_puth]hdev_put}(hjS^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.^hhhj@^hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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)}(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 jU^sb c.dev_putasbuh1hhjk^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)}(hdevh]hdev}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjg^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}(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 _jjjuh1hhhhjAhNhNubj)}(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)}(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)}(hj3_h]hstruct net_device *dev}(hj5_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1_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}(hjL_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjH_hMhjI_ubah}(h]h ]h"]h$]h&]uh1jhj-_ubeh}(h]h ]h"]h$]h&]uh1jhjH_hMhj*_ubah}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjn_h]h Description}(hjp_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl_ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ubjl)}(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.}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlinkwatch_sync_dev (C function)c.linkwatch_sync_devhNtauh1hhjAhhhNhNubh)}(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_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)}(hlinkwatch_sync_devh]j9)}(hlinkwatch_sync_devh]hlinkwatch_sync_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.linkwatch_sync_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}(hjI`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#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hjs`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjp`hhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjAhNhNubj)}(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)}(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 to sync linkwatch 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]jl)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(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)}(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).}(hjahhhNhNubah}(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&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_ok (C function)c.netif_carrier_okhNtauh1hhjAhhhNhNubh)}(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}(hj4ahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0ahhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjBahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ahhhjAahMubj3)}(hnetif_carrier_okh]j9)}(hnetif_carrier_okh]hnetif_carrier_ok}(hjTahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0ahhhjAahMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjpahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlaubj")}(h h]h }(hj}ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlaubj)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlaubh)}(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 jVasbc.netif_carrier_okasbuh1hhjlaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlaubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlaubj9)}(hdevh]hdev}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhaubah}(h]h ]h"]h$]h&]jPjQuh1j hj0ahhhjAahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,ahhhjAahMubah}(h]j'aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAahMhj)ahhubjg)}(hhh]jl)}(htest if carrier presenth]htest if carrier present}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj bhhubah}(h]h ]h"]h$]h&]uh1jfhj)ahhhjAahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&bjj&bjjjuh1hhhhjAhNhNubj)}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](jl)}(h**Parameters**h]j)}(hj0bh]h Parameters}(hj2bhhhNhNubah}(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)}(hjObh]hconst struct net_device *dev}(hjQbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIbubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdbhMhjebubah}(h]h ]h"]h$]h&]uh1jhjIbubeh}(h]h ]h"]h$]h&]uh1jhjdbhMhjFbubah}(h]h ]h"]h$]h&]uh1jhj*bubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*bubjl)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*bubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhjAhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhM ubj3)}(hnetif_dormant_onh]j9)}(hnetif_dormant_onh]hnetif_dormant_on}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,cmodnameN classnameNj j )}j ]j )}j jbsbc.netif_dormant_onasbuh1hhjcubj")}(h h]h }(hjJchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjXchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hdevh]hdev}(hjechhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjbhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjbhM ubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhM hjbhhubjg)}(hhh]jl)}(hmark device as dormant.h]hmark device as dormant.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjchhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjAhNhNubj)}(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)}(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)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjch]hstruct net_device *dev}(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.hhM hjcubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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&]uh1jhjcubjl)}(h**Description**h]j)}(hj dh]h Description}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj dubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubjl)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hj!dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubjl)}(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.}(hj0dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhjAhhhNhNubh)}(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}(hj_dhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[dhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjndhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[dhhhjmdhMubj3)}(hnetif_dormant_offh]j9)}(hnetif_dormant_offh]hnetif_dormant_off}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|dubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[dhhhjmdhMubj )}(h(struct net_device *dev)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 ]j )}j jdsbc.netif_dormant_offasbuh1hhjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(h]h ]h"]h$]h&]jPjQuh1j hj[dhhhjmdhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWdhhhjmdhMubah}(h]jRdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmdhMhjTdhhubjg)}(hhh]jl)}(hset device as not dormant.h]hset device as not dormant.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjehhubah}(h]h ]h"]h$]h&]uh1jfhjTdhhhjmdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7ejj7ejjjuh1hhhhjAhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jl)}(h**Parameters**h]j)}(hjAeh]h Parameters}(hjCehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?eubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hj;eubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj`eh]hstruct net_device *dev}(hjbehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjZeubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjyehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuehMhjveubah}(h]h ]h"]h$]h&]uh1jhjZeubeh}(h]h ]h"]h$]h&]uh1jhjuehMhjWeubah}(h]h ]h"]h$]h&]uh1jhj;eubjl)}(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.hhM hj;eubjl)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant (C function)c.netif_dormanthNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1bool netif_dormant (const struct net_device *dev)h]j )}(h0bool netif_dormant(const struct net_device *dev)h](jM )}(hjh]hbool}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehM)ubj3)}(h netif_dormanth]j9)}(h netif_dormanth]h netif_dormant}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehM)ubj )}(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 }(hj)fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj)}(hjh]hstruct}(hj7fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjDfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjUfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWfmodnameN classnameNj j )}j ]j )}j jfsbc.netif_dormantasbuh1hhjfubj")}(h h]h }(hjufhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hdevh]hdev}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubah}(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)}(htest if device is dormanth]htest if device is 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&]uh1jfhjehhhjehM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjAhNhNubj)}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.h](jl)}(h**Parameters**h]j)}(hjfh]h Parameters}(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-hjfubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjfh]hconst struct net_device *dev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjfubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM*hjgubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghM*hjfubah}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hj6gh]h Description}(hj8ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4gubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjfubjl)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hjLghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_on (C function)c.netif_testing_onhNtauh1hhjAhhhNhNubh)}(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}(hj{ghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwghhhjghM5ubj3)}(hnetif_testing_onh]j9)}(hnetif_testing_onh]hnetif_testing_on}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwghhhjghM5ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jgsbc.netif_testing_onasbuh1hhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdevh]hdev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(h]h ]h"]h$]h&]jPjQuh1j hjwghhhjghM5ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjsghhhjghM5ubah}(h]jngah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghM5hjpghhubjg)}(hhh]jl)}(hmark device as under test.h]hmark device as under test.}(hj;hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hj8hhhubah}(h]h ]h"]h$]h&]uh1jfhjpghhhjghM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjShjjShjjjuh1hhhhjAhNhNubj)}(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)}(hj]hh]h Parameters}(hj_hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[hubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjWhubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj|hh]hstruct net_device *dev}(hj~hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjvhubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhM6hjhubah}(h]h ]h"]h$]h&]uh1jhjvhubeh}(h]h ]h"]h$]h&]uh1jhjhhM6hjshubah}(h]h ]h"]h$]h&]uh1jhjWhubjl)}(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.hhM8hjWhubjl)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjWhubjl)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjWhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_off (C function)c.netif_testing_offhNtauh1hhjAhhhNhNubh)}(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}(hj ihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhjihMEubj3)}(hnetif_testing_offh]j9)}(hnetif_testing_offh]hnetif_testing_off}(hj,ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(iubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhjihMEubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjHihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDiubj")}(h h]h }(hjUihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDiubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjfihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjciubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhimodnameN classnameNj j )}j ]j )}j j.isbc.netif_testing_offasbuh1hhjDiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDiubj9)}(hdevh]hdev}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@iubah}(h]h ]h"]h$]h&]jPjQuh1j hjihhhjihMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjihhhjihMEubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihMEhjihhubjg)}(hhh]jl)}(hset device as not under test.h]hset device as not under test.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhjihhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjihMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjAhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing 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:104: ./include/linux/netdevice.hhMIhjiubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj jh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj jubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj%jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!jhMFhj"jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj!jhMFhjjubah}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hjGjh]h Description}(hjIjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjiubjl)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hj]jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing (C function)c.netif_testinghNtauh1hhjAhhhNhNubh)}(hhh](j)}(h1bool netif_testing (const struct net_device *dev)h]j )}(h0bool netif_testing(const struct net_device *dev)h](jM )}(hjh]hbool}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjjhMQubj3)}(h netif_testingh]j9)}(h netif_testingh]h netif_testing}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjjhMQubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j jjsbc.netif_testingasbuh1hhjjubj")}(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)}(hdevh]hdev}(hj|ubah}(h]h ]h"]h$]h&]uh1jhjP|hMhjV{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_unsync (C function)c.__dev_mc_unsynchNtauh1hhjAhhhNhNubh)}(hhh](j)}(hhvoid __dev_mc_unsync (struct net_device *dev, int (*unsync)(struct net_device *, const unsigned char *))h]j )}(hevoid __dev_mc_unsync(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](jM )}(hvoidh]hvoid}(hjw|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjs|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!hjs|hhhj|hMubj3)}(h__dev_mc_unsynch]j9)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs|hhhj|hMubj )}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))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_mc_unsyncasbuh1hhj|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 )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](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"}ubj )}(hjOh]h(}(hjB}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubj )}(hj h]h*}(hjO}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubj9)}(hunsynch]hunsync}(hj\}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"}ubj )}(hjxh]h)}(hjj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubj )}(hjOh]h(}(hjw}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|c.__dev_mc_unsyncasbuh1hhj"}ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubj )}(hjxh]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)}(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 )}(hcharh]hchar}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"}ubj )}(hj h]h*}(hj-~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubj )}(hjxh]h)}(hj:~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjs|hhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo|hhhj|hMubah}(h]jj|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjl|hhubjg)}(hhh]jl)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjc~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&]uh1jfhjl|hhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{~jj{~jjjuh1hhhhjAhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_mc_sync().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#hj~ubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync 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)}(hdevice to synch]hdevice to sync}(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)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj~h]h9int (*unsync)(struct net_device *, const unsigned char *)}(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-function to call if address should be removedh]h-function to call if address should be removed}(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)}(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#hj~ubj)}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jl)}(hj0h]hDRemove all addresses that were added to the device by dev_mc_sync().}(hj2hhhNhNubah}(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?hM"hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper (C struct) c.net_shaperhNtauh1hhjAhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhNubh)}(hhh](j)}(h net_shaperh]j )}(hstruct net_shaperh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjthKubj3)}(h net_shaperh]j9)}(hjah]h net_shaper}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjthKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjthKubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthKhj\hhubjg)}(hhh]jl)}(hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.h]hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.}(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&]uh1jfhj\hhhjthKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjAhj[hNubj)}(hX**Definition**:: struct 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; }; **Members** ``parent`` Unique identifier for the shaper parent, usually implied ``handle`` Unique identifier for this shaper ``metric`` Specify if the rate limits refers to PPS or BPS ``bw_min`` Minimum guaranteed rate for this shaper ``bw_max`` Maximum peak rate allowed for this shaper ``burst`` Maximum burst for the peek rate of this shaper ``priority`` Scheduling priority for this shaper ``weight`` Scheduling weight for this shaperh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(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.hhK2hjubj)}(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}(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-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hjOh]hhandle}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjIubj)}(hhh]jl)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhK%hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhK%hj ubj)}(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&hj ubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hjh]hbw_min}(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'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(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)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjh]hbw_max}(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 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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK(hj ubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hj3h]hburst}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhK)hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhK)hj ubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjlh]hpriority}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjfubj)}(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&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhK*hj ubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hjh]hweight}(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!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK*hj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjAhhhj[hNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhjAhhhj[hNubh)}(hhh](j)}(hnet_shaper_opsh]j )}(hstruct net_shaper_opsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hK1ubj3)}(hnet_shaper_opsh]j9)}(hjh]hnet_shaper_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hK1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hK1ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hK1hjhhubjg)}(hhh]jl)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK=hj>hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hK1ubeh}(h]h ](jstructeh"]h$]h&]jjjjYjjYjjjuh1hhhhjAhj[hNubj)}(hX**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 the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. ``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. ``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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh:}(hjahhhNhNubeh}(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); };}hj~sbah}(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}(hjhhhNhNubah}(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 the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. h](j)}(h ``group``h]j)}(hjh]hgroup}(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.hhKVhjubj)}(hhh](jl)}(h-create the specified shapers scheduling grouph]h-create the specified shapers scheduling group}(hjǂhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKOhjĂubjl)}(hXiNest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE.h](h Nest the }(hjւhhhNhNubj)}(h **leaves**h]hleaves}(hjނhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh shapers identified under the * }(hjւhhhNhNubj)}(h**node**h]hnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh; shaper. All the shapers belong to the device specified by }(hjւhhhNhNubj)}(h **binding**h]hbinding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh. The }(hjւhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh arrays size is specified by }(hjւhhhNhNubj)}(h**leaves_count**h]h leaves_count}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh. Create either the }(hjւhhhNhNubj)}(h **leaves**h]hleaves}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh and the }(hjւhhhNhNubj)}(h**node**h]hnode}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubhL shaper; or if they already exists, links them together in the desired way. }(hjւhhhNhNubj)}(h **leaves**h]hleaves}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubh& scope must be NET_SHAPER_SCOPE_QUEUE.}(hjւhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKQhjĂubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÂhKVhjubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hjh]hset}(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)}(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}(hjɃhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhK`hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK`hjubj)}(h``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. h](j)}(h ``delete``h]j)}(hjh]hdelete}(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.hhKjhjubj)}(hhh](jl)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKghj ubjl)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hhjAhhubjl)}(hQDevice not supporting any kind of nesting should not provide the group operation.h]hQDevice not supporting any kind of nesting should not provide the group operation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKEhjAhhubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKHhjAhhubeh}(h]driver-supportah ]h"]driver supportah$]h&]uh1hhj0hhhhhKZubh)}(hhh](h)}(h PHY Supporth]h PHY Support}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_print_status (C function)c.phy_print_statushNtauh1hhj2hhhNhNubh)}(hhh](j)}(h1void phy_print_status (struct phy_device *phydev)h]j )}(h0void phy_print_status(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKtubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhKtubj3)}(hphy_print_statush]j9)}(hphy_print_statush]hphy_print_status}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhKtubj )}(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_print_statusasbuh1hhjubj")}(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 hjXhhhjjhKtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhKtubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhKthjQhhubjg)}(hhh]jl)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthjhhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjjhKtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj2hNhNubj)}(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.chKxhj8ubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKzhjWubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKuhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKzhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhj2hhhNhNubh)}(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 }(hjƆhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjņhKubj3)}(hphy_get_rate_matchingh]j9)}(hphy_get_rate_matchingh]hphy_get_rate_matching}(hj؆hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԆubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjņhKubj )}(h2(struct phy_device *phydev, phy_interface_t iface)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_get_rate_matchingasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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.phy_get_rate_matchingasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(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'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&]uh1jfhjhhhjņhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjׇjjׇjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj߇ubah}(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)}(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)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hj9h]hphy_interface_t iface}(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.chKhj3ubj)}(hhh]jl)}(hThe interface mode to useh]hThe interface mode to use}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjubeh}(h]h ]h"]h$]h&]uh1jhjۇubjl)}(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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh supports using }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(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}(hjȈhhhNhNubah}(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 }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh supports for }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, or }(hjhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(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.chKhjۇubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhj2hhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhKubj3)}(hphy_restart_anegh]j9)}(hphy_restart_anegh]hphy_restart_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhKubj )}(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_restart_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 hjZhhhjlhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhKubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhKhjShhubjg)}(hhh]jl)}(hrestart auto-negotiationh]hrestart auto-negotiation}(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&]uh1jfhjShhhjlhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj2hNhNubj)}(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)}(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.chKhj: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}(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.chKhjYubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjVubah}(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)}(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.chKhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhj2hhhNhNubh)}(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}(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)}(h phy_aneg_doneh]j9)}(h phy_aneg_doneh]h phy_aneg_done}(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}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j jsbc.phy_aneg_doneasbuh1hhj*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)}(hphydevh]hphydev}(hjhhhNhNubah}(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)}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɋjjɋjjjuh1hhhhj2hNhNubj)}(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)}(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.chKhj͋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.chKhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(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:113: ./drivers/net/phy/phy.chKhj͋ubjl)}(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 }(hjChhhNhNubj)}(h **phydev**h]hphydev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjChhhNhNubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_check_validh]j9)}(hphy_check_validh]hphy_check_valid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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 }(hjΌhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hj܌hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(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 hjubj )}(hunsigned long *featuresh](jM )}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hlongh]hlong}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hfeaturesh]hfeatures}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhjhKubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjyhhubjg)}(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}(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&]uh1jfhjyhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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.chKhjԍubj)}(hhh]jl)}(hspeed to matchh]hspeed to match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjԍubeh}(h]h ]h"]h$]h&]uh1jhjhKhjэubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hjh]h int duplex}(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.chKhj ubj)}(hhh]jl)}(hduplex to matchh]hduplex to match}(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)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hjLh]hunsigned long *features}(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.chKhjFubj)}(hhh]jl)}(hA mask of the valid settingsh]hA mask of the valid settings}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahKhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKhjэ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.chKhjubjl)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhj2hhhNhNubh)}(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}(hj̎hhhNhNubah}(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 }(hjێhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȎhhhjڎ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&]jPjQuh1j2hjȎhhhjڎ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&]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.phy_mii_ioctlasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jCc.phy_mii_ioctlasbuh1hhjwubj")}(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)}(hifrh]hifr}(hjҏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint cmdh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjȎhhhjڎ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)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hj1hhhNhNubah}(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&]jjjjIjjIjjjuh1hhhhj2hNhNubj)}(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)}(hjSh]h Parameters}(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.chM1hjMubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjrh]hstruct phy_device *phydev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjlubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjiubj)}(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.chM/hjubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjʐh]h struct ifreq}(hj̐hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjȐubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjhM/hjĐubh for socket ioctl’s}(hjĐhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjiubj)}(h!``int cmd`` ioctl cmd to execute h](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.chM0hjubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjiubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjMubjl)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_do_ioctlh]j9)}(h phy_do_ioctlh]h phy_do_ioctl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hj͑hhhNhNubah}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_do_ioctlasbuh1hhjubj")}(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 hjubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jc.phy_do_ioctlasbuh1hhj.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)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint cmdh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcmdh]hcmd}(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)}(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&]uh1jfhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(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&]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 net_device structh]hthe net_device struct}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjbh]hstruct ifreq *ifr}(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.chMhj\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 jjifrequh1hhjwhMhj{ubh for socket ioctl’s}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj ubj)}(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}(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ϓhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhj2hhhNhNubh)}(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}(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_do_ioctl_runningh]j9)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(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}(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.phy_do_ioctl_runningasbuh1hhjMubj")}(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 hjIubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjޔubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.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)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hint cmdh](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)}(hcmdh]hcmd}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(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)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(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&]uh1jfhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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}(hjӕhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϕhMhjЕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϕhMhjubj)}(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 jjifrequh1hhjhMhj ubh for socket ioctl’s}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjKh]hint cmd}(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.chMhjEubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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:113: ./drivers/net/phy/phy.chMhjubjl)}(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.}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h4void phy_trigger_machine (struct phy_device *phydev)h]j )}(h3void phy_trigger_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj˖hhhNhNubah}(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 }(hjږhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǖhhhjٖhM ubj3)}(hphy_trigger_machineh]j9)}(hphy_trigger_machineh]hphy_trigger_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjǖhhhjٖhM 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&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsbc.phy_trigger_machineasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjǖhhhjٖ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)}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(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&]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}(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&]uh1jhjƗubeh}(h]h ]h"]h$]h&]uh1jhjhMhj×ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhj2hhhNhNubh)}(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}(hj&hhhNhNubah}(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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj4hM ubj3)}(hphy_ethtool_get_stringsh]j9)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj4hM ubj )}(h%(struct phy_device *phydev, u8 *data)h](j )}(hstruct phy_device *phydevh](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)}(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 jIsbc.phy_ethtool_get_stringsasbuh1hhj_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 )}(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.phy_ethtool_get_stringsasbuh1hhjј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)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjјubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj"hhhj4hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hM hjhhubjg)}(hhh]jl)}(hGet the statistic counter namesh]hGet the statistic counter names}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj8hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj4hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhj2hNhNubj)}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](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.chM$hjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hjvubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjsubj)}(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}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʙhM$hjsubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhM3ubj3)}(hphy_ethtool_get_sset_counth]j9)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhM3ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j2sbc.phy_ethtool_get_sset_countasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM3ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM3hjhhubjg)}(hhh]jl)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjϚhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hj̚hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]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)}(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.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.chM5hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhj2hhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjxhMMubj3)}(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&]jPjQuh1j2hjfhhhjxhMMubj )}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *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}(hjśhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj›ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǛmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_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 hjubj )}(hstruct ethtool_stats *statsh](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 ethtool_statsh]h ethtool_stats}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jc.phy_ethtool_get_statsasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstatsh]hstats}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 }(hjhhhNhNubah}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhjxhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjxhMMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMMhj_hhubjg)}(hhh]jl)}(hGet the statistic countersh]hGet the statistic counters}(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_hhhjxhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chMQhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj0h]hstruct phy_device *phydev}(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.chMOhj*ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMOhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMOhj'ubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjih]hstruct ethtool_stats *stats}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjcubj)}(hhh]jl)}(hWhat counters to geth]hWhat counters to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMPhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMPhj'ubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjh]h u64 *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.chMRhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhj2hhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMMubj3)}(hphy_start_cable_testh]j9)}(hphy_start_cable_testh]hphy_start_cable_test}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMMubj )}(h;(struct phy_device *phydev, struct netlink_ext_ack *extack)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_start_cable_testasbuh1hhj5ubj")}(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 )}(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}(hjɞhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƞubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj˞modnameN classnameNj j )}j ]jsc.phy_start_cable_testasbuh1hhjubj")}(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 hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMMhjhhubjg)}(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&]uh1jfhjhhhj hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj2hNhNubj)}(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)}(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.chMQhjHubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjmh]hstruct phy_device *phydev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjgubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjdubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](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:113: ./drivers/net/phy/phy.chMQhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhj2hhhNhNubh)}(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}(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_cable_test_tdrh]j9)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(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 j#sbc.phy_start_cable_test_tdrasbuh1hhj9ubj")}(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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(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}(hj͠hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʠubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϠmodnameN classnameNj j )}j ]jwc.phy_start_cable_test_tdrasbuh1hhjubj")}(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 hj5ubj )}(h#const struct phy_tdr_config *configh](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)}(hphy_tdr_configh]hphy_tdr_config}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jwc.phy_start_cable_test_tdrasbuh1hhjubj")}(h h]h }(hjvhhhNhNubah}(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 hj5ubeh}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӡjjӡjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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&]uh1jhjhMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj5h]hstruct netlink_ext_ack *extack}(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.chMhj/ubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjnh]h#const struct phy_tdr_config *config}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjסubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhj2hhhNhNubh)}(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}(hjȢhhhNhNubah}(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 }(hjעhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjĢhhhj֢hMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjĢhhhj֢hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjĢhhhj֢hMubj3)}(hphy_inband_capsh]j9)}(hphy_inband_capsh]hphy_inband_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjĢhhhj֢hMubj )}(h6(struct phy_device *phydev, phy_interface_t interface)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_inband_capsasbuh1hhjubj")}(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 )}(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_inband_capsasbuh1hhjubj")}(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 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)}(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&]uh1jfhjhhhj֢hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhjubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj'ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjFhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjPh]hstruct phy_device}(hjRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjBhMhjFubeh}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(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}(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}(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.chMhjubjl)}(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 }(hj֤hhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjh]henum link_inband_signalling}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjޤubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj֤ubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hj֤hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhj2hhhNhNubh)}(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}(hj(hhhNhNubah}(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 }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hM'ubj3)}(hphy_config_inbandh]j9)}(hphy_config_inbandh]hphy_config_inband}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj6hM'ubj )}(h/(struct phy_device *phydev, unsigned int modes)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsbc.phy_config_inbandasbuh1hhjaubj")}(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 )}(hunsigned int modesh](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)}(hmodesh]hmodes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӥubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj6hM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj6hM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hM'hjhhubjg)}(hhh]jl)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hj6hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj2hNhNubj)}(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)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hjUubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjzh]hstruct phy_device *phydev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hjtubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjqubj)}(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)hjubj)}(hhh]jl)}(hin-band modes to configureh]hin-band modes to configure}(hj̦hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjȦhM)hjɦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȦhM)hjqubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hjUubj)}(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,hjubj)}(hhh]jl)}(h between the PHY and host system.h]h between the PHY and host system.}(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&]uh1jhjUubjl)}(h **Return**h]j)}(hj?h]hReturn}(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.chM.hjUubjl)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMCubj3)}(h_phy_start_anegh]j9)}(h_phy_start_anegh]h_phy_start_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMCubj )}(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}(hjߧhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܧubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc._phy_start_anegasbuh1hhjubj")}(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}(hjhhhNhNubah}(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 jYjZhj|hhhjhMCubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMChjyhhubjg)}(hhh]jl)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjAhhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhj2hNhNubj)}(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)}(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.chMGhj`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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj|ubah}(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&]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}(hjݨhhhNhNubah}(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.}(hjhhhNhNubah}(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&]uh1jhjhMHhj֨ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhj2hhhNhNubh)}(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}(hj0hhhNhNubah}(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 }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj>hMcubj3)}(hphy_start_anegh]j9)}(hphy_start_anegh]hphy_start_aneg}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&R]jPjQuh1j2hj,hhhj>hMcubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jSsbc.phy_start_anegasbuh1hhjiubj")}(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}(hjƩhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubah}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj>hMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj>hMcubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMchj%hhubjg)}(hhh]jl)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjhhhNhNubah}(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&]uh1jfhj%hhhj>hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.chMghj ubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj3hhhNhNubah}(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.chMdhj+ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMdhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMdhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(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: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.}(hjhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhj2hhhNhNubh)}(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}(hjܪhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjتhhhjhMubj )}(h&(struct phy_device *phydev, bool sync)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}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j jsbc.phy_speed_downasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool synch](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsynch]hsync}(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 jYjZhjԪhhhjhMubah}(h]jϪah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjѪhhubjg)}(hhh]jl)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(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ѪhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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)}(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&hMhjubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjJh]h bool sync}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjDubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(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: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}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhj2hhhNhNubh)}(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 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)}(h phy_speed_uph]j9)}(h phy_speed_uph]h phy_speed_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjլhhhjhMubj )}(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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j jsbc.phy_speed_upasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(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 hjլhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjѬhhhjhMubah}(h]j̬ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjάhhubjg)}(hhh]jl)}(h1(re)set advertised speeds to all supported speedsh]h1(re)set advertised speeds to all supported speeds}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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.chMhjԭubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(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)}(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+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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h2void phy_start_machine (struct phy_device *phydev)h]j )}(h1void phy_start_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhjhhMubj3)}(hphy_start_machineh]j9)}(hphy_start_machineh]hphy_start_machine}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVhhhjhhMubj )}(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_machineasbuh1hhjubj")}(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 hjVhhhjhhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjhhMubah}(h]jMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhhMhjOhhubjg)}(hhh]jl)}(h start PHY state machine trackingh]h start PHY state machine tracking}(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&]uh1jfhjOhhhjhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhj2hNhNubj)}(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)}(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)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjUubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(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.chMhj6ubj)}(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.}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h*void phy_error (struct phy_device *phydev)h]j )}(h)void phy_error(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.chMMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMMubj3)}(h phy_errorh]j9)}(h phy_errorh]h phy_error}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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)}(h phy_deviceh]h phy_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j j)sb c.phy_errorasbuh1hhj?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;ubah}(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%enter ERROR state for this PHY deviceh]h%enter ERROR state 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.chMMhjðhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjްjjްjjjuh1hhhhj2hNhNubj)}(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)}(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:113: ./drivers/net/phy/phy.chMNhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubah}(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&]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.}(hjXhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_request_interrupth]j9)}(hphy_request_interrupth]hphy_request_interrupt}(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&]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&]uh1j8hj߱ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_request_interruptasbuh1hhjubj")}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj|hhubjg)}(hhh]jl)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj2hNhNubj)}(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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjcubj)}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjcubjl)}(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.chMhjcubj)}(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.chMhjܲubj)}(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.}(hjhhhNhNubah}(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&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhj2hhhNhNubh)}(hhh](j)}(h3void phy_free_interrupt (struct phy_device *phydev)h]j )}(h2void phy_free_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(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_free_interrupth]j9)}(hphy_free_interrupth]hphy_free_interrupt}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@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_free_interruptasbuh1hhjkubj")}(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 hjgubah}(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+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(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&]jjjj jj jjjuh1hhhhj2hNhNubj)}(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)}(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)}(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:113: ./drivers/net/phy/phy.chMhj-ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(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:113: ./drivers/net/phy/phy.chMhjubj)}(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.}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhj2hhhNhNubh)}(hhh](j)}(h)void phy_stop (struct phy_device *phydev)h]j )}(h(void phy_stop(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj޴hhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjڴhhhjhM{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 }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jsb c.phy_stopasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(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&]uh1jfhjӴhhhjhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMhjubj)}(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}(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.chMhjٵubj)}(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:113: ./drivers/net/phy/phy.chM|hjubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhj2hhhNhNubh)}(hhh](j)}(h*void phy_start (struct phy_device *phydev)h]j )}(h)void phy_start(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhMubj3)}(h phy_starth]j9)}(h phy_starth]h phy_start}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 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_startasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hj¶hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hphydevh]hphydev}(hj϶hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjGhMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhj.hhubjg)}(hhh]jl)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(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.hhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(hj:h]hstruct phy_device *phydev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj4ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(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}(hjhhhNhNubah}(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.}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_mac_interrupth]j9)}(hphy_mac_interrupth]hphy_mac_interrupt}(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&]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 reftargetjBmodnameN classnameNj j )}j ]j )}j jsbc.phy_mac_interruptasbuh1hhjubj")}(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)}(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 jYjZhjݷhhhjhMubah}(h]jطah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjڷhhubjg)}(hhh]jl)}(hMAC says the link has changedh]hMAC says the link has changed}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhjubah}(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.}(hj7hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhj2hhhNhNubh)}(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}(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)}(h phy_loopbackh]j9)}(h phy_loopbackh]h phy_loopback}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjthMubj )}(h3(struct phy_device *phydev, bool enable, int speed)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_loopbackasbuh1hhjubj")}(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 bool enableh](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)}(henableh]henable}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj9)}(hspeedh]hspeed}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(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)}(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&]uh1jfhj[hhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.chMhjubj)}(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.chMhjʺubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʺubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǺubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(henable or disable loopback modeh]henable or disable loopback mode}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǺubj)}(h.``int speed`` enable loopback mode with speed h](j)}(h ``int speed``h]j)}(hjBh]h int speed}(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.chMhj<ubj)}(hhh]jl)}(henable loopback mode with speedh]henable loopback mode with speed}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjǺ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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./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:113: ./drivers/net/phy/phy.chMhjubjl)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]j )}(hhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhj2hhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjihhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhj{hMuubj3)}(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&]jPjQuh1j2hjihhhj{hMuubj )}(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*}(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 hjihhhj{hMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhj{hMuubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMuhjbhhubjg)}(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&]uh1jfhjbhhhj{hMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhj2hNhNubj)}(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)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMyhjIubj)}(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}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMvhjhubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjeubah}(h]h ]h"]h$]h&]uh1jhjIubjl)}(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.chMxhjIubjl)}(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.chMxhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhj2hhhNhNubh)}(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}(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_eeeh]j9)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]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 )}j jsbc.phy_ethtool_get_eeeasbuh1hhj'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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(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 ]jec.phy_ethtool_get_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)}(hdatah]hdata}(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)}(hget EEE supported and statush]hget 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj2hNhNubj)}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct 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)}(htarget phy_device structh]htarget phy_device struct}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(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&]uh1jhjhMhjVubeh}(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)}(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}(hjhhhNhNubah}(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.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhj2hhhNhNubh)}(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 hj&hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj3)}(hphy_ethtool_set_eeeh]j9)}(hphy_ethtool_set_eeeh]hphy_ethtool_set_eee}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jMsbc.phy_ethtool_set_eeeasbuh1hhjcubj")}(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 )}(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_set_eeeasbuh1hhjubj")}(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)}(hdatah]hdata}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubeh}(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)}(hset EEE supported and statush]hset EEE supported and status}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj2hNhNubj)}(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)}(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:113: ./drivers/net/phy/phy.chMhjvubj)}(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&]uh1jhjvubjl)}(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:113: ./drivers/net/phy/phy.chMhjvubjl)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhj2hhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhMubj3)}(hphy_ethtool_set_wolh]j9)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhMubj )}(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 jwsbc.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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]jc.phy_ethtool_set_wolasbuh1hhjubj")}(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)}(hwolh]hwol}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhMubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjIhhubjg)}(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&]uh1jfhjIhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(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)}(hConfiguration requestedh]hConfiguration requested}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhj2hhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhMubj3)}(hphy_ethtool_get_wolh]j9)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjfhMubj )}(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 j{sbc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](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_wolinfoh]hethtool_wolinfo}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.phy_ethtool_get_wolasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hwolh]hwol}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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)}(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&]uh1jfhjMhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]hstruct ethtool_wolinfo *wol}(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$Store the current configuration hereh]h$Store the current configuration here}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhj2hhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&ubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhM&ubj3)}(hphy_ethtool_nway_reseth]j9)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhM&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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hndevh]hndev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhM&ubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhM&hjQhhubjg)}(hhh]jl)}(hRestart auto negotiationh]hRestart auto negotiation}(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&]uh1jfhjQhhhjjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj2hNhNubj)}(hS**Parameters** ``struct net_device *ndev`` Network device to restart autoneg forh](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.chM*hj8ubj)}(hhh]j)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](j)}(h``struct net_device *ndev``h]j)}(hj]h]hstruct net_device *ndev}(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,hjWubj)}(hhh]jl)}(h%Network device to restart autoneg forh]h%Network device to restart autoneg for}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM,hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(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}(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_config_interruptasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool interruptsh](jM )}(hjh]hbool}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(h interruptsh]h interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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 phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hj%h]hbool interrupts}(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)}(h0interrupt flags to configure for this **phydev**h](h&interrupt flags to configure for this }(hj>hhhNhNubj)}(h **phydev**h]hphydev}(hjFhhhNhNubah}(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:hKhjubeh}(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.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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(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&]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.phy_supported_speedsasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphyh]hphy}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int *speedsh](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!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int 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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(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)}(h5return all speeds currently supported by a phy deviceh]h5return all speeds currently supported by a phy device}(hj>hhhNhNubah}(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&]jjjjVjjVjjjuh1hhhhj2hNhNubj)}(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)}(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:116: ./drivers/net/phy/phy.chKhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjvubj)}(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&]uh1jhjhKhjvubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(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)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjvubeh}(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:116: ./drivers/net/phy/phy.chKhjZubjl)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhj2hhhNhNubh)}(hhh](j)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]j )}(h5void phy_sanitize_settings(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhV/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!hjmhhhjhKubj3)}(hphy_sanitize_settingsh]j9)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjhKubj )}(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*}(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 hjmhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjihhhjhKubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjfhhubjg)}(hhh]jl)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hj1hhhNhNubah}(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&]uh1jfhjfhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj2hNhNubj)}(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)}(hjSh]h Parameters}(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.chKhjMubj)}(hhh]j)}(h;``struct phy_device *phydev`` the target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjrh]hstruct phy_device *phydev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjlubj)}(hhh]jl)}(hthe target phy_device structh]hthe target phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjiubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjMubj)}(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&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhj2hhhNhNubh)}(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}(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)}(h__phy_hwtstamp_geth]j9)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj*hMubj )}(hB(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(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 j?sbc.__phy_hwtstamp_getasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubj )}(h%struct kernel_hwtstamp_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)}(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 }(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 hjQubeh}(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)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhj2hNhNubj)}(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)}(hjnh]h Parameters}(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.chMhjhubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhubjl)}(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.chMhjhubjl)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhj2hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThMubj3)}(h__phy_hwtstamp_seth]j9)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjThMubj )}(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 jisbc.__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 hj{ubj )}(h%struct kernel_hwtstamp_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)}(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_setasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(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_setasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hextackh]hextack}(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)}(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&]uh1jfhj;hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]h Parameters}(hj hhhNhNubah}(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)}(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 structureh]hthe PHY device structure}(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[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hj`h]h%struct kernel_hwtstamp_config *config}(hjbhhhNhNubah}(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.chMhjZubj)}(hhh]jl)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhj2hhhNhNubh)}(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}(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_queue_state_machineh]j9)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct phy_device *phydev, unsigned long jiffies)h](j )}(hstruct phy_device *phydevh](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)}(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 jsbc.phy_queue_state_machineasbuh1hhj,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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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}(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%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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:116: ./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)}(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:116: ./drivers/net/phy/phy.chMhj?ubj)}(hhh]jl)}(hthe phy_device structh]hthe 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<ubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hj~h]hunsigned long jiffies}(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.chMhjxubj)}(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&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(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}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j jsbc.__phy_ethtool_get_phy_statsasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(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 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 ]jOc.__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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_phy_statsh]hethtool_phy_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jOc.__phy_ethtool_get_phy_statsasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h phydev_statsh]h phydev_stats}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]h'struct ethtool_eth_phy_stats *phy_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.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&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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.chMehj%ubj)}(hhh]jl)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(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&]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.}(hj|hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhj2hhhNhNubh)}(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 }(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 jsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h)struct ethtool_link_ext_stats *link_statsh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j""c.__phy_ethtool_get_link_ext_statsasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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.chMyhjubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMyhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMyhjubj)}(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)}(hjUh]h)struct ethtool_link_ext_stats *link_stats}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMzhjOubj)}(hhh]jl)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMzhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMzhjubeh}(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|hjubjl)}(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{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_plca_cfgasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jLc.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}(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)}(hGet PLCA RS configurationh]hGet 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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:116: ./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)}(hjFh]hstruct phy_device *phydev}(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)}(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)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjyubj)}(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&]uh1jhjyubeh}(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:116: ./drivers/net/phy/phy.chMhj!ubjl)}(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.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhj2hhhNhNubh)}(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}(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!hjhhhj hMubj3)}(hplca_check_validh]j9)}(hplca_check_validh]hplca_check_valid}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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&]uh1jhj8ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(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 j"sbc.plca_check_validasbuh1hhj8ubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(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 ]jvc.plca_check_validasbuh1hhjubj")}(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 hj4ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(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 ]jvc.plca_check_validasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(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(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&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hj4h]h#const struct phy_plca_cfg *plca_cfg}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(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)}(hjmh]hstruct netlink_ext_ack *extack}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjgubj)}(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&]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&]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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_set_plca_cfgh]j9)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(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 jsbc.phy_ethtool_set_plca_cfgasbuh1hhj&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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(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 ]jdc.phy_ethtool_set_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(hstruct netlink_ext_ack *extackh](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)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jdc.phy_ethtool_set_plca_cfgasbuh1hhj#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)}(hextackh]hextack}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj"h]h#const struct phy_plca_cfg *plca_cfg}(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.chMhjubj)}(hhh]jl)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj[h]hstruct netlink_ext_ack *extack}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjUubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhj2hhhNhNubh)}(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}(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_ethtool_get_plca_statush]j9)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.ubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_plca_statusasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jRc.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 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)}(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.hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhj2hNhNubj)}(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}(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.chM2hj'ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the 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:116: ./drivers/net/phy/phy.chM/hjFubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahM/hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM/hjCubj)}(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&]uh1jhjhM0hjCubeh}(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.chM2hj'ubjl)}(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.chM1hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhj2hhhNhNubh)}(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}(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_check_link_statush]j9)}(hphy_check_link_statush]hphy_check_link_status}(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}(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}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j j(sbc.phy_check_link_statusasbuh1hhj>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: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+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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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}(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&]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}(hjWhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhj2hhhNhNubh)}(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 }(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 hjhhhjhM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhM)ubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM)hj{hhubjg)}(hhh]jl)}(h#stop the PHY state machine trackingh]h#stop the PHY state machine tracking}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)hjChhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhj2hNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hjbubj)}(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*hj~ubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hjbubj)}(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-hjubj)}(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.}(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&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_barrier (C function)c.phy_write_barrierhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h2void phy_write_barrier (struct phy_device *phydev)h]j )}(h1void phy_write_barrier(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj1hhhNhNubah}(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 }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj?hM\ubj3)}(hphy_write_barrierh]j9)}(hphy_write_barrierh]hphy_write_barrier}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj?hM\ubj )}(h(struct phy_device *phydev)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_write_barrierasbuh1hhjjubj")}(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 hjfubah}(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)}(h3ensure the last write completed for this PHY deviceh]h3ensure the last write completed for this PHY device}(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&]uh1jfhj&hhhj?hM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj2hNhNubj)}(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)}(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`hj ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct 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:116: ./drivers/net/phy/phy.chM]hj,ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM]hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM]hj)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: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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhj2hhhNhNubh)}(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}(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_disable_interruptsasbuh1hhjubj")}(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}(hjHhhhNhNubah}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMlhjohhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN 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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj1hM}ubj3)}(h phy_interrupth]j9)}(hj.h]h phy_interrupt}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj1hM}ubj )}(h(int irq, void *phy_dat)h](j )}(hint irqh](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)}(hirqh]hirq}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(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 hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj1hM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hM}ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM}hjhhubjg)}(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&]uh1jfhjhhhj1hM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hj(h]hint irq}(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.chM~hj"ubj)}(hhh]jl)}(hinterrupt lineh]hinterrupt line}(hjAhhhNhNubah}(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%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjah]h void *phy_dat}(hjchhhNhNubah}(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)}(hphy_device pointerh]hphy_device pointer}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_enable_interruptsh]j9)}(hphy_enable_interruptsh]hphy_enable_interrupts}(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 }(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_enable_interruptsasbuh1hhjubj")}(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 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'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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhj2hhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhMubj3)}(hphy_update_statsh]j9)}(hphy_update_statsh]hphy_update_stats}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(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_update_statsasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhMubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhj1hhubjg)}(hhh]jl)}(h*Update PHY device statistics if supported.h]h*Update PHY device statistics if supported.}(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&]uh1jfhj1hhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]h Parameters}(hj hhhNhNubah}(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)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. 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.chMhj7ubj)}(hhh]jl)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(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.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=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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhj2hhhNhNubh)}(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 }(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)}(hphy_get_next_update_timeh]j9)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hj!hhhNhNubah}(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&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(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 j#sbc.phy_get_next_update_timeasbuh1hhj9ubj")}(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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(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"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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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 phy_device structureh]h#Pointer to the phy_device structure}(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&]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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(h **Return**h]j)}(hjch]hReturn}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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}(hjyhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h work_structh]h work_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_state_machineasbuh1hhjubj")}(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)}(hworkh]hwork}(hj>hhhNhNubah}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMihjehhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhj2hhhNhNubh)}(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}(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_set_eee_nonegh]j9)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)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 reftargetj`modnameN classnameNj j )}j ]j )}j j&sbc.phy_ethtool_set_eee_nonegasbuh1hhj<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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(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 }(hjhhhNhNubah}(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 ]jzc.phy_ethtool_set_eee_nonegasbuh1hhjubj")}(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)}(hold_cfgh]hold_cfg}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(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)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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&]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)}(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.}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhj2hhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhKubjM )}(hcharh]hchar}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhjUhKubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDhhhjUhKubj3)}(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&]jPjQuh1j2hjDhhhjUhKubj )}(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 hjDhhhjUhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjUhKubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhKhj=hhubjg)}(hhh]jl)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(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&]uh1jfhj=hhhjUhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj2hNhNubj)}(h1**Parameters** ``int speed`` Speed of the linkh](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.chKhjubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hj4h]h int speed}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKHubj )}(h(unsigned int duplex)h]j )}(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}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKHhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj2hNhNubj)}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jl)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKLhjqubj)}(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&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKYubjM )}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKYubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhKYubj3)}(hphy_rate_matching_to_strh]j9)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKYubj )}(h(int rate_matching)h]j )}(hint rate_matchingh](jM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(h rate_matchingh]h rate_matching}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKYhjhhubjg)}(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&]uh1jfhjhhhjhKYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(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_delayshNtauh1hhj2hhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j phy_fix_phy_mode_for_mac_delayssb!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhj2hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjZhKnubj3)}(hphy_fix_phy_mode_for_mac_delaysh]j9)}(hjWh]hphy_fix_phy_mode_for_mac_delays}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjZhKnubj )}(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 ]jU!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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_rxidh]hmac_rxid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjZhKnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjZhKnubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhKnhj+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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnhjFhhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhjZhKnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhj2hNhNubj)}(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)}(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.chKrhjeubj)}(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&]uh1jkhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjubj)}(h9``bool mac_rxid`` True if the mac adds internal rx delay h](j)}(h``bool mac_rxid``h]j)}(hjh]h bool mac_rxid}(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.chKshjubj)}(hhh]jl)}(h&True if the mac adds internal rx delayh]h&True if the mac adds internal rx delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubeh}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h **Return**h]j)}(hj7h]hReturn}(hj9hhhNhNubah}(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.chKuhjeubjl)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhj2hhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhh[/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!hjxhhhjhKubj3)}(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&]jPjQuh1j2hjxhhhjhKubj )}(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 hjxhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhKubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjqhhubjg)}(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.}(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&]uh1jfhjqhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhj2hNhNubj)}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(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.chKhj0ubj)}(hhh]j)}(hS``phy_interface_t interface`` The interface mode we want to get the number of ports h](j)}(h``phy_interface_t interface``h]j)}(hjUh]hphy_interface_t interface}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjOubj)}(hhh]jl)}(h5The interface mode we want to get the number of portsh]h5The interface mode we want to get the number of ports}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhj2hhhNhNubh)}(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 }(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_set_max_speedasbuh1hhjubj")}(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 hjubj )}(h u32 max_speedh](h)}(hhh]j9)}(hu32h]hu32}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j&c.phy_set_max_speedasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.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}(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)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h ``u32 max_speed`` Maximum speed h](j)}(h``u32 max_speed``h]j)}(hj1h]h u32 max_speed}(hj3hhhNhNubah}(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)}(h Maximum speedh]h Maximum speed}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjubeh}(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&]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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhj2hhhNhNubh)}(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}(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_resolve_aneg_pauseasbuh1hhjubj")}(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 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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjnhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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=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.}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhj2hhhNhNubh)}(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}(hj2hhhNhNubah}(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 }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMOubj3)}(hphy_resolve_aneg_linkmodeh]j9)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMOubj )}(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_resolve_aneg_linkmodeasbuh1hhjkubj")}(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 hj.hhhj@hMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMOubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMOhj'hhubjg)}(hhh]jl)}(h,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj2hNhNubj)}(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)}(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.chMShjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct 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&]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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMPhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMPhj*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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhjubjl)}(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.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct phy_device *phydev, int devad, 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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_read_mmdasbuh1hhjubj")}(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}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^ubj")}(h h]h }(hjphhhNhNubah}(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 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_read_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 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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h+``int devad`` The MMD to read from (0..31) h](j)}(h ``int devad``h]j)}(hjjh]h int devad}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjdubj)}(hhh]jl)}(hThe MMD to read from (0..31)h]hThe MMD to read from (0..31)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) 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)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(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&]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();}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhj2hhhNhNubh)}(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}(hj#hhhNhNubah}(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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubj3)}(h phy_read_mmdh]j9)}(h phy_read_mmdh]h phy_read_mmd}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMubj )}(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 }(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_read_mmdasbuh1hhj\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 hjXubj )}(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 hjXubj )}(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_read_mmdasbuh1hhj ubj")}(h h]h }(hj( hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hregnumh]hregnum}(hj6 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(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)}(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&]uh1jfhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjx jjx jjjuh1hhhhj2hNhNubj)}(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)}(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)}(hThe register on the MMD to readh]hThe register on the MMD to read}(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)}(hjN h]h Description}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL 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();}(hjd 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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhj2hhhNhNubh)}(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}(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_write_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}(hjB hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj> ubj")}(h h]h }(hjP 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}(hjz hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj| modnameN classnameNj j )}j ]j c.__phy_write_mmdasbuh1hhjs ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs ubj9)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 ]j c.__phy_write_mmdasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(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 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.}(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&]jjjj0 jj0 jjjuh1hhhhj2hNhNubj)}(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)}(hj: h]h Parameters}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4 ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjY h]hstruct phy_device *phydev}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjS ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(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)}(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 hMhjP ubj)}(h/``u32 regnum`` The register on the MMD to read 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)}(hThe register on the MMD to readh]hThe register on the MMD to read}(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)}(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:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue 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 hMhjP ubeh}(h]h ]h"]h$]h&]uh1jhj4 ubjl)}(h**Description**h]j)}(hjM h]h Description}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4 ubjl)}(h Same rules as for __phy_write();h]h Same rules as for __phy_write();}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhj2hhhNhNubh)}(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}(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}(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_write_mmdasbuh1hhj 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 ubj )}(h int devadh](jM )}(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)}(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}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j c.phy_write_mmdasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(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}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj2hNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(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.chMhj3ubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjRubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(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&]uh1jhjhMhjOubj)}(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&]uh1jhjhMhjOubj)}(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:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjLh]h Description}(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.chMhj3ubjl)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhj2hhhNhNubh)}(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 }(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 }(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}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]jc.phy_modify_changedasbuh1hhj<ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hregnumh]hregnum}(hjohhhNhNubah}(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 ]jc.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 ]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 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$hj&hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj2hNhNubj)}(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)}(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.chM(hjEubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjjh]hstruct phy_device *phydev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM%hjdubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjaubj)}(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&hjaubj)}(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.chM'hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjaubj)}(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.chM(hjubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jkhj*hM(hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM(hjaubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(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.chM*hjEubjl)}(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:119: ./drivers/net/phy/phy-core.chM*hjEubjl)}(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.hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhj2hhhNhNubh)}(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}(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_modifyasbuh1hhjubj")}(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j)c.__phy_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.__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 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_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhj2hNhNubj)}(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)}(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.chMAhjfubj)}(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&]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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj6h]hu16 set}(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.chMAhj0ubj)}(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 }(hjOhhhNhNubj)}(h **regnum**h]hregnum}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jkhjKhMAhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(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.chMChjfubjl)}(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.chMChjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhj2hhhNhNubh)}(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}(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 jsb c.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}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j; c.phy_modifyasbuh1hhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(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}(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_modifyasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj2hNhNubj)}(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)}(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.chMVhjxubj)}(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}(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.chMThjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(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)}(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.chMUhj ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMUhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMUhjubj)}(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.chMVhjBubj)}(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 }(hjahhhNhNubj)}(h **regnum**h]hregnum}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jkhj]hMVhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMVhjubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(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.chMXhjxubjl)}(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.chMXhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jsbc.__phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hjQhhhNhNubah}(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 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 ]jMc.__phy_modify_mmd_changedasbuh1hhjubj")}(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 ]jMc.__phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jMc.__phy_modify_mmd_changedasbuh1hhjFubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hseth]hset}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMkhjubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMkhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMkhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjVh]h u32 regnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMlhjPubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMlhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMlhjubj)}(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&]uh1jhjhMmhjubj)}(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 }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(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.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}(hj'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}(hj6hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhj2hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjshMubj3)}(hphy_modify_mmd_changedh]j9)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjshMubj )}(hE(struct phy_device *phydev, int devad, 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_mmd_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 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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jc.phy_modify_mmd_changedasbuh1hhjEubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj9)}(hregnumh]hregnum}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(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 ]jc.phy_modify_mmd_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 ]jc.phy_modify_mmd_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 hjahhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjshMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhjZhhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hj2hhhNhNubah}(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&]uh1jfhjZhhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj2hNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjNubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjsh]hstruct phy_device *phydev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjmubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(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&]uh1jhjhMhjjubj)}(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.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&]uh1jhjhMhjjubj)}(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}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3 hMhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hMhjjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjW h]hu16 set}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjQ 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 }(hjp hhhNhNubj)}(h **regnum**h]hregnum}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jkhjl hMhjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(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.chMhjNubjl)}(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.chMhjNubjl)}(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.chMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhj2hhhNhNubh)}(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 }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj!hMubj3)}(h__phy_modify_mmdh]j9)}(h__phy_modify_mmdh]h__phy_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}(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 phy_deviceh]h phy_device}(hjO!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ!modnameN classnameNj j )}j ]j )}j j!sbc.__phy_modify_mmdasbuh1hhj-!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}(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 ]jk!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 ]jk!c.__phy_modify_mmdasbuh1hhj"ubj")}(h h]h }(hjA"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hmaskh]hmask}(hjO"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)!ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjk"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm"modnameN classnameNj j )}j ]jk!c.__phy_modify_mmdasbuh1hhjd"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd"ubj9)}(hseth]hset}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd"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}(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"jjjuh1hhhhj2hNhNubj)}(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&]uh1jhj9#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj5#ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjT#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP#hMhjQ#ubah}(h]h ]h"]h$]h&]uh1jhj5#ubeh}(h]h ]h"]h$]h&]uh1jhjP#hMhj"ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjt#h]h u32 regnum}(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)}(hregister number to modifyh]hregister number to modify}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjn#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 }(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}(hj1$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.}(hjE$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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhj2hhhNhNubh)}(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}(hjt$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjp$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!hjp$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&]jPjQuh1j2hjp$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}(hj#%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%ubj")}(h h]h }(hj1%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&]uh1j8hjX%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]%modnameN classnameNj j )}j ]j$c.phy_modify_mmdasbuh1hhjT%ubj")}(h h]h }(hjy%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT%ubj9)}(hregnumh]hregnum}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT%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}(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)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjA&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&]uh1jfhji$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjY&jjY&jjjuh1hhhhj2hNhNubj)}(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)}(hjc&h]h Parameters}(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.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&hMhjy&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&hMhjy&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 'hMhjy&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}(hjF'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB'hMhjC'ubah}(h]h ]h"]h$]h&]uh1jhj''ubeh}(h]h ]h"]h$]h&]uh1jhjB'hMhjy&ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjf'h]hu16 set}(hjh'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd'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{'hMhjy&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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhj2hhhNhNubh)}(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 }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj(hMubj3)}(h phy_save_pageh]j9)}(h phy_save_pageh]h phy_save_page}(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}(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 phy_deviceh]h phy_device}(hjO(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ(modnameN classnameNj j )}j ]j )}j j(sbc.phy_save_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}(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+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'hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhj2hNhNubj)}(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)}(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(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hjO)h]h Description}(hjQ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM)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.}(hje)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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhj2hhhNhNubh)}(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 }(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 )}(hint pageh](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)}(hpageh]hpage}(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)}(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*jjjuh1hhhhj2hNhNubj)}(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)}(hj"+h]hint page}(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 desired pageh]h desired page}(hj;+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7+hMhj8+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj7+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.}(hjs+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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhj2hhhNhNubh)}(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 reftargetj+modnameN classnameNj j )}j ]j )}j j+sbc.phy_restore_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}(hj8,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(h int oldpageh](jM )}(hinth]hint}(hjQ,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjM,ubj")}(h h]h }(hj_,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM,ubj9)}(holdpageh]holdpage}(hjm,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM,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&]jjjj,jj,jjjuh1hhhhj2hNhNubj)}(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,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)}(hj0-h]hstruct phy_device}(hj2-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)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hje-h]h int oldpage}(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)}(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()}(hj~-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz-hMhj{-ubah}(h]h ]h"]h$]h&]uh1jhj_-ubeh}(h]h ]h"]h$]h&]uh1jhjz-hMhj-ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hj-h]hint ret}(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)}(hoperation's return codeh]hoperation’s return code}(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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubjl)}(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-hhhNhNubj)}(h **oldpage**h]holdpage}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,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:119: ./drivers/net/phy/phy-core.chMhj,ubjl)}(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,.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(.ubh' if it was a negative value, otherwise }(hj(.hhhNhNubj)}(h**ret**h]hret}(hj>.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(.ubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hj(.hhhNhNubj)}(h**ret**h]hret}(hjP.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(.ubh.}(hj(.hhhNhNubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhj2hhhNhNubh)}(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}(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.chM7ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hM7ubj3)}(hphy_read_pagedh]j9)}(hphy_read_pagedh]hphy_read_paged}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hM7ubj )}(h1(struct phy_device *phydev, int page, 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 j.sbc.phy_read_pagedasbuh1hhj.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 )}(hint pageh](jM )}(hinth]hint}(hj8/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4/ubj")}(h h]h }(hjF/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4/ubj9)}(hpageh]hpage}(hjT/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjp/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjm/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjr/modnameN classnameNj j )}j ]j/c.phy_read_pagedasbuh1hhji/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji/ubj9)}(hregnumh]hregnum}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hM7ubah}(h]j|.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hM7hj~.hhubjg)}(hhh]jl)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading 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.chM7hj/hhubah}(h]h ]h"]h$]h&]uh1jfhj~.hhhj.hM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj2hNhNubj)}(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)}(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)}(hj0h]hstruct phy_device *phydev}(hj 0hhhNhNubah}(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.chM8hj0ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj 0hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj*0h]hstruct phy_device}(hj,0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj(0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj0hM8hj 0ubeh}(h]h ]h"]h$]h&]uh1jkhj0hM8hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM8hj/ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj_0h]hint page}(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.chM9hjY0ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjx0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjt0hM9hju0ubah}(h]h ]h"]h$]h&]uh1jhjY0ubeh}(h]h ]h"]h$]h&]uh1jhjt0hM9hj/ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj0h]h u32 regnum}(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.chM:hj0ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM:hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM:hj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(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.chM<hj/ubjl)}(hSame rules as for phy_read().h]hSame rules as for phy_read().}(hj0hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhj2hhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKubj")}(h h]h }(hj'1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj&1hMKubj3)}(hphy_write_pagedh]j9)}(hphy_write_pagedh]hphy_write_paged}(hj91hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj51ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj&1hMKubj )}(h:(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjU1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ1ubj")}(h h]h }(hjb1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjs1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju1modnameN classnameNj j )}j ]j )}j j;1sbc.phy_write_pagedasbuh1hhjQ1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQ1ubj9)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM1ubj )}(hint pageh](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hpageh]hpage}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM1ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j1c.phy_write_pagedasbuh1hhj1ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hregnumh]hregnum}(hj+2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM1ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjG2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjI2modnameN classnameNj j )}j ]j1c.phy_write_pagedasbuh1hhj@2ubj")}(h h]h }(hje2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@2ubj9)}(hvalh]hval}(hjs2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj&1hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj&1hMKubah}(h]j 1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&1hMKhj 1hhubjg)}(hhh]jl)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKhj2hhubah}(h]h ]h"]h$]h&]uh1jfhj 1hhhj&1hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhj2hNhNubj)}(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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhj2ubj)}(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)}(hj2h]hstruct phy_device *phydev}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMLhj2ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj2hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj3h]hstruct phy_device}(hj3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj2hMLhj2ubeh}(h]h ]h"]h$]h&]uh1jkhj2hMLhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMLhj2ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj63h]hint page}(hj83hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj43ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMMhj03ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjO3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK3hMMhjL3ubah}(h]h ]h"]h$]h&]uh1jhj03ubeh}(h]h ]h"]h$]h&]uh1jhjK3hMMhj2ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjo3h]h u32 regnum}(hjq3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMNhji3ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMNhj3ubah}(h]h ]h"]h$]h&]uh1jhji3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMNhj2ubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hj3h]hu16 val}(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.chMOhj3ubj)}(hhh]jl)}(hvalue to writeh]hvalue to write}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMOhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMOhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hj3h]h Description}(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.chMQhj2ubjl)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhj2hhhNhNubh)}(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}(hj(4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$4hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`ubj")}(h h]h }(hj74hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$4hhhj64hM`ubj3)}(hphy_modify_paged_changedh]j9)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hjI4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$4hhhj64hM`ubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hje4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja4ubj")}(h h]h }(hjr4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja4ubh)}(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 jK4sbc.phy_modify_paged_changedasbuh1hhja4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hja4ubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]4ubj )}(hint pageh](jM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hpageh]hpage}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]4ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j4c.phy_modify_paged_changedasbuh1hhj5ubj")}(h h]h }(hj-5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hregnumh]hregnum}(hj;5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]4ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjW5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY5modnameN classnameNj j )}j ]j4c.phy_modify_paged_changedasbuh1hhjP5ubj")}(h h]h }(hju5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP5ubj9)}(hmaskh]hmask}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]4ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j4c.phy_modify_paged_changedasbuh1hhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hseth]hset}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$4hhhj64hM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 4hhhj64hM`ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj64hM`hj4hhubjg)}(hhh]jl)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`hj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj64hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 6jj 6jjjuh1hhhhj2hNhNubj)}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhj6ubj)}(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)}(hj66h]hstruct phy_device *phydev}(hj86hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj46ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMahj06ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjO6hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjY6h]hstruct phy_device}(hj[6hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjW6ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjK6hMahjO6ubeh}(h]h ]h"]h$]h&]uh1jkhjK6hMahjL6ubah}(h]h ]h"]h$]h&]uh1jhj06ubeh}(h]h ]h"]h$]h&]uh1jhjK6hMahj-6ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj6h]hint page}(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.chMbhj6ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMbhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMbhj-6ubj)}(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.chMchj6ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMchj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMchj-6ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj7h]hu16 mask}(hj7hhhNhNubah}(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.chMdhj6ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMdhj7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj7hMdhj-6ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj97h]hu16 set}(hj;7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj77ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMehj37ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjR7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjN7hMehjO7ubah}(h]h ]h"]h$]h&]uh1jhj37ubeh}(h]h ]h"]h$]h&]uh1jhjN7hMehj-6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hjt7h]h Description}(hjv7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr7ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMghj6ubjl)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhj2hhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj7hMwubj3)}(hphy_modify_pagedh]j9)}(hphy_modify_pagedh]hphy_modify_paged}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj7hMwubj )}(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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j j7sbc.phy_modify_pagedasbuh1hhj7ubj")}(h h]h }(hj48hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjB8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hphydevh]hphydev}(hjO8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint pageh](jM )}(hinth]hint}(hjh8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjd8ubj")}(h h]h }(hjv8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd8ubj9)}(hpageh]hpage}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j08c.phy_modify_pagedasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hregnumh]hregnum}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(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 ]j08c.phy_modify_pagedasbuh1hhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hmaskh]hmask}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj09hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj29modnameN classnameNj j )}j ]j08c.phy_modify_pagedasbuh1hhj)9ubj")}(h h]h }(hjN9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)9ubj9)}(hseth]hset}(hj\9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj7hMwubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj7hMwubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hMwhj7hhubjg)}(hhh]jl)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwhj9hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj7hMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj2hNhNubj)}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj9ubj)}(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)}(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:119: ./drivers/net/phy/phy-core.chMxhj9ubj)}(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_deviceuh1hhj9hMxhj9ubeh}(h]h ]h"]h$]h&]uh1jkhj9hMxhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMxhj9ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj:h]hint page}(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.chMyhj:ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj8:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4:hMyhj5:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj4:hMyhj9ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjX:h]h u32 regnum}(hjZ:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMzhjR:ubj)}(hhh]jl)}(hregister numberh]hregister number}(hjq:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjm:hMzhjn:ubah}(h]h ]h"]h$]h&]uh1jhjR:ubeh}(h]h ]h"]h$]h&]uh1jhjm:hMzhj9ubj)}(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{hj9ubj)}(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|hj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(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.chM~hj9ubjl)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM}hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhj2hhhNhNubh)}(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}(hjJ;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjF;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2ubj")}(h h]h }(hjY;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF;hhhjX;hK2ubj3)}(hgenphy_c45_pma_resumeh]j9)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hjk;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjF;hhhjX;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 jm;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 hjF;hhhjX;hK2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjB;hhhjX;hK2ubah}(h]j=;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjX;hK2hj?;hhubjg)}(hhh]jl)}(hwakes up the PMA moduleh]hwakes up 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.chK2hj<hhubah}(h]h ]h"]h$]h&]uh1jfhj?;hhhjX;hK2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"<jj"<jjjuh1hhhhj2hNhNubj)}(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.chK6hj&<ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjK<h]hstruct phy_device *phydev}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK8hjE<ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjd<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK3hja<ubah}(h]h ]h"]h$]h&]uh1jhjE<ubeh}(h]h ]h"]h$]h&]uh1jhj`<hK8hjB<ubah}(h]h ]h"]h$]h&]uh1jhj&<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhj2hhhNhNubh)}(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}(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_suspendasbuh1hhj<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<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}(hje=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hjb=hhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhj<hK@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}=jj}=jjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhj2hhhNhNubh)}(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}(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.chKNubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj>hKNubj3)}(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}(hj!>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj>hKNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj=>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9>ubj")}(h h]h }(hjJ>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9>ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj[>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]>modnameN classnameNj j )}j ]j )}j j#>sb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhj9>ubj")}(h h]h }(hj{>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9>ubj9)}(hphydevh]hphydev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj>hKNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj>hKNubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hKNhj=hhubjg)}(hhh]jl)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKNhj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj>hKNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj2hNhNubj)}(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.chKRhj>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.chKThj>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.chKPhj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hKThj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhj2hhhNhNubh)}(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}(hj[?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjW?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlubj")}(h h]h }(hjj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW?hhhji?hKlubj3)}(hgenphy_c45_pma_setup_forcedh]j9)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hj|?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjW?hhhji?hKlubj )}(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_setup_forcedasbuh1hhj?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 hjW?hhhji?hKlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjS?hhhji?hKlubah}(h]jN?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhji?hKlhjP?hhubjg)}(hhh]jl)}(hconfigures a forced speedh]hconfigures a forced speed}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhj@hhubah}(h]h ]h"]h$]h&]uh1jfhjP?hhhji?hKlubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3@jj3@jjjuh1hhhhj2hNhNubj)}(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.chKphj7@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&]uh1jhjZ@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKrhjV@ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hju@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKmhjr@ubah}(h]h ]h"]h$]h&]uh1jhjV@ubeh}(h]h ]h"]h$]h&]uh1jhjq@hKrhjS@ubah}(h]h ]h"]h$]h&]uh1jhj7@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhj2hhhNhNubh)}(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}(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.chMubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj@hMubj3)}(hgenphy_c45_an_config_anegh]j9)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_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 }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(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 j@sbc.genphy_c45_an_config_anegasbuh1hhj@ubj")}(h h]h }(hj1AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj?AhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hphydevh]hphydev}(hjLAhhhNhNubah}(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!configure advertisement registersh]h!configure advertisement registers}(hjvAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjsAhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj2hNhNubj)}(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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hjAubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjAh]hstruct phy_device *phydev}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjAubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(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:122: ./drivers/net/phy/phy-c45.chMhjAubjl)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjAubjl)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhj2hhhNhNubh)}(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}(hjFBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj")}(h h]h }(hjUBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBBhhhjTBhM9ubj3)}(hgenphy_c45_an_disable_anegh]j9)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hjgBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBBhhhjTBhM9ubj )}(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 jiBsbc.genphy_c45_an_disable_anegasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hphydevh]hphydev}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{Bubah}(h]h ]h"]h$]h&]jPjQuh1j hjBBhhhjTBhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>BhhhjTBhM9ubah}(h]j9Bah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjTBhM9hj;Bhhubjg)}(hhh]jl)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hjChhubah}(h]h ]h"]h$]h&]uh1jfhj;BhhhjTBhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhj2hNhNubj)}(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)}(hj(Ch]h Parameters}(hj*ChhhNhNubah}(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.chM=hj"Cubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjGCh]hstruct phy_device *phydev}(hjIChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjECubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hjACubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj`ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\ChM:hj]Cubah}(h]h ]h"]h$]h&]uh1jhjACubeh}(h]h ]h"]h$]h&]uh1jhj\ChM:hj>Cubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hj"Cubjl)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hj"Cubjl)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hj"Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhj2hhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjChMNubj3)}(hgenphy_c45_restart_anegh]j9)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjChMNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hj DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj1DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3DmodnameN classnameNj j )}j ]j )}j jCsbc.genphy_c45_restart_anegasbuh1hhjDubj")}(h h]h }(hjQDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hj_DhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hphydevh]hphydev}(hjlDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Dubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjChMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjChMNubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChMNhjChhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjDhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhjChMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj2hNhNubj)}(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)}(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.chMRhjDubj)}(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.chMOhjDubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMOhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMOhjDubah}(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:122: ./drivers/net/phy/phy-c45.chMQhjDubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj(EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjDubjl)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hj7EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhj2hhhNhNubh)}(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}(hjfEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbubj")}(h h]h }(hjuEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbEhhhjtEhMbubj3)}(h!genphy_c45_check_and_restart_anegh]j9)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbEhhhjtEhMbubj )}(h)(struct phy_device *phydev, bool restart)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 jEsb#c.genphy_c45_check_and_restart_anegasbuh1hhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(h bool restarth](jM )}(hjh]hbool}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hj"FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hrestarth]hrestart}(hj0FhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbEhhhjtEhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^EhhhjtEhMbubah}(h]jYEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjtEhMbhj[Ehhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjZFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjWFhhubah}(h]h ]h"]h$]h&]uh1jfhj[EhhhjtEhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrFjjrFjjjuh1hhhhj2hNhNubj)}(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)}(hj|Fh]h Parameters}(hj~FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjvFubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjFh]hstruct phy_device *phydev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjFubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMchjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMchjFubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjFh]h bool restart}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhjFubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMdhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMdhjFubeh}(h]h ]h"]h$]h&]uh1jhjvFubjl)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(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.chMfhjvFubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj%GhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjvFubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hj4GhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghjvFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhj2hhhNhNubh)}(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}(hjcGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_GhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjrGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_GhhhjqGhMubj3)}(hgenphy_c45_aneg_doneh]j9)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_GhhhjqGhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j jGsbc.genphy_c45_aneg_doneasbuh1hhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubah}(h]h ]h"]h$]h&]jPjQuh1j hj_GhhhjqGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[GhhhjqGhMubah}(h]jVGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqGhMhjXGhhubjg)}(hhh]jl)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hj#HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj Hhhubah}(h]h ]h"]h$]h&]uh1jfhjXGhhhjqGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;Hjj;Hjjjuh1hhhhj2hNhNubj)}(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)}(hjEHh]h Parameters}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?Hubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjdHh]hstruct phy_device *phydev}(hjfHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj^Hubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj}HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyHhMhjzHubah}(h]h ]h"]h$]h&]uh1jhj^Hubeh}(h]h ]h"]h$]h&]uh1jhjyHhMhj[Hubah}(h]h ]h"]h$]h&]uh1jhj?Hubjl)}(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:122: ./drivers/net/phy/phy-c45.chMhj?Hubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?Hubjl)}(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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?Hubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhj2hhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjIhMubj3)}(hgenphy_c45_read_linkh]j9)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjIhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj0IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Iubj")}(h h]h }(hj=IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,Iubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjNIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPImodnameN classnameNj j )}j ]j )}j jIsbc.genphy_c45_read_linkasbuh1hhj,Iubj")}(h h]h }(hjnIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,Iubj )}(hj h]h*}(hj|IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,Iubj9)}(hphydevh]hphydev}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(Iubah}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjIhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjIhMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhMhjHhhubjg)}(hhh]jl)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj2hNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read 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](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.chMhjIubj)}(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.chMhjIubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj JhMhj Jubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj JhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hj/Jh]h Description}(hj1JhhhNhNubah}(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.chMhjIubjl)}(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.}(hjEJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhj2hhhNhNubh)}(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}(hjtJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpJhhhZ/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!hjpJhhhjJhMubj3)}(hgenphy_c45_read_lpah]j9)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjpJhhhjJhMubj )}(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_read_lpaasbuh1hhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjJhhhNhNubah}(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 hjpJhhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlJhhhjJhMubah}(h]jgJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhjiJhhubjg)}(hhh]jl)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hj4KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1Khhubah}(h]h ]h"]h$]h&]uh1jfhjiJhhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLKjjLKjjjuh1hhhhj2hNhNubj)}(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)}(hjVKh]h Parameters}(hjXKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPKubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjuKh]hstruct phy_device *phydev}(hjwKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjoKubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjoKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjlKubah}(h]h ]h"]h$]h&]uh1jhjPKubjl)}(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:122: ./drivers/net/phy/phy-c45.chMhjPKubjl)}(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 }(hjKhhhNhNubj)}(h **phydev**h]hphydev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. 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.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhj2hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhM:ubj3)}(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}(hj(LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$Lubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjLhM:ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjDLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@Lubj")}(h h]h }(hjQLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@Lubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjbLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdLmodnameN classnameNj j )}j ]j )}j j*Lsb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhj@Lubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@Lubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@Lubj9)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Lubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhjLubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjMh]hstruct phy_device *phydev}(hj MhhhNhNubah}(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.chM@hjMubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj!MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM@hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhj2hhhNhNubh)}(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}(hjbMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^MhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVubj")}(h h]h }(hjqMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^MhhhjpMhMVubj3)}(hgenphy_c45_read_pmah]j9)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^MhhhjpMhMVubj )}(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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jMsbc.genphy_c45_read_pmaasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hj^MhhhjpMhMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZMhhhjpMhMVubah}(h]jUMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjpMhMVhjWMhhubjg)}(hhh]jl)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hj"NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjWMhhhjpMhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:Njj:Njjjuh1hhhhj2hNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjDNh]h Parameters}(hjFNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMZhj>Nubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjcNh]hstruct phy_device *phydev}(hjeNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM\hj]Nubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj|NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhjyNubah}(h]h ]h"]h$]h&]uh1jhj]Nubeh}(h]h ]h"]h$]h&]uh1jhjxNhM\hjZNubah}(h]h ]h"]h$]h&]uh1jhj>Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhj2hhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhjNhMubj3)}(hgenphy_c45_read_mdixh]j9)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhjNhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(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 jNsbc.genphy_c45_read_mdixasbuh1hhjNubj")}(h h]h }(hj8OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjFOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hphydevh]hphydev}(hjSOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjNhMubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhjNhhubjg)}(hhh]jl)}(hread mdix status from PMAh]hread mdix status from PMA}(hj}OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjzOhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj2hNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:122: ./drivers/net/phy/phy-c45.chMhjOubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjOubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhj2hhhNhNubh)}(hhh](j)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]j )}(hReads status from PHY and sets phy_device members accordingly.h]h>Reads status from PHY and sets phy_device members accordingly.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-Xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhj2hhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjXhMubj3)}(hgenphy_c45_config_anegh]j9)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjXhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Yubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Yubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj-YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*Yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/YmodnameN classnameNj j )}j ]j )}j jXsbc.genphy_c45_config_anegasbuh1hhj Yubj")}(h h]h }(hjMYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Yubj )}(hj h]h*}(hj[YhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Yubj9)}(hphydevh]hphydev}(hjhYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjXhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZh jXhhhjXhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMhjXhhubjg)}(hhh]jl)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhjYubj)}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjYubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjYubj)}(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+ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'Zubj)}(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=ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9ZhMhj:Zubah}(h]h ]h"]h$]h&]uh1jhj'Zubeh}(h]h ]h"]h$]h&]uh1jhj9ZhMhj$Zubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhj2hhhNhNubh)}(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}(hj}ZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyZhhhjZhMubj3)}(hgenphy_c45_fast_retrainh]j9)}(hgenphy_c45_fast_retrainh]hgenphy_c45_fast_retrain}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyZhhhjZhMubj )}(h((struct phy_device *phydev, bool enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j jZsbc.genphy_c45_fast_retrainasbuh1hhjZubj")}(h h]h }(hjZhhhNhNubah}(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 hjZubj )}(h bool enableh](jM )}(hjh]hbool}(hj,[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj([ubj")}(h h]h }(hj9[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj([ubj9)}(henableh]henable}(hjG[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj([ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubeh}(h]h ]h"]h$]h&]jPjQuh1j hjyZhhhjZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuZhhhjZhMubah}(h]jpZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhMhjrZhhubjg)}(hhh]jl)}(h configure fast retrain registersh]h configure fast retrain registers}(hjq[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjn[hhubah}(h]h ]h"]h$]h&]uh1jfhjrZhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj2hNhNubj)}(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)}(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.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}(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.chMhj[ubj)}(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&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj[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.chMhj[ubj)}(hhh]jl)}(henable fast retrain or noth]henable fast retrain or not}(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:122: ./drivers/net/phy/phy-c45.chMhj[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}(hjC\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?\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.}(hjU\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjR\ubah}(h]h ]h"]h$]h&]uh1jhj?\ubeh}(h]h ]h"]h$]h&]uh1jhjQ\hMhj<\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhj2hhhNhNubh)}(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}(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.chMubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hMubj3)}(hgenphy_c45_plca_get_cfgh]j9)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhj\hMubj )}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)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_plca_get_cfgasbuh1hhj\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 )}(hstruct phy_plca_cfg *plca_cfgh](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 phy_plca_cfgh]h phy_plca_cfg}(hjc]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje]modnameN classnameNj j )}j ]j ]c.genphy_c45_plca_get_cfgasbuh1hhjA]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)}(hplca_cfgh]hplca_cfg}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA]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.get PLCA configuration from standard registersh]h.get PLCA configuration from standard registers}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj2hNhNubj)}(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)}(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.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}(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.chMhj^ubj)}(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&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj]ubj)}(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)}(hj@^h]hstruct phy_plca_cfg *plca_cfg}(hjB^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)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(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 hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hj{^h]h Description}(hj}^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hj]ubj)}(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}(hj^hhhNhNubah}(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)}(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^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]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhj2hhhNhNubh)}(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}(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_plca_set_cfgh]j9)}(hgenphy_c45_plca_set_cfgh]hgenphy_c45_plca_set_cfg}(hj _hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj^hM<ubj )}(h@(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#_ubj")}(h h]h }(hj4_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#_ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjE_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG_modnameN classnameNj j )}j ]j )}j j _sbc.genphy_c45_plca_set_cfgasbuh1hhj#_ubj")}(h h]h }(hje_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#_ubj )}(hj h]h*}(hjs_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#const struct phy_plca_cfg *plca_cfgh](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 phy_plca_cfgh]h phy_plca_cfg}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]ja_c.genphy_c45_plca_set_cfgasbuh1hhj_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)}(hplca_cfgh]hplca_cfg}(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/set PLCA configuration using standard registersh]h/set PLCA configuration using standard registers}(hj5`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hj2`hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj^hM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjM`jjM`jjjuh1hhhhj2hNhNubj)}(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)}(hjW`h]h Parameters}(hjY`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM@hjQ`ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjv`h]hstruct phy_device *phydev}(hjx`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hjp`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&]uh1jhjp`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM=hjm`ubj)}(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)}(hj`h]h#const struct phy_plca_cfg *plca_cfg}(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)}(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`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM?hjm`ubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMAhjQ`ubj)}(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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMBhjaubj)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMBhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMBhjaubah}(h]h ]h"]h$]h&]uh1jhjQ`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhj2hhhNhNubh)}(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}(hjZahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVahhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjiahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVahhhjhahMubj3)}(hgenphy_c45_plca_get_statush]j9)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj{ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVahhhjhahMubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)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 j}asbc.genphy_c45_plca_get_statusasbuh1hhjaubj")}(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 hjaubj )}(hstruct phy_plca_status *plca_sth](j)}(hjh]hstruct}(hj bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hphy_plca_statush]hphy_plca_status}(hj'bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)bmodnameN classnameNj j )}j ]jac.genphy_c45_plca_get_statusasbuh1hhjbubj")}(h h]h }(hjEbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjSbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hplca_sth]hplca_st}(hj`bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVahhhjhahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRahhhjhahMubah}(h]jMaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhahMhjOahhubjg)}(hhh]jl)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jfhjOahhhjhahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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)}(hjch]hstruct phy_plca_status *plca_st}(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.chMhjbubj)}(hhh]jl)}(h)output structure to store the PLCA statush]h)output structure to store the PLCA status}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjcubah}(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}(hjAchhhNhNubah}(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 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}(hj\chhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjXcubj)}(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.}(hjnchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjchMhjkcubah}(h]h ]h"]h$]h&]uh1jhjXcubeh}(h]h ]h"]h$]h&]uh1jhjjchMhjUcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhj2hhhNhNubh)}(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}(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_eee_is_activeh]j9)}(hgenphy_c45_eee_is_activeh]hgenphy_c45_eee_is_active}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjchMubj )}(h.(struct phy_device *phydev, unsigned long *lp)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}(hj dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj dmodnameN classnameNj j )}j ]j )}j jcsbc.genphy_c45_eee_is_activeasbuh1hhjcubj")}(h h]h }(hj)dhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hj7dhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hphydevh]hphydev}(hjDdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hunsigned long *lph](jM )}(hunsignedh]hunsigned}(hj]dhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYdubj")}(h h]h }(hjkdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYdubjM )}(hlongh]hlong}(hjydhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYdubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYdubj9)}(hlph]hlp}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYdubeh}(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)}(hget EEE statush]hget EEE status}(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&]jjjjdjjdjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhjdubj)}(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}(hjehhhNhNubah}(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.chMhjeubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj&ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"ehMhj#eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj"ehMhjeubj)}(h@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hjFeh]hunsigned long *lp}(hjHehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj@eubj)}(hhh]jl)}(h)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(hj_ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[ehMhj\eubah}(h]h ]h"]h$]h&]uh1jhj@eubeh}(h]h ]h"]h$]h&]uh1jhj[ehMhjeubeh}(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:122: ./drivers/net/phy/phy-c45.chMhjdubjl)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhj2hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehMubj3)}(hgenphy_c45_ethtool_get_eeeh]j9)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#fmodnameN classnameNj j )}j ]j )}j jesbc.genphy_c45_ethtool_get_eeeasbuh1hhjeubj")}(h h]h }(hjAfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjOfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hphydevh]hphydev}(hj\fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hstruct ethtool_keee *datah](j)}(hjh]hstruct}(hjufhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqfubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j=fc.genphy_c45_ethtool_get_eeeasbuh1hhjqfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqfubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqfubj9)}(hdatah]hdata}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhjehMubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjehhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhjgubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj7gh]hstruct phy_device *phydev}(hj9ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1gubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjPghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLghMhjMgubah}(h]h ]h"]h$]h&]uh1jhj1gubeh}(h]h ]h"]h$]h&]uh1jhjLghMhj.gubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjpgh]hstruct ethtool_keee *data}(hjrghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjngubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjjgubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhj.gubeh}(h]h ]h"]h$]h&]uh1jhjgubjl)}(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.chMhjgubjl)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hUint genphy_c45_ethtool_set_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hTint genphy_c45_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data)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.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghMubj3)}(hgenphy_c45_ethtool_set_eeeh]j9)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj hubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj-hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hubj")}(h h]h }(hj:hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjKhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMhmodnameN classnameNj j )}j ]j )}j jhsbc.genphy_c45_ethtool_set_eeeasbuh1hhj)hubj")}(h h]h }(hjkhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hubj )}(hj h]h*}(hjyhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)hubj9)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)hubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%hubj )}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jghc.genphy_c45_ethtool_set_eeeasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hdatah]hdata}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%hubeh}(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)}(hset EEE supported and statush]hset EEE supported and status}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjihhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8ijj8ijjjuh1hhhhj2hNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** sets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.h](jl)}(h**Parameters**h]j)}(hjBih]h Parameters}(hjDihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@iubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYlhMhj@lhhubjg)}(hhh]jl)}(h/Start a cable test on an OATC14 10Base-T1S PHY.h]h/Start a cable test on an OATC14 10Base-T1S PHY.}(hj mhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhj@lhhhjYlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#mjj#mjjjuh1hhhhj2hNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device structure **Description** This function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP. For PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test. **Return** * 0 on success * -EOPNOTSUPP if the PHY does not support HDD capability * A negative error code on I/O or register access failuresh](jl)}(h**Parameters**h]j)}(hj-mh]h Parameters}(hj/mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+mubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'mubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjLmh]hstruct phy_device *phydev}(hjNmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFmubj)}(hhh]jl)}(h#Pointer to the PHY device structureh]h#Pointer to the PHY device structure}(hjemhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjamhMhjbmubah}(h]h ]h"]h$]h&]uh1jhjFmubeh}(h]h ]h"]h$]h&]uh1jhjamhMhjCmubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'mubjl)}(hXXThis function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP.h]hXXThis function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'mubjl)}(hFor PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test.h]hFor PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'mubjl)}(h **Return**h]j)}(hjmh]hReturn}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'mubjO)}(hhh](jO)}(h 0 on successh]jl)}(hjmh]h 0 on success}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjmubah}(h]h ]h"]h$]h&]uh1jOhjmubjO)}(h6-EOPNOTSUPP if the PHY does not support HDD capabilityh]jl)}(hjmh]h6-EOPNOTSUPP if the PHY does not support HDD capability}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjmubah}(h]h ]h"]h$]h&]uh1jOhjmubjO)}(h8A negative error code on I/O or register access failuresh]jl)}(hjnh]h8A negative error code on I/O or register access failures}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjnubah}(h]h ]h"]h$]h&]uh1jOhjmubeh}(h]h ]h"]h$]h&]jOj uh1jOhjmhMhj'mubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_oatc14_get_sqi_max (C function)c.genphy_c45_oatc14_get_sqi_maxhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h=int genphy_c45_oatc14_get_sqi_max (struct phy_device *phydev)h]j )}(h|ubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hjc|h]hphy_interface_t interface}(hje|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj]|ubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj||hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx|hKhjy|ubah}(h]h ]h"]h$]h&]uh1jhj]|ubeh}(h]h ]h"]h$]h&]uh1jhjx|hKhjZ|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.hhKhj>|ubjl)}(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 }(hj|hhhNhNubh)}(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.hhKhj|ubh defined in this file into the device tree binding of ‘phy-mode’, so that Ethernet device driver can get PHY interface from device tree.}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj|hKhj>|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hlong rgmii_clock (int speed)h]j )}(hlong rgmii_clock(int speed)h](jM )}(hlongh]hlong}(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 }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}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&]jPjQuh1j2hj}hhhj}hM'ubj )}(h (int speed)h]j )}(h int speedh](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)}(hspeedh]hspeed}(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)}(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'hj}hhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhj}hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj2hNhNubj)}(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+hj}ubj)}(hhh]j)}(h``int speed`` link speed value h](j)}(h ``int speed``h]j)}(hj}h]h int speed}(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)}(hlink speed valueh]hlink speed 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(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)}(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*hj}ubjl)}(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.hhM/hj}ubjl)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjB~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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhj2hhhNhNubh)}(hhh](j)}(hmdio_bus_statsh]j )}(hstruct mdio_bus_statsh](j)}(hjh]hstruct}(hjq~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm~hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm~hhhj~~hM4ubj3)}(hmdio_bus_statsh]j9)}(hjk~h]hmdio_bus_stats}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm~hhhj~~hM4ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji~hhhj~~hM4ubah}(h]jd~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~~hM4hjf~hhubjg)}(hhh]jl)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjf~hhhj~~hM4ubeh}(h]h ](jstructeh"]h$]h&]jjjj~jj~jjjuh1hhhhj2hNhNubj)}(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}(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.hhMThj~ubj)}(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; };}hj~sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj~ubjl)}(h **Members**h]j)}(hjh]hMembers}(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^hj~ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hj9hhhNhNubj)}(h **writes**h]hwrites}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh + }(hj9hhhNhNubj)}(h **reads**h]hreads}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jkhj5hMRhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMRhjubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hjyh]herrors}(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.hhMShjsubj)}(hhh]jl)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hjh]hwrites}(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)}(hNumber of write transfersh]hNumber of write transfers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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&]uh1jhjhMUhjubj)}(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.hhMUhjubj)}(hhh]jl)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMUhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhj2hhhNhNubh)}(hhh](j)}(hmii_bush]j )}(hstruct mii_bush](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhT/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!hjzhhhjhM\ubj3)}(hmii_bush]j9)}(hjxh]hmii_bus}(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)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjhhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhM\ubeh}(h]h ](jstructeh"]h$]h&]jjjj؀jj؀jjjuh1hhhhj2hNhNubj)}(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.hhMehj܀ubj)}(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; };oh]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.hhMghj܀ubjl)}(h **Members**h]j)}(hjh]hMembers}(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``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hj-h]howner}(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.hhMdhj'ubj)}(hhh]jl)}(hWho owns this deviceh]hWho owns this device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMdhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMdhj$ubj)}(hA``name`` User friendly name for this MDIO device, or driver name h](j)}(h``name``h]j)}(hjfh]hname}(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.hhMehj`ubj)}(hhh]jl)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMehj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(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)}(hjh]hid}(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:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj$ubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hj؁h]hpriv}(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.hhMghjҁubj)}(hhh]jl)}(hDriver private datah]hDriver private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjҁubeh}(h]h ]h"]h$]h&]uh1jhjhMghj$ubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hjh]hread}(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.hhMqhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMqhj$ubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjJh]hwrite}(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.hhMshjDubj)}(hhh]jl)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMshj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMshj$ubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hjh]hread_c45}(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.hhMuhj}ubj)}(hhh]jl)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj$ubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hjh]h write_c45}(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)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hjՂhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjтhMwhj҂ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjтhMwhj$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&]uh1jkhj hMzhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMzhj$ubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hj.h]hstats}(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.hhM}hj(ubj)}(hhh]jl)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM}hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM}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)}(hjgh]h mdio_lock}(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)}(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}(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|hMhj$ubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjh]hparent}(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)}(hParent device of this bush]hParent device of this bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hjڃh]hstate}(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)}(hState of bus structureh]hState of bus structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԃubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hjh]hdev}(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)}(hKernel device representationh]hKernel device representation}(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-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjLh]hmdio_map}(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.hhMhjFubj)}(hhh]jl)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj$ubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hjh]hphy_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)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjh]hphy_ignore_ta_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)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hjׄhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjӄhMhjԄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӄhMhj$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}(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 hMhj$ubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hj1h]hreset_delay_us}(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&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj$ubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjjh]hreset_post_delay_us}(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)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjh]h reset_gpiod}(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)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hj܅h]h shared_lock}(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$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&]uh1jhjօubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h-``shared`` shared state across different PHYsh](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)}(h"shared state across different PHYsh]h"shared state across different PHYs}(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*hMhj$ubeh}(h]h ]h"]h$]h&]uh1jhj܀ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2hhubjl)}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhj2hhhNhNubh)}(hhh](j)}(h%struct mii_bus * mdiobus_alloc (void)h]j )}(h#struct mii_bus *mdiobus_alloc(void)h](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!hjhhhjhMubh)}(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 mdiobus_allocsbc.mdiobus_allocasbuh1hhjhhhjhMubj")}(h h]h }(hjֆhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h mdiobus_alloch]j9)}(hjӆh]h mdiobus_alloc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubah}(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)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(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&]jjjjRjjRjjjuh1hhhhj2hNhNubj)}(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)}(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)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj{h]hvoid}(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 no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjrubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjVubjl)}(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.}(hj̇hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhj2hhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_stateh]j9)}(hjh]h phy_state}(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)}(hPHY state machine states:h]hPHY state machine states:}(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 ](jenumeh"]h$]h&]jjjjUjjUjjjuh1hhhhj2hNhNubj)}(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)}(hj_h]h Constants}(hjahhhNhNubah}(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)}(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)}(hj~h]hPHY_DOWN}(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.hhMhjxubj)}(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 }(hjhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(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&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(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)}(hjƈh]h PHY_READY}(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)}(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}(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ۈhMhjuubj)}(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 }(hjhhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(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&]uh1jhjhMhjuubj)}(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)}(hjHh]h PHY_ERROR}(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.hhMhjBubj)}(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 }(hjahhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjuubj)}(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)}(hjh]hPHY_UP}(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 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 }(hjhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(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&]uh1jhjhMhjuubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if link goes down - 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&]uh1jhjhMhjuubj)}(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)}(hjDh]h PHY_NOLINK}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj>ubj)}(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 }(hj]hhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh( if link comes back - phy_stop moves to }(hj]hhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjwhhhNhNubah}(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.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjuubj)}(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)}(hjh]h PHY_CABLETEST}(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)}(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 }(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&]uh1jhjhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhj2hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM 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&]jPjQuh1j2hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jstructeh"]h$]h&]jjjj`jj`jjjuh1hhhhj2hNhNubj)}(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}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh:}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjdubj)}(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]; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubjl)}(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.hhMhjdubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hjh]hdevices_in_package}(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-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(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-``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 hjubj)}(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.}(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!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hjubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_oatc14_sqi_capability (C struct)c.phy_oatc14_sqi_capabilityhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_oatc14_sqi_capabilityh]j )}(h struct phy_oatc14_sqi_capabilityh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMubj3)}(hphy_oatc14_sqi_capabilityh]j9)}(hj{h]hphy_oatc14_sqi_capability}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjvhhubjg)}(hhh]jl)}(h4SQI capability information for OATC14 10Base-T1S PHYh]h4SQI capability information for OATC14 10Base-T1S PHY}(hjÌhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjیjjیjjjuh1hhhhj2hNhNubj)}(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.hhMhjߌubj)}(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.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.hhM#hjߌubj)}(hhh](j)}(hK``updated`` Indicates whether the SQI capability fields have been updated. h](j)}(h ``updated``h]j)}(hj0h]hupdated}(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>Indicates whether the SQI capability fields have been updated.h]h>Indicates whether the SQI capability fields have been updated.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(hX``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. h](j)}(h ``sqi_max``h]j)}(hjih]hsqi_max}(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)}(hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.h]hKMaximum supported Signal Quality Indicator (SQI) level reported by the 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&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'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)}(hjh]h sqiplus_bits}(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)}(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)}(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#hj'ubeh}(h]h ]h"]h$]h&]uh1jhjߌubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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'hj2hhubjl)}(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$hj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhj2hhhNhNubh)}(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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj1hM*ubj3)}(h phy_deviceh]j9)}(hjh]h phy_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj1hM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hM*ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM*hjhhubjg)}(hhh]jl)}(hAn instance of a PHYh]hAn instance of a PHY}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjchhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hM*ubeh}(h]h ](jstructeh"]h$]h&]jjjj~jj~jjjuh1hhhhj2hNhNubj)}(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 PHYh](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.hhM3hjubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjubjl)}(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!``mdio`` MDIO bus this PHY is on h](j)}(h``mdio``h]j)}(hjӎh]hmdio}(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.hhM2hj͎ubj)}(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&]uh1jhj͎ubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjʎubj)}(h4``drv`` Pointer to the driver for this PHY instance h](j)}(h``drv``h]j)}(hj h]hdrv}(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.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)}(hjEh]hdevlink}(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.hhM5hj?ubj)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM5hjʎ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)}(hjh]hphyindex}(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.hhM8hjyubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjʎubj)}(h6``phy_id`` UID for this device found during discovery 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.hhM9hjubj)}(hhh]jl)}(h*UID for this device found during discoveryh]h*UID for this device found during discovery}(hjҏhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjΏhM9hjϏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΏhM9hjʎ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.}(hj hhhNhNubah}(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}(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)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hM;hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM;hjʎubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hjdh]h is_internal}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hj^ubj)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM<hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM<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)}(hjh]his_pseudo_fixed_link}(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)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjʎubj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hj֐h]his_gigabit_capable}(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$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&]uh1jhjАubeh}(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)}(hjh]h has_fixups}(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*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&]uh1jhj ubeh}(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)}(hjHh]h suspended}(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)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(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)}(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)}(hjh]hsuspended_by_mdio_bus}(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.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjʎubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hjh]h sysfs_links}(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)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hjӑhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϑhMBhjБubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϑhMBhjʎ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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChj ubah}(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}(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.hhMDhj&ubj)}(hhh]jl)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMDhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMDhjʎ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)}(hjeh]his_on_sfp_module}(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.hhMEhj_ubj)}(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.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMEhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMEhjʎubj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hjh]hmac_managed_pm}(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)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjʎ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)}(hjגh]h wol_enabled}(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.hhMHhjђubj)}(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&]uh1jhjђubeh}(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)}(hjh]his_genphy_driven}(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.hhMIhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMIhjʎubj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hjJh]hautoneg}(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.hhMnhjDubj)}(hhh]jl)}(hFlag autoneg being usedh]hFlag autoneg being used}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMnhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMnhjʎubj)}(h``link`` Current link state h](j)}(h``link``h]j)}(hjh]hlink}(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.hhMphj}ubj)}(hhh]jl)}(hCurrent link stateh]hCurrent link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMphjʎubj)}(hE``autoneg_complete`` Flag auto negotiation of the link has completed h](j)}(h``autoneg_complete``h]j)}(hjh]hautoneg_complete}(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.hhMqhjubj)}(hhh]jl)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(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``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&]uh1jkhj hM_hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM_hjʎubj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hj.h]h asym_pause}(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.hhM`hj(ubj)}(hhh]jl)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM`hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM`hjʎubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjgh]h interrupts}(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.hhMuhjaubj)}(hhh]jl)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMuhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(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)}(hjh]h irq_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.hhMwhjubj)}(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}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjʎ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)}(hjڔh]h irq_rerun}(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)}(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&]uh1jhjԔubeh}(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)}(hjh]hdefault_timestamp}(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)}(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}(hj-hhhNhNubah}(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)}(hjNh]h rate_matching}(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.hhMohjHubj)}(hhh]jl)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMohjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMohjʎubj)}(h3``state`` State of the PHY for management purposes 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.hhMJhjubj)}(hhh]jl)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjʎubj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hjh]h dev_flags}(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)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hjٕhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjՕhMKhj֕ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՕhMKhjʎ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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjubah}(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)}(hj2h]hpossible_interfaces}(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.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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM~hjʎubj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjlh]hspeed}(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.hhM\hjfubj)}(hhh]jl)}(hCurrent link speedh]hCurrent link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjʎubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjh]hduplex}(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)}(hCurrent duplexh]hCurrent duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjʎubj)}(h``port`` Current port h](j)}(h``port``h]j)}(hjޖh]hport}(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 Current porth]h Current port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjؖubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjʎubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hjh]hmaster_slave_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)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjPh]hmaster_slave_set}(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)}(h)User requested master/slave configurationh]h)User requested master/slave configuration}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjʎubj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hjh]hmaster_slave_state}(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"Current master/slave configurationh]h"Current master/slave configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʎubj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hj—h]h supported}(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.hhMahjubj)}(hhh]jl)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjۗhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjחhMahjؗubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjחhMahjʎ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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjʎubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hj4h]hlp_advertising}(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.hhMkhj.ubj)}(hhh]jl)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMkhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMkhjʎubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hjmh]hadv_old}(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.hhMchjgubj)}(hhh]jl)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMchjʎubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjh]h supported_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.hhMdhjubj)}(hhh]jl)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjʎubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hjߘh]hadvertising_eee}(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.hhMehj٘ubj)}(hhh]jl)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhj٘ubeh}(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)}(hjh]heee_disabled_modes}(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.hhMmhjubj)}(hhh]jl)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMmhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMmhjʎubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjQh]h enable_tx_lpi}(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)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMfhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMfhjʎubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hjh]h eee_active}(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)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjʎ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)}(hjÙh]hautonomous_eee_disabled}(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.hhMihjubj)}(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}(hjܙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjٙubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjؙhMihjʎ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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjʎubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hj6h]hhost_interfaces}(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.hhMlhj0ubj)}(hhh]jl)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMlhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMlhjʎubj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hjoh]hphy_led_triggers}(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.hhMhjiubj)}(hhh]jl)}(hArray of LED triggersh]hArray of LED triggers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʎubj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hjh]hphy_num_led_triggers}(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 triggers in **phy_led_triggers**h](hNumber of triggers in }(hjhhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hjɚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʎ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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjʎubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjah]hleds}(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)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjʎubj)}(h7``irq`` IRQ number of the PHY's interrupt (-1 if none) 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.hhMRhjubj)}(hhh]jl)}(h.IRQ number of the PHY's interrupt (-1 if none)h]h0IRQ number of the PHY’s interrupt (-1 if none)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjʎubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjӛh]hpriv}(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)}(hPointer to driver private datah]hPointer to driver private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj͛ubeh}(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)}(hj h]hshared}(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)}(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)}(hjEh]hskb}(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.hhMhj?ubj)}(hhh]jl)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjʎubj)}(h.``ehdr`` nNtlink header for cable diagnostics h](j)}(h``ehdr``h]j)}(hj~h]hehdr}(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.hhMhjxubj)}(hhh]jl)}(h$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʎubj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hjh]hnest}(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 nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(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-``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}(hj hhhNhNubah}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjʎubj)}(hK``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached h](j)}(h``sfp_bus_attached``h]j)}(hjbh]hsfp_bus_attached}(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.hhMThj\ubj)}(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&]uh1jkhjwhMThjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMThjʎubj)}(h6``sfp_bus`` SFP bus attached to this PHY's fiber port h](j)}(h ``sfp_bus``h]j)}(hjh]hsfp_bus}(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)SFP bus attached to this PHY's fiber porth]h+SFP bus attached to this PHY’s fiber port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjʎubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjԝh]hphylink}(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(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&]uh1jhjΝubeh}(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)}(hj h]h attached_dev}(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.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)}(hjFh]hmii_ts}(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)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(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<``psec`` Pointer to Power Sourcing Equipment control struct h](j)}(h``psec``h]j)}(hjh]hpsec}(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)}(h2Pointer to Power Sourcing Equipment control structh]h2Pointer to Power Sourcing Equipment control struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʎubj)}(h'``ports`` List of PHY ports structures h](j)}(h ``ports``h]j)}(hjh]hports}(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 ports structuresh]hList of PHY ports 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)}(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}(hj hhhNhNubah}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjʎubj)}(h``mdix`` Current crossover h](j)}(h``mdix``h]j)}(hjch]hmdix}(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.hhMrhj]ubj)}(hhh]jl)}(hCurrent crossoverh]hCurrent crossover}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMrhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMrhjʎubj)}(h(``mdix_ctrl`` User setting of crossover h](j)}(h ``mdix_ctrl``h]j)}(hjh]h mdix_ctrl}(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)}(hUser setting of crossoverh]hUser setting of crossover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjʎubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hj՟h]h pma_extable}(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.hhMthjϟubj)}(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&]uh1jhjϟubeh}(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}(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)}(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)}(hjGh]hphy_link_change}(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.hhMYhjAubj)}(hhh]jl)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMYhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMYhjʎubj)}(h[``adjust_link`` Callback for the enet controller to respond to changes: in the link state. h](j)}(h``adjust_link``h]j)}(hjh]h adjust_link}(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.hhMXhjzubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjʎubj)}(h&``macsec_ops`` MACsec offloading ops. h](j)}(h``macsec_ops``h]j)}(hjh]h macsec_ops}(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)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjӠhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϠhMZhjРubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϠhMZhjʎ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}(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&]uh1jhjhMhjʎubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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.hhMhj2hhubj)}(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]jO)}(hhh](jO)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjSubah}(h]h ]h"]h$]h&]uh1jOhjPubjO)}(h3Bits [23:16] are currently reserved for future use.h]jl)}(hjnh]h3Bits [23:16] are currently reserved for future use.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjlubah}(h]h ]h"]h$]h&]uh1jOhjPubjO)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhjubah}(h]h ]h"]h$]h&]uh1jOhjPubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjehMKhjLubah}(h]h ]h"]h$]h&]uh1jhjehMKhj2hhubjl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhj2hhubjl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_tdr_configh]j )}(hstruct phy_tdr_configh](j)}(hjh]hstruct}(hjhhhNhNubah}(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)}(hphy_tdr_configh]j9)}(hjڡh]hphy_tdr_config}(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)}(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:hjhhubah}(h]h ]h"]h$]h&]uh1jfhjաhhhjhM[ubeh}(h]h ](jstructeh"]h$]h&]jjjj:jj:jjjuh1hhhhj2hNhNubj)}(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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh:}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hj>ubj)}(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; };}hj_sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hj>ubjl)}(h **Members**h]j)}(hjph]hMembers}(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.hhMGhj>ubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjh]hfirst}(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(Distance for first data collection pointh]h(Distance for first data collection point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hjȢh]hlast}(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'Distance for last data collection pointh]h'Distance for last data collection point}(hjhhhNhNubah}(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-``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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hj:h]hpair}(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.hhM?hj4ubj)}(hhh]jl)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM?hjubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(h**Description**h]j)}(hj}h]h Description}(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.hhMChj2hhubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhj2hhhNhNubh)}(hhh](j)}(hlink_inband_signallingh]j )}(henum link_inband_signallingh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/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!hjhhhjȣhMHubj3)}(hlink_inband_signallingh]j9)}(hjh]hlink_inband_signalling}(hjۣhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjףubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjȣhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjȣhMHubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjȣhMHhjhhubjg)}(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&]uh1jfhjhhhjȣhMHubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]h Constants}(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.hhMShjubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE`` h]j)}(hj>h]hLINK_INBAND_DISABLE}(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.hhMVhj8ubj)}(hhh]jl)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMVhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMVhj5ubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjwh]hLINK_INBAND_ENABLE}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjqubj)}(hhh]jl)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMYhj5ubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hjh]hLINK_INBAND_BYPASS}(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-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\hjƤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŤhM[hj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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^hj2hhubjl)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhj2hhhNhNubh)}(hhh](j)}(h phy_plca_cfgh]j )}(hstruct phy_plca_cfgh](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)}(h phy_plca_cfgh]j9)}(hj+h]h phy_plca_cfg}(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)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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)}(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; };}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.hhMqhjubj)}(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&]uh1jhjޥubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjڥubj)}(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&]uh1jhjڥubeh}(h]h ]h"]h$]h&]uh1jhjhMghjץubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hjh]henabled}(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.hhMihjubj)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMihjץubj)}(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)}(hjTh]hnode_id}(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.hhMkhjNubj)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMkhjץubj)}(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)}(hjh]hnode_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.hhMnhjubj)}(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].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjץubj)}(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&]uh1jhjƦubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhj¦ubj)}(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.hhMohjަubah}(h]h ]h"]h$]h&]uh1jhj¦ubeh}(h]h ]h"]h$]h&]uh1jhjݦhMrhjץubj)}(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].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjץubj)}(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)}(hj<h]h burst_tmr}(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.hhMzhj6ubj)}(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].}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMzhjץubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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:125: ./include/linux/phy.hhM~hj2hhubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_plca_statush]j )}(hstruct phy_plca_statush](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_plca_statush]j9)}(hjh]hphy_plca_status}(hjݧhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj٧ubah}(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)}(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&]uh1jfhjhhhjʧhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}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)}(hjMh]hMembers}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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)}(hjlh]hpst}(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.hhMhjfubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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.hhMhj2hhubjl)}(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.}(hjĨhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhj2hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jߨah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(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 ](jstructeh"]h$]h&]jjjjFjjFjjjuh1hhhhj2hNhNubj)}(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}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh:}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubj)}(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; };}hjksbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubjl)}(h **Members**h]j)}(hj|h]hMembers}(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.hhMhjJubj)}(hhh](j)}(h``list`` List of LEDs h](j)}(h``list``h]j)}(hjh]hlist}(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 List of LEDsh]h List of LEDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjԩh]hphydev}(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)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΩubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hj h]hled_cdev}(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)}(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"hMhjubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hjFh]hindex}(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)}(hNumber of the LEDh]hNumber of the LED}(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[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_capability (C struct)c.phy_mse_capabilityhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_mse_capabilityh]j )}(hstruct phy_mse_capabilityh](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_mse_capabilityh]j9)}(hjh]hphy_mse_capability}(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=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.hhMhjߪhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hj0h]hMembers}(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.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)}(hjOh]hmax_average_mse}(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.hhM hjIubj)}(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).}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjFubj)}(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)}(hjh]h max_peak_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 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).}(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#hjFubj)}(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)}(hjëh]hrefresh_rate_ps}(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)}(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).}(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&hjFubj)}(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).}(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(hjFubj)}(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)}(hj7h]hsupported_caps}(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.hhM*hj1ubj)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM*hjFubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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:125: ./include/linux/phy.hhM.hj2hhubjl)}(hStandardization notes:h]hStandardization notes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2hhubjO)}(hhh](jO)}(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.*)}(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&]uh1jOhjubjO)}(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.}(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&]uh1jOhjubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjhMhj2hhubjl)}(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.}(hjڬhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj2hhubjl)}(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.hhMhj2hhubjl)}(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 }(hjhhhNhNubj)}(h**max_average_mse**h]hmax_average_mse}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**max_peak_mse**h]h max_peak_mse}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh value.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_snapshot (C struct)c.phy_mse_snapshothNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_mse_snapshoth]j )}(hstruct phy_mse_snapshoth](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjuhMubj3)}(hphy_mse_snapshoth]j9)}(hjbh]hphy_mse_snapshot}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjuhMubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhj]hhubjg)}(hhh]jl)}(h1A snapshot of Mean Square Error (MSE) diagnosticsh]h1A snapshot of Mean Square Error (MSE) diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjuhMubeh}(h]h ](jstructeh"]h$]h&]jjjj­jj­jjjuh1hhhhj2hNhNubj)}(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}(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.hhM9hjƭubj)}(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;hjƭ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.hhMAhjƭubj)}(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)}(hjh]h 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.hhMAhjubj)}(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).}(hj0hhhNhNubah}(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,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)}(hjQh]hpeak_mse}(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)}(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”).}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMFhjubj)}(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)}(hjh]hworst_peak_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.hhMKhjubj)}(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.)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubeh}(h]h ]h"]h$]h&]uh1jhjƭubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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.hhMOhj2hhubjl)}(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.hhM6hj2hhubjl)}(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.hhM9hj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h phy_driverh]j )}(hstruct phy_driverh](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)}(h phy_driverh]j9)}(hjh]h phy_driver}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(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)}(h*Driver structure for a particular PHY typeh]h*Driver structure for a particular PHY type}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjZhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj(hM?ubeh}(h]h ](jstructeh"]h$]h&]jjjjujjujjjuh1hhhhj2hNhNubj)}(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}(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.hhMXhjyubj)}(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); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjyubjl)}(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.hhMhjyubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hjʯh]hmdiodrv}(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.hhMWhjįubj)}(hhh]jl)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj߯hMWhjubah}(h]h ]h"]h$]h&]uh1jhjįubeh}(h]h ]h"]h$]h&]uh1jhj߯hMWhjubj)}(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}(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&]uh1jhjhMZhjubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hj=h]hname}(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[hj7ubj)}(hhh]jl)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM[hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM[hjubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hjvh]h phy_id_mask}(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)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hjh]hfeatures}(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)}(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]hjŰubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjİhM^hjubj)}(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`hjubj)}(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.hhMahjubj)}(hhh]jl)}(hStatic driver datah]hStatic driver data}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMahj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMahjubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hj\h]h soft_reset}(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.hhMuhjVubj)}(hhh]jl)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMuhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMuhjubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hjh]h config_init}(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)}(h5Called to initialize the PHY, including after a reseth]h5Called to initialize the PHY, including after a reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjϱh]hprobe}(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)}(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&]uh1jhjhMhjubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hj h]h get_features}(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)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjCh]h inband_caps}(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)}(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.}(hj\hhhNhNubah}(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&]uh1jhjXhMhjubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hj}h]h config_inband}(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.hhMhjwubj)}(hhh]jl)}(h"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hget_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.hhMhjubj)}(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 }(hjϲhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(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̲ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˲hMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``resume`` Resume the hardware, restoring state if needed h](j)}(h ``resume``h]j)}(hj;h]hresume}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubj)}(hhh]jl)}(h.Resume the hardware, restoring state if neededh]h.Resume the hardware, restoring state if needed}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(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)}(hjth]h config_aneg}(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)}(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}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hjh]h aneg_done}(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 auto negotiation resulth]h&Determines the auto negotiation result}(hjdzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjóhMhjijubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjóhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hjZh]hhandle_interrupt}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjTubj)}(hhh]jl)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjh]hremove}(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)}(hClears up any memory if neededh]hClears up any memory if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj̴h]hmatch_phy_device}(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)}(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&]uh1jhjƴubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.}(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&]uh1jhjhMhjubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hj@h]hget_wol}(hjBhhhNhNubah}(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=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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(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)}(hjzh]hlink_change_notify}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(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.}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hread_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 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.}(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ɵhMhjubj)}(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&]uh1jhjhMhjubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjah]h write_page}(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(Set the current PHY register page numberh]h(Set the current PHY register page number}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(hV``module_info`` Get the size and type of the eeprom contained within a plug-in module h](j)}(h``module_info``h]j)}(hjh]h module_info}(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)}(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}(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&]uh1jhjhMhjubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjԶh]h module_eeprom}(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)}(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&]uh1jhjζubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hjh]hcable_test_start}(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)}(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#hMhjubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hjGh]hcable_test_tdr_start}(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)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(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)}(hjh]hcable_test_get_status}(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.hhMhjzubj)}(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.}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]h get_phy_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.hhM)hjubj)}(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. }(hjӷhhhNhNubj)}(h**dev**h]hdev}(hj۷hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӷubh9: The PHY device for which the statistics are retrieved. }(hjӷhhhNhNubj)}(h **eth_stats**h]h eth_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӷubh5: structure where Ethernet PHY stats will be stored. }(hjӷhhhNhNubj)}(h **stats**h]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӷubh?: structure where additional PHY-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.hhM hjзubjl)}(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 }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' and will not be returned to userspace.}(hjhhhNhNubeh}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϷhM)hjubj)}(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)}(hj]h]hget_link_stats}(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.hhM8hjWubj)}(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. }(hjvhhhNhNubj)}(h**dev**h]hdev}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh9: The PHY device for which the statistics are retrieved. }(hjvhhhNhNubj)}(h**link_stats**h]h link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh5: structure where link-specific stats will be stored.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hjsubjl)}(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 }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjøhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' and will not be returned to userspace.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjsubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM8hjubj)}(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}(hjhhhNhNubah}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh and }(hj(hhhNhNubj)}(h`get_link_stats`h]hget_link_stats}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hj{h]hget_sset_count}(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.hhMNhjuubj)}(hhh]jl)}(hNumber of statistic countersh]hNumber of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h0``get_strings`` Names of the statistic counters h](j)}(h``get_strings``h]j)}(hjh]h get_strings}(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)}(hNames of the statistic countersh]hNames of the statistic counters}(hj͹hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɹhMPhjʹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɹhMPhjubj)}(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&]uh1jhjhMRhjubj)}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhj<ubjl)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhj<ubjl)}(h0Return: 0 on success, negative errno on failure.h]h0Return: 0 on success, negative errno on failure.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM]hj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM]hjubj)}(h.``get_tunable`` Return the value of a tunable h](j)}(h``get_tunable``h]j)}(hj}h]h get_tunable}(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.hhMbhjwubj)}(hhh]jl)}(hReturn the value of a tunableh]hReturn the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hjh]h set_tunable}(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)}(hSet the value of a tunableh]hSet the value of a tunable}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj˺hMehj̺ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˺hMehjubj)}(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&]uh1jhjhMphjubj)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMshj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMshjubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjbh]h get_sqi_max}(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.hhMuhj\ubj)}(hhh]jl)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMuhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMuhjubj)}(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)}(hjh]hget_mse_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)}(hhGet capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success)h](h.Get capabilities and scale of MSE measurement }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device }(hjhhhNhNubj)}(h**cap**h]hcap}(hjλhhhNhNubah}(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.hhMyhjubjl)}(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}hjubjl)}(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.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 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.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj8h]hget_mse_snapshot}(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)}(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 }(hjQhhhNhNubj)}(h**dev**h]hdev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh: PHY device }(hjQhhhNhNubj)}(h **channel**h]hchannel}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh*: Channel identifier (PHY_MSE_CHANNEL_*) }(hjQhhhNhNubj)}(h **snapshot**h]hsnapshot}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh: Output (filled on success)}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubjl)}(h^Fill **snapshot** with a correlated set of MSE values from the most recent measurement window.h](hFill }(hjhhhNhNubj)}(h **snapshot**h]hsnapshot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM with a correlated set of MSE values from the most recent measurement window.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubjl)}(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 }(hjhhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhR against supported_caps returned by get_mse_capability(). Drivers must not coerce }(hjhhhNhNubj)}(h **channel**h]hchannel}(hjѼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhk; if the requested selector is not implemented by the device or current link mode, the operation must fail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubjl)}(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.hhMhjNubjl)}(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.hhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjSh]h set_plca_cfg}(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.hhMhjMubj)}(hhh]jl)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hjh]hget_plca_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#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjŽh]hled_brightness_set}(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)}(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.}(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ڽhMhjubj)}(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&]uh1jhjhMhjubj)}(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)}(hj9h]hled_hw_is_supported}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3ubj)}(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. }(hjRhhhNhNubj)}(h**dev**h]hdev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh: PHY device which has the LED }(hjRhhhNhNubj)}(h **index**h]hindex}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh: Which LED of the PHY device }(hjRhhhNhNubj)}(h **rules**h]hrules}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh& The core is interested in these rules}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjOubjl)}(h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.h]h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(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)}(hjh]hled_hw_control_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)}(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 }(hjоhhhNhNubj)}(h**dev**h]hdev}(hjؾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjоubh: PHY device which has the LED }(hjоhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjоubh: Which LED of the PHY device }(hjоhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjоubh" The rules used to control the LED}(hjоhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;ubjl)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̾hMhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̾hMhjubj)}(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)}(hj5h]hled_hw_control_get}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/ubj)}(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 }(hjNhhhNhNubj)}(h**dev**h]hdev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh: PHY device which has the LED }(hjNhhhNhNubj)}(h **index**h]hindex}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh: Which LED of the PHY device }(hjNhhhNhNubj)}(h **rules**h]hrules}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh- Pointer to the rules used to control the LED}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubjl)}(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 }(hjhhhNhNubj)}(h ***rules**h]h*rules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(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)}(hjƿh]hled_polarity_set}(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)}(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 }(hj߿hhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߿ubh: PHY device which has the LED }(hj߿hhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߿ubh: Which LED of the PHY device }(hj߿hhhNhNubj)}(h **modes**h]hmodes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߿ubh: bitmap of LED polarity modes}(hj߿hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjܿubjl)}(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 }(hj$hhhNhNubj)}(h **modes**h]hmodes}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh% to make it correctly turn ON or OFF.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjܿubjl)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjۿhMhjܿubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۿhMhjubj)}(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)}(hjeh]hget_next_update_time}(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.hhMhj_ubj)}(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.hhMhjubj)}(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.}(hj)hhhNhNubah}(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.}(hj8hhhNhNubah}(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.}(hjGhhhNhNubah}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjvh]hattach_mdi_port}(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)}(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)}(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().}(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.hhM&hjubjl)}(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)hjubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubjl)}(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,hj2hhubjl)}(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).}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj2hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_id_compare (C function)c.phy_id_comparehNtauh1hhj2hhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjdhM8ubj3)}(hphy_id_compareh]j9)}(hphy_id_compareh]hphy_id_compare}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjdhM8ubj )}(h(u32 id1, u32 id2, u32 mask)h](j )}(hu32 id1h](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jysbc.phy_id_compareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hid1h]hid1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 id2h](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_compareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hid2h]hid2}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 maskh](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_id_compareasbuh1hhj!ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hmaskh]hmask}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjdhM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjdhM8ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM8hjLhhubjg)}(hhh]jl)}(h7compare **id1** with **id2** taking account of **mask**h](hcompare }(hj~hhhNhNubj)}(h**id1**h]hid1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh with }(hj~hhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh taking account of }(hj~hhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(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.hhM8hj{hhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjdhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(hj hhhNhNubah}(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)}(hj*h]hu32 id2}(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 second PHY IDh]h second PHY ID}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM:hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM:hjubj)}(hC``u32 mask`` the PHY ID mask, set bits are significant in matching h](j)}(h ``u32 mask``h]j)}(hjch]hu32 mask}(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)}(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&]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)}(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=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 }(hjhhhNhNubj)}(h**id1**h]hid1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh specified by }(hjhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) match. This uses an equivalent test to (}(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) == (}(hjhhhNhNubj)}(h **phy_id**h]hphy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }hjsbj)}(h**mask**h]hmask}(hj(hhhNhNubah}(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<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_id_compare_vendor (C function)c.phy_id_compare_vendorhNtauh1hhj2hhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhjnhMFubj3)}(hphy_id_compare_vendorh]j9)}(hphy_id_compare_vendorh]hphy_id_compare_vendor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjnhMFubj )}(h(u32 id, u32 vendor_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_id_compare_vendorasbuh1hhjubj")}(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 hjubj )}(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 ]jc.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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhjnhMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjnhMFubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhMFhjVhhubjg)}(hhh]jl)}(h#compare **id** with **vendor** maskh](hcompare }(hj@hhhNhNubj)}(h**id**h]hid}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh with }(hj@hhhNhNubj)}(h **vendor**h]hvendor}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh mask}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhj=hhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjnhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj2hNhNubj)}(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)}(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.hhMJhjubj)}(hhh](j)}(h``u32 id`` PHY ID 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.hhMGhjubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(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&]uh1jhjhMHhjubeh}(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.hhMJhjubjl)}(hPtrue if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](htrue if the bits from }(hj/hhhNhNubj)}(h**id**h]hid}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh match }(hj/hhhNhNubj)}(h **vendor**h]hvendor}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh# using the generic PHY Vendor mask.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_id_compare_model (C function)c.phy_id_compare_modelhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhjhMSubj3)}(hphy_id_compare_modelh]j9)}(hphy_id_compare_modelh]hphy_id_compare_model}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhjhMSubj )}(h(u32 id, u32 model_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_id_compare_modelasbuh1hhjubj")}(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 hjubj )}(hu32 model_maskh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.phy_id_compare_modelasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h model_maskh]h model_mask}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~hhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhMSubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjwhhubjg)}(hhh]jl)}(h"compare **id** with **model** maskh](hcompare }(hjahhhNhNubj)}(h**id**h]hid}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh with }(hjahhhNhNubj)}(h **model**h]hmodel}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh mask}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj^hhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.hhMWhjubj)}(hhh](j)}(h``u32 id`` PHY ID 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.hhMThjubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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&]uh1jhjhMUhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj:h]hReturn}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubjl)}(hNtrue if the bits from **id** match **model** using the generic PHY Model mask.h](htrue if the bits from }(hjPhhhNhNubj)}(h**id**h]hid}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh match }(hjPhhhNhNubj)}(h **model**h]hmodel}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh" using the generic PHY Model mask.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphydev_id_compare (C function)c.phydev_id_comparehNtauh1hhj2hhhNhNubh)}(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}(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)}(hphydev_id_compareh]j9)}(hphydev_id_compareh]hphydev_id_compare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM`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 jsbc.phydev_id_compareasbuh1hhjubj")}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jc.phydev_id_compareasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(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*compare **id** with the PHY's Clause 22 IDh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the PHY’s Clause 22 ID}(hjhhhNhNubeh}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hj6h]hu32 id}(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.hhMbhj0ubj)}(hhh]jl)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMbhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMbhjubeh}(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.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 }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh clause 22 ID with the provided }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhY and return true or false depending whether it matches, using the bound driver mask. The }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be bound to a driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhj2hhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(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 jsbc.phy_is_startedasbuh1hhj$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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.hhMxhjubj)}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhj2hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjShM}ubj3)}(hphy_driver_is_genphyh]j9)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjShM}ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jhsbc.phy_driver_is_genphyasbuh1hhj~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 hjzubah}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjShM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjShM}ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShM}hj;hhubjg)}(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&]uh1jfhj;hhhjShM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjFh]hstruct phy_device *phydev}(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)}(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=ubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj!ubjl)}(h2true if PHY is driven by one of the genphy driversh]h2true if PHY is driven by one of the genphy drivers}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhj2hhhNhNubh)}(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}(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_disable_eee_modeh]j9)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.phy_disable_eee_modeasbuh1hhjubj")}(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 hjubj )}(h u32 link_modeh](h)}(hhh]j9)}(hu32h]hu32}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j=c.phy_disable_eee_modeasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(h link_modeh]h link_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj 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$hMhjubj)}(h-``u32 link_mode`` The EEE mode to be disabledh](j)}(h``u32 link_mode``h]j)}(hjHh]h u32 link_mode}(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.hhMhjBubj)}(hhh]jl)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(hjahhhNhNubah}(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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_can_wakeup (C function)c.phy_can_wakeuphNtauh1hhj2hhhNhNubh)}(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}(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_can_wakeuph]j9)}(hphy_can_wakeuph]hphy_can_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&]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_can_wakeupasbuh1hhjubj")}(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}(hj7hhhNhNubah}(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)}(h9indicate whether PHY has driver model wakeup capabilitiesh]h9indicate whether PHY has driver model wakeup capabilities}(hjahhhNhNubah}(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&]jjjjyjjyjjjuh1hhhhj2hNhNubj)}(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)}(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&]uh1jhjhMhjubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj}ubjl)}(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.hhMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_may_wakeup (C function)c.phy_may_wakeuphNtauh1hhj2hhhNhNubh)}(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}(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 }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hMubj3)}(hphy_may_wakeuph]j9)}(hphy_may_wakeuph]hphy_may_wakeup}(hjBhhhNhNubah}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(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 jDsbc.phy_may_wakeupasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hphydevh]hphydev}(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'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&]uh1jfhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.hhMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj;hhhNhNubah}(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 **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)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhj2hhhNhNubh)}(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}(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_readh]j9)}(hphy_readh]hphy_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsb c.phy_readasbuh1hhjubj")}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j c.phy_readasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(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 reading a given PHY registerh]h5Convenience function for reading 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]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 read 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 readh]hregister number to read}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hj_h]hNOTE}(hjahhhNhNubah}(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)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhj2hhhNhNubh)}(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}(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_readh]j9)}(h __phy_readh]h __phy_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsb c.__phy_readasbuh1hhjubj")}(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}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j c.__phy_readasbuh1hhjOubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(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 reading a given PHY registerh]h5convenience function for reading 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.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 read 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.hhMhj ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(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&]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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(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}(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 jsb c.phy_writeasbuh1hhjubj")}(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}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j c.phy_writeasbuh1hhjQubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(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_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}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hj7h]hstruct phy_device *phydev}(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(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjph]h u32 regnum}(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)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.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&]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&]uh1jhjhMhj.ubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhj2hhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjEhMubj3)}(h __phy_writeh]j9)}(h __phy_writeh]h __phy_write}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhjEhMubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)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 jZsb c.__phy_writeasbuh1hhjpubj")}(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 hjlubj )}(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_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 hjlubj )}(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 ]j c.__phy_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 hjlubeh}(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)}(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&]uh1jfhj,hhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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&]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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj4ubj)}(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&]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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhj2hhhNhNubh)}(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}(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_modify_changedh]j9)}(h__phy_modify_changedh]h__phy_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jsbc.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(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}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j?c.__phy_modify_changedasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j?c.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj6hhhNhNubah}(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)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj2hNhNubj)}(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)}(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)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct 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.hhMhjubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to 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_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj2h]hu16 mask}(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)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjkh]hu16 set}(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)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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~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}(hjhhhNhNubah}(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}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhj2hhhNhNubh)}(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&]jjjj*jj*jjjuh1hhhhj2hNhNubjl)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hj0h]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(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.hhM hj2hhubj)}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjFubah}(h]h ]h"]h$]h&]uh1jhjXhM hj2hhubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj_ubj)}(hhh](j)}(h!``phydev`` The phy_device struct 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.hhMhj~ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjh]hdevaddr}(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 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&]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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj{ubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hj/h]hval}(hj1hhhNhNubah}(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"Variable to read the register intoh]h"Variable to read the register into}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj{ubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjhh]hcond}(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.hhMhjbubj)}(hhh]jl)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hjhhhNhNubj)}(h**val**h]hval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj{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)}(hjh]hsleep_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)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{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)}(hj&h]hsleep_before_read}(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.if it is true, sleep **sleep_us** before read.h](hif it is true, sleep }(hj?hhhNhNubj)}(h **sleep_us**h]hsleep_us}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh before read.}(hj?hhhNhNubeh}(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)}(hjsh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj_ubjl)}(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 }(hjhhhNhNubj)}(h**args**h]hargs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is stored in }(hjhhhNhNubj)}(h**val**h]hval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(hjhhhNhNubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhj2hhhNhNubh)}(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 }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bitsasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjrhhhNhNubah}(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 ]jSc.__phy_set_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 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 ]jSc.__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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhj)hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj2hNhNubj)}(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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjHubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjmh]hstruct phy_device *phydev}(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.hhMPhjgubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjdubj)}(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.hhMQhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjdubj)}(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&]uh1jhjhMRhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(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.hhMThjHubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhj2hhhNhNubh)}(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}(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 }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhM\ubj3)}(h__phy_clear_bitsh]j9)}(h__phy_clear_bitsh]h__phy_clear_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjmhM\ubj )}(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_clear_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}(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 reftargetjmodnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhj 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 hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhjRubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjmhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhM\ubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM\hjThhubjg)}(hhh]jl)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(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&]uh1jfhjThhhjmhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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`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&]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}(hj hhhNhNubah}(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)}(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.hhM^hj#ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(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)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjbh]hu16 val}(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 bits to clearh]h bits to clear}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjubjl)}(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.hhM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhj2hhhNhNubh)}(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 }(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_set_bitsasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjxhhhNhNubah}(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 ]jYc.phy_set_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 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 ]jYc.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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhj/hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj2hNhNubj)}(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)}(hjTh]h Parameters}(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.hhMnhjNubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjsh]hstruct phy_device *phydev}(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)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjjubj)}(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.hhMlhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjjubj)}(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&]uh1jhjhMnhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhj2hhhNhNubh)}(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}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjMhMuubj3)}(hphy_clear_bitsh]j9)}(hphy_clear_bitsh]hphy_clear_bits}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjMhMuubj )}(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&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(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 jbsbc.phy_clear_bitsasbuh1hhjxubj")}(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 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 hjtubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jc.phy_clear_bitsasbuh1hhj2ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hvalh]hval}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjMhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjMhMuubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhMuhj4hhubjg)}(hhh]jl)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjMhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.hhMyhjubj)}(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.hhMvhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(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&]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}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjBh]hu16 val}(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.hhMyhj<ubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMyhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhj2hhhNhNubh)}(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}(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_set_bits_mmdh]j9)}(h__phy_set_bits_mmdh]h__phy_set_bits_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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bits_mmdasbuh1hhjubj")}(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 )}(h int devadh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hdevadh]hdevad}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(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.__phy_set_bits_mmdasbuh1hhj|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.__phy_set_bits_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)}(h:Convenience function for setting bits in a register on MMDh]h:Convenience function for setting bits in a register on MMD}(hj!hhhNhNubah}(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&]jjjj9jj9jjjuh1hhhhj2hNhNubj)}(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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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)}(hjbh]hstruct phy_device *phydev}(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.hhMhj\ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(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&]uh1jhjhMhjYubj)}(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&]uh1jhjhMhjYubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hj h]hu16 val}(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 bits to seth]h bits to set}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubjl)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhj2hhhNhNubh)}(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}(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_clear_bits_mmdh]j9)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_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 reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_clear_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}(hj#hhhNhNubah}(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 hj8ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hdevadh]hdevad}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jc.__phy_clear_bits_mmdasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(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_clear_bits_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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj2hNhNubj)}(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)}(hj4h]h Parameters}(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.hhMhj.ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjSh]hstruct phy_device *phydev}(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.hhMhjMubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(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&]uh1jhjhMhjJubj)}(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&]uh1jhjhMhjJubj)}(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&]uh1jhjhMhjJubeh}(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&]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.}(hjOhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhj2hhhNhNubh)}(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}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhMubj3)}(hphy_set_bits_mmdh]j9)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhMubj )}(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 jsbc.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}(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}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jc.phy_set_bits_mmdasbuh1hhj^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.phy_set_bits_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 hjzhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhMubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjshhubjg)}(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&]uh1jfhjshhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the 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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj>ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj}h]h int devad}(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.hhMhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;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 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&]uh1jhjhMhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhj2hhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjWhMubj3)}(hphy_clear_bits_mmdh]j9)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjWhMubj )}(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 jlsbc.phy_clear_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 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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]jc.phy_clear_bits_mmdasbuh1hhj)ubj")}(h h]h }(hjNhhhNhNubah}(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 valh](h)}(hhh]j9)}(hu16h]hu16}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jc.phy_clear_bits_mmdasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(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)}(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&]uh1jfhj>hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj 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$hMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjHh]h int devad}(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.hhMhjBubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(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.hhMhj{ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhj2hhhNhNubh)}(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 }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMubj3)}(hphy_interrupt_is_validh]j9)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(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_interrupt_is_validasbuh1hhjLubj")}(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!hMhj hhubjg)}(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&]uh1jfhj hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(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**NOTE**h]j)}(hjOh]hNOTE}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h1bool phy_polling_mode (struct phy_device *phydev)h]j )}(h0bool phy_polling_mode(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_polling_modeh]j9)}(hphy_polling_modeh]hphy_polling_mode}(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_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}(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)}(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}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj2hNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(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&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhj2hhhNhNubh)}(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&]uh1j8hj ubah}(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 }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(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 jsbc.phy_has_hwtstampasbuh1hhj&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)}(hphydevh]hphydev}(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-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhj2hhhNhNubh)}(hhh](j)}(h1bool phy_has_rxtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_rxtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhMubj3)}(hphy_has_rxtstamph]j9)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjUhMubj )}(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 jjsbc.phy_has_rxtstampasbuh1hhjubj")}(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 hjDhhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjUhMubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhj=hhubjg)}(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&]uh1jfhj=hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjHh]hstruct phy_device *phydev}(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.hhMhjBubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjahhhNhNubah}(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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhj2hhhNhNubh)}(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}(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_tsinfoh]j9)}(hphy_has_tsinfoh]hphy_has_tsinfo}(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_tsinfoasbuh1hhjubj")}(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}(hj7hhhNhNubah}(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)}(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.}(hjahhhNhNubah}(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&]jjjjyjjyjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhj2hhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hphy_has_txtstamph]j9)}(hphy_has_txtstamph]hphy_has_txtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(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 jsbc.phy_has_txtstampasbuh1hhj4ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubah}(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)}(h4Tests whether a PHY supports transmit time stamping.h]h4Tests whether a PHY supports transmit 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&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhj2hhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjchMubj3)}(hphy_is_default_hwtstamph]j9)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjchMubj )}(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 jxsbc.phy_is_default_hwtstampasbuh1hhjubj")}(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 hjRhhhjchMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjchMubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMhjKhhubjg)}(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&]uh1jfhjKhhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhj2hNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1ubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjVh]hstruct phy_device *phydev}(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)}(hPointer to phy_deviceh]hPointer to phy_device}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjMubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1ubjl)}(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.hhMhj1ubjl)}(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.hhMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhj2hhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM&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&]jPjQuh1j2hjhhhj hM&ubj )}(h(struct phy_device *phydev)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 jsb c.phy_on_sfpasbuh1hhj5ubj")}(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 hj1ubah}(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=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}(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&]uh1jfhjhhhj hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhj2hhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjdhM/ubj3)}(hphy_interface_mode_is_rgmiih]j9)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjdhM/ubj )}(h(phy_interface_t mode)h]j )}(hphy_interface_t modeh](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 jysbc.phy_interface_mode_is_rgmiiasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjdhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjdhM/ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM/hjLhhubjg)}(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&]uh1jfhjLhhhjdhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.hhM3hj ubj)}(hhh]j)}(h;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hj/h]hphy_interface_t mode}(hj1hhhNhNubah}(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.hhM5hj)ubj)}(hhh]jl)}(h"the :c:type:`phy_interface_t` enumh](hthe }(hjHhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjRh]hphy_interface_t}(hjThhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjHubh enum}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjohM1hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM5hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhj2hhhNhNubh)}(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}(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_interface_mode_is_8023zh]j9)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_interface_mode_is_8023zasbuh1hhjubj")}(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 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)}(h2does the PHY interface mode use 802.3z negotiationh]h2does the PHY interface mode use 802.3z negotiation}(hjChhhNhNubah}(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 ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj2hNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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)}(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.hhM<hj~ubj)}(hhh]jl)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hjhhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hjh]henum phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhM<hjubeh}(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&]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)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhj2hhhNhNubh)}(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 hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMHubj3)}(hphy_interface_is_rgmiih]j9)}(hphy_interface_is_rgmiih]hphy_interface_is_rgmii}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj0hMHubj )}(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 }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jEsbc.phy_interface_is_rgmiiasbuh1hhj[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 hjWubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj0hMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj0hMHubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMHhjhhubjg)}(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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj0hMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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.hhMLhjubj)}(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.hhMNhjubj)}(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.hhMJhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhj2hhhNhNubh)}(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}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjhMRubj3)}(hphy_is_pseudo_fixed_linkh]j9)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjhMRubj )}(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_pseudo_fixed_linkasbuh1hhjubj")}(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 hjyhhhjhMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjhMRubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMRhjrhhubjg)}(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.hhMRhj9hhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhj2hNhNubj)}(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.hhMVhjXubj)}(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}(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.hhMXhjwubj)}(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.hhMThjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hphy_module_driverh]j )}(hphy_module_driverh]j3)}(hphy_module_driverh]j9)}(hjh]hphy_module_driver}(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&]jjjj jj jjjuh1hhhhj2hNhNubjl)}(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 hj2hhubj)}(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&]uh1jhj5 hM hj2hhubj)}(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)}(hjB h]h Parameters}(hjD 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)}(hja h]h __phy_drivers}(hjc 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 array of PHY drivers to registerh]h array of PHY drivers to register}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv hM hjw ubah}(h]h ]h"]h$]h&]uh1jhj[ ubeh}(h]h ]h"]h$]h&]uh1jhjv hM hjX ubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hj h]h__count}(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)}(hNumbers of members in arrayh]hNumbers of members in array}(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 hjX 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&]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().}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhj2hhhNhNubh)}(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}(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_match_phy_deviceh]j9)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hj; hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7 ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj( hMubj )}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j )}(hstruct phy_device *phydevh](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)}(h phy_deviceh]h phy_device}(hju hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw modnameN classnameNj j )}j ]j )}j j= sbc.genphy_match_phy_deviceasbuh1hhjS 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)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjO ubj )}(hconst struct phy_driver *phydrvh](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 phy_driverh]h phy_driver}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.genphy_match_phy_deviceasbuh1hhj 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)}(hphydrvh]hphydrv}(hj; hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjO 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$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjb hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj( hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj} jj} jjjuh1hhhhj2hNhNubj)}(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&]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)}(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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hj h]hconst struct phy_driver *phydrv}(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_driver structh]htarget phy_driver 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 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)}(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.}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubjl)}(h **Return**h]j)}(hjA h]hReturn}(hjC 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)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hjW 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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhj2hhhNhNubh)}(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}(hj hhhNhNubah}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubh)}(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 get_phy_devicesbc.get_phy_deviceasbuh1hhj hhhj hMubj")}(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)}(hget_phy_deviceh]j9)}(hj h]hget_phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h,(struct mii_bus *bus, int addr, bool is_c45)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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.get_phy_deviceasbuh1hhj 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 ubj9)}(hbush]hbus}(hjW hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hint addrh](jM )}(hinth]hint}(hjp hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjl ubj")}(h h]h }(hj~ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl ubj9)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h bool is_c45h](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)}(his_c45h]his_c45}(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]jy ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj{ hhubjg)}(hhh]jl)}(hDreads the specified PHY device and returns its **phy_device** structh](h/reads the specified PHY device and returns its }(hj hhhNhNubj)}(h**phy_device**h]h phy_device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh struct}(hj hhhNhNubeh}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(hj hhhNhNubah}(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)}(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:128: ./drivers/net/phy/phy_device.chMhj7ubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjvh]hint addr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjpubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hj4ubj)}(hB``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol h](j)}(h``bool is_c45``h]j)}(hjh]h bool is_c45}(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.chM!hjubj)}(hhh]jl)}(h1If true the PHY uses the 802.3 clause 45 protocolh]h1If true the PHY uses the 802.3 clause 45 protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hj4ubeh}(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 }(hj3hhhNhNubh)}(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$hj3ubh.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZhM$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 }(hjehhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjoh]hstruct phy_device}(hjqhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjmubah}(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'hjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'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 }(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 on success, }(hjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if there is no PHY present, or }(hjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM+hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h3int phy_device_register (struct phy_device *phydev)h]j )}(h2int phy_device_register(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.chMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMRubj3)}(hphy_device_registerh]j9)}(hphy_device_registerh]hphy_device_register}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMRubj )}(h(struct phy_device *phydev)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_device_registerasbuh1hhjFubj")}(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 hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMRubeh}(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.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhj ubah}(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}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h2void phy_device_remove (struct phy_device *phydev)h]j )}(h1void phy_device_remove(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhMyubj3)}(hphy_device_removeh]j9)}(hphy_device_removeh]hphy_device_remove}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjvhMyubj )}(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_device_removeasbuh1hhjubj")}(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 hjdhhhjvhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhMyubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMyhj]hhubjg)}(hhh]jl)}(h;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from the MDIO bus}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjvhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj2hNhNubj)}(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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hjDubj)}(hhh]j)}(h=``struct phy_device *phydev`` phy_device structure to remove h](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMzhjcubj)}(hhh]jl)}(hphy_device structure to removeh]hphy_device structure to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMzhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMzhj`ubah}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM|hjDubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM{hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhj2hhhNhNubh)}(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}(hj hhhNhNubah}(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 }(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_c45_idsasbuh1hhj"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 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.}(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&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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&]uh1jhjubjl)}(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.chMhjubjl)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hj;hhhNhNubj)}(h``-EIO``h]h-EIO}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh on bus access error, or }(hj;hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh, if the “devices in package” is invalid.}(hj;hhhNhNubeh}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_next (C function)c.phy_find_nexthNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/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!hjhhhjhMubh)}(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 phy_find_nextsbc.phy_find_nextasbuh1hhjhhhjhMubj")}(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 phy_find_nexth]j9)}(hjh]h phy_find_next}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]jc.phy_find_nextasbuh1hhjubj")}(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 )}(hstruct phy_device *posh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(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 ]jc.phy_find_nextasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hposh]hpos}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(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$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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hj:h]hstruct mii_bus *bus}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(h"``struct phy_device *pos`` cursor h](j)}(h``struct phy_device *pos``h]j)}(hjsh]hstruct phy_device *pos}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh]jl)}(hcursorh]hcursor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubeh}(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: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}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhj2hhhNhNubh)}(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}(hj0hhhNhNubah}(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}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.phy_connect_directasbuh1hhj,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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 ]jjc.phy_connect_directasbuh1hhjubj")}(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(ubj )}(h#void (*handler)(struct net_device*)h](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 )}(hjOh]h(}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhandlerh]hhandler}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjxh]h)}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]h(}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjphhhNhNubah}(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 ]jjc.phy_connect_directasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(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 ]jjc.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 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)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific 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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhj2hNhNubj)}(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)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjFubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjkh]hstruct net_device *dev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjeubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(h<``struct phy_device *phydev`` the 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hthe pointer to the phy deviceh]hthe pointer to the phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(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&]uh1jhjhMhjbubj)}(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}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjbubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhj2hhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhh]/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!hjlhhhj}hMubh)}(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 phy_connectsb c.phy_connectasbuh1hhjlhhhj}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)}(h phy_connecth]j9)}(hjh]h phy_connect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj}hMubj )}(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 reftargetj modnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjubj")}(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)}(hdevh]hdev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *bus_idh](j)}(hj h]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubjM )}(hcharh]hchar}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(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 )}(hjOh]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 )}(hjxh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjOh]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 net_deviceh]h net_device}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjxh]h)}(hj^hhhNhNubah}(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}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(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*connect an ethernet device to a PHY deviceh]h*connect an ethernet device to a 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&]uh1jfhjehhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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}(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.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%hMhjubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hjIh]hconst char *bus_id}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjCubj)}(hhh]jl)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubj)}(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.chMhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``phy_interface_t interface`` PHY device's interface 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:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhj2hhhNhNubh)}(hhh](j)}(h/void phy_disconnect (struct phy_device *phydev)h]j )}(h.void phy_disconnect(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjthM ubj3)}(hphy_disconnecth]j9)}(hphy_disconnecth]hphy_disconnect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjthM 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_disconnectasbuh1hhjubj")}(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 hjbhhhjthM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjthM ubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthM 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[hhhjthM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj2hNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:128: ./drivers/net/phy/phy_device.chM hjBubj)}(hhh]j)}(h6``struct phy_device *phydev`` target 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjaubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(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&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhj2hhhNhNubh)}(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}(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_attach_directh]j9)}(hphy_attach_directh]hphy_attach_direct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.phy_attach_directasbuh1hhjubj")}(h h]h }(hj< hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjW hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjp hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl ubj")}(h h]h }(hj} hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl 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 ]j8 c.phy_attach_directasbuh1hhjl ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjl ubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]j8 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 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 ]j8 c.phy_attach_directasbuh1hhj$!ubj")}(h h]h }(hjI!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$!ubj9)}(h interfaceh]h interface}(hjW!hhhNhNubah}(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)}(h5attach a network device to a given PHY device pointerh]h5attach a network device to a given PHY device pointer}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhj2hNhNubj)}(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)}(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)}(h4``struct net_device *dev`` network device to attach 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)}(hnetwork device to attachh]hnetwork 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!hMhj!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"hMhj!ubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hj4"h]h u32 flags}(hj6"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2"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}(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)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjm"h]hphy_interface_t interface}(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)}(hPHY device's interfaceh]hPHY device’s interface}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjg"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)}(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}(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)}(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&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhj2hhhNhNubh)}(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}(hj9#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj&#hMvubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjU#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ#ubj")}(h h]h }(hjb#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ#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;#sb c.phy_detachasbuh1hhjQ#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQ#ubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM#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#jjjuh1hhhhj2hNhNubj)}(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}(hj2$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)}(hjT$h]h Description}(hjV$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR$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().}(hjj$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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhj2hhhNhNubh)}(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}(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)}(hphy_reset_after_clk_enableh]j9)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(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.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 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)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hjY%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjV%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq%jjq%jjjuh1hhhhj2hNhNubj)}(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}(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.chMhju%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.chMhj%ubj)}(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&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubah}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhju%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&]uh1jhju%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h3int genphy_setup_forced (struct phy_device *phydev)h]j )}(h2int genphy_setup_forced(struct phy_device *phydev)h](jM )}(hinth]hint}(hjE&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjA&hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMnubj")}(h h]h }(hjT&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA&hhhjS&hMnubj3)}(hgenphy_setup_forcedh]j9)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hjf&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjA&hhhjS&hMnubj )}(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 jh&sbc.genphy_setup_forcedasbuh1hhj~&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 hjz&ubah}(h]h ]h"]h$]h&]jPjQuh1j hjA&hhhjS&hMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=&hhhjS&hMnubah}(h]j8&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjS&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:&hhhjS&hMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+'jj+'jjjuh1hhhhj2hNhNubj)}(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)}(hj5'h]h Parameters}(hj7'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3'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)}(hjT'h]hstruct phy_device *phydev}(hjV'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMohjN'ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjm'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji'hMohjj'ubah}(h]h ]h"]h$]h&]uh1jhjN'ubeh}(h]h ]h"]h$]h&]uh1jhji'hMohjK'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.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().}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMrhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMrhj'ubah}(h]h ]h"]h$]h&]uh1jhj/'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhj2hhhNhNubh)}(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&]uh1jhj7(ubj")}(h h]h }(hjH(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7(ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjY(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[(modnameN classnameNj j )}j ]j )}j j!(sbc.genphy_restart_anegasbuh1hhj7(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)}(hphydevh]hphydev}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3(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}(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(jjjuh1hhhhj2hNhNubj)}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhj2hhhNhNubh)}(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}(hjY)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjU)hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjh)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU)hhhjg)hMubj3)}(hgenphy_check_and_restart_anegh]j9)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hjz)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjU)hhhjg)hMubj )}(h)(struct phy_device *phydev, bool restart)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_check_and_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}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)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 hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjU)hhhjg)hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQ)hhhjg)hMubah}(h]jL)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjg)hMhjN)hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjM*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjJ*hhubah}(h]h ]h"]h$]h&]uh1jfhjN)hhhjg)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjje*jje*jjjuh1hhhhj2hNhNubj)}(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)}(hjo*h]h Parameters}(hjq*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm*ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhji*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.chMhj*ubj)}(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&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*ubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hj*h]h bool restart}(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!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&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*ubeh}(h]h ]h"]h$]h&]uh1jhji*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.chMhji*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.chMhji*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhj2hhhNhNubh)}(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}(hjG+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC+hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjV+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC+hhhjU+hMubj3)}(h__genphy_config_anegh]j9)}(h__genphy_config_anegh]h__genphy_config_aneg}(hjh+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjC+hhhjU+hMubj )}(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 jj+sbc.__genphy_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|+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+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 hjC+hhhjU+hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?+hhhjU+hMubah}(h]j:+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjU+hMhj<+hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj;,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj8,hhubah}(h]h ]h"]h$]h&]uh1jfhj<+hhhjU+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS,jjS,jjjuh1hhhhj2hNhNubj)}(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)}(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 hjW,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&]uh1jhjz,ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjv,ubj)}(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&]uh1jhjv,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjs,ubj)}(h.``bool changed`` whether autoneg is requested 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.chMhj,ubj)}(hhh]jl)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjs,ubeh}(h]h ]h"]h$]h&]uh1jhjW,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 hjW,ubj)}(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}(hj -hhhNhNubah}(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^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.}(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&]uh1jhjW,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhj2hhhNhNubh)}(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}(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.chM6 ubj")}(h h]h }(hjn-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[-hhhjm-hM6 ubj3)}(hgenphy_c37_config_anegh]j9)}(hgenphy_c37_config_anegh]hgenphy_c37_config_aneg}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[-hhhjm-hM6 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_c37_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[-hhhjm-hM6 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjW-hhhjm-hM6 ubah}(h]jR-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjm-hM6 hjT-hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM6 hj.hhubah}(h]h ]h"]h$]h&]uh1jfhjT-hhhjm-hM6 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7.jj7.jjjuh1hhhhj2hNhNubj)}(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)}(hjA.h]h Parameters}(hjC.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}(hjb.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.chM7 hjZ.ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjy.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhju.hM7 hjv.ubah}(h]h ]h"]h$]h&]uh1jhjZ.ubeh}(h]h ]h"]h$]h&]uh1jhju.hM7 hjW.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.chM9 hj;.ubj)}(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}(hj.hhhNhNubah}(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)}(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.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&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM; hj.ubah}(h]h ]h"]h$]h&]uh1jhj;.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhj2hhhNhNubh)}(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}(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.chMf ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj/hMf ubj3)}(hgenphy_aneg_doneh]j9)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hj,/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj/hMf ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjH/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD/ubj")}(h h]h }(hjU/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD/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.genphy_aneg_doneasbuh1hhjD/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)}(hphydevh]hphydev}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@/ubah}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhj/hMf ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhj/hMf ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMf hj/hhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf hj/hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj/hMf ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj2hNhNubj)}(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)}(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.chMj hj/ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj 0h]hstruct phy_device *phydev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 0ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMg hj0ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj%0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!0hMg hj"0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj!0hMg hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjG0h]h Description}(hjI0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE0ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMi hj/ubj)}(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}(hjd0hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMj hj`0ubj)}(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.}(hjv0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr0hMj hjs0ubah}(h]h ]h"]h$]h&]uh1jhj`0ubeh}(h]h ]h"]h$]h&]uh1jhjr0hMj hj]0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h2int genphy_update_link (struct phy_device *phydev)h]j )}(h1int genphy_update_link(struct phy_device *phydev)h](jM )}(hinth]hint}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMv ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMv ubj3)}(hgenphy_update_linkh]j9)}(hgenphy_update_linkh]hgenphy_update_link}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMv ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j0sbc.genphy_update_linkasbuh1hhj0ubj")}(h h]h }(hj11hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hj?1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hphydevh]hphydev}(hjL1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMv ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMv hj0hhubjg)}(hhh]jl)}(h update link status in **phydev**h](hupdate link status in }(hjv1hhhNhNubj)}(h **phydev**h]hphydev}(hj~1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv1ubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMv hjs1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj2hNhNubj)}(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)}(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.chMz hj1ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMw hj1ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMw hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMw hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(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.chMy hj1ubj)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hj2ubj)}(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.}(hj/2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+2hMz hj,2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj+2hMz hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhj2hhhNhNubh)}(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}(hjo2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjk2hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj~2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk2hhhj}2hM ubj3)}(hgenphy_read_status_fixedh]j9)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjk2hhhj}2hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(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 j2sbc.genphy_read_status_fixedasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hjk2hhhj}2hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjg2hhhj}2hM ubah}(h]jb2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}2hM hjd2hhubjg)}(hhh]jl)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hj/3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj,3hhubah}(h]h ]h"]h$]h&]uh1jfhjd2hhhj}2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjG3jjG3jjjuh1hhhhj2hNhNubj)}(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)}(hjQ3h]h Parameters}(hjS3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO3ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjK3ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjp3h]hstruct phy_device *phydev}(hjr3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjj3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjg3ubah}(h]h ]h"]h$]h&]uh1jhjK3ubjl)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjK3ubjl)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjK3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhj2hhhNhNubh)}(hhh](j)}(h2int genphy_read_status (struct phy_device *phydev)h]j )}(h1int genphy_read_status(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.chM ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj3hM ubj3)}(hgenphy_read_statush]j9)}(hgenphy_read_statush]hgenphy_read_status}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj3hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj-4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)4ubj")}(h h]h }(hj:4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)4ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjK4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM4modnameN classnameNj j )}j ]j )}j j4sbc.genphy_read_statusasbuh1hhj)4ubj")}(h h]h }(hjk4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)4ubj )}(hj h]h*}(hjy4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)4ubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%4ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj3hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj3hM ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hM hj3hhubjg)}(hhh]jl)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj4hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj3hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj2hNhNubj)}(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)}(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.chM 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.chM hj4ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hM hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hj,5h]h Description}(hj.5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*5ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj4ubj)}(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}(hjI5hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjE5ubj)}(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[5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjX5ubah}(h]h ]h"]h$]h&]uh1jhjE5ubeh}(h]h ]h"]h$]h&]uh1jhjW5hM hjB5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhj2hhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hM+ ubj3)}(hgenphy_c37_read_statush]j9)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hM+ ubj )}(h*(struct phy_device *phydev, bool *changed)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_c37_read_statusasbuh1hhj5ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj%6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hj26hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(h bool *changedh](jM )}(hjh]hbool}(hjK6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjG6ubj")}(h h]h }(hjX6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjG6ubj )}(hj h]h*}(hjf6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjG6ubj9)}(hchangedh]hchanged}(hjs6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(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)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hj6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj2hNhNubj)}(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)}(hj6h]h Parameters}(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.chM/ hj6ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct 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:128: ./drivers/net/phy/phy_device.chM, hj6ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM, hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM, hj6ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hj7h]h bool *changed}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj7ubj)}(hhh]jl)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hj07hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,7hM- hj-7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj,7hM- hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hjR7h]h Description}(hjT7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP7ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hj6ubj)}(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}(hjo7hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hjk7ubj)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hj~7ubjl)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hj7hhhNhNubj)}(h **changed**h]hchanged}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh! is set to true, false otherwise.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hj~7ubeh}(h]h ]h"]h$]h&]uh1jhjk7ubeh}(h]h ]h"]h$]h&]uh1jhj}7hM2 hjh7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhj2hhhNhNubh)}(hhh](j)}(h1int genphy_soft_reset (struct phy_device *phydev)h]j )}(h0int genphy_soft_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj7hMk ubj3)}(hgenphy_soft_reseth]j9)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj7hMk ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj 8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj-8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj>8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@8modnameN classnameNj j )}j ]j )}j j8sbc.genphy_soft_resetasbuh1hhj8ubj")}(h h]h }(hj^8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjl8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hphydevh]hphydev}(hjy8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj7hMk ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj7hMk ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hMk hj7hhubjg)}(hhh]jl)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj7hMk ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj2hNhNubj)}(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)}(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.chMo hj8ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj8h]hstruct phy_device *phydev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl hj8ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMl hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMl hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj!9hhhNhNubah}(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.chMn hj8ubjl)}(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.}(hj59hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hj8ubjl)}(h **Return**h]j)}(hjF9h]hReturn}(hjH9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD9ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hj8ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj\9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhj2hhhNhNubh)}(hhh](j)}(h5int genphy_read_abilities (struct phy_device *phydev)h]j )}(h4int genphy_read_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hM ubj3)}(hgenphy_read_abilitiesh]j9)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j9sbc.genphy_read_abilitiesasbuh1hhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hphydevh]hphydev}(hj!:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hM ubah}(h]j~9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hM hj9hhubjg)}(hhh]jl)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hjK:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjH:hhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhj9hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjc:jjc:jjjuh1hhhhj2hNhNubj)}(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)}(hjm:h]h Parameters}(hjo:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk:ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjg: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:ubah}(h]h ]h"]h$]h&]uh1jhjg: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 hjg: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 hjg: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 hjg: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 hjg:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhj2hhhNhNubh)}(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}(hj3;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 }(hjB;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/;hhhjA;hM ubj3)}(hphy_remove_link_modeh]j9)}(hphy_remove_link_modeh]hphy_remove_link_mode}(hjT;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/;hhhjA;hM ubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjp;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl;ubj")}(h h]h }(hj};hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl;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 jV;sbc.phy_remove_link_modeasbuh1hhjl;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl;ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjl;ubj9)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh;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 hjh;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/;hhhjA;hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+;hhhjA;hM ubah}(h]j&;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjA;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 hj8<hhubah}(h]h ]h"]h$]h&]uh1jfhj(;hhhjA;hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS<jjS<jjjuh1hhhhj2hNhNubj)}(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)}(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 hjW<ubj)}(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|<h]hstruct phy_device *phydev}(hj~<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz<ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjv<ubj)}(hhh]jl)}(h-phy_device structure to remove link mode fromh]h-phy_device structure to remove link mode from}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM hj<ubah}(h]h ]h"]h$]h&]uh1jhjv<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hjs<ubj)}(h*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hj<h]h u32 link_mode}(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)}(hLink mode to be removedh]hLink mode to be removed}(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 hjs<ubeh}(h]h ]h"]h$]h&]uh1jhjW<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 hjW<ubjl)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjW<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhj2hhhNhNubh)}(hhh](j)}(h8void phy_advertise_supported (struct phy_device *phydev)h]j )}(h7void phy_advertise_supported(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj5=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1=hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM* ubj")}(h h]h }(hjD=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1=hhhjC=hM* ubj3)}(hphy_advertise_supportedh]j9)}(hphy_advertise_supportedh]hphy_advertise_supported}(hjV=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1=hhhjC=hM* ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjr=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn=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_advertise_supportedasbuh1hhjn=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjn=ubj9)}(hphydevh]hphydev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hj1=hhhjC=hM* ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-=hhhjC=hM* ubah}(h]j(=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjC=hM* hj*=hhubjg)}(hhh]jl)}(hAdvertise all supported modesh]hAdvertise all supported modes}(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*=hhhjC=hM* ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj >jj >jjjuh1hhhhj2hNhNubj)}(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)}(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)}(hj6>h]hstruct phy_device *phydev}(hj8>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hj0>ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjO>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK>hM+ hjL>ubah}(h]h ]h"]h$]h&]uh1jhj0>ubeh}(h]h ]h"]h$]h&]uh1jhjK>hM+ hj->ubah}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj>ubjl)}(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>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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhj2hhhNhNubh)}(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}(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_advertise_eee_allh]j9)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(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.phy_advertise_eee_allasbuh1hhj>ubj")}(h h]h }(hj1?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}(hjL?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!Advertise all supported EEE modesh]h!Advertise all supported EEE modes}(hjv?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; hjs?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj>hM; ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj2hNhNubj)}(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)}(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}(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?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.chM> hj?ubjl)}(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.}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhj2hhhNhNubh)}(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}(hj7@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3@hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML ubj")}(h h]h }(hjF@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3@hhhjE@hML ubj3)}(hphy_support_eeeh]j9)}(hphy_support_eeeh]hphy_support_eee}(hjX@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3@hhhjE@hML ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjt@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjp@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 jZ@sbc.phy_support_eeeasbuh1hhjp@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjp@ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjp@ubj9)}(hphydevh]hphydev}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjl@ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3@hhhjE@hML ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/@hhhjE@hML ubah}(h]j*@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjE@hML hj,@hhubjg)}(hhh]jl)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj,@hhhjE@hML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj2hNhNubj)}(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)}(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.chMP hjAubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj8Ah]hstruct phy_device *phydev}(hj:AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Aubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMM hj2Aubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hjQAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMAhMM hjNAubah}(h]h ]h"]h$]h&]uh1jhj2Aubeh}(h]h ]h"]h$]h&]uh1jhjMAhMM hj/Aubah}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjsAh]h Description}(hjuAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqAubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMO hjAubjl)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hjAubjl)}(hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.h]hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMU hjAubjl)}(hXfIt 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]hXfIt 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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h0void phy_disable_eee (struct phy_device *phydev)h]j )}(h/void phy_disable_eee(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.chMw ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMw ubj3)}(hphy_disable_eeeh]j9)}(hphy_disable_eeeh]hphy_disable_eee}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMw ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hj BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj1BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3BmodnameN classnameNj j )}j ]j )}j jAsbc.phy_disable_eeeasbuh1hhjBubj")}(h h]h }(hjQBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hj_BhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hphydevh]hphydev}(hjlBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Bubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjAhMw ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjAhMw ubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMw hjAhhubjg)}(hhh]jl)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMw hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhMw ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhj2hNhNubj)}(h**Parameters** ``struct phy_device *phydev`` Target phy_device struct **Description** This function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.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.chM{ 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.chMx hjBubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMx hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMx hjBubah}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hjBubjl)}(hiThis function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h]hmThis function is used by MAC drivers for MAC’s which don’t support EEE. It disables EEE on the PHY layer.}(hj(ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h6void phy_support_sym_pause (struct phy_device *phydev)h]j )}(h5void phy_support_sym_pause(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjWChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSChhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjfChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSChhhjeChM ubj3)}(hphy_support_sym_pauseh]j9)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hjxChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjSChhhjeChM 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 jzCsbc.phy_support_sym_pauseasbuh1hhjCubj")}(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 hjSChhhjeChM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOChhhjeChM ubah}(h]jJCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjeChM hjLChhubjg)}(hhh]jl)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjLChhhjeChM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/Djj/Djjjuh1hhhhj2hNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called by the MAC to indicate is supports symmetrical Pause, but not asym pause.h](jl)}(h**Parameters**h]j)}(hj9Dh]h Parameters}(hj;DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Dubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj3Dubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjXDh]hstruct phy_device *phydev}(hjZDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVDubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjRDubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjqDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmDhM hjnDubah}(h]h ]h"]h$]h&]uh1jhjRDubeh}(h]h ]h"]h$]h&]uh1jhjmDhM hjODubah}(h]h ]h"]h$]h&]uh1jhj3Dubjl)}(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.chM hj3Dubjl)}(hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.h]hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj3Dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h7void phy_support_asym_pause (struct phy_device *phydev)h]j )}(h6void phy_support_asym_pause(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.chM ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjDhM ubj3)}(hphy_support_asym_pauseh]j9)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjDhM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hj"EhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj3EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0Eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5EmodnameN classnameNj j )}j ]j )}j jDsbc.phy_support_asym_pauseasbuh1hhjEubj")}(h h]h }(hjSEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjaEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hphydevh]hphydev}(hjnEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Eubah}(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)}(hEnable support of asym pauseh]hEnable support of asym pause}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhjDhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhj2hNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called by the MAC to indicate is supports Asym Pause.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.chM 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.chM hjEubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEubjl)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hj*FhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hRvoid phy_set_sym_pause (struct phy_device *phydev, bool rx, bool tx, bool autoneg)h]j )}(hQvoid phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](jM )}(hvoidh]hvoid}(hjYFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUFhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjhFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUFhhhjgFhM ubj3)}(hphy_set_sym_pauseh]j9)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hjzFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUFhhhjgFhM ubj )}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j|Fsbc.phy_set_sym_pauseasbuh1hhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubj )}(hbool rxh](jM )}(hjh]hbool}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hrxh]hrx}(hj#GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubj )}(hbool txh](jM )}(hjh]hbool}(hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhj/IhM ubj )}(h-(struct phy_device *phydev, bool rx, bool tx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj^IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZIubj")}(h h]h }(hjkIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZIubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj|IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~ImodnameN classnameNj j )}j ]j )}j jDIsbc.phy_set_asym_pauseasbuh1hhjZIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZIubj9)}(hphydevh]hphydev}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVIubj )}(hbool rxh](jM )}(hjh]hbool}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj9)}(hrxh]hrx}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVIubj )}(hbool txh](jM )}(hjh]hbool}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(htxh]htx}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjIhhhj/IhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj/IhM ubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/IhM hjIhhubjg)}(hhh]jl)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hjIJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjFJhhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhj/IhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjaJjjaJjjjuh1hhhhj2hNhNubj)}(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)}(hjkJh]h Parameters}(hjmJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiJubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjeJubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjJh]hstruct phy_device *phydev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjJubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjJubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjJh]hbool rx}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjJubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjJubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjJh]hbool tx}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjJubj)}(hhh]jl)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM hjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjJubeh}(h]h ]h"]h$]h&]uh1jhjeJubjl)}(h**Description**h]j)}(hj7Kh]h Description}(hj9KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Kubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjeJubjl)}(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.}(hjMKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjeJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhj2hhhNhNubh)}(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|KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxKhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxKhhhjKhM ubj3)}(hphy_validate_pauseh]j9)}(hphy_validate_pauseh]hphy_validate_pause}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxKhhhjKhM ubj )}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jKsbc.phy_validate_pauseasbuh1hhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hstruct ethtool_pauseparam *pph](j)}(hjh]hstruct}(hj*LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&Lubj")}(h h]h }(hj7LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&Lubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hjHLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjELubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJLmodnameN classnameNj j )}j ]jKc.phy_validate_pauseasbuh1hhj&Lubj")}(h h]h }(hjfLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&Lubj )}(hj h]h*}(hjtLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&Lubj9)}(hpph]hpp}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&Lubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxKhhhjKhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjtKhhhjKhM ubah}(h]joKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM hjqKhhubjg)}(hhh]jl)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLhhubah}(h]h ]h"]h$]h&]uh1jfhjqKhhhjKhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj2hNhNubj)}(hX!**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct ethtool_pauseparam *pp`` requested pause configuration **Description** Test if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.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)}(h0``struct phy_device *phydev`` 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)}(hphy_device structh]hphy_device struct}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjLubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hj%Mh]hstruct ethtool_pauseparam *pp}(hj'MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Mubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjMubj)}(hhh]jl)}(hrequested pause configurationh]hrequested pause configuration}(hj>MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:MhM hj;Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj:MhM hjLubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj`Mh]h Description}(hjbMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Mubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubjl)}(hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.h]hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.}(hjvMhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hNvoid phy_get_pause (struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h]j )}(hMvoid phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)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)}(h phy_get_pauseh]j9)}(h phy_get_pauseh]h phy_get_pause}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhM ubj )}(h;(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)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.phy_get_pauseasbuh1hhjMubj")}(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}(hj;NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(hbool *tx_pauseh](jM )}(hjh]hbool}(hjTNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPNubj")}(h h]h }(hjaNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPNubj )}(hj h]h*}(hjoNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPNubj9)}(htx_pauseh]htx_pause}(hj|NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(hbool *rx_pauseh](jM )}(hjh]hbool}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hrx_pauseh]hrx_pause}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(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)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(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&]jjjjNjjNjjjuh1hhhhj2hNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. ``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. **Description** Resolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.h](jl)}(h**Parameters**h]j)}(hj Oh]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)}(h0``struct phy_device *phydev`` 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 hj"Oubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjAOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=OhM hj>Oubah}(h]h ]h"]h$]h&]uh1jhj"Oubeh}(h]h ]h"]h$]h&]uh1jhj=OhM hjOubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hjaOh]hbool *tx_pause}(hjcOhhhNhNubah}(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 hj[Oubj)}(hhh]jl)}(hEpointer to bool to indicate whether transmit pause should be enabled.h]hEpointer to bool to indicate whether transmit pause should be enabled.}(hjzOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjwOubah}(h]h ]h"]h$]h&]uh1jhj[Oubeh}(h]h ]h"]h$]h&]uh1jhjvOhM hjOubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hjOh]hbool *rx_pause}(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)}(hDpointer to bool to indicate whether receive pause should be enabled.h]hDpointer to bool to indicate whether receive pause should be enabled.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubeh}(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)}(hResolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.h]hResolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.}(hjOhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hes32 phy_get_internal_delay (struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h]j )}(hds32 phy_get_internal_delay(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](h)}(hhh]j9)}(hs32h]hs32}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!PmodnameN classnameNj j )}j ]j )}j phy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhjPhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjAPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhj@PhM ubj3)}(hphy_get_internal_delayh]j9)}(hj=Ph]hphy_get_internal_delay}(hjSPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhj@PhM ubj )}(hJ(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjnPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjPubj")}(h h]h }(hj{PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjPubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j;Pc.phy_get_internal_delayasbuh1hhjjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjPubj9)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfPubj )}(hconst int *delay_valuesh](j)}(hj h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubjM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(h delay_valuesh]h delay_values}(hj"QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfPubj )}(hint sizeh](jM )}(hinth]hint}(hj;QhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7Qubj")}(h h]h }(hjIQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7Qubj9)}(hsizeh]hsize}(hjWQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Qubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfPubj )}(h bool is_rxh](jM )}(hjh]hbool}(hjpQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlQubj")}(h h]h }(hj}QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlQubj9)}(his_rxh]his_rx}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhj@PhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhj@PhM ubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@PhM hjPhhubjg)}(hhh]jl)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhj@PhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj2hNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQubj)}(hhh](j)}(h0``struct phy_device *phydev`` 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:128: ./drivers/net/phy/phy_device.chM hjQubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj RhM hj Rubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhj RhM hjQubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hj/Rh]hconst int *delay_values}(hj1RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Rubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)Rubj)}(hhh]jl)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hjHRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDRhM hjERubah}(h]h ]h"]h$]h&]uh1jhj)Rubeh}(h]h ]h"]h$]h&]uh1jhjDRhM hjQubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjhRh]hint size}(hjjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfRubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjbRubj)}(hhh]jl)}(hthe size of the delay arrayh]hthe size of the delay array}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}RhM hj~Rubah}(h]h ]h"]h$]h&]uh1jhjbRubeh}(h]h ]h"]h$]h&]uh1jhj}RhM hjQubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hjRh]h bool is_rx}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjRubj)}(hhh]jl)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQubjl)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhj2hhhNhNubh)}(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}(hj!ShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM` ubj")}(h h]h }(hj0ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhj/ShM` ubj3)}(hphy_get_tx_amplitude_gainh]j9)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjBShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhj/ShM` 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}(hj^ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZSubj")}(h h]h }(hjkShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZSubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj|ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjySubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~SmodnameN classnameNj j )}j ]j )}j jDSsbc.phy_get_tx_amplitude_gainasbuh1hhjZSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZSubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZSubj9)}(hphydevh]hphydev}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVSubj )}(hstruct 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)}(hdeviceh]hdevice}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]jSc.phy_get_tx_amplitude_gainasbuh1hhjSubj")}(h h]h }(hj ThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hdevh]hdev}(hj'ThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVSubj )}(h+enum ethtool_link_mode_bit_indices linkmodeh](j)}(hjh]henum}(hj@ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVh]hReturn}(hj@VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjstruct phy_port * phy_get_sfp_port (struct phy_device *phydev)h]j )}(hYhhubjg)}(hhh]jl)}(h)Returns the first valid SFP port of a PHYh]h)Returns the first valid SFP port of a PHY}(hjDZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjAZhhubah}(h]h ]h"]h$]h&]uh1jfhj>YhhhjVYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\Zjj\Zjjjuh1hhhhj2hNhNubj)}(h**Parameters** ``struct phy_device *phydev`` pointer to the PHY device to get the SFP port from **Return** The first active SFP (serdes) port of a PHY device, NULL if none exist.h](jl)}(h**Parameters**h]j)}(hjfZh]h Parameters}(hjhZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdZubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj`Zubj)}(hhh]j)}(hQ``struct phy_device *phydev`` pointer to the PHY device to get the SFP port from 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjZubj)}(hhh]jl)}(h2pointer to the PHY device to get the SFP port fromh]h2pointer to the PHY device to get the SFP port from}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhM hj|Zubah}(h]h ]h"]h$]h&]uh1jhj`Zubjl)}(h **Return**h]j)}(hjZh]hReturn}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj`Zubjl)}(hGThe first active SFP (serdes) port of a PHY device, NULL if none exist.h]hGThe first active SFP (serdes) port of a PHY device, NULL if none exist.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj`Zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$fwnode_mdio_find_device (C function)c.fwnode_mdio_find_devicehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hKstruct mdio_device * fwnode_mdio_find_device (struct fwnode_handle *fwnode)h]j )}(hIstruct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode)h](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[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 ubh)}(hhh]j9)}(h mdio_deviceh]h mdio_device}(hj$[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj![ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&[modnameN classnameNj j )}j ]j )}j fwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhj[hhhj[hM ubj")}(h h]h }(hjE[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhj[hM ubj )}(hj h]h*}(hjS[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[hhhj[hM ubj3)}(hfwnode_mdio_find_deviceh]j9)}(hjB[h]hfwnode_mdio_find_device}(hjd[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhj[hM ubj )}(h(struct fwnode_handle *fwnode)h]j )}(hstruct fwnode_handle *fwnodeh](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 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.fwnode_mdio_find_deviceasbuh1hhj{[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)}(hfwnodeh]hfwnode}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjw[ubah}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhj[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$Given a fwnode, find the mdio_deviceh]h$Given a fwnode, find the mdio_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&]uh1jfhjZhhhj[hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhj2hNhNubj)}(hX3**Parameters** ``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode **Description** If successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.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)}(hE``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjA\h]hstruct fwnode_handle *fwnode}(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)}(h#pointer to the mdio_device's fwnodeh]h%pointer to the mdio_device’s fwnode}(hjZ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjV\hMhjW\ubah}(h]h ]h"]h$]h&]uh1jhj;\ubeh}(h]h ]h"]h$]h&]uh1jhjV\hMhj8\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjl)}(h**Description**h]j)}(hj|\h]h Description}(hj~\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz\ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj\ubjl)}(hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h]hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_phy_find_device (C function)c.fwnode_phy_find_devicehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hMstruct phy_device * fwnode_phy_find_device (struct fwnode_handle *phy_fwnode)h]j )}(hKstruct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode)h](j)}(hjh]hstruct}(hj\hhhNhNubah}(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 }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hMubh)}(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 fwnode_phy_find_devicesbc.fwnode_phy_find_deviceasbuh1hhj\hhhj\hMubj")}(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)}(hfwnode_phy_find_deviceh]j9)}(hj\h]hfwnode_phy_find_device}(hj ]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhj\hMubj )}(h"(struct fwnode_handle *phy_fwnode)h]j )}(h struct fwnode_handle *phy_fwnodeh](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)}(h fwnode_handleh]h fwnode_handle}(hjY]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[]modnameN classnameNj j )}j ]j\c.fwnode_phy_find_deviceasbuh1hhj7]ubj")}(h h]h }(hjw]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7]ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7]ubj9)}(h phy_fwnodeh]h phy_fwnode}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3]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)For provided phy_fwnode, find phy_device.h]h)For provided phy_fwnode, find 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&]uh1jfhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj2hNhNubj)}(h**Parameters** ``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. **Description** If successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on 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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj]ubj)}(hhh]j)}(hB``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. h](j)}(h$``struct fwnode_handle *phy_fwnode``h]j)}(hj]h]h struct fwnode_handle *phy_fwnode}(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 the phy's fwnode.h]hPointer to the phy’s fwnode.}(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)}(hj8^h]h Description}(hj:^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6^ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj]ubjl)}(hIf successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.h]hIf successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.}(hjN^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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h fwnode_get_phy_node (C function)c.fwnode_get_phy_nodehNtauh1hhj2hhhNhNubh)}(hhh](j)}(hOstruct fwnode_handle * fwnode_get_phy_node (const struct fwnode_handle *fwnode)h]j )}(hMstruct fwnode_handle *fwnode_get_phy_node(const struct fwnode_handle *fwnode)h](j)}(hjh]hstruct}(hj}^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy^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!hjy^hhhj^hM/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 )}j fwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhjy^hhhj^hM/ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy^hhhj^hM/ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjy^hhhj^hM/ubj3)}(hfwnode_get_phy_nodeh]j9)}(hj^h]hfwnode_get_phy_node}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjy^hhhj^hM/ubj )}(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&]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}(hj0_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2_modnameN classnameNj j )}j ]j^c.fwnode_get_phy_nodeasbuh1hhj^ubj")}(h h]h }(hjN_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hj\_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hfwnodeh]hfwnode}(hji_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubah}(h]h ]h"]h$]h&]jPjQuh1j hjy^hhhj^hM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhju^hhhj^hM/ubah}(h]jp^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hM/hjr^hhubjg)}(hhh]jl)}(h+Get the phy_node using the named reference.h]h+Get the phy_node using the named reference.}(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&]uh1jfhjr^hhhj^hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj2hNhNubj)}(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)}(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.chM3hj_ubj)}(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)}(hj_h]h"const struct fwnode_handle *fwnode}(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.chM0hj_ubj)}(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.}(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&]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.chM2hj_ubjl)}(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.}(hj%`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhj2hhhNhNubh)}(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}(hjT`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjP`hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjb`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP`hhhja`hMubj3)}(hphy_uses_state_machineh]j9)}(hphy_uses_state_machineh]hphy_uses_state_machine}(hjt`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjP`hhhja`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 jv`sbc.phy_uses_state_machineasbuh1hhj`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 hjP`hhhja`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjL`hhhja`hMubah}(h]jG`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhja`hMhjI`hhubjg)}(hhh]jl)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjahhubah}(h]h ]h"]h$]h&]uh1jfhjI`hhhja`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+ajj+ajjjuh1hhhhj2hNhNubj)}(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)}(hj5ah]h Parameters}(hj7ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3aubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj/aubj)}(hhh]j)}(h>``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjTah]hstruct phy_device *phydev}(hjVahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRaubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjNaubj)}(hhh]jl)}(hthe target PHY device structureh]hthe target PHY device structure}(hjmahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjiahMhjjaubah}(h]h ]h"]h$]h&]uh1jhjNaubeh}(h]h ]h"]h$]h&]uh1jhjiahMhjKaubah}(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:131: ./drivers/net/phy/phy_device.chMhj/aubjl)}(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().}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj/aubjl)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj/aubjl)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj/aubjl)}(h **Return**h]j)}(hjah]hReturn}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM"hj/aubjl)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hj/aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhj2hhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj(bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhj'bhMubj3)}(hphy_register_fixuph]j9)}(hphy_register_fixuph]hphy_register_fixup}(hj:bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6bubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhj'bhMubj )}(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}(hjVbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRbubj")}(h h]h }(hjcbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRbubjM )}(hcharh]hchar}(hjqbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRbubj9)}(hbus_idh]hbus_id}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNbubj )}(h u32 phy_uidh](h)}(hhh]j9)}(hu32h]hu32}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jmdio.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)}(hj7dh]h Parameters}(hj9dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5dubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1dubj)}(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)}(hjVdh]hconst char *bus_id}(hjXdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPdubj)}(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)}(hjodhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkdhMhjldubah}(h]h ]h"]h$]h&]uh1jhjPdubeh}(h]h ]h"]h$]h&]uh1jhjkdhMhjMdubj)}(hJ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) h](j)}(h``u32 phy_uid``h]j)}(hjdh]h u32 phy_uid}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubj)}(hhh]jl)}(h9Used to match against phydev->phy_id (the UID of the PHY)h]h9Used to match against phydev->phy_id (the UID of the PHY)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjMdubj)}(hx``u32 phy_uid_mask`` Applied to phydev->phy_id and fixup->phy_uid before comparison (or 0 to disable id-based matching) h](j)}(h``u32 phy_uid_mask``h]j)}(hjdh]hu32 phy_uid_mask}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubj)}(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)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjMdubj)}(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)}(hjeh]hint (*run)(struct phy_device *)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubj)}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehMhjMdubeh}(h]h ]h"]h$]h&]uh1jhj1dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhj2hhhNhNubh)}(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}(hj\ehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXehhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~ubj")}(h h]h }(hjkehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXehhhjjehM~ubj3)}(hget_phy_c45_idsh]j9)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hj}ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXehhhjjehM~ubj )}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jesbc.get_phy_c45_idsasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hbush]hbus}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hint addrh](jM )}(hinth]hint}(hj fhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(haddrh]haddr}(hj'fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(h"struct phy_c45_device_ids *c45_idsh](j)}(hjh]hstruct}(hj@fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjint get_phy_c22_id(struct mii_bus *bus, int addr, u32 *phy_id)h](jM )}(hinth]hint}(hj9hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjHhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhhjGhhMubj3)}(hget_phy_c22_idh]j9)}(hget_phy_c22_idh]hget_phy_c22_id}(hjZhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhhjGhhMubj )}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjvhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j\hsbc.get_phy_c22_idasbuh1hhjrhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrhubj9)}(hbush]hbus}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnhubj )}(hint addrh](jM )}(hinth]hint}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(haddrh]haddr}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnhubj )}(h u32 *phy_idh](h)}(hhh]j9)}(hu32h]hu32}(hj ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"imodnameN classnameNj j )}j ]jhc.get_phy_c22_idasbuh1hhjiubj")}(h h]h }(hj>ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjLihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hphy_idh]hphy_id}(hjYihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnhubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhhjGhhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhhjGhhMubah}(h]j,hah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhhMhj.hhhubjg)}(hhh]jl)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjihhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhhjGhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj2hNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjih]hstruct mii_bus *bus}(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)}(hthe target MII bush]hthe target MII bus}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjih]hint addr}(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)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjiubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hj6jh]h u32 *phy_id}(hj8jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4jubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0jubj)}(hhh]jl)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hjOjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKjhMhjLjubah}(h]h ]h"]h$]h&]uh1jhj0jubeh}(h]h ]h"]h$]h&]uh1jhjKjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hjqjh]h Description}(hjsjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjojubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubjl)}(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 }(hjjhhhNhNubj)}(h**addr**h]haddr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh on the }(hjjhhhNhNubj)}(h**bus**h]hbus}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh, placing it in }(hjjhhhNhNubj)}(h **phy_id**h]hphy_id}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh6. Return zero on successful read and the ID is valid, }(hjjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh on bus access error, or }(hjjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh% if no device responds or invalid ID.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhj2hhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj khhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj khhhjkhMubj3)}(hphy_prepare_linkh]j9)}(hphy_prepare_linkh]hphy_prepare_link}(hj1khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj khhhjkhMubj )}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjMkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIkubj")}(h h]h }(hjZkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIkubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjkkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmkmodnameN classnameNj j )}j ]j )}j j3ksbc.phy_prepare_linkasbuh1hhjIkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIkubj9)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEkubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hjOh]h(}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hhandlerh]hhandler}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubj )}(hjxh]h)}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hjOh]h(}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj*lhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj;lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=lmodnameN classnameNj j )}j ]jkc.phy_prepare_linkasbuh1hhjkubj )}(hj h]h*}(hjYlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hjxh]h)}(hjflhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEkubeh}(h]h ]h"]h$]h&]jPjQuh1j hj khhhjkhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjkhMubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMhjkhhubjg)}(hhh]jl)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj2hNhNubj)}(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)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjlubj)}(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:131: ./drivers/net/phy/phy_device.chMhjlubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjlubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj mh]h$void (*handler)(struct net_device *)}(hj mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh]jl)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hj"mhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjlubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjDmh]h Description}(hjFmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBmubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjlubj)}(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}(hjamhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj]mubj)}(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.}(hjsmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpmubah}(h]h ]h"]h$]h&]uh1jhj]mubeh}(h]h ]h"]h$]h&]uh1jhjomhMhjZmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhj2hhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjmhMubj3)}(hphy_poll_reseth]j9)}(hphy_poll_reseth]hphy_poll_reset}(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&]uh1j8hj nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j )}j jmsbc.phy_poll_resetasbuh1hhjmubj")}(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}(hjJnhhhNhNubah}(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]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjmhhubjg)}(hhh]jl)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hjtnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj2hNhNubj)}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjnubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnubj)}(hhh]jl)}(hThe PHY device to pollh]hThe PHY device to poll}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnubj)}(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}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM*hj oubj)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjoubjl)}(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.}(hj.ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hjoubjl)}(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 }(hj=ohhhNhNubjY)}(h *REQUIRE*h]hREQUIRE}(hjEohhhNhNubah}(h]h ]h"]h$]h&]uh1jXhj=oubhX 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.}(hj=ohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM&hjoubeh}(h]h ]h"]h$]h&]uh1jhj oubeh}(h]h ]h"]h$]h&]uh1jhjohM*hjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhj2hhhNhNubh)}(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}(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_sfp_connect_phyh]j9)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hupstreamh]hupstream}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj pubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj pubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj-phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/pmodnameN classnameNj j )}j ]j )}j josbc.phy_sfp_connect_phyasbuh1hhj pubj")}(h h]h }(hjMphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj pubj )}(hj h]h*}(hj[phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj pubj9)}(hphyh]hphy}(hjhphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj pubeh}(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)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjphhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhj2hNhNubj)}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjph]hvoid *upstream}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hj qh]hstruct phy_device *phy}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj qubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hj%qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!qhMhj"qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj!qhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hjGqh]h Description}(hjIqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEqubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubjl)}(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}(hj]qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubjl)}(h **Return**h]j)}(hjnqh]hReturn}(hjpqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlqubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubjl)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhj2hhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjqhMubj3)}(hphy_sfp_disconnect_phyh]j9)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjqhMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](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*}(hj rhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hupstreamh]hupstream}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj2rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.rubj")}(h h]h }(hj?rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.rubh)}(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 jqsbc.phy_sfp_disconnect_phyasbuh1hhj.rubj")}(h h]h }(hjprhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.rubj )}(hj h]h*}(hj~rhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.rubj9)}(hphyh]hphy}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(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)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj2hNhNubj)}(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)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjrh]hvoid *upstream}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj shMhj subah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj shMhjrubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hj/sh]hstruct phy_device *phy}(hj1shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-subah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj)subj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjHshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDshMhjEsubah}(h]h ]h"]h$]h&]uh1jhj)subeh}(h]h ]h"]h$]h&]uh1jhjDshMhjrubeh}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjjsh]h Description}(hjlshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhsubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubjl)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhj2hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjshMubj3)}(hphy_sfp_attachh]j9)}(hphy_sfp_attachh]hphy_sfp_attach}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjshMubj )}(h%(void *upstream, struct sfp_bus *bus)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hupstreamh]hupstream}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj.thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*tubj")}(h h]h }(hj;thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*tubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjLthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjItubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNtmodnameN classnameNj j )}j ]j )}j jssbc.phy_sfp_attachasbuh1hhj*tubj")}(h h]h }(hjlthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*tubj )}(hj h]h*}(hjzthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*tubj9)}(hbush]hbus}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*tubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjshhhjshMubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhjshhubjg)}(hhh]jl)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjthhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj2hNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjtubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjth]hvoid *upstream}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjtubj)}(hhh]jl)}(hpointer to the phy deviceh]hpointer to the phy device}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjtubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hj+uh]hstruct sfp_bus *bus}(hj-uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)uubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%uubj)}(hhh]jl)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjDuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@uhMhjAuubah}(h]h ]h"]h$]h&]uh1jhj%uubeh}(h]h ]h"]h$]h&]uh1jhj@uhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(h**Description**h]j)}(hjfuh]h Description}(hjhuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjduubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjtubjl)}(h 0 if it has changed.h](jl)}(h**Parameters**h]j)}(hj]zh]h Parameters}(hj_zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[zubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjWzubj)}(hhh](j)}(h7``struct phy_device *phydev`` target 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&]uh1jhjzzubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjvzubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjvzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjszubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hjzh]hconst unsigned long *advert}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjzubj)}(hhh]jl)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjszubeh}(h]h ]h"]h$]h&]uh1jhjWzubjl)}(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.chMhjWzubj)}(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,}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj {ubj)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./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&]uh1jhjWzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhj2hhhNhNubh)}(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}(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.chMLubj")}(h h]h }(hjo{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\{hhhjn{hMLubj3)}(hgenphy_c37_config_adverth]j9)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\{hhhjn{hMLubj )}(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_c37_config_advertasbuh1hhj{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\{hhhjn{hMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjX{hhhjn{hMLubah}(h]jS{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjn{hMLhjU{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.chMLhj|hhubah}(h]h ]h"]h$]h&]uh1jfhjU{hhhjn{hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8|jj8|jjjuh1hhhhj2hNhNubj)}(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)}(hjB|h]h Parameters}(hjD|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.chMPhj<|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:131: ./drivers/net/phy/phy_device.chMMhj[|ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjz|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv|hMMhjw|ubah}(h]h ]h"]h$]h&]uh1jhj[|ubeh}(h]h ]h"]h$]h&]uh1jhjv|hMMhjX|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:131: ./drivers/net/phy/phy_device.chMOhj<|ubj)}(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,}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMRhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMRhj|ubah}(h]h ]h"]h$]h&]uh1jhj<|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhj2hhhNhNubh)}(hhh](j)}(h"int phy_probe (struct device *dev)h]j )}(h!int phy_probe(struct device *dev)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.chMGubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hMGubj3)}(h phy_probeh]j9)}(h phy_probeh]h phy_probe}(hj-}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hMGubj )}(h(struct device *dev)h]j )}(hstruct 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)}(hdeviceh]hdevice}(hjg}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji}modnameN classnameNj j )}j ]j )}j j/}sb c.phy_probeasbuh1hhjE}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}hMGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hMGubah}(h]j|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hMGhj}hhubjg)}(hhh]jl)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMGhj}hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj2hNhNubj)}(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)}(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:131: ./drivers/net/phy/phy_device.chMKhj}ubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj ~h]hstruct 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:131: ./drivers/net/phy/phy_device.chMHhj~ubj)}(hhh]jl)}(hdevice to probe and inith]hdevice to probe and init}(hj&~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"~hMHhj#~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj"~hMHhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubjl)}(h**Description**h]j)}(hjH~h]h Description}(hjJ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF~ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMJhj}ubjl)}(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.}(hj^~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMIhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhj2hhhNhNubh)}(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 }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhj~hMubj3)}(hphy_driver_registerh]j9)}(hphy_driver_registerh]hphy_driver_register}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhj~hMubj )}(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&]uh1jhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(h phy_driverh]h phy_driver}(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_driver_registerasbuh1hhj~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 new_driverh]h new_driver}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubj )}(hstruct module *ownerh](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)}(hmoduleh]hmodule}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]jc.phy_driver_registerasbuh1hhj8ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hownerh]howner}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(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(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hj7h]hstruct module *owner}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]jl)}(hmodule owning this PHYh]hmodule owning this PHY}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKRubj3)}(h__mdiobus_readh]j9)}(h__mdiobus_readh]h__mdiobus_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKRubj )}(h+(struct mii_bus *bus, int addr, u32 regnum)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_readasbuh1hhjʀ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 }(hjNhhhNhNubah}(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}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jc.__mdiobus_readasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƀubeh}(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)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hj΁hhhNhNubah}(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&]uh1jfhjhhhjhKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]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.chKShj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hKShjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjHh]hint addr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKThjBubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hKThj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKThjubj)}(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.chKUhj{ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKUhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKUhjubeh}(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.chKWhjubjl)}(h@The register value if successful, negative error code on failureh]h@The register value 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.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)}(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.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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhj2hhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKsubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hKsubj3)}(h__mdiobus_writeh]j9)}(h__mdiobus_writeh]h__mdiobus_write}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hKsubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.__mdiobus_writeasbuh1hhjubj")}(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_writeasbuh1hhj/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 ]jƃc.__mdiobus_writeasbuh1hhjwubj")}(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]hKsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hKsubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hKshjDhhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjԄhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKshjфhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hKsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chKthjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hKthj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKthj ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjNh]hint addr}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKuhjHubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchKuhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKuhj 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.chKvhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhj ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(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.chKwhjubj)}(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&]uh1jkhjՅhKwhjօubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՅhKwhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(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.chKyhjubjl)}(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.chKyhjubjl)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(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.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.}(hjFhhhNhNubah}(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)}(hjWh]hNOTE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(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.}(hjmhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/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!hjhhhjhKubj3)}(h__mdiobus_modify_changedh]j9)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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 }(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 jsbc.__mdiobus_modify_changedasbuh1hhjՆ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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՆubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjцubj )}(hint addrh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(haddrh]haddr}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(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.__mdiobus_modify_changedasbuh1hhj|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 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 ]jc.__mdiobus_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 hjцubj )}(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_modify_changedasbuh1hhj ubj")}(h h]h }(hj1hhhNhNubah}(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 hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjfhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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)}(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.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjÈhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.chKhj݈ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj݈ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hKhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjUh]hu16 mask}(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.chKhjOubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhKhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjubj)}(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.chKhjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjɉh]hReturn}(hjˉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjljubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(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.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)}(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.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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhj2hhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhKubj3)}(h__mdiobus_c45_readh]j9)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhKubj )}(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 jsbc.__mdiobus_c45_readasbuh1hhjubj")}(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 )}(hint addrh](jM )}(hinth]hint}(hj hhhNhNubah}(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 hjubj )}(h int devadh](jM )}(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)}(hdevadh]hdevad}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jӊc.__mdiobus_c45_readasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhKubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhKhjQhhubjg)}(hhh]jl)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked 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.chKhjˋhhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(hjh]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.chKhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjHh]hint addr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjBubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhjubj)}(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.chKhj{ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.chKhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjӌhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjόhKhjЌubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjόhKhjubeh}(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}(hj hhhNhNubah}(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=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.}(hj2hhhNhNubah}(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)}(hjCh]hNOTE}(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)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjYhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/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!hjhhhjhKubj3)}(h__mdiobus_c45_writeh]j9)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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&]uh1jhjubj")}(h h]h }(hjҍhhhNhNubah}(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 jsbc.__mdiobus_c45_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)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj9)}(haddrh]haddr}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(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_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 ]jc.__mdiobus_c45_writeasbuh1hhjubj")}(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 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.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjBhhhNhNubah}(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&]uh1jfhj}hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhj2hNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj^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.chKhj}ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjzubj)}(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}(hjՏhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjяhKhjҏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjяhKhjzubj)}(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&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjzubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj.h]h u32 regnum}(hj0hhhNhNubah}(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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhjzubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjgh]hu16 val}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjaubj)}(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&]uh1jkhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjzubeh}(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.chKhj^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.chKhj^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:134: ./drivers/net/phy/mdio_bus.chKhj^ubjl)}(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.chKhj^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.chKhj^ubjl)}(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.chKhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhj2hhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"ubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhjQhM"ubj3)}(hmdiobus_read_nestedh]j9)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhjQhM"ubj )}(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 jfsbc.mdiobus_read_nestedasbuh1hhj|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 hjxubj )}(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 hjxubj )}(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_read_nestedasbuh1hhj#ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj9)}(hregnumh]hregnum}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?hhhjQhM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhjQhM"ubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhM"hj8hhubjg)}(hhh]jl)}(h+Nested version of the mdiobus_read functionh]h+Nested 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.chM"hj}hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhjQhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chM&hjubj)}(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}(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.chM#hjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus 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``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}(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 read h](j)}(h``u32 regnum``h]j)}(hj3h]h u32 regnum}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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)}(hregister number to readh]hregister number to read}(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 **Return**h]j)}(hjnh]hReturn}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hjubjl)}(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'hjubjl)}(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.chM)hjubjl)}(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.chM(hjubjl)}(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.chM+hjubjl)}(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,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhj2hhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.mdiobus_readasbuh1hhj: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 hj6ubj )}(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 hj6ubj )}(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 ]jxc.mdiobus_readasbuh1hhjubj")}(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 hj6ubeh}(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 reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM=hj;hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj2hNhNubj)}(hXd**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 **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}(hjbhhhNhNubah}(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.chMAhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM>hjyubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjvubj)}(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?hjvubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjvubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(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:134: ./drivers/net/phy/mdio_bus.chMBhjZubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhjZubjl)}(h**NOTE**h]j)}(hjSh]hNOTE}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjZubjl)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMUubj3)}(hmdiobus_c45_readh]j9)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMUubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](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)}(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_c45_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 hj͖ubj )}(hint addrh](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj9)}(haddrh]haddr}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj͖ubj )}(h int devadh](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(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.mdiobus_c45_readasbuh1hhjubj")}(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͖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)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hj hhhNhNubah}(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&]uh1jfhjhhhjhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhj2hNhNubj)}(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}(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.chMYhj&ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjKh]hstruct mii_bus *bus}(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.chMVhjEubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMVhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMVhjBubj)}(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.chMWhj~ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjBubj)}(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.chMXhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hj֘hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjҘhMXhjӘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҘhMXhjBubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMYhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMYhjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubjl)}(h **Return**h]j)}(hj1h]hReturn}(hj3hhhNhNubah}(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)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjGhhhNhNubah}(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)}(hjXh]hNOTE}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(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.}(hjnhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhj2hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMnubj3)}(hmdiobus_c45_read_nestedh]j9)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMnubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](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)}(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_c45_read_nestedasbuh1hhj֙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}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֙ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҙubj )}(hint addrh](jM )}(hinth]hint}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj9)}(haddrh]haddr}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҙubj )}(h int devadh](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)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_c45_read_nestedasbuh1hhjubj")}(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ҙubeh}(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)}(h/Nested version of the mdiobus_c45_read functionh]h/Nested 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.chMnhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj2hNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.chMrhj+ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjPh]hstruct mii_bus *bus}(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.chMohjJubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMohjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMohjGubj)}(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.chMphjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjGubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjۛhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjכhMqhj؛ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjכhMqhjGubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(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.chMthj+ubjl)}(h@The register value if successful, negative error code on failureh]h@The register value 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.chMthj+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: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().}(hjshhhNhNubah}(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)}(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.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.}(hjhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhj2hhhNhNubh)}(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 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)}(hmdiobus_write_nestedh]j9)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(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_write_nestedasbuh1hhjubj")}(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_write_nestedasbuh1hhjubj")}(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_write_nestedasbuh1hhjubj")}(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,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(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&]jjjjfjjfjjjuh1hhhhj2hNhNubj)}(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)}(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**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.chMhjjubjl)}(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.chMhjjubjl)}(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.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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhj2hhhNhNubh)}(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}(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 }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(h mdiobus_writeh]j9)}(h mdiobus_writeh]h mdiobus_write}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](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)}(hmii_bush]hmii_bus}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j j9sbc.mdiobus_writeasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hint addrh](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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(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_writeasbuh1hhjubj")}(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 hjKubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.mdiobus_writeasbuh1hhj>ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj9)}(hvalh]hval}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(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: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&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.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:134: ./drivers/net/phy/mdio_bus.chMhj֡ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj֡ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjӡubj)}(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*hMhjӡubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjNh]h u32 regnum}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjӡ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.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&]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&]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}(hjhhhNhNubah}(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.}(hj hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhj2hhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhMubj3)}(hmdiobus_c45_writeh]j9)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(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_writeasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjţhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hbush]hbus}(hjңhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(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 hjqubj )}(h int devadh](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)}(hdevadh]hdevad}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jc.mdiobus_c45_writeasbuh1hhjQubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(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 hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhMubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhj1hhubjg)}(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&]uh1jfhj1hhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj7h]hstruct mii_bus *bus}(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.chMhj1ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjph]hint addr}(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.chMhjjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.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.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&]uh1jhjhMhj.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.chMhjܥubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjܥubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.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.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj4hhhNhNubj)}(h **regnum**h]hregnum}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj.ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjdh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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}(hjzhhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhj2hhhNhNubh)}(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}(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)}(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&]jPjQuh1j2hj̦hhhjަhMubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(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_write_nestedasbuh1hhj 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)}(hbush]hbus}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](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)}(haddrh]haddr}(hjhhhNhNubah}(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 }(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 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 ]jGc.mdiobus_c45_write_nestedasbuh1hhjubj")}(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 hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jGc.mdiobus_c45_write_nestedasbuh1hhj-ubj")}(h h]h }(hjRhhhNhNubah}(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 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)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_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&]uh1jfhjŦhhhjަhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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)}(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.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:134: ./drivers/net/phy/mdio_bus.chMhjŨubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjŨubeh}(h]h ]h"]h$]h&]uh1jhjhMhj¨ubj)}(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&]uh1jhjhMhj¨ubj)}(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&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj7ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj¨ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjvh]h u32 regnum}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjpubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj¨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.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue 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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĩhMhj¨ubeh}(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.chMhjubjl)}(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.chMhjubjl)}(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: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().}(hj5hhhNhNubah}(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)}(hjFh]hNOTE}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(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.}(hj\hhhNhNubah}(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&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhj2hhhNhNubh)}(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}(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_modifyh]j9)}(hmdiobus_modifyh]hmdiobus_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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_modifyasbuh1hhjĪ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 hjubj )}(hint addrh](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)}(haddrh]haddr}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(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 ]jc.mdiobus_modifyasbuh1hhjubj")}(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 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.mdiobus_modifyasbuh1hhjubj")}(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 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?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhj2hNhNubj)}(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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjtubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̬ubeh}(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&]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 hMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjDh]hu16 mask}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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 clearh]hbit mask of bits to clear}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj}h]hu16 set}(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.chMhjwubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(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.chMhjtubjl)}(h-0 on success, negative on any error conditionh]h-0 on success, 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.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhj2hhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM&ubj3)}(hmdiobus_c45_modifyh]j9)}(hmdiobus_c45_modifyh]hmdiobus_c45_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM&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}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j sbc.mdiobus_c45_modifyasbuh1hhj6ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(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 hj2ubj )}(h int devadh](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)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݮubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(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 ]jtc.mdiobus_c45_modifyasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jtc.mdiobus_c45_modifyasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jtc.mdiobus_c45_modifyasbuh1hhjubj")}(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 hj2ubeh}(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?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&]uh1jfhjhhhj hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj2hNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM*hjubj)}(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}(hjBhhhNhNubah}(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 mii_bus structh]hthe mii_bus struct}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM(hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM(hj7ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjyh]hint addr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM)hjsubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj7ubj)}(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*hj7ubj)}(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+hj7ubj)}(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,hjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM,hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM,hj7ubj)}(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:134: ./drivers/net/phy/mdio_bus.chM-hjWubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM-hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM-hj7ubeh}(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.chM/hjubjl)}(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.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhj2hhhNhNubh)}(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}(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.chM@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٱhhhjhM@ubj3)}(hmdiobus_modify_changedh]j9)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjٱhhhjhM@ubj )}(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 }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjshhhNhNubah}(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 u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjIJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƲmodnameN classnameNj j )}j ]jTc.mdiobus_modify_changedasbuh1hhjubj")}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jTc.mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jTc.mdiobus_modify_changedasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(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[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.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhjұhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj³jj³jjjuh1hhhhj2hNhNubj)}(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)}(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.chMDhjƳ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.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.chMChjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMChj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMChjubj)}(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.chMDhjWubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMDhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMDhjubj)}(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.chMEhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(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: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&]uh1jhjƳubjl)}(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.chMHhjƳ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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMHhjƳubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhj2hhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hMYubj3)}(hmdiobus_c45_modify_changedh]j9)}(hmdiobus_c45_modify_changedh]hmdiobus_c45_modify_changed}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hMYubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.mdiobus_c45_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 int devadh](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)}(hdevadh]hdevad}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jƵc.mdiobus_c45_modify_changedasbuh1hhjdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(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_modify_changedasbuh1hhjubj")}(h h]h }(hjѶhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jƵc.mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hMYubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMYhjDhhubjg)}(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}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj2hNhNubj)}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjmubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjŷubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(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}(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)}(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.chM^hj7ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM^hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM^hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjvh]hu16 mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM_hjpubj)}(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&]uh1jhjpubeh}(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`hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĸhM`hjubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(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.chMbhjmubjl)}(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.chMbhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhj2hhhNhNubh)}(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}(hj/hhhNhNubah}(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 }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj=hKubj3)}(h__mdiobus_c45_modify_changedh]j9)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj=hKubj )}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jRsbc.__mdiobus_c45_modify_changedasbuh1hhjhubj")}(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}(hjŹhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hint addrh](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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڹubeh}(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 }(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 hjdubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jc.__mdiobus_c45_modify_changedasbuh1hhjDubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hregnumh]hregnum}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(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_c45_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 hjdubj )}(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 ]jc.__mdiobus_c45_modify_changedasbuh1hhjԺubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjԺubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԺubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubeh}(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)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj.hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj=hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj2hNhNubj)}(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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjMubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjrh]hstruct mii_bus *bus}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjlubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjiubj)}(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:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjĻhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(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.chMhj޻ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj޻ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjiubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjVh]hu16 mask}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjPubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjiubj)}(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:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjl)}(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:137: ./drivers/net/phy/mdio_bus.chMhjMubjl)}(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.chMhjMubjl)}(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 hjMubjl)}(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.chMhjMubjl)}(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 hjMubjl)}(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:137: ./drivers/net/phy/mdio_bus.chM hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhj0hhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhhhhhKubj)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhhhKhj]ubah}(h]h ]h"]h$]h&]uh1jhhhKhjLhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhjLhhhNhNubh)}(hhh](j)}(hphylink_link_stateh]j )}(hstruct phylink_link_stateh](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!hjhhhjhKubj3)}(hphylink_link_stateh]j9)}(hjh]hphylink_link_state}(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)}(hlink state structureh]hlink state structure}(hjнhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKihjͽhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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; };}hj sbah}(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}(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.hhK{hjubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hj=h]h 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.hhKkhj7ubj)}(hhh]jl)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhKkhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKkhj4ubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hjvh]hlp_advertising}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhjpubj)}(hhh]jl)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKmhj4ubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjh]h 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.hhKnhjubj)}(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_tuh1hhjžhKnhjɾubh mode}(hjɾhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjžhKnhjƾubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjžhKnhj4ubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hj h]hspeed}(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.hhKohjubj)}(hhh]jl)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKohj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKohj4ubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hjEh]hduplex}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKphj?ubj)}(hhh]jl)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhKphj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKphj4ubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hj~h]hpause}(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.hhKqhjxubj)}(hhh]jl)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhKqhj4ubj)}(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)}(hjh]h rate_matching}(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.hhKuhjubj)}(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 (}(hjпhhhNhNubj)}(h **speed**h]hspeed}(hjؿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjпubh and }(hjпhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjпubh2) and the speed/duplex of the phy interface mode (}(hjпhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjпubh) are different.}(hjпhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKrhjͿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̿hKuhj4ubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hj'h]hlink}(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.hhKvhj!ubj)}(hhh]jl)}(htrue if the link is up.h]htrue if the link is up.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hKvhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hKvhj4ubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hj`h]h an_complete}(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.hhKvhjZubj)}(hhh]jl)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKwhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKvhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhjLhhhNhNubh)}(hhh](j)}(hphylink_configh]j )}(hstruct phylink_configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK}ubj3)}(hphylink_configh]j9)}(hjh]hphylink_config}(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)}(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&]uh1jfhjhhhjhK}ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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}(hj hhhNhNubah}(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; };}hj9sbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(h **Members**h]j)}(hjJh]hMembers}(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.hhKhjubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hjih]hdev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjcubj)}(hhh]jl)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj`ubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hjh]htype}(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"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj`ubj)}(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&]uh1jhjhKhj`ubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hj'h]hmac_managed_pm}(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;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(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)}(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)}(hj`h]hmac_requires_rxc}(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.hhKhjZubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKhj`ubj)}(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)}(hjh]hdefault_an_inband}(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)}(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.}(hjhhhNhNubah}(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&]uh1jhjhKhj`ubj)}(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&]uh1jhjhKhj`ubj)}(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)}(hj h]hget_fixed_state}(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)}(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 }(hj&hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh mode.}(hj&hhhNhNubeh}(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"hKhj`ubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. h](j)}(h``supported_interfaces``h]j)}(hjYh]hsupported_interfaces}(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.hhKhjSubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKhj`ubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjh]hlpi_interfaces}(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)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hjhhhNhNubah}(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&]uh1jhjhKhj`ubj)}(h:``mac_capabilities`` MAC pause/speed/duplex capabilities. h](j)}(h``mac_capabilities``h]j)}(hjh]hmac_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 pause/speed/duplex capabilities.h]h$MAC pause/speed/duplex capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj`ubj)}(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&]uh1jhjhKhj`ubj)}(h5``lpi_timer_default`` Default EEE LPI timer setting. h](j)}(h``lpi_timer_default``h]j)}(hj?h]hlpi_timer_default}(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.hhKhj9ubj)}(hhh]jl)}(hDefault EEE LPI timer setting.h]hDefault EEE LPI timer setting.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhj`ubj)}(hP``eee_enabled_default`` If set, EEE will be enabled by phylink at creation time h](j)}(h``eee_enabled_default``h]j)}(hjxh]heee_enabled_default}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjrubj)}(hhh]jl)}(h7If set, EEE will be enabled by phylink at creation timeh]h7If set, EEE will be enabled by phylink at creation time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhj`ubj)}(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)}(hjh]hwol_phy_legacy}(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 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj`ubj)}(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&]uh1jhjhKhj`ubj)}(h?``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](j)}(h``wol_mac_support``h]j)}(hj#h]hwol_mac_support}(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.hhKhjubj)}(hhh]jl)}(h+Bitmask of MAC supported ``WAKE_*`` optionsh](hBitmask of MAC supported }(hj<hhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh options}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj`ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhjLhhhNhNubh)}(hhh](j)}(hphylink_mac_opsh]j )}(hstruct phylink_mac_opsh](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!hjhhhjhKubj3)}(hphylink_mac_opsh]j9)}(hjh]hphylink_mac_ops}(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)}(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&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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}(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.hhKhjubj)}(hhh](j)}(h:``mac_get_caps`` Get MAC capabilities for interface mode. h](j)}(h``mac_get_caps``h]j)}(hj>h]h mac_get_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.hhKhj8ubj)}(hhh]jl)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhj5ubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hjwh]hmac_select_pcs}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjqubj)}(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&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhj5ubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjh]h mac_prepare}(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)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj5ubj)}(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&]uh1jhjhKhj5ubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hj"h]h mac_finish}(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.hhKhjubj)}(hhh]jl)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhj5ubj)}(h&``mac_link_down`` take the link down. h](j)}(h``mac_link_down``h]j)}(hj[h]h mac_link_down}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjUubj)}(hhh]jl)}(htake the link down.h]htake the link down.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhj5ubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjh]h mac_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.hhKhjubj)}(hhh]jl)}(hallow the link to come up.h]hallow the link to come up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj5ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h disable LPI.h]h disable LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj5ubj)}(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&]uh1jhjhKhj5ubj)}(h:``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](j)}(h``mac_wol_set``h]j)}(hj?h]h mac_wol_set}(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.hhKhj9ubj)}(hhh]jl)}(h*configure Wake-on-Lan settings at the MAC.h]h*configure Wake-on-Lan settings at the MAC.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubjl)}(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.hhKhjLhhubjl)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjLhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhjLhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(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&]jPjQuh1j2hjhhhjhKubj )}(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 }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j jsbc.mac_get_capsasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjrhhhNhNubah}(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 ]jSc.mac_get_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 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(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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.hhKhjubj)}(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)}(hjHh]hstruct phylink_config}(hjJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj:hKhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj:hKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjubj)}(h2``phy_interface_t interface`` PHY interface mode. 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.hhKhj{ubj)}(hhh]jl)}(hPHY interface mode.h]hPHY interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(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&]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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhjLhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j mac_select_pcssbc.mac_select_pcsasbuh1hhjhhhjhKubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhKubj3)}(hmac_select_pcsh]j9)}(hj>h]hmac_select_pcs}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(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&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j<c.mac_select_pcsasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(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_select_pcsasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(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 hjsubeh}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjAhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjLhNhNubj)}(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)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj`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)}(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&]uh1jhjhKhj|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&]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:147: ./include/linux/phylink.hhKhj`ubjl)}(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 }(hj2hhhNhNubh)}(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_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj2ubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjYhKhj`ubjl)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhjLhhhNhNubh)}(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}(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_prepareh]j9)}(h mac_prepareh]h mac_prepare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsb 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}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](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 }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj9)}(hmodeh]hmode}(hjzhhhNhNubah}(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.mac_prepareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifaceh]hiface}(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(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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&]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)}(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 }(hjFhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjPh]hstruct phylink_config}(hjRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjBhMhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(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.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(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&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj$ubeh}(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&]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.}(hjIhhhNhNubah}(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()}(hjXhhhNhNubah}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhjLhhhNhNubh)}(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}(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_configh]j9)}(h mac_configh]h mac_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsb 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}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubjM )}(hinth]hint}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hmodeh]hmode}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&const struct phylink_link_state *stateh](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)}(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_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)}(hstateh]hstate}(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)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(hj2hhhNhNubah}(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&]jjjjJjjJjjjuh1hhhhjLhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjNubj)}(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)}(hjsh]hstruct phylink_config *config}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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)}(hj>h]h&const struct phylink_link_state *state}(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)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjWhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjah]hstruct phylink_link_state}(hjchhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjShMhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(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!hjNubjl)}(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 }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are valid. In particular, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjNubjl)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%hjNubjl)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hj2hhhNhNubah}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not set, }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhhNhNubah}(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)hjNubjl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM@hjubj)}(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 }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(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.hhM3hjubjl)}(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.hhM7hjubjl)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hj3hhhNhNubah}(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.hhM9hjubjl)}(h+Other members of **state** must be ignored.h](hOther members of }(hjLhhhNhNubj)}(h **state**h]hstate}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh must be ignored.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM=hjubjl)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM?hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMYhjubj)}(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 }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMChjubjl)}(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.hhMJhjubjl)}(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.hhMLhjubjl)}(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.hhMRhjubjl)}(h3Valid state members: interface, pause, advertising.h]h3Valid state members: interface, pause, advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(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 }(hj>hhhNhNubjY)}(h *without*h]hwithout}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhj>ubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhjLhhhNhNubh)}(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}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMgubj3)}(h mac_finishh]j9)}(h mac_finishh]h mac_finish}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMgubj )}(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 jsb c.mac_finishasbuh1hhjubj")}(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}(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)}(hmodeh]hmode}(hjfhhhNhNubah}(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.mac_finishasbuh1hhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj9)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMgubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMghjthhubjg)}(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&]uh1jfhjthhhjhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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 }(hj2hhhNhNubh)}(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.hMhhj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj.hMhhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjuh]hunsigned int mode}(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.hhMihjoubj)}(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&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(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}(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.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 }(hj5hhhNhNubj)}(h**mode**h]hmode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh and }(hj5hhhNhNubj)}(h **iface**h]hiface}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hj5hhhNhNubeh}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhjLhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMxubj3)}(h mac_link_downh]j9)}(h mac_link_downh]h mac_link_down}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMxubj )}(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 jsbc.mac_link_downasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubjM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hmodeh]hmode}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(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.mac_link_downasbuh1hhjubj")}(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 hjhhhjhMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMxubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMxhjhhubjg)}(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&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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|hj 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)}(hj1h]hstruct phylink_config *config}(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.hhMyhj+ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjJhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjTh]hstruct phylink_config}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjFhMyhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFhMyhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMyhj(ubj)}(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.hhMzhjubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj(ubj)}(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}(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=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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM}hj ubjl)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM|hj ubjl)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjl)}(hYIf **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](hIf }(hjXhhhNhNubj)}(h**mode**h]hmode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh is }(hjXhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh9, then this function must not prevent the link coming up.}(hjXhhhNhNubeh}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhjLhhhNhNubh)}(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}(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_link_uph]j9)}(h mac_link_uph]h mac_link_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(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" c.mac_link_upasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(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 reftargetj modnameN classnameNj j )}j ]j" c.mac_link_upasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(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 hjubj )}(h bool tx_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)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h¬ification that the link has come uph]h¬ification that the link has come up}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjLhNhNubj)}(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)}(hjhh]h Parameters}(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.hhMhjbubj)}(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&]uh1jhjhMhj~ubj)}(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&]uh1jhjhMhj~ubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj~ubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjUh]hphy_interface_t interface}(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.hhMhjOubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjnhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjxh]htypedef phy_interface_t}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjjhMhjnubh mode}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhj~ubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(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 speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubj)}(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&]uh1jhjhMhj~ubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hj#h]h bool tx_pause}(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%link transmit pause enablement statush]h%link transmit pause enablement status}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj~ubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hj\h]h bool rx_pause}(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)}(h$link receive pause enablement statush]h$link receive pause enablement status}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj~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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **tx_pause**h]htx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **rx_pause**h]hrx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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(}(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)) is disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhjLhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhX/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!hjjhhhj|hMubj3)}(hmac_disable_tx_lpih]j9)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hMubj )}(h(struct phylink_config *config)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_disable_tx_lpiasbuh1hhjubj")}(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 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!disable LPI generation at the MACh]h!disable LPI generation at the MAC}(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&]uh1jfhjchhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjLhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubj)}(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)}(hjoh]hstruct phylink_config *config}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjiubj)}(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&]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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubjl)}(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.hhMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhjLhhhNhNubh)}(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 }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hmac_enable_tx_lpih]j9)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h<(struct phylink_config *config, u32 timer, bool tx_clk_stop)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}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j j5sbc.mac_enable_tx_lpiasbuh1hhjKubj")}(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 )}(h u32 timerh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mac_enable_tx_lpiasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htimerh]htimer}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hbool tx_clk_stoph](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 tx_clk_stoph]h tx_clk_stop}(hj$hhhNhNubah}(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 jYjZhj hhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(h.configure and enable LPI generation at the MACh]h.configure and enable LPI generation at the MAC}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjLhNhNubj)}(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)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjjubj)}(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)}(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&]uh1jhjhMhjubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hj$h]hbool tx_clk_stop}(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)}(h2allow xMII transmit clock to be stopped during LPIh]h2allow xMII transmit clock to be stopped during LPI}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(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.hhMhjjubjl)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjjubjl)}(h **Return**h]j)}(hjh]hReturn}(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.hhMhjjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_wol_set (C function) c.mac_wol_sethNtauh1hhjLhhhNhNubh)}(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 }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsb c.mac_wol_setasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 woloptsh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jQ c.mac_wol_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hwoloptsh]hwolopts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jQ c.mac_wol_setasbuh1hhjubj")}(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)}(hsopassh]hsopass}(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$configure the Wake-on-Lan parametersh]h$configure the Wake-on-Lan parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjnubj)}(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)}(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&]uh1jhjhMhjubj)}(hU``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` h](j)}(h``const u8 *sopass``h]j)}(hj:h]hconst u8 *sopass}(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?SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE``h](h+SecureOn(tm) password; meaningful only for }(hjShhhNhNubj)}(h``WAKE_MAGICSECURE``h]hWAKE_MAGICSECURE}(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&]uh1jhjnubjl)}(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.hhMhjnubjl)}(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 }(hjhhhNhNubj)}(h **wolopts**h]hwolopts}(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.hhMhjnubjl)}(h@The presence of this method enables phylink-managed WoL support.h]h@The presence of this method enables phylink-managed WoL support.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjnubjl)}(h **Return**h]j)}(hjh]hReturn}(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.hhMhjnubjl)}(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.hhMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhjLhhhNhNubh)}(hhh](j)}(h phylink_pcsh]j )}(hstruct phylink_pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(h phylink_pcsh]j9)}(hj h]h phylink_pcs}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hPHYLINK PCS instanceh]hPHYLINK PCS instance}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjjjuh1hhhhjLhNhNubj)}(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}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh:}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjnubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjnubjl)}(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.hhMhjnubj)}(hhh](j)}(h\``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. h](j)}(h``supported_interfaces``h]j)}(hjh]hsupported_interfaces}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hjUh]hphylink}(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.hhMhjOubj)}(hhh]jl)}(h;pointer to :c:type:`struct phylink_config `h](h pointer to }(hjnhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjxh]hstruct phylink_config}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjjhMhjnubeh}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hjh]hpoll}(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)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubjl)}(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.hhMhjLhhubjl)}(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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjLhhubjl)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjNhhhNhNubj)}(h **phylink**h]hphylink}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubhH member is private to phylink and must not be touched by the PCS driver.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjLhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhjLhhhNhNubh)}(hhh](j)}(hphylink_pcs_opsh]j )}(hstruct phylink_pcs_opsh](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)}(hphylink_pcs_opsh]j9)}(hjh]hphylink_pcs_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj}hhubjg)}(hhh]jl)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(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}hhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(hj7h]h pcs_validate}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubj)}(hhh]jl)}(h validate the link configuration.h]h validate the link configuration.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(h=``pcs_inband_caps`` query inband support for interface mode. h](j)}(h``pcs_inband_caps``h]j)}(hjph]hpcs_inband_caps}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjjubj)}(hhh]jl)}(h(query inband support for interface mode.h]h(query inband support for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hjh]h pcs_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.hhMhjubj)}(hhh]jl)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(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&]uh1jhjhMhj.ubj)}(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)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj.ubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hjTh]hpcs_post_config}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjNubj)}(hhh]jl)}(h#post-mac_config method (for arrata)h]h#post-mac_config method (for arrata)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhj.ubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hjh]h pcs_get_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)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hjh]h pcs_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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(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&]uh1jhjhMhj.ubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hj8h]h pcs_link_up}(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.hhMhj2ubj)}(hhh]jl)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj.ubj)}(hX``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. h](j)}(h``pcs_disable_eee``h]j)}(hjrh]hpcs_disable_eee}(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)}(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.}(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&]uh1jhjhMhj.ubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hjh]hpcs_enable_eee}(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)}(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.}(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&]uh1jhjhMhj.ubj)}(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&]uh1jhjhMhj.ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhjLhhhNhNubh)}(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}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjMhM%ubj3)}(h pcs_validateh]j9)}(h pcs_validateh]h pcs_validate}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjMhM%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&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(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 jbsbc.pcs_validateasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(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}(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)}(h supportedh]h supported}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(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_validateasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjMhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjMhM%ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhM%hj4hhubjg)}(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&]uh1jfhj4hhhjMhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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.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)}(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.hhM&hj#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_pcsuh1hhj>hM&hjBubh.}(hjBhhhNhNubeh}(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)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjh]hunsigned long *supported}(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)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hj ubj)}(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)}(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.hhM(hjubj)}(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&]uh1jhjubeh}(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&]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 }(hj2hhhNhNubh)}(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.hhM)hj2ubh validate() method.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjYhM)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.}(hjdhhhNhNubah}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhjLhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM6ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhM6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM6ubj3)}(hpcs_inband_capsh]j9)}(hpcs_inband_capsh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM6ubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.pcs_inband_capsasbuh1hhjubj")}(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)}(hpcsh]hpcs}(hjEhhhNhNubah}(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 ]j&c.pcs_inband_capsasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM6ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM6hjhhubjg)}(hhh]jl)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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_pcsuh1hhj hM7hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM7hjubj)}(h;``phy_interface_t interface`` interface mode to be queried h](j)}(h``phy_interface_t interface``h]j)}(hjTh]hphy_interface_t interface}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hjNubj)}(hhh]jl)}(hinterface mode to be queriedh]hinterface mode to be queried}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM8hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM8hjubeh}(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)}(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 }(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_signallinguh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjubhF to describe which inband modes are supported for this interface mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhjLhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j jsb c.pcs_enableasbuh1hhj0ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(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)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMDhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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&]uh1jkhj8hMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhjLhhhNhNubh)}(hhh](j)}(h*void pcs_disable (struct phylink_pcs *pcs)h]j )}(h)void pcs_disable(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjhMJubj3)}(h pcs_disableh]j9)}(h pcs_disableh]h pcs_disable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjhMJubj )}(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_disableasbuh1hhjubj")}(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 hjqhhhjhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhjhMJubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMJhjjhhubjg)}(hhh]jl)}(hdisable the PCS.h]hdisable the PCS.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjLhNhNubj)}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jl)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjQubj)}(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)}(hjvh]hstruct phylink_pcs *pcs}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhjpubj)}(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.hhMKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhjLhhhNhNubh)}(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}(hj0hhhNhNubah}(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}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.pcs_get_stateasbuh1hhj,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)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 ]jjc.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)}(hstateh]hstate}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubeh}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhjqhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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.hhMThjubj)}(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.hhMQhjubj)}(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_pcsuh1hhjhMQhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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.hhMRhj ubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMRhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMRhjubj)}(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)}(hjJh]h struct phylink_link_state *state}(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.hhMShjDubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjchhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjmh]hstruct phylink_link_state}(hjohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj_hMShjcubh.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj_hMShj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMShjubeh}(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.hhMUhjubjl)}(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 }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, duplex mode in }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, pause mode in }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh using the }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' bits, negotiation completion state in }(hjhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and link up state in }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If possible, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should also be populated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMThjubjl)}(h]Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](hNote that the }(hj]hhhNhNubj)}(h **neg_mode**h]hneg_mode}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhC parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.}(hj]hhhNhNubeh}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhjLhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMcubj3)}(h pcs_configh]j9)}(h pcs_configh]h pcs_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMcubj )}(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 jsb c.pcs_configasbuh1hhjubj")}(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)}(hpcsh]hpcs}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubjM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj9)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(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_configasbuh1hhjubj")}(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 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 }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h advertisingh]h advertising}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool permit_pause_to_mach](jM )}(hjh]hbool}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMchjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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.hhMghjubj)}(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}(hj hhhNhNubah}(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)}(hjAh]hunsigned int neg_mode}(hjChhhNhNubah}(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.hhMehj;ubj)}(hhh]jl)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMehjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMehjubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hjzh]hphy_interface_t interface}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMfhjtubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjh]h const unsigned long *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.hhMghjubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(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&]uh1jhjubjl)}(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.hhMjhjubjl)}(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. }(hj=hhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMihjubjl)}(hjWhen operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled.h](hWhen operating in }(hj^hhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubhG, inband should always be enabled, otherwise inband should be disabled.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubjl)}(hDFor 1000BASE-X, the advertisement should be programmed into the PCS.h]hDFor 1000BASE-X, the advertisement should be programmed into the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMshjubjl)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMuhjubjl)}(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 }(hjhhhNhNubj)}(h ``neg_mode``h]hneg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMwhjubjl)}(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{hjubjl)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhjLhhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hpcs_an_restarth]j9)}(hpcs_an_restarth]hpcs_an_restart}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.pcs_an_restartasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hpcsh]hpcs}(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)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(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&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(hj h]hstruct phylink_pcs *pcs}(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.hhMhjubj)}(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}(hj1hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubah}(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)}(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 }(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.hhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhjLhhhNhNubh)}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(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 jsb c.pcs_link_upasbuh1hhj 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}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj9)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(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 ]jI 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 }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj9)}(hduplexh]hduplex}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(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)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(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&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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&]uh1jhjhMhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hj2h]hunsigned int neg_mode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjkh]hphy_interface_t interface}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubj)}(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_tuh1hhjhMhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(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 speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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}(hjhhhhNhNubah}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhjLhhhNhNubh)}(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}(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_disable_eeeh]j9)}(hpcs_disable_eeeh]hpcs_disable_eee}(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_disable_eeeasbuh1hhjubj")}(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)}(hpcsh]hpcs}(hj7hhhNhNubah}(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)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hjahhhNhNubah}(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&]jjjjyjjyjjjuh1hhhhjLhNhNubj)}(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)}(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.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)}(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)}(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_pcsuh1hhjhMhjubeh}(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)}(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.hhMhj}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.}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhjLhhhNhNubh)}(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}(hjAhhhNhNubah}(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 }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjOhMubj3)}(hpcs_enable_eeeh]j9)}(hpcs_enable_eeeh]hpcs_enable_eee}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjOhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jdsbc.pcs_enable_eeeasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjLhNhNubj)}(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)}(hjB h]hstruct phylink_pcs *pcs}(hjD 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 }(hj[ hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hje h]hstruct phylink_pcs}(hjg hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjW hMhj[ ubeh}(h]h ]h"]h$]h&]uh1jkhjW hMhjX ubah}(h]h ]h"]h$]h&]uh1jhj< ubeh}(h]h ]h"]h$]h&]uh1jhjW hMhj9 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&]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.}(hj hhhNhNubah}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhjLhhhNhNubh)}(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}(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)}(h pcs_pre_inith]j9)}(h pcs_pre_inith]h pcs_pre_init}(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}(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&]uh1j8hj9 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj> modnameN classnameNj j )}j ]j )}j j sbc.pcs_pre_initasbuh1hhj 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 ubj9)}(hpcsh]hpcs}(hjw 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)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(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 jjjuh1hhhhjLhNhNubj)}(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)}(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)}(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 ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj@ h]h Description}(hjB 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 ubjl)}(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.}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjl)}(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.}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjl)}(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.}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjl)}(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.}(hj hhhNhNubah}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhjLhhhNhNubh)}(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}(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)}(hphylink_get_link_timer_nsh]j9)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.phylink_get_link_timer_nsasbuh1hhj 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 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)}(hreturn the PCS link timer valueh]hreturn the PCS link timer value}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjG hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb jjb jjjuh1hhhhjLhNhNubj)}(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)}(hjl h]h Parameters}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjf ubj)}(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.hhMhj ubj)}(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_tuh1hhj hMhj ubh mode}(hj hhhNhNubeh}(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&]uh1jhjf 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.hhMhjf ubjl)}(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 }(hj hhhNhNubj)}(h **interface**h]h interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh% mode, or -EINVAL if not appropriate.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjf ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhjLhhhNhNubh)}(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}(hj@ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj< hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)ubj")}(h h]h }(hjN hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj< hhhjM hM)ubj3)}(hphylink_mac_implements_lpih]j9)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hj` hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj< hhhjM hM)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&]uh1jhjx ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx 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 )}j jb sbc.phylink_mac_implements_lpiasbuh1hhjx 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)}(hopsh]hops}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt ubah}(h]h ]h"]h$]h&]jPjQuh1j hj< hhhjM hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8 hhhjM hM)ubah}(h]j3 ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjM hM)hj5 hhubjg)}(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&]uh1jfhj5 hhhjM hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjLhNhNubj)}(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)}(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.hhM-hj6ubj)}(hhh]j)}(h@``const struct phylink_mac_ops *ops`` phylink_mac_ops structure h](j)}(h%``const struct phylink_mac_ops *ops``h]j)}(hj[h]h!const struct phylink_mac_ops *ops}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjUubj)}(hhh]jl)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM*hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM*hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(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,hj6ubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhjLhhhNhNubh)}(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&]jjjj5jj5jjjuh1hhhhjLhNhNubj)}(h6**Definition**:: struct phylink { }; **Members**h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjAhhhNhNubah}(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.chK+hj9ubj)}(hstruct phylink { };h]hstruct phylink { };}hjZsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK-hj9ubjl)}(h **Members**h]j)}(hjkh]hMembers}(hjmhhhNhNubah}(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.chK0hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhjLhhhNhNubh)}(hhh](j)}(h1void phylink_set_port_modes (unsigned long *mask)h]j )}(h0void phylink_set_port_modes(unsigned long *mask)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.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphylink_set_port_modesh]j9)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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}(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+set the port type modes in the ethtool maskh]h+set the port type modes in the ethtool mask}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjJhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjLhNhNubj)}(h**Parameters** ``unsigned long *mask`` ethtool link mode mask **Description** Sets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(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.chKhjiubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hjh]hunsigned long *mask}(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)}(hethtool link mode maskh]hethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubjl)}(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.chKhjiubjl)}(hlSets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h]hpSets all the port type modes in the ethtool mask. MAC drivers should use this in their ‘validate’ callback.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhjLhhhNhNubh)}(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 hj hhhZ/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!hj hhhjhKubj3)}(hphylink_interface_max_speedh]j9)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j j1sbc.phylink_interface_max_speedasbuh1hhjGubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(h interfaceh]h interface}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(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)}(h(get the maximum speed of a phy interfaceh]h(get the maximum speed of a phy interface}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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.chKhjubj)}(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)}(hj h]htypedef phy_interface_t}(hj hhhNhNubah}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjAh]h Description}(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.chKhjubjl)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjl)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(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.chKhjubjl)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hj~hhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhjLhhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcapsh]hcaps}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(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)}(h+Convert a set of MAC capabilities LINK capsh]h+Convert a set of MAC capabilities LINK caps}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMNhjshhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(h**Parameters** ``unsigned long caps`` A set of MAC capabilities **Return** The corresponding set of LINK_CAPA as defined in phy-caps.hh](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.chMRhjubj)}(hhh]j)}(h1``unsigned long caps`` A set of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hjh]hunsigned long caps}(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.chMOhjubj)}(hhh]jl)}(hA set of MAC capabilitiesh]hA set of MAC capabilities}(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 **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.chMQhjubjl)}(h;The corresponding set of LINK_CAPA as defined in phy-caps.hh]h;The corresponding set of LINK_CAPA as defined in phy-caps.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_linkmodes (C function)c.phylink_caps_to_linkmodeshNtauh1hhjLhhhNhNubh)}(hhh](j)}(hMvoid phylink_caps_to_linkmodes (unsigned long *linkmodes, unsigned long caps)h]j )}(hLvoid phylink_caps_to_linkmodes(unsigned long *linkmodes, unsigned long caps)h](jM )}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjEhMlubj3)}(hphylink_caps_to_linkmodesh]j9)}(hphylink_caps_to_linkmodesh]hphylink_caps_to_linkmodes}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhjEhMlubj )}(h.(unsigned long *linkmodes, unsigned long caps)h](j )}(hunsigned long *linkmodesh](jM )}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(h linkmodesh]h linkmodes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hunsigned long capsh](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)}(hcapsh]hcaps}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubeh}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhjEhMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhjEhMlubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhMlhj,hhubjg)}(hhh]jl)}(h*Convert capabilities to ethtool link modesh]h*Convert capabilities to ethtool link modes}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhjEhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjLhNhNubj)}(hXG**Parameters** ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) ``unsigned long caps`` bitmask of MAC capabilities **Description** Set all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.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:150: ./drivers/net/phy/phylink.chMphjPubj)}(hhh](j)}(hQ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) h](j)}(h``unsigned long *linkmodes``h]j)}(hjuh]hunsigned long *linkmodes}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjoubj)}(hhh]jl)}(h3ethtool linkmode mask (must be already initialised)h]h3ethtool linkmode mask (must be already initialised)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjlubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hjh]hunsigned long caps}(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.chMnhjubj)}(hhh]jl)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjlubeh}(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:150: ./drivers/net/phy/phylink.chMphjPubjl)}(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}(hj+hhhNhNubah}(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.chMohjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhjLhhhNhNubh)}(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}(hjdhhhNhNubah}(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 }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhMubj3)}(hphylink_limit_mac_speedh]j9)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjrhMubj )}(h.(struct phylink_config *config, u32 max_speed)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.phylink_limit_mac_speedasbuh1hhjubj")}(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 )}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h max_speedh]h max_speed}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjihhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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)}(h```struct phylink_config *config`` 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h=pointer to a :c:type:`struct phylink_config `h](h 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_configuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(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 }(hjVhhhNhNubj)}(h **max_speed**h]h max_speed}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hjVhhhNhNubeh}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhjLhhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(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&]jPjQuh1j2hjhhhjhMubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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$Get mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(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)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hjh]h int 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)}(hthe speed to search forh]hthe speed to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(h5Find the mac capability for a given speed and duplex.h]h5Find the mac capability for a given speed and duplex.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(h **Return**h]j)}(hjch]hReturn}(hjehhhNhNubah}(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.chMhjubjl)}(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 }(hjyhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh and }(hjyhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh , or 0 if there were no matches.}(hjyhhhNhNubeh}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhjLhhhNhNubh)}(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 hjhhhZ/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!hjhhhjhMubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphylink_get_capabilitiesh]j9)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(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_get_capabilitiesasbuh1hhj!ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(h interfaceh]h interface}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long mac_capabilitiesh](jM )}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hmac_capabilitiesh]hmac_capabilities}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 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 get capabilities for a given MACh]h get capabilities for a given MAC}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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)}(hjGh]hphy_interface_t interface}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjAubj)}(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)}(hjjh]htypedef phy_interface_t}(hjlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(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&]uh1jhjAubeh}(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)}(hjh]hunsigned long mac_capabilities}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(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%type of rate matching being performedh]h%type of rate matching being performed}(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&]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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh mode and }(hj)hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjChhhNhNubah}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhjLhhhNhNubh)}(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 hjxhhhZ/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!hjxhhhjhMubj3)}(hphylink_validate_mask_capsh]j9)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhMubj )}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j )}(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 hjubj )}(h struct phylink_link_state *stateh](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)}(hphylink_link_stateh]hphylink_link_state}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.phylink_validate_mask_capsasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long mac_capabilitiesh](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)}(hmac_capabilitiesh]hmac_capabilities}(hjhhhNhNubah}(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!Restrict link modes based on capsh]h!Restrict link modes based on caps}(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&]uh1jfhjqhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjLhNhNubj)}(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}(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.chMhjubj)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#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)}(hjeh]h struct phylink_link_state *state}(hjghhhNhNubah}(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.chMhj_ubj)}(hhh]jl)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h 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_stateuh1hhjzhMhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjh]hunsigned long mac_capabilities}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhjLhhhNhNubh)}(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}(hjw hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjs 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!hjs hhhj hM.ubj3)}(hphylink_pcs_neg_modeh]j9)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs hhhj 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}(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_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)}(hplh]hpl}(hj !hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 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 }(hj3!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"!ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjD!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF!modnameN classnameNj j )}j ]j c.phylink_pcs_neg_modeasbuh1hhj"!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)}(hpcsh]hpcs}(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.phylink_pcs_neg_modeasbuh1hhj!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 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*}(hj1"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 hjs hhhj hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo hhhj hM.ubah}(h]jj ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM.hjl hhubjg)}(hhh]jl)}(h#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hjh"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hje"hhubah}(h]h ]h"]h$]h&]uh1jfhjl hhhj hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjLhNhNubj)}(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.chM2hj"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/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"hM/hj"ubh returned from phylink_create()}(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"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#hM0hj"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.chM1hjW#ubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hjv#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr#hM1hjs#ubah}(h]h ]h"]h$]h&]uh1jhjW#ubeh}(h]h ]h"]h$]h&]uh1jhjr#hM1hj"ubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode 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.chM2hj#ubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM2hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM2hj"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.chM4hj"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.chM3hj"ubjO)}(hhh](jO)}(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&]uh1jOhj#ubjO)}(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&]uh1jOhj#ubjO)}(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}(hjN$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ$ubh+: inband mode selected but autoneg disabled}(hjJ$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9hjF$ubah}(h]h ]h"]h$]h&]uh1jOhj#ubjO)}(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}(hju$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq$ubh*: inband mode selected and autoneg enabled}(hjq$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM;hjm$ubah}(h]h ]h"]h$]h&]uh1jOhj#ubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhj$hM6hj"ubjl)}(h**Note**h]j)}(hj$h]hNote}(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"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.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM>hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhjLhhhNhNubh)}(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&]uh1j8hj9%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*}(hjj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hplh]hpl}(hjw%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}(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_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 ]jX%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&]jjjjD&jjD&jjjuh1hhhhjLhNhNubj)}(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)}(hjN&h]h Parameters}(hjP&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL&ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjH&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)}(hjm&h]hstruct phylink *pl}(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)}(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&hMhj&ubh returned from phylink_create()}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjg&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjd&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&]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 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&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjd&ubeh}(h]h ]h"]h$]h&]uh1jhjH&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.chMhjH&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.chMhjH&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.chMhjH&ubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjA'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjH&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhjLhhhNhNubh)}(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}(hjp'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl'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!hjl'hhhj}'hM)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 phylink_createsbc.phylink_createasbuh1hhjl'hhhj}'hM)ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl'hhhj}'hM)ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjl'hhhj}'hM)ubj3)}(hphylink_createh]j9)}(hj'h]hphylink_create}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjl'hhhj}'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*}(hj4(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hconfigh]hconfig}(hjA(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}(hjZ(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV(ubj")}(h h]h }(hjg(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV(ubj)}(hjh]hstruct}(hju(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV(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_createasbuh1hhjV(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)}(hfwnodeh]hfwnode}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV(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}(hjH)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj))ubj")}(h h]h }(hjU)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj))ubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(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 }(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)}(hmac_opsh]hmac_ops}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj))ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjl'hhhj}'hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjh'hhhj}'hM)ubah}(h]jc'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}'hM)hje'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)hj)hhubah}(h]h ]h"]h$]h&]uh1jfhje'hhhj}'hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjLhNhNubj)}(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)}(hjb*h]h"const struct fwnode_handle *fwnode}(hjd*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)}(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_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&]uh1jkhj*hM+hjx*ubah}(h]h ]h"]h$]h&]uh1jhj\*ubeh}(h]h ]h"]h$]h&]uh1jhjw*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)}(hj*h]hphy_interface_t iface}(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)}(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&]uh1jhj*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 }(hj0+hhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj:+h]hstruct phylink_mac_ops}(hj<+hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj8+ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhj,+hM.hj0+ubh for the MAC.}(hj0+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)}(hju+h]h Description}(hjw+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs+ubah}(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+hhhNhNubj)}(h**np**h]hnp}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hj+hhhNhNubeh}(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)}(hj+h]hNote}(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.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.}(hj+hhhNhNubah}(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 }(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 jjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hj+ubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj+hM5hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhjLhhhNhNubh)}(hhh](j)}(h)void phylink_destroy (struct phylink *pl)h]j )}(h(void phylink_destroy(struct phylink *pl)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 }(hj4,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!,hhhj3,hMubj3)}(hphylink_destroyh]j9)}(hphylink_destroyh]hphylink_destroy}(hjF,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!,hhhj3,hMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjb,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^,ubj")}(h h]h }(hjo,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 jH,sbc.phylink_destroyasbuh1hhj^,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 hjZ,ubah}(h]h ]h"]h$]h&]jPjQuh1j hj!,hhhj3,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj3,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3,hMhj,hhubjg)}(hhh]jl)}(h(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(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,hhhj3,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjLhNhNubj)}(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)}(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)}(hjI-h]hstruct phylink}(hjK-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjG-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-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:150: ./drivers/net/phy/phylink.chMhj-ubjl)}(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.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj-ubjl)}(h**Note**h]j)}(hj-h]hNote}(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:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhjLhhhNhNubh)}(hhh](j)}(h-bool phylink_expects_phy (struct phylink *pl)h]j )}(h,bool phylink_expects_phy(struct phylink *pl)h](jM )}(hjh]hbool}(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_expects_phyh]j9)}(hphylink_expects_phyh]hphylink_expects_phy}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj .ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj-hMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hjJ.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL.modnameN classnameNj j )}j ]j )}j j.sbc.phylink_expects_phyasbuh1hhj(.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)}(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 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)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(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.jjjuh1hhhhjLhNhNubj)}(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)}(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)}(hj/h]hstruct phylink}(hj/hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj/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.ubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjN/h]h Description}(hjP/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL/ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj.ubjl)}(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.}(hjd/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj.ubjl)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hjs/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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhjLhhhNhNubh)}(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}(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_connect_phyh]j9)}(hphylink_connect_phyh]hphylink_connect_phy}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj/hMubj )}(h,(struct phylink *pl, struct phy_device *phy)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_connect_phyasbuh1hhj/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)}(hplh]hpl}(hj80hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjQ0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM0ubj")}(h h]h }(hj^0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM0ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjo0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjq0modnameN classnameNj j )}j ]j0c.phylink_connect_phyasbuh1hhjM0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM0ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjM0ubj9)}(hphyh]hphy}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM0ubeh}(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%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjLhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubj)}(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.chMhj 1ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj,1hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj61h]hstruct phylink}(hj81hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj41ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj(1hMhj,1ubh returned from phylink_create()}(hj,1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(1hMhj)1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj(1hMhj 1ubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. h](j)}(h``struct phy_device *phy``h]j)}(hjo1h]hstruct phy_device *phy}(hjq1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhji1ubj)}(hhh]jl)}(h8a pointer to a :c:type:`struct phy_device `.h](ha pointer to a }(hj1hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj1h]hstruct phy_device}(hj1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj1hMhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhji1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(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:150: ./drivers/net/phy/phylink.chMhj0ubjl)}(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 }(hj1hhhNhNubj)}(h**phy**h]hphy}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh& to the phylink instance specified by }(hj1hhhNhNubj)}(h**pl**h]hpl}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh/ by calling phy_attach_direct(). Configure the }(hj1hhhNhNubj)}(h**phy**h]hphy}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubjl)}(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.}(hj(2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhjLhhhNhNubh)}(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}(hjf2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjb2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hju2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb2hhhjt2hMubj3)}(hphylink_of_phy_connecth]j9)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjb2hhhjt2hMubj )}(h7(struct phylink *pl, struct device_node *dn, u32 flags)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_of_phy_connectasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hplh]hpl}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(hstruct device_node *dnh](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 device_nodeh]h device_node}(hj33hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj03ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj53modnameN classnameNj j )}j ]j2c.phylink_of_phy_connectasbuh1hhj3ubj")}(h h]h }(hjQ3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hj_3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hdnh]hdn}(hjl3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j2c.phylink_of_phy_connectasbuh1hhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj9)}(hflagsh]hflags}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjb2hhhjt2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^2hhhjt2hMubah}(h]jY2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjt2hMhj[2hhubjg)}(hhh]jl)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj[2hhhjt2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjLhNhNubj)}(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)}(hj4h]h Parameters}(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.chMhj3ubj)}(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)}(hj4h]hstruct phylink *pl}(hj!4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj84hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjB4h]hstruct phylink}(hjD4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj@4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj44hMhj84ubh returned from phylink_create()}(hj84hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj44hMhj54ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj44hMhj4ubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hj{4h]hstruct device_node *dn}(hj}4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhju4ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hj4hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hj4h]hstruct device_node}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj device_nodeuh1hhj4hMhj4ubh.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhju4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj4h]h u32 flags}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj5h]h Description}(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.chMhj3ubjl)}(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 }(hj(5hhhNhNubj)}(h**dn**h]hdn}(hj05hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(5ubh& to the phylink instance specified by }(hj(5hhhNhNubj)}(h**pl**h]hpl}(hjB5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(5ubh?. Actions specified in phylink_connect_phy() will be performed.}(hj(5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj[5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhjLhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hMubj3)}(hphylink_fwnode_phy_connecth]j9)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMubj )}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j5sbc.phylink_fwnode_phy_connectasbuh1hhj5ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hplh]hpl}(hj 6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hj96hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj56ubj")}(h h]h }(hjF6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj56ubj)}(hjh]hstruct}(hjT6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj56ubj")}(h h]h }(hja6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj56ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjr6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjt6modnameN classnameNj j )}j ]j6c.phylink_fwnode_phy_connectasbuh1hhj56ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj56ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj56ubj9)}(hfwnodeh]hfwnode}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj56ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j6c.phylink_fwnode_phy_connectasbuh1hhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hflagsh]hflags}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hMubah}(h]j}5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMhj5hhubjg)}(hhh]jl)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hj7hhhNhNubah}(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&]uh1jfhj5hhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj57jj57jjjuh1hhhhjLhNhNubj)}(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?7h]h Parameters}(hjA7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj97ubj)}(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^7h]hstruct phylink *pl}(hj`7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjX7ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjw7hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj7h]hstruct phylink}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjs7hMhjw7ubh returned from phylink_create()}(hjw7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjs7hMhjt7ubah}(h]h ]h"]h$]h&]uh1jhjX7ubeh}(h]h ]h"]h$]h&]uh1jhjs7hMhjU7ubj)}(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)}(hj7h]h"const struct fwnode_handle *fwnode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj7ubj)}(hhh]jl)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hj7hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj7h]hstruct fwnode_handle}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhj7hMhj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjU7ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj8h]h u32 flags}(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)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj/8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+8hMhj,8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj+8hMhjU7ubeh}(h]h ]h"]h$]h&]uh1jhj97ubjl)}(h**Description**h]j)}(hjQ8h]h Description}(hjS8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj97ubjl)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hjg8hhhNhNubj)}(h **fwnode**h]hfwnode}(hjo8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg8ubh& to the phylink instance specified by }(hjg8hhhNhNubj)}(h**pl**h]hpl}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg8ubh.}(hjg8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj97ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj97ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhjLhhhNhNubh)}(hhh](j)}(h0void phylink_disconnect_phy (struct phylink *pl)h]j )}(h/void phylink_disconnect_phy(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hM$ ubj3)}(hphylink_disconnect_phyh]j9)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hM$ ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj$9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&9modnameN classnameNj j )}j ]j )}j j8sbc.phylink_disconnect_phyasbuh1hhj9ubj")}(h h]h }(hjD9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjR9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hplh]hpl}(hj_9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(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)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ hj9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hM$ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjLhNhNubj)}(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)}(hj9h]h Parameters}(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.chM( hj9ubj)}(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)}(hj9h]hstruct phylink *pl}(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.chM& hj9ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj9hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj9h]hstruct phylink}(hj9hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj9hM& hj9ubh returned from phylink_create()}(hj9hhhNhNubeh}(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)}(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( hj9ubjl)}(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}(hjF: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' hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhjLhhhNhNubh)}(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}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{:hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{:hhhj:hMM ubj3)}(hphylink_mac_changeh]j9)}(hphylink_mac_changeh]hphylink_mac_change}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{:hhhj:hMM ubj )}(h(struct phylink *pl, bool up)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_mac_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)}(hplh]hpl}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj: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}(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:hMM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjw:hhhj:hMM ubah}(h]jr:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hMM hjt:hhubjg)}(hhh]jl)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hjs;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjp;hhubah}(h]h ]h"]h$]h&]uh1jfhjt:hhhj:hMM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjLhNhNubj)}(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)}(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.chMQ 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.chMN 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;hMN hj;ubh returned from phylink_create()}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj;hMN hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMN 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.chMO 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%<hMO hj&<ubah}(h]h ]h"]h$]h&]uh1jhj <ubeh}(h]h ]h"]h$]h&]uh1jhj%<hMO hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hjK<h]h Description}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI<ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMQ hj;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.)}(hja<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMP hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhjLhhhNhNubh)}(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}(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_pcs_changeh]j9)}(hphylink_pcs_changeh]hphylink_pcs_change}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhj<hM[ ubj )}(h"(struct phylink_pcs *pcs, bool up)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 j<sbc.phylink_pcs_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)}(hpcsh]hpcs}(hj&=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hbool uph](jM )}(hjh]hbool}(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)}(huph]hup}(hjZ=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,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link 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&]jjjj=jj=jjjuh1hhhhjLhNhNubj)}(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)}(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)}(hR``struct phylink_pcs *pcs`` 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.chM\ hj=ubj)}(hhh]jl)}(h5pointer to :c:type:`struct phylink_pcs `h](h 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=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)}(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.chM] hj>ubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hj6>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2>hM] hj3>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj2>hM] hj=ubeh}(h]h ]h"]h$]h&]uh1jhj=ubjl)}(h**Description**h]j)}(hjX>h]h Description}(hjZ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hj=ubjl)}(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.}(hjn>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhjLhhhNhNubh)}(hhh](j)}(h'void phylink_start (struct phylink *pl)h]j )}(h&void phylink_start(struct phylink *pl)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.chMx ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhj>hMx ubj3)}(h phylink_starth]j9)}(h phylink_starth]h phylink_start}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhj>hMx 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_startasbuh1hhj>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}(hj3?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhj>hMx ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhj>hMx ubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMx hj>hhubjg)}(hhh]jl)}(hstart a phylink instanceh]hstart a phylink instance}(hj]?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hjZ?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj>hMx ubeh}(h]h ](jfunctioneh"]h$]h&]jjjju?jju?jjjuh1hhhhjLhNhNubj)}(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)}(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| hjy?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.chMy 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?hMy hj?ubh returned from phylink_create()}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj?hMy hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMy hj?ubah}(h]h ]h"]h$]h&]uh1jhjy?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{ hjy?ubjl)}(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 }(hj@hhhNhNubj)}(h**pl**h]hpl}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hj@hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj.@h]hstruct net_device_ops}(hj0@hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj,@ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMz hj@ubh ndo_open() method.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjK@hMz hjy?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhjLhhhNhNubh)}(hhh](j)}(h&void phylink_stop (struct phylink *pl)h]j )}(h%void phylink_stop(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjv@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjr@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!hjr@hhhj@hM ubj3)}(h phylink_stoph]j9)}(h phylink_stoph]h phylink_stop}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjr@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_stopasbuh1hhj@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 AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjr@hhhj@hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjn@hhhj@hM ubah}(h]ji@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hM hjk@hhubjg)}(hhh]jl)}(hstop a phylink instanceh]hstop a phylink instance}(hj6AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3Ahhubah}(h]h ]h"]h$]h&]uh1jfhjk@hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNAjjNAjjjuh1hhhhjLhNhNubj)}(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)}(hjXAh]h Parameters}(hjZAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRAubj)}(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)}(hjwAh]hstruct phylink *pl}(hjyAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjqAubj)}(hhh]jl)}(hPa 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&]uh1jhjqAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjnAubah}(h]h ]h"]h$]h&]uh1jhjRAubjl)}(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:150: ./drivers/net/phy/phylink.chM hjRAubjl)}(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 }(hjAhhhNhNubj)}(h**pl**h]hpl}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh;. This should be called from the network device driver’s }(hjAhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjBh]hstruct net_device_ops}(hj BhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjBubah}(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 hjAubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$BhM hjRAubjl)}(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.)}(hj/BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhjLhhhNhNubh)}(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}(hj^BhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjmBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZBhhhjlBhM ubj3)}(hphylink_rx_clk_stop_blockh]j9)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Bubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZBhhhjlBhM ubj )}(h(struct phylink *pl)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_rx_clk_stop_blockasbuh1hhjBubj")}(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}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hjZBhhhjlBhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVBhhhjlBhM ubah}(h]jQBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlBhM hjSBhhubjg)}(hhh]jl)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(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&]uh1jfhjSBhhhjlBhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6Cjj6Cjjjuh1hhhhjLhNhNubj)}(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)}(hj@Ch]h Parameters}(hjBChhhNhNubah}(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 hj:Cubj)}(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_Ch]hstruct phylink *pl}(hjaChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Cubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYCubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjxChhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjCh]hstruct phylink}(hjChhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjtChM hjxCubh returned from phylink_create()}(hjxChhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjtChM hjuCubah}(h]h ]h"]h$]h&]uh1jhjYCubeh}(h]h ]h"]h$]h&]uh1jhjtChM hjVCubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj:Cubjl)}(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().}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj:Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhjLhhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhZ/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!hjChhhjDhM ubj3)}(hphylink_rx_clk_stop_unblockh]j9)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hj#DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjDhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hj]DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_DmodnameN classnameNj j )}j ]j )}j j%Dsbc.phylink_rx_clk_stop_unblockasbuh1hhj;Dubj")}(h h]h }(hj}DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Dubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;Dubj9)}(hplh]hpl}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7Dubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjDhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjDhM ubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhM hjChhubjg)}(hhh]jl)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhjDhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjLhNhNubj)}(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)}(hjDh]h Parameters}(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.chM hjDubj)}(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)}(hjEh]hstruct phylink *pl}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjEhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj&Eh]hstruct phylink}(hj(EhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj$Eubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjEhM hjEubh returned from phylink_create()}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjDubah}(h]h ]h"]h$]h&]uh1jhjDubjl)}(h**Description**h]j)}(hjaEh]h Description}(hjcEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Eubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDubjl)}(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.}(hjwEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhjLhhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjEhM' ubj3)}(hphylink_suspendh]j9)}(hphylink_suspendh]hphylink_suspend}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjEhM' ubj )}(h"(struct phylink *pl, bool mac_wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(hphylinkh]hphylink}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j jEsbc.phylink_suspendasbuh1hhjEubj")}(h h]h }(hj!FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hj/FhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hplh]hpl}(hj` 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)}(hjFh]h Parameters}(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+ 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)}(hjFh]hstruct phylink *pl}(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)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjFhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjFh]hstruct phylink}(hjGhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjFhM( hjFubh returned from phylink_create()}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFhM( hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM( hjFubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hj7Gh]h bool mac_wol}(hj9GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hj1Gubj)}(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}(hjPGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLGhM) hjMGubah}(h]h ]h"]h$]h&]uh1jhj1Gubeh}(h]h ]h"]h$]h&]uh1jhjLGhM) hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h**Description**h]j)}(hjrGh]h Description}(hjtGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ hjFubjl)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hjFubjO)}(hhh](jO)}(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().}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM, hjGubah}(h]h ]h"]h$]h&]uh1jOhjGubjO)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM. hjGubah}(h]h ]h"]h$]h&]uh1jOhjGubjO)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0 hjGubah}(h]h ]h"]h$]h&]uh1jOhjGubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjGhM, hjFubjl)}(h**Note**h]j)}(hjGh]hNote}(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.chM3 hjFubjl)}(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, }(hjHhhhNhNubj)}(h **mac_wol**h]hmac_wol}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh< is ignored. (struct phylink_mac_ops.mac_set_wol populated.)}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM4 hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhjLhhhNhNubh)}(hhh](j)}(h0void phylink_prepare_resume (struct phylink *pl)h]j )}(h/void phylink_prepare_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjDHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@HhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ ubj")}(h h]h }(hjSHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@HhhhjRHhM^ ubj3)}(hphylink_prepare_resumeh]j9)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hjeHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@HhhhjRHhM^ ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}Hubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}Hubh)}(hhh]j9)}(hphylinkh]hphylink}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jgHsbc.phylink_prepare_resumeasbuh1hhj}Hubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}Hubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}Hubj9)}(hplh]hpl}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}Hubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyHubah}(h]h ]h"]h$]h&]jPjQuh1j hj@HhhhjRHhM^ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj` 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)}(hj&Ih]h Parameters}(hj(IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Iubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMb hj Iubj)}(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)}(hjEIh]hstruct phylink *pl}(hjGIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hj?Iubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj^IhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjhIh]hstruct phylink}(hjjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjZIhM_ hj^Iubh returned from phylink_create()}(hj^IhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZIhM_ hj[Iubah}(h]h ]h"]h$]h&]uh1jhj?Iubeh}(h]h ]h"]h$]h&]uh1jhjZIhM_ hj` returned from phylink_create() **Description** Undo the effects of phylink_suspend(), returning the link to an operational state.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:150: ./drivers/net/phy/phylink.chM{ hjJubj)}(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)}(hjJh]hstruct phylink *pl}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hjJubj)}(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 jjphylinkuh1hhj KhMx hjKubh returned from phylink_create()}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj KhMx hjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj KhMx hjJubah}(h]h ]h"]h$]h&]uh1jhjJubjl)}(h**Description**h]j)}(hjVKh]h Description}(hjXKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMz hjJubjl)}(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.}(hjlKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhjLhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM ubj3)}(hphylink_ethtool_get_wolh]j9)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(hphylinkh]hphylink}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jKsbc.phylink_ethtool_get_wolasbuh1hhjKubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hj$LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hplh]hpl}(hj1LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjJLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFLubj")}(h h]h }(hjWLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFLubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjLmodnameN classnameNj j )}j ]jLc.phylink_ethtool_get_wolasbuh1hhjFLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFLubj9)}(hwolh]hwol}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhM ubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM hjKhhubjg)}(hhh]jl)}(h*get the wake on lan parameters for the PHYh]h*get the wake on lan parameters for the PHY}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjLhNhNubj)}(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)}(hjLh]h Parameters}(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 hjLubj)}(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 Mh]hstruct phylink *pl}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubah}(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 }(hj%MhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj/Mh]hstruct phylink}(hj1MhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj-Mubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj!MhM hj%Mubh returned from phylink_create()}(hj%MhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj!MhM hj"Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj!MhM hjMubj)}(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)}(hjhMh]hstruct ethtool_wolinfo *wol}(hjjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjbMubj)}(hhh]jl)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hjMhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjMh]hstruct ethtool_wolinfo}(hjMhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhj}MhM hjMubh to hold the read parameters}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj}MhM hj~Mubah}(h]h ]h"]h$]h&]uh1jhjbMubeh}(h]h ]h"]h$]h&]uh1jhj}MhM hjMubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubjl)}(hRead 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](h[Read the wake on lan parameters from the PHY attached to the phylink instance specified by }(hjMhhhNhNubj)}(h**pl**h]hpl}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhE. If no PHY is currently attached, report no support for wake on lan.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhjLhhhNhNubh)}(hhh](j)}(hMint phylink_ethtool_set_wol (struct phylink *pl, struct ethtool_wolinfo *wol)h]j )}(hLint phylink_ethtool_set_wol(struct phylink *pl, struct ethtool_wolinfo *wol)h](jM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj,NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj+NhM ubj3)}(hphylink_ethtool_set_wolh]j9)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hj>NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:Nubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj+NhM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjZNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVNubj")}(h h]h }(hjgNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVNubh)}(hhh]j9)}(hphylinkh]hphylink}(hjxNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzNmodnameN classnameNj j )}j ]j )}j j@Nsbc.phylink_ethtool_set_wolasbuh1hhjVNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVNubj9)}(hplh]hpl}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRNubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jNc.phylink_ethtool_set_wolasbuh1hhjNubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hwolh]hwol}(hj#OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRNubeh}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj+NhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhj+NhM ubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+NhM hjNhhubjg)}(hhh]jl)}(hset wake on lan parametersh]hset wake on lan parameters}(hjMOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJOhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhj+NhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjeOjjeOjjjuh1hhhhjLhNhNubj)}(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 ` 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)}(hjoOh]h Parameters}(hjqOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmOubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiOubj)}(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.chM 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 jjphylinkuh1hhjOhM hjOubh returned from phylink_create()}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubj)}(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)}(hjOh]hstruct ethtool_wolinfo *wol}(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.chM hjOubj)}(hhh]jl)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hjPhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hj Ph]hstruct ethtool_wolinfo}(hjPhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhjOhM hjPubh for the desired parameters}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhM hjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubeh}(h]h ]h"]h$]h&]uh1jhjiOubjl)}(h**Description**h]j)}(hjHPh]h Description}(hjJPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiOubjl)}(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 }(hj^PhhhNhNubj)}(h**pl**h]hpl}(hjfPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Pubh!. If no PHY is attached, returns }(hj^PhhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hjxPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Pubh error.}(hj^PhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiOubjl)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhjLhhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjPhMW ubj3)}(hphylink_ethtool_ksettings_geth]j9)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjPhMW ubj )}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jPsbc.phylink_ethtool_ksettings_getasbuh1hhjPubj")}(h h]h }(hj;QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjIQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hplh]hpl}(hjVQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(h#struct ethtool_link_ksettings *kseth](j)}(hjh]hstruct}(hjoQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkQubj")}(h h]h }(hj|QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkQubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j7Qc.phylink_ethtool_ksettings_getasbuh1hhjkQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkQubj9)}(hkseth]hkset}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjPhMW ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjPhMW ubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMW hjPhhubjg)}(hhh]jl)}(hget the current link settingsh]hget the current link settings}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjPhMW ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjLhNhNubj)}(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)}(hjRh]h Parameters}(hjRhhhNhNubah}(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[ hj Rubj)}(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)}(hj1Rh]hstruct phylink *pl}(hj3RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hj+Rubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjJRhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjTRh]hstruct phylink}(hjVRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjFRhMX hjJRubh returned from phylink_create()}(hjJRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFRhMX hjGRubah}(h]h ]h"]h$]h&]uh1jhj+Rubeh}(h]h ]h"]h$]h&]uh1jhjFRhMX hj(Rubj)}(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)}(hjRh]h#struct ethtool_link_ksettings *kset}(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.chMY hjRubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjRhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjRh]hstruct ethtool_link_ksettings}(hjRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_link_ksettingsuh1hhjRhMY hjRubh to hold link settings}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjRhMY hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMY hj(Rubeh}(h]h ]h"]h$]h&]uh1jhj Rubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(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[ hj Rubjl)}(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 }(hjShhhNhNubj)}(h**pl**h]hpl}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj Rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhjLhhhNhNubh)}(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}(hjBShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>ShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjQShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ShhhjPShM ubj3)}(hphylink_ethtool_ksettings_seth]j9)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hjcShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_Subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>ShhhjPShM ubj )}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{Subj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{Subh)}(hhh]j9)}(hphylinkh]hphylink}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jeSsbc.phylink_ethtool_ksettings_setasbuh1hhj{Subj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{Subj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{Subj9)}(hplh]hpl}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwSubj )}(h)const struct ethtool_link_ksettings *kseth](j)}(hj h]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj)}(hjh]hstruct}(hj ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj*ThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'Tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,TmodnameN classnameNj j )}j ]jSc.phylink_ethtool_ksettings_setasbuh1hhjSubj")}(h h]h }(hjHThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjVThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hkseth]hkset}(hjcThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwSubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>ShhhjPShM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:ShhhjPShM ubah}(h]j5Sah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPShM hj7Shhubjg)}(hhh]jl)}(hset the link settingsh]hset the link settings}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjThhubah}(h]h ]h"]h$]h&]uh1jfhj7ShhhjPShM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjLhNhNubj)}(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)}(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)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjTh]hstruct phylink *pl}(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)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjThhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjTh]hstruct phylink}(hjThhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjThM hjTubh returned from phylink_create()}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjTubj)}(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)}(hj*Uh]h)const struct ethtool_link_ksettings *kset}(hj,UhhhNhNubah}(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)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjCUhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjMUh]hstruct ethtool_link_ksettings}(hjOUhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKUubah}(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 hjCUubh for the desired modes}(hjCUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjjUhM hj@Uubah}(h]h ]h"]h$]h&]uh1jhj$Uubeh}(h]h ]h"]h$]h&]uh1jhj?UhM hjTubeh}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhjLhhhNhNubh)}(hhh](j)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]j )}(h2int phylink_ethtool_nway_reset(struct phylink *pl)h](jM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjUhMK ubj3)}(hphylink_ethtool_nway_reseth]j9)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjUhMK ubj )}(h(struct phylink *pl)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}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jUsbc.phylink_ethtool_nway_resetasbuh1hhjUubj")}(h h]h }(hj"VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hj0VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hplh]hpl}(hj=VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubah}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjUhMK ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhjUhMK ubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMK hjUhhubjg)}(hhh]jl)}(hrestart negotiationh]hrestart negotiation}(hjgVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hjdVhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjUhMK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjLhNhNubj)}(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)}(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.chMO 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.chML 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)}(hjVh]hstruct phylink}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjVhML hjVubh returned from phylink_create()}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjVhML hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhML hjVubah}(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.chMN hjVubjl)}(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 }(hjWhhhNhNubj)}(h**pl**h]hpl}(hj$WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh. 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.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjVubjl)}(h0Returns zero on success, or negative error code.h]h0Returns zero on success, or negative error code.}(hj=WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMR hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhjLhhhNhNubh)}(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}(hjlWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMd ubj")}(h h]h }(hj{WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhWhhhjzWhMd ubj3)}(hphylink_ethtool_get_pauseparamh]j9)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhWhhhjzWhMd ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hphylinkh]hphylink}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jWsb c.phylink_ethtool_get_pauseparamasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hplh]hpl}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(h struct ethtool_pauseparam *pauseh](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)}(hethtool_pauseparamh]hethtool_pauseparam}(hj9XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;XmodnameN classnameNj j )}j ]jW c.phylink_ethtool_get_pauseparamasbuh1hhjXubj")}(h h]h }(hjWXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjeXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hpauseh]hpause}(hjrXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhWhhhjzWhMd ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdWhhhjzWhMd ubah}(h]j_Wah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzWhMd hjaWhhubjg)}(hhh]jl)}(h get the current pause parametersh]h get the current pause parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMd hjXhhubah}(h]h ]h"]h$]h&]uh1jfhjaWhhhjzWhMd ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjLhNhNubj)}(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)}(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.chMh hjXubj)}(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)}(hjXh]hstruct phylink *pl}(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.chMe hjXubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjXhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjYh]hstruct phylink}(hjYhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjXhMe hjXubh returned from phylink_create()}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXhMe hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMe hjXubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hj9Yh]h struct ethtool_pauseparam *pause}(hj;YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Yubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMg hj3Yubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjRYhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj\Yh]hstruct ethtool_pauseparam}(hj^YhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjZYubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMf hjRYubeh}(h]h ]h"]h$]h&]uh1jkhjyYhMf hjOYubah}(h]h ]h"]h$]h&]uh1jhj3Yubeh}(h]h ]h"]h$]h&]uh1jhjNYhMg hjXubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhjLhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjYhMt ubj3)}(hphylink_ethtool_set_pauseparamh]j9)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjYhMt ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hphylinkh]hphylink}(hj ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j jYsb c.phylink_ethtool_set_pauseparamasbuh1hhjYubj")}(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)}(hplh]hpl}(hjHZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(h struct ethtool_pauseparam *pauseh](j)}(hjh]hstruct}(hjaZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]Zubj")}(h h]h }(hjnZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]Zubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j)Z c.phylink_ethtool_set_pauseparamasbuh1hhj]Zubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]Zubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]Zubj9)}(hpauseh]hpause}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]Zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubeh}(h]h ]h"]h$]h&]jPjQuh1j hjYhhhjYhMt ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjYhMt ubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMt hjYhhubjg)}(hhh]jl)}(h set the current pause parametersh]h set the current pause parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjYhMt ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjLhNhNubj)}(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.chMx hjZubj)}(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.chMu 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)}(hjF[h]hstruct phylink}(hjH[hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjD[ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj8[hMu hj<[ubh returned from phylink_create()}(hj<[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj8[hMu hj9[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj8[hMu 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.chMw hjy[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.chMv hj[ubeh}(h]h ]h"]h$]h&]uh1jkhj[hMv hj[ubah}(h]h ]h"]h$]h&]uh1jhjy[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMw hj[ubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhjLhhhNhNubh)}(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}(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)}(hphylinkh]hphylink}(hjS\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU\modnameN classnameNj j )}j ]j )}j j\sbc.phylink_get_eee_errasbuh1hhj1\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)}(hplh]hpl}(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\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}(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&]jjjj\jj\jjjuh1hhhhjLhNhNubj)}(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)}(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)}(hi``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 hj\ubj)}(hhh]jl)}(hQa 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&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjl)}(h**Description**h]j)}(hjW]h]h Description}(hjY]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU]ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubjl)}(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 }(hjm]hhhNhNubj)}(h**pl**h]hpl}(hju]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm]ubh.}(hjm]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubjl)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, 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.chM hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhjLhhhNhNubh)}(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}(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_eeeh]j9)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj]hM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)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_ethtool_get_eeeasbuh1hhj]ubj")}(h h]h }(hj8^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hjF^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hplh]hpl}(hjS^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(hstruct ethtool_keee *eeeh](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 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 ]j4^c.phylink_ethtool_get_eeeasbuh1hhjh^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)}(heeeh]heee}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh^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-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(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&]jjjj_jj_jjjuh1hhhhjLhNhNubj)}(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)}(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)}(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}(hj0_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)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjG_hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjQ_h]hstruct phylink}(hjS_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjO_ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjC_hM hjG_ubh returned from phylink_create()}(hjG_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjC_hM hjD_ubah}(h]h ]h"]h$]h&]uh1jhj(_ubeh}(h]h ]h"]h$]h&]uh1jhjC_hM hj%_ubj)}(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_h]hstruct ethtool_keee *eee}(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)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hj_hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj_h]hstruct ethtool_keee}(hj_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj_ubah}(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 hj_ubh for the read parameters}(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 _ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhjLhhhNhNubh)}(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}(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_set_eeeh]j9)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hj(`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hjb`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd`modnameN classnameNj j )}j ]j )}j j*`sbc.phylink_ethtool_set_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)}(hplh]hpl}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<`ubj )}(hstruct ethtool_keee *eeeh](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 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 ]j~`c.phylink_ethtool_set_eeeasbuh1hhj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(heeeh]heee}(hj ahhhNhNubah}(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,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hj7ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj4ahhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOajjOajjjuh1hhhhjLhNhNubj)}(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)}(hjYah]h Parameters}(hj[ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWaubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjSaubj)}(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)}(hjxah]hstruct phylink *pl}(hjzahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjraubj)}(hhh]jl)}(hPa 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&]uh1jhjraubeh}(h]h ]h"]h$]h&]uh1jhjahM hjoaubj)}(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)}(hjah]hstruct ethtool_keee *eee}(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)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjahhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjah]hstruct ethtool_keee}(hjahhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaubah}(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 hjaubh for the desired parameters}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjbhM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjoaubeh}(h]h ]h"]h$]h&]uh1jhjSaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhjLhhhNhNubh)}(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}(hjQbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj`bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMbhhhj_bhM ubj3)}(hphylink_mii_ioctlh]j9)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hjrbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMbhhhj_bhM ubj )}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)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 jtbsbc.phylink_mii_ioctlasbuh1hhjbubj")}(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}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hj chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hifreqh]hifreq}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj cmodnameN classnameNj j )}j ]jbc.phylink_mii_ioctlasbuh1hhjbubj")}(h h]h }(hj` 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)}(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 }(hjdhhhNhNubh)}(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 jjphylinkuh1hhj dhM hjdubh returned from phylink_create()}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj dhM hj dubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj dhM hjcubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hjSdh]hstruct ifreq *ifr}(hjUdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjMdubj)}(hhh]jl)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hjldhhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hjvdh]h struct ifreq}(hjxdhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjtdubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjhdhM hjldubh for socket ioctls}(hjldhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhdhM hjidubah}(h]h ]h"]h$]h&]uh1jhjMdubeh}(h]h ]h"]h$]h&]uh1jhjhdhM hjcubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjdh]hint cmd}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjdubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhM hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjcubeh}(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:150: ./drivers/net/phy/phylink.chM hjcubjl)}(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 }(hjehhhNhNubj)}(h**pl**h]hpl}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh9. If no PHY is attached, emulate the presence of the PHY.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjcubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hj,ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(eubh:}(hj(ehhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj$eubj)}(hhh]jl)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hjHehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjEeubah}(h]h ]h"]h$]h&]uh1jhj$eubeh}(h]h ]h"]h$]h&]uh1jhjDehM hj!eubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hjkehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgeubh:}(hjgehhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjceubj)}(hhh]jl)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeubah}(h]h ]h"]h$]h&]uh1jhjceubeh}(h]h ]h"]h$]h&]uh1jhjehM hj!eubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh:}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeubj)}(hhh]jl)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehM hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM hj!eubeh}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h **Return**h]j)}(hjeh]hReturn}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjcubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhjLhhhNhNubh)}(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}(hj-fhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)fhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj` 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)}(hjCgh]h Parameters}(hjEghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAgubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj=gubj)}(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)}(hjbgh]hstruct phylink *pl}(hjdghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj\gubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj{ghhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjgh]hstruct phylink}(hjghhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjwghMhj{gubh returned from phylink_create()}(hj{ghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjwghMhjxgubah}(h]h ]h"]h$]h&]uh1jhj\gubeh}(h]h ]h"]h$]h&]uh1jhjwghMhjYgubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjgh]h bool sync}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjgubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghM hjYgubeh}(h]h ]h"]h$]h&]uh1jhj=gubjl)}(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:150: ./drivers/net/phy/phylink.chM hj=gubjl)}(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 }(hjhhhhNhNubj)}(h**sync**h]hsync}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh parameter.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj=gubjl)}(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().}(hj0hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj=gubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhjLhhhNhNubh)}(hhh](j)}(h)int phylink_speed_up (struct phylink *pl)h]j )}(h(int phylink_speed_up(struct phylink *pl)h](jM )}(hinth]hint}(hj_hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[hhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjnhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhhjmhhMubj3)}(hphylink_speed_uph]j9)}(hphylink_speed_uph]hphylink_speed_up}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|hubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhhjmhhMubj )}(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}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jhsbc.phylink_speed_upasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hplh]hpl}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubah}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhhjmhhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhhjmhhMubah}(h]jRhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhhMhjThhhubjg)}(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()}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjihhubah}(h]h ]h"]h$]h&]uh1jfhjThhhhjmhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7ijj7ijjjuh1hhhhjLhNhNubj)}(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)}(hjAih]h Parameters}(hjCihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?iubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM#hj;iubj)}(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`ih]hstruct phylink *pl}(hjbihhhNhNubah}(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!hjZiubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjyihhhNhNubh)}(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 jjphylinkuh1hhjuihM!hjyiubh returned from phylink_create()}(hjyihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjuihM!hjviubah}(h]h ]h"]h$]h&]uh1jhjZiubeh}(h]h ]h"]h$]h&]uh1jhjuihM!hjWiubah}(h]h ]h"]h$]h&]uh1jhj;iubjl)}(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#hj;iubjl)}(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().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hj;iubjl)}(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().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM%hj;iubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhjLhhhNhNubh)}(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}(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 }(hj!jhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj jhMubj3)}(hphylink_decode_usxgmii_wordh]j9)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hj3jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/jubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj jhMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjOjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKjubj")}(h h]h }(hj\jhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKjubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjmjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjojmodnameN classnameNj j )}j ]j )}j j5jsbc.phylink_decode_usxgmii_wordasbuh1hhjKjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKjubj9)}(hstateh]hstate}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGjubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]jjc.phylink_decode_usxgmii_wordasbuh1hhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hlpah]hlpa}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj jhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj jhhhj jhMubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj jhMhjjhhubjg)}(hhh]jl)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(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&]uh1jfhjjhhhj jhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2kjj2kjjjuh1hhhhjLhNhNubj)}(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 USXGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h](jl)}(h**Parameters**h]j)}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:kubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6kubj)}(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)}(hj[kh]h struct phylink_link_state *state}(hj]khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjUkubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjtkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjpkhMhjqkubah}(h]h ]h"]h$]h&]uh1jhjUkubeh}(h]h ]h"]h$]h&]uh1jhjpkhMhjRkubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjkh]h uint16_t lpa}(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.chMhjkubj)}(hhh]jl)}(h=a 16 bit value which stores the USXGMII auto-negotiation wordh]h=a 16 bit value which stores the USXGMII auto-negotiation word}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjRkubeh}(h]h ]h"]h$]h&]uh1jhj6kubjl)}(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:150: ./drivers/net/phy/phylink.chMhj6kubjl)}(hHelper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h]hHelper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhjLhhhNhNubh)}(hhh](j)}(hPvoid phylink_decode_usgmii_word (struct phylink_link_state *state, uint16_t lpa)h]j )}(hOvoid phylink_decode_usgmii_word(struct phylink_link_state *state, uint16_t lpa)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.chM ubj")}(h h]h }(hj#lhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj"lhM ubj3)}(hphylink_decode_usgmii_wordh]j9)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hj5lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1lubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj"lhM ubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjQlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMlubj")}(h h]h }(hj^lhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMlubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjolhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjllubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqlmodnameN classnameNj j )}j ]j )}j j7lsbc.phylink_decode_usgmii_wordasbuh1hhjMlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMlubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMlubj9)}(hstateh]hstate}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIlubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]jlc.phylink_decode_usgmii_wordasbuh1hhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj9)}(hlpah]hlpa}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIlubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj"lhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj lhhhj"lhM ubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"lhM hj lhhubjg)}(hhh]jl)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjmhhubah}(h]h ]h"]h$]h&]uh1jfhj lhhhj"lhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4mjj4mjjjuh1hhhhjLhNhNubj)}(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)}(hj>mh]h Parameters}(hj@mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`. ``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)}(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.chM0hjoubj)}(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)}(hjoh]h struct phylink_link_state *state}(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.chM-hjoubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjphhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjph]hstruct phylink_link_state}(hjphhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj phM-hjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj phM-hjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj phM-hjoubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjTph]hunsigned int neg_mode}(hjVphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hjNpubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjmphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjiphM.hjjpubah}(h]h ]h"]h$]h&]uh1jhjNpubeh}(h]h ]h"]h$]h&]uh1jhjiphM.hjoubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hjph]hu16 bmsr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjpubj)}(hhh]jl)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hjphhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh register}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjphM/hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM/hjoubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hjph]hu16 lpa}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hjpubj)}(hhh]jl)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hjphhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh register}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjphM0hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM0hjoubeh}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hj%qh]h Description}(hj'qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#qubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjoubjl)}(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;qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM1hjoubjl)}(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 }(hjJqhhhNhNubj)}(h **state**h]hstate}(hjRqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJqubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hjJqhhhNhNubj)}(h**bmsr**h]hbmsr}(hjdqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJqubh and }(hjJqhhhNhNubj)}(h**lpa**h]hlpa}(hjvqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJqubh# cannot be done with MDIO directly.}(hjJqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM4hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhjLhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjqhMlubj3)}(hphylink_mii_c22_pcs_get_stateh]j9)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjqhMlubj )}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct mdio_device *pcsh](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 mdio_deviceh]h mdio_device}(hj rhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj rmodnameN classnameNj j )}j ]j )}j jqsbc.phylink_mii_c22_pcs_get_stateasbuh1hhjqubj")}(h h]h }(hj*rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hj8rhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hpcsh]hpcs}(hjErhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hj^rhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZrubj")}(h h]h }(hjlrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZrubjM )}(hinth]hint}(hjzrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZrubj9)}(hneg_modeh]hneg_mode}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j&rc.phylink_mii_c22_pcs_get_stateasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hstateh]hstate}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhjqhMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjqhMlubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhMlhjqhhubjg)}(hhh]jl)}(hread the MAC PCS stateh]hread the MAC PCS state}(hj0shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlhj-shhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjqhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHsjjHsjjjuh1hhhhjLhNhNubj)}(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)}(hjRsh]h Parameters}(hjTshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPsubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMphjLsubj)}(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)}(hjqsh]hstruct mdio_device *pcs}(hjsshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjosubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjksubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjshhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjsh]hstruct mdio_device}(hjshhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjshMmhjsubh.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjshMmhjsubah}(h]h ]h"]h$]h&]uh1jhjksubeh}(h]h ]h"]h$]h&]uh1jhjshMmhjhsubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjsh]hunsigned int neg_mode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMnhjsubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMnhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMnhjhsubj)}(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.chMohjtubj)}(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)}(hj)th]hstruct phylink_link_state}(hj+thhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'tubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjthMohjtubh.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjthMohjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMohjhsubeh}(h]h ]h"]h$]h&]uh1jhjLsubjl)}(h**Description**h]j)}(hjdth]h Description}(hjfthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMqhjLsubjl)}(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.}(hjzthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMphjLsubjl)}(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 }(hjthhhNhNubj)}(h **config**h]hconfig}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhW and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hjthhhNhNubj)}(h **state**h]hstate}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh| structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMshjLsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhjLhhhNhNubh)}(hhh](j)}(hjint phylink_mii_c22_pcs_encode_advertisement (phy_interface_t interface, const unsigned long *advertising)h]j )}(hiint phylink_mii_c22_pcs_encode_advertisement(phy_interface_t interface, const unsigned long *advertising)h](jM )}(hinth]hint}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjthMubj3)}(h(phylink_mii_c22_pcs_encode_advertisementh]j9)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjthMubj )}(h=(phy_interface_t interface, const unsigned long *advertising)h](j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j jtsb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhjuubj")}(h h]h }(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)}(hjYyh]h Parameters}(hj[yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjSyubj)}(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)}(hjxyh]hstruct mdio_device *pcs}(hjzyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjryubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjyhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjyh]hstruct mdio_device}(hjyhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjyhMhjyubh.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjryubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjoyubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjyh]hphy_interface_t interface}(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.chMhjyubj)}(hhh]jl)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjoyubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj zh]h const unsigned long *advertising}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj zubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj&zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"zhMhj#zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj"zhMhjoyubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hjFzh]hunsigned int neg_mode}(hjHzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj@zubj)}(hhh]jl)}(hPCS negotiation modeh]hPCS negotiation mode}(hj_zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[zhMhj\zubah}(h]h ]h"]h$]h&]uh1jhj@zubeh}(h]h ]h"]h$]h&]uh1jhj[zhMhjoyubeh}(h]h ]h"]h$]h&]uh1jhjSyubjl)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(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.chMhjSyubjl)}(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 }(hjzhhhNhNubj)}(h**mode**h]hmode}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh, }(hjzhhhNhNubj)}(h **interface**h]h interface}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh and }(hjzhhhNhNubj)}(h**advertising**h]h advertising}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjSyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhjLhhhNhNubh)}(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)}(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 }(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&]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&]uh1jhjY|ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj{ubjl)}(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.}(hjq|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj{ubjl)}(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.}(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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_replay_link_begin (C function)c.phylink_replay_link_beginhNtauh1hhjLhhhNhNubh)}(hhh](j)}(h3void phylink_replay_link_begin (struct phylink *pl)h]j )}(h2void phylink_replay_link_begin(struct phylink *pl)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_replay_link_beginh]j9)}(hphylink_replay_link_beginh]hphylink_replay_link_begin}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhj|hMubj )}(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_replay_link_beginasbuh1hhj|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)}(hplh]hpl}(hjE}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;begin replay of link callbacks for driver which loses stateh]h;begin replay of link callbacks for driver which loses state}(hjo}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjl}hhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjLhNhNubj)}(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)}(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)}(hj}h]hstruct phylink}(hj}hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj}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}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: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).}(hj3~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&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_replay_link_end (C function)c.phylink_replay_link_endhNtauh1hhjLhhhNhNubh)}(hhh](j)}(h1void phylink_replay_link_end (struct phylink *pl)h]j )}(h0void phylink_replay_link_end(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjb~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 }(hjq~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^~hhhjp~hM)ubj3)}(hphylink_replay_link_endh]j9)}(hphylink_replay_link_endh]hphylink_replay_link_end}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^~hhhjp~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_replay_link_endasbuh1hhj~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 hj^~hhhjp~hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZ~hhhjp~hM)ubah}(h]jU~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjp~hM)hjW~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)hjhhubah}(h]h ]h"]h$]h&]uh1jfhjW~hhhjp~hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjLhNhNubj)}(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)}(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.chM-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)}(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.chM+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)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjxhM+hj|ubh returned from phylink_create()}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjxhM+hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM+hjZubah}(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.chM-hj>ubjl)}(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,hj>ubjl)}(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.chM0hj>ubjl)}(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.chM3hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhj0hhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhjhhhNhNubh)}(hhh](j)}(hsfp_bush]j )}(hstruct sfp_bush](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhKubj3)}(hsfp_bush]j9)}(hj7h]hsfp_bus}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjJhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjJhKubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhKhj2hhubjg)}(hhh]jl)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hjhhhNhNubah}(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&]uh1jfhj2hhhjJhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h6**Definition**:: struct sfp_bus { }; **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:155: ./drivers/net/phy/sfp-bus.chKhjubj)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjubjl)}(h **Members**h]j)}(hj̀h]hMembers}(hjπhhhNhNubah}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhjhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(h sfp_eeprom_idh]j9)}(hjh]h sfp_eeprom_id}(hj#hhhNhNubah}(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)raw SFP module identification informationh]h)raw SFP module identification information}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjBhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjj]jj]jjjuh1hhhhjhNhNubj)}(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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh:}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjaubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjaubjl)}(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.hhKhjaubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hjh]hbase}(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(base SFP module identification structureh]h(base SFP module identification structure}(hjˁhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjǁhKhjȁubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǁhKhjubj)}(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&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(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.hhKhjhhubjl)}(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 }(hjDhhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjNhhhNhNubah}(h]h ]h"]h$]h&]refurijPuh1jLhjDubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhjhhhNhNubh)}(hhh](j)}(hsfp_module_capsh]j )}(hstruct sfp_module_capsh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjhKubj3)}(hsfp_module_capsh]j9)}(hjwh]hsfp_module_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjhKubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjrhhubjg)}(hhh]jl)}(hsfp module capabilitiesh]hsfp module capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjׂjjׂjjjuh1hhhhjhNhNubj)}(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&]uh1jhj߂ubh:}(hj߂hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjۂubj)}(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.hhMhjۂubjl)}(h **Members**h]j)}(hj h]hMembers}(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.hhMhjۂubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hj,h]h interfaces}(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.hhMhj&ubj)}(hhh]jl)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hjeh]h link_modes}(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.hhMhj_ubj)}(hhh]jl)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#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)}(hjh]h may_have_phy}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj#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)}(hj؃h]hport}(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.hhMhj҃ubj)}(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}(hj hhhNhNubah}(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&]uh1jhj҃ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjۂubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhjhhhNhNubh)}(hhh](j)}(hsfp_upstream_opsh]j )}(hstruct sfp_upstream_opsh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhM$ubj3)}(hsfp_upstream_opsh]j9)}(hjOh]hsfp_upstream_ops}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjbhM$ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhM$hjJhhubjg)}(hhh]jl)}(hupstream operations structureh]hupstream operations structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhM$ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(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.hhM'hjubj)}(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 *); };}hjԄsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjubjl)}(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.hhM6hjubj)}(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).}(hjhhhNhNubah}(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)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hj>h]hdetach}(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(hj8ubj)}(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).}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM(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)}(hjxh]h module_insert}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hjrubj)}(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.}(hjhhhNhNubah}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hjh]h module_remove}(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)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hj˅hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDžhM+hjȅubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjDžhM+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-hjubj)}(hhh]jl)}(h called before the PHY is removedh]h called before the PHY is removed}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM-hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM-hjubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hj]h]h link_down}(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/hjWubj)}(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)}(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.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 }(hj hhhNhNubh)}(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_busuh1hhjhMNhj ubh structure for the sfp module}(hj hhhNhNubeh}(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)}(hjLh]hconst unsigned long *link_modes}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjFubj)}(hhh]jl)}(hethtool link modes maskh]hethtool link modes mask}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMOhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMOhjubeh}(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.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.}(hjhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhjhhhNhNubh)}(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}(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)}(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ȉ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 jsb c.sfp_bus_putasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjbhhhNhNubah}(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ډhMhjhhubjg)}(hhh]jl)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on 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 j )}j ]jC c.sfp_bus_putasbjsfp_busuh1hhjhMMhjubeh}(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&]uh1jfhjhhhjډhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȊjjȊjjjuh1hhhhjhNhNubj)}(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)}(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)}(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 }(hj hhhNhNubh)}(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_busuh1hhjhMhj ubh found via sfp_bus_find_fwnode()}(hj hhhNhNubeh}(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)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj̊ubjl)}(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 }(hjehhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjoh]hstruct sfp_bus}(hjqhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjeubhB and free the underlying structure if this was the last reference.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj̊ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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 }(hjƋhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjŋhMubj3)}(hsfp_get_module_infoh]j9)}(hsfp_get_module_infoh]hsfp_get_module_info}(hj؋hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԋubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjŋhMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jڋsbc.sfp_get_module_infoasbuh1hhjubj")}(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)}(hbush]hbus}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_modinfo *modinfoh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hethtool_modinfoh]hethtool_modinfo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j.c.sfp_get_module_infoasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hmodinfoh]hmodinfo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(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(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&]uh1jfhjhhhjŋhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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}(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 }(hjAhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjKh]hstruct sfp_bus}(hjMhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj=hMhjAubh structure for the sfp module}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjh]hstruct ethtool_modinfo *modinfo}(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)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjh]hstruct ethtool_modinfo}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_modinfouh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhjhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjdhMubj3)}(hsfp_get_module_eepromh]j9)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjdhMubj )}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)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 jysbc.sfp_get_module_eepromasbuh1hhjubj")}(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 )}(hstruct ethtool_eeprom *eeh](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_eepromh]hethtool_eeprom}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j͎c.sfp_get_module_eepromasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(heeh]hee}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu8 *datah](h)}(hhh]j9)}(hu8h]hu8}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j͎c.sfp_get_module_eepromasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjdhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjdhMubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhMhjKhhubjg)}(hhh]jl)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hjۏhhhNhNubah}(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&]uh1jfhjKhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj5hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj?h]hstruct sfp_bus}(hjAhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj1hMhj5ubh structure for the sfp module}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hjxh]hstruct ethtool_eeprom *ee}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjrubj)}(hhh]jl)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(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_eepromuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjАh]hu8 *data}(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)}(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&]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&]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 }(hj3hhhNhNubj)}(h**ee**h]hee}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh. See the documentation for }(hj3hhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjOh]hstruct ethtool_eeprom}(hjQhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj3ubh for the region to be read.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjlhMhjubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjwhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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_eeprom_by_pageh]j9)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjǑhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÑubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]uh1jhjߑubj")}(h h]h }(hjhhhNhNubah}(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 jɑsbc.sfp_get_module_eeprom_by_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)}(hbush]hbus}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߑubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۑubj )}(h(const struct ethtool_module_eeprom *pageh](j)}(hj h]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.sfp_get_module_eeprom_by_pageasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hpageh]hpage}(hjǒhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۑubj )}(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.sfp_get_module_eeprom_by_pageasbuh1hhjܒ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}(hj7hhhNhNubah}(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)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjahhhNhNubah}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjhNhNubj)}(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)}(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.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)}(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)}(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_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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 }(hjhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hj!h]hstruct ethtool_module_eeprom}(hj#hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjVh]hstruct netlink_ext_ack *extack}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjPubj)}(hhh]jl)}(hextack for reporting problemsh]hextack for reporting problems}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(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)}(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 }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. See the documentation for }(hjhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjÔh]hstruct ethtool_module_eeprom}(hjŔhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(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.chMhjubh for the page to be read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj}ubjl)}(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.chMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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 }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj(hMubj3)}(hsfp_upstream_starth]j9)}(hsfp_upstream_starth]hsfp_upstream_start}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj(hMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j j=sbc.sfp_upstream_startasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubah}(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,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjڕhhhNhNubah}(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&]uh1jfhjhhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj4hhhNhNubh)}(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_busuh1hhj0hMhj4ubh structure for the sfp module}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubah}(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&]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 }(hjhhhNhNubh)}(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.chMhjubh ndo_open() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhjhhhNhNubh)}(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 hjݖhhhZ/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!hjݖhhhjhM&ubj3)}(hsfp_upstream_stoph]j9)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݖhhhjhM&ubj )}(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&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_stopasbuh1hhjubj")}(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)}(hbush]hbus}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjhhhNhNubah}(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&]uh1jfhj֖hhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM*hjubj)}(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'hjܗ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_busuh1hhjhM'hjubh structure for the sfp module}(hjhhhNhNubeh}(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)}(hj@h]h Description}(hjBhhhNhNubah}(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.chM)hjubjl)}(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 }(hjVhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj`h]hstruct net_device_ops}(hjbhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj^ubah}(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(hjVubh ndo_stop() method.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj}hM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhjhhhNhNubh)}(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}(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_set_signal_rateh]j9)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjɘhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŘubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM=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*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjݘubj )}(hunsigned int rate_kbdh](jM )}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubjM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hrate_kbdh]hrate_kbd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(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)}(hset data signalling rateh]hset data signalling rate}(hjhhhNhNubah}(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&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjљjjљjjjuh1hhhhjhNhNubj)}(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)}(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.chMAhjՙ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.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>hjubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hjVh]hunsigned int rate_kbd}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM?hjPubj)}(hhh]jl)}(h%signalling rate in units of 1000 baudh]h%signalling rate in units of 1000 baud}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM?hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM?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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjՙubjl)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM@hjՙubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMEhjubj)}(hhh]jl)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hjϚhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMDhj̚ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˚hMEhjubah}(h]h ]h"]h$]h&]uh1jhjՙubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMQubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j sfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhj hhhjhMQubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMQubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMQubj3)}(hsfp_bus_find_fwnodeh]j9)}(hjMh]hsfp_bus_find_fwnode}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMQubj )}(h$(const struct fwnode_handle *fwnode)h]j )}(h"const struct fwnode_handle *fwnodeh](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 fwnode_handleh]h fwnode_handle}(hjÛhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjśmodnameN classnameNj j )}j ]jKc.sfp_bus_find_fwnodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMQubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMQhjhhubjg)}(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&]uh1jfhjhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjhNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMUhjBubj)}(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)}(hjgh]h"const struct fwnode_handle *fwnode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjaubj)}(hhh]jl)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMRhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMRhj^ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMThjBubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMShjBubj)}(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]jO)}(hhh](jO)}(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().}(hjҜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjΜubah}(h]h ]h"]h$]h&]uh1jOhj˜ubjO)}(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&]uh1jOhj˜ubjO)}(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.chM[hj ubah}(h]h ]h"]h$]h&]uh1jOhj˜ubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjhMXhjǜubah}(h]h ]h"]h$]h&]uh1jhjhMXhjBubjl)}(h **Return**h]j)}(hj4h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM]hjBubjO)}(hhh](jO)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjOh]h/on success, a pointer to the sfp_bus structure,}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjMubah}(h]h ]h"]h$]h&]uh1jOhjJubjO)}(h ``NULL`` if no SFP is specified,h]jl)}(hjgh](j)}(h``NULL``h]hNULL}(hjlhhÓhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh if no SFP is specified,}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMYhjeubah}(h]h ]h"]h$]h&]uh1jOhjJubjO)}(h#on failure, an error pointer value:h]jl)}(hjh]h#on failure, an error pointer value:}(hjhhhNhNubah}(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&]uh1jOhjJubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhj^hMXhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhjhhhNhNubh)}(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 hjŝhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~ubj")}(h h]h }(hj؝hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjŝhhhjםhM~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&]jPjQuh1j2hjŝhhhjםhM~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 }(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_bus_add_upstreamasbuh1hhjubj")}(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 )}(hvoid *upstreamh](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)}(hupstreamh]hupstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h"const struct sfp_upstream_ops *opsh](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)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j@c.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)}(hopsh]hops}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjŝhhhjם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*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~hjShhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjםhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjrubj)}(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)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(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&]uh1jhjhMhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `h](hthe upstream’s }(hjEhhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjOh]hstruct sfp_upstream_ops}(hjQhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_upstream_opsuh1hhjAhMhjEubeh}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjrubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjrubj)}(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]jO)}(hhh](jO)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jOhjubjO)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jl)}(hj͠h](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjҠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϠubh" if we failed to allocate the bus.}(hjϠhhhNhNubeh}(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&]uh1jOhjubjO)}(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&]uh1jOhjubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjĠhMhjubah}(h]h ]h"]h$]h&]uh1jhjĠhMhjrubjl)}(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.chMhjrubjO)}(hhh](jO)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hj3h]h/on success, a pointer to the sfp_bus structure,}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj1ubah}(h]h ]h"]h$]h&]uh1jOhj.ubjO)}(h ``NULL`` if no SFP is specified,h]jl)}(hjKh](j)}(h``NULL``h]hNULL}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh if no SFP is specified,}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIubah}(h]h ]h"]h$]h&]uh1jOhj.ubjO)}(h#on failure, an error pointer value:h]jl)}(hjqh]h#on failure, an error pointer value:}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjoubah}(h]h ]h"]h$]h&]uh1jOhj.ubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjBhMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(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_bus_del_upstreamh]j9)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjΡhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʡubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 reftargetj modnameN classnameNj j )}j ]j )}j jСsbc.sfp_bus_del_upstreamasbuh1hhjubj")}(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)}(hbush]hbus}(hjChhhNhNubah}(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)}(hDelete a sfp bush]hDelete a sfp bus}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(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)}(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âhMhjǢubh structure for the sfp module}(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)}(hj h]h Description}(hjhhhNhNubah}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhjhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjphMubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhjphMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjphMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_hhhjphMubj3)}(h sfp_get_nameh]j9)}(h sfp_get_nameh]h sfp_get_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjphMubj )}(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_get_nameasbuh1hhjģ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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjphMubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjXhhubjg)}(hhh]jl)}(hGet the SFP device nameh]hGet the SFP device name}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjgubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjgubjl)}(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.chMhjgubjl)}(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.chMhjgubjO)}(hhh](jO)}(h@The name of the SFP device registered with sfp_register_socket()h]jl)}(hj>h]h@The name of the SFP device registered with sfp_register_socket()}(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&]uh1jOhj9ubjO)}(h/``NULL`` if no device was registered on **bus**h]jl)}(hjVh](j)}(h``NULL``h]hNULL}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh if no device was registered on }(hjXhhhNhNubj)}(h**bus**h]hbus}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjTubah}(h]h ]h"]h$]h&]uh1jOhj9ubeh}(h]h ]h"]h$]h&]jOjs>uh1jOhjMhMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhj0hhhhhKubeh}(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_handlerjХerror_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}(jjj-j*j j jljlj.wj+wjjj%j"jjj/j,jIjFjj jju nametypes}(jj-j jlj.wjj%jj/jIjjuh}(jhj*hj hhjjjjBjGjjjlj" 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\jljqj jjjj_jdj̨jѨj\jajjjHjMj jj)j.jjj\jaj&j+jjjjjjjjjZj_j jjjjjjjjjjjj(j-j=jBjjjjjqjvj jjjjBjGjjjjj$j)j/j4j~jjjjjjjjjj!j&jjjyj~j&j+j>jCjjjujzj/j4j*j*jJ,jO,jt.jy.jx0j}0j*2j/2j2j2j4j4ju6jz6j8j8j9j9jH;jM;j=j!=j?j?jAjAjJEjOEjtGjyGjJjKj MjMj"Oj'OjPjPjRj!RjTjTjXjXjk[jp[j_j_jbjbj gj%gjjjjjmjmj3oj8ojpjpj1sj6sj)uj.uj xjxj>{jC{j}j}jjjjjjjjjjjjÉjYj^jjj"j'j3j8jjjjjjj"j'jjj8j=jljqjjjjjjjYj^jEjJjjųjjjqjvjjjjjjjjjjjjjjjjjjjjjjjjjfjkj>jCjjjjjTjYjjjtjyjjjRjWjjj_jdjjj$j)jFjKjjjjjjj}jj j j j jcjhj[j`j[j`j jj!j&jjj{ j j"j"j$j!$j'j'j_)jd)jA,jF,j.j.jV1j[1j,4j14jG6jL6jb8jg8j:j:j=j=j@j@jvCj{Cj6Fj;FjHjHjfJjkJjPjPjRjRjVjVjYjYj\j\j^j^jajajcejhejhjhjjjjj+wjljljljojojqjqj ujujj1wjNwjSwjxjxjyjyj{j{j}j}jC~jH~jтjւjsjxjgjljZj_jjj[j`jӖjؖjbjgjܝjj|jjjjoj"jj"j'jjjjjjjǰj̰jjjjjajfj\jajjjjj jjjjjjjj]jbjjjkjpjZj_jjjjjUjZjjjjjjjFjKjQjVj0j5jjj]jbjjjjjjj&j+jjj"j'j}jjj j j jejjjjj jjdjijejjjjjj"jxj}j,"j1"j%j%j6*j;*j,j,j.j.j0j 0jq1jv1j3j3j5j5j7j7j:j:j;j;j>j>jV@j[@jAjAjWCj\CjDjDj FjFjGjGjIjIjKjKjBMjGMjNjNjDPjIPj3Rj8RjSjSj5Uj:Uj_WjdWjXjXjPZjUZj[j[j]j]jV_j[_j`j`jbjbj1ej6ejgjgj?kjDkjljljnj njpjpjbsjgsjvjvjzjzjo|jt|j:~j?~jjj3j8j0j5j͈j҈jjjvj{jwj|j(j-jjjjj0j5jjj3j8jjjjj&j+jjjjjjjjjj0j,jAj^jcjj jعjݹjjj;j@jojtjjjAjFjjjj jJjOjjjsjxjjjjj3j8jjjbjgjjjjj#j(j\jajjjjjj"jjjjjljqjjjjjjjjjnjsjjjjj[j`jpjujjjjj.j3j j jz j j5j:jjjxj}jjjwj|jj jjjjjxj}jjj! j& jJ"jO"j#j#j%j%j'j'j<*jA*j,j,j.j.jR0jW0j2j2j4j4j8j8j:j:j<j=j?j?jUBjZBjQDjVDj FjFjHjHjKjKjMjMjOjOjPjPjRjRjTjTj-Vj2VjXjXj [j%[je]jj]j^j^jcjcjejejfjfjgjgj jjjjkjkjPmjUmjojpjqjqj_vjdvj%yj*yjb{jg{j(~j-~jj$jjj}jjRjWj\jaj݉jjjjjjƐjːjjjƔj˔jGjLjȗj͗jIjNjjjjjjjjj>jCjjâjtjyjjjYj^jjĨj%j*jjj:j?jIjNjsjxjjjյjڵjj!jTjYj&j+jjj{jjjjjjjjWj\jsjxj'j,j~jjjjjjjjjjj jjjjj2j7j@jEjjjojjjjj+j0j"j"j &j&j'j'j&)j+)j*j*j;,j@,j-j-jj/jo/j1j1j3j 3j4j4j6j6j8j9j;j;j]>jb>jT@jY@jAjAjCjDjEjEjGjGjIjIjKjKjNj NjPj PjRjRj=UjBUjWjWj [j[j\j\j%^j*^j_j_j'aj,ajbjbjRdjWdjejejngjsgjhjijjjjjljljmjmjPojUojpjpj&uj+ujxjxjj|jo|jYj_jjjFj2jOjTjjjQjVjjjwj|jjĎjvj{jj jjÖjjjjj]jbjjjjjjjj jwj|j#j(jϪjԪj̬jѬjMjRjjjzjj%j*jѴjִj,j1jطjݷjYj^jܻjj]jbjrjwj`jejjjj"jGjLjKjPjOjTjjjjjdjijjj9j>jjjjjjjjjjjjjjjjjyj~j$j)jjjjjjj/j4jjjjjjj;j@jjjjj)j.jojtjjjjj%j*jjjjj j j j jjjjjjjjjXj]j j jg$jl$j'j'j)j)j+j+j|.j.j 1j1j4j 4j7j7j=;jB;j<j<j=j=jN?jS?j@j@j9Bj>BjCjCjYEj^EjVGj[GjHjHjgJjlJjKjKjUMjZMjNjNj PjPjfQjkQjRjRjBTjGTjUjUjDWjIWjXjXjpZjuZj\j\j^j^jMajRajcjcjejejgjgj jjjj>ljClj7njjjjjjjjjjjjjj*j/jjjjjjjRjWjjj2j7jjjjjqjvj<jAjj jjjjj;j@jjjjjIjNjjjJjOjjjjjpjujjj j jy j~ jjj[j`jjjjjjjcjhjYj^jjj #j#j$j$j8&j=&j'j'jL)jQ)j:+j?+jR-jW-j.j/j0j0jb2jg2j3j3j5j5j7j7j~9j9j&;j+;j(=j-=j>j>j*@j/@jAjAjJCjOCjDjDjLFjQFjIjIjoKjtKjMjMjPjPjSjSjvVj{Vjj>ji@jn@jQBjVBjCjCjEjEj7HjEnumerated list start value not ordinal-1: “8” (ordinal 8)}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1j2hjOubatransform_messages] transformerN include_log] decorationNhhub.