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)}(hXg(**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; #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; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; }; 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_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; #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; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; }; 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; #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; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; }; 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.hhM@hj7ubj)}(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&]uh1jhjRhM@hjubj)}(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.hhMAhjqubj)}(hhh]jl)}(h$active extensions (skb_ext_id types)h]h$active extensions (skb_ext_id types)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(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.hhMThjUubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMThjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMThjubj)}(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.hhMChjubj)}(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&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(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.hhMXhj 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.hhMWhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMXhjubj)}(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.hhMNhj ubj)}(hhh]jl)}(h"checksum was completed by softwareh]h"checksum was completed by software}(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``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.hhMQhj!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.hhMOhj:!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj9!hMQhjubj)}(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.hhMEhj!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.hhMDhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMEhjubj)}(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.hhMFhj!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!hMFhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMFhjubj)}(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.hhMGhj"ubj)}(hhh]jl)}(hwifi_acked was seth]hwifi_acked was set}(hj$"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj "hMGhj!"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj "hMGhjubj)}(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.hhMHhj>"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"hMHhjZ"ubah}(h]h ]h"]h$]h&]uh1jhj>"ubeh}(h]h ]h"]h$]h&]uh1jhjY"hMHhjubj)}(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.hhMIhjw"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"hMIhj"ubah}(h]h ]h"]h$]h&]uh1jhjw"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMIhjubj)}(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.hhMJhj"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"hMJhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMJhjubj)}(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.hhMKhj"ubj)}(hhh]jl)}(hsoftware checksum is neededh]hsoftware checksum is needed}(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)``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.hhMLhj"#ubj)}(hhh]jl)}(hchecksum is already validh]hchecksum is already valid}(hjA#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=#hMLhj>#ubah}(h]h ]h"]h$]h&]uh1jhj"#ubeh}(h]h ]h"]h$]h&]uh1jhj=#hMLhjubj)}(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.hhMBhj[#ubj)}(hhh]jl)}(hrouter type (from link layer)h]hrouter type (from link layer)}(hjz#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv#hMBhjw#ubah}(h]h ]h"]h$]h&]uh1jhj[#ubeh}(h]h ]h"]h$]h&]uh1jhjv#hMBhjubj)}(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.hhMUhj#%ubj)}(hhh]jl)}(h Decrypted SKBh]h Decrypted SKB}(hjB%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>%hMUhj?%ubah}(h]h ]h"]h$]h&]uh1jhj#%ubeh}(h]h ]h"]h$]h&]uh1jhj>%hMUhjubj)}(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.hhMVhj\%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%hMVhjx%ubah}(h]h ]h"]h$]h&]uh1jhj\%ubeh}(h]h ]h"]h$]h&]uh1jhjw%hMVhjubj)}(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.hhMMhj%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%hMMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMMhjubj)}(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.hhMShj%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.hhMRhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMShjubj)}(h#``tc_index`` Traffic control index h](j)}(h ``tc_index``h]j)}(hj&h]htc_index}(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)}(hTraffic control indexh]hTraffic control index}(hj'&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#&hM9hj$&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj#&hM9hjubj)}(h0``alloc_cpu`` CPU which did the skb allocation. h](j)}(h ``alloc_cpu``h]j)}(hjG&h]h alloc_cpu}(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)}(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&]uh1jhjA&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.hhKhjz&ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhjz&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}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hKhj'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)}(hj+'h]h csum_start}(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)}(h5Offset from skb->head where checksumming should starth]h5Offset from skb->head where checksumming should start}(hjD'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@'hMhjA'ubah}(h]h ]h"]h$]h&]uh1jhj%'ubeh}(h]h ]h"]h$]h&]uh1jhj@'hMhjubj)}(hG``csum_offset`` Offset from csum_start where checksum should be stored h](j)}(h``csum_offset``h]j)}(hjd'h]h csum_offset}(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)}(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&]uh1jkhjy'hMhjz'ubah}(h]h ]h"]h$]h&]uh1jhj^'ubeh}(h]h ]h"]h$]h&]uh1jhjy'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)}(hj(h]hhash}(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)}(hthe packet hashh]hthe packet hash}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjH(h]h{unnamed_union}}(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.hhKhjB(ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hja(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj](hKhj^(ubah}(h]h ]h"]h$]h&]uh1jhjB(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.hhM`hj{(ubj)}(hhh]jl)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(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``{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.hhMahj(ubj)}(hhh]jl)}(hvlan encapsulation protocolh]hvlan encapsulation protocol}(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*``vlan_tci`` vlan tag control information h](j)}(h ``vlan_tci``h]j)}(hj,)h]hvlan_tci}(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 tag control informationh]hvlan tag control information}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hje)h]h{unnamed_union}}(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.hhKhj_)ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj~)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz)hKhj{)ubah}(h]h ]h"]h$]h&]uh1jhj_)ubeh}(h]h ]h"]h$]h&]uh1jhjz)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.hhMYhj)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)hMYhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMYhjubj)}(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.hhMZhj)ubj)}(hhh]jl)}(h#(aka **napi_id**) source CPU in XPSh](h(aka }(hj)hhhNhNubj)}(h **napi_id**h]hnapi_id}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh) source CPU in XPS}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj)hMZhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMZhjubj)}(h``secmark`` security marking h](j)}(h ``secmark``h]j)}(hj"*h]hsecmark}(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)}(hsecurity markingh]hsecurity marking}(hj;*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7*hM\hj8*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj7*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&]uh1jhjY*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjU*ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjt*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjp*hKhjq*ubah}(h]h ]h"]h$]h&]uh1jhjU*ubeh}(h]h ]h"]h$]h&]uh1jhjp*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)}(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}(hj2+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.+hKhj/+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj.+hKhjubj)}(h,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hjR+h]hinner_protocol}(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.hhMchjL+ubj)}(hhh]jl)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hjk+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg+hMchjh+ubah}(h]h ]h"]h$]h&]uh1jhjL+ubeh}(h]h ]h"]h$]h&]uh1jhjg+hMchjubj)}(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.hhMehj+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.hhMdhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMehjubj)}(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.hhMfhj+ubj)}(hhh]jl)}(h,Inner transport layer header (encapsulation)h]h,Inner transport layer header (encapsulation)}(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>``inner_network_header`` Network layer header (encapsulation) h](j)}(h``inner_network_header``h]j)}(hj,h]hinner_network_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$Network layer header (encapsulation)h]h$Network 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)}(h7``inner_mac_header`` Link layer header (encapsulation) h](j)}(h``inner_mac_header``h]j)}(hjI,h]hinner_mac_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!Link layer header (encapsulation)h]h!Link 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)}(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.hhMihj,ubj)}(hhh]jl)}(hTransport layer headerh]hTransport layer header}(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(``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.hhMjhj,ubj)}(hhh]jl)}(hNetwork layer headerh]hNetwork 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!``mac_header`` Link layer header h](j)}(h``mac_header``h]j)}(hj--h]h 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.hhMkhj'-ubj)}(hhh]jl)}(hLink layer headerh]hLink 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)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hjf-h]h kcov_handle}(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)}(h1KCOV remote handle for remote coverage collectionh]h1KCOV remote handle for remote coverage collection}(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``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.hhMmhj-ubj)}(hhh]jl)}(h Tail pointerh]h Tail pointer}(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``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.hhMnhj-ubj)}(hhh]jl)}(h End pointerh]h End 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``head`` Head of buffer h](j)}(h``head``h]j)}(hj.h]hhead}(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)}(hHead of bufferh]hHead of buffer}(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``data`` Data head pointer h](j)}(h``data``h]j)}(hjJ.h]hdata}(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)}(hData head pointerh]hData head pointer}(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``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.hhMqhj}.ubj)}(hhh]jl)}(h Buffer sizeh]h Buffer size}(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,``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.hhMrhj.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.hMrhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMrhjubj)}(hJ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](j)}(h``extensions``h]j)}(hj.h]h extensions}(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;allocated extensions, valid if active_extensions is nonzeroh]h;allocated extensions, valid if active_extensions is nonzero}(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 /hMrhjubeh}(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}(hjO/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjK/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!hjK/hhhj\/hMpubj3)}(hskb_pfmemalloch]j9)}(hskb_pfmemalloch]hskb_pfmemalloc}(hjo/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjK/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 jq/sbc.skb_pfmemallocasbuh1hhj/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 hjK/hhhj\/hMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjG/hhhj\/hMpubah}(h]jB/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\/hMphjD/hhubjg)}(hhh]jl)}(h6Test if the skb was allocated from PFMEMALLOC reservesh]h6Test if the skb was allocated from PFMEMALLOC reserves}(hj)0hhhNhNubah}(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&]uh1jfhjD/hhhj\/hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjA0jjA0jjjuh1hhhhj" hNhNubj)}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jl)}(h**Parameters**h]j)}(hjK0h]h Parameters}(hjM0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI0ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjE0ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjj0h]hconst struct sk_buff *skb}(hjl0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjd0ubj)}(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&]uh1jhjd0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMvhja0ubah}(h]h ]h"]h$]h&]uh1jhjE0ubeh}(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 }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMubh)}(hhh]j9)}(h dst_entryh]h dst_entry}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j skb_dstsb c.skb_dstasbuh1hhj0hhhj0hMubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0hhhj0hMubj3)}(hskb_dsth]j9)}(hj1h]hskb_dst}(hj#1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj>1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:1ubj")}(h h]h }(hjK1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:1ubj)}(hjh]hstruct}(hjY1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:1ubj")}(h h]h }(hjf1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:1ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjw1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjy1modnameN classnameNj j )}j ]j0 c.skb_dstasbuh1hhj:1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:1ubj9)}(hskbh]hskb}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj61ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhj0hhubjg)}(hhh]jl)}(hreturns skb dst_entryh]hreturns skb dst_entry}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj" 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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh]j)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hj2h]hconst struct sk_buff *skb}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj42hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj02hMhj12ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj02hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h **Return**h]j)}(hjV2h]hReturn}(hjX2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubjl)}(h4skb dst_entry, regardless of reference taken or not.h]h4skb dst_entry, regardless of reference taken or not.}(hjl2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubeh}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j j2sbc.skb_dstref_stealasbuh1hhj2ubj")}(h h]h }(hj23hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj@3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hskbh]hskb}(hjM3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(h+return current dst_entry value and clear ith]h+return current dst_entry value and clear it}(hjw3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjt3hhubah}(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}(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)}(hj3h]h Description}(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.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.}(hj 4hhhNhNubah}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(h **Return**h]j)}(hj)4h]hReturn}(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)}(horiginal skb dst_entry.h]horiginal skb dst_entry.}(hj?4hhhNhNubah}(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}(hjn4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjj4hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj}4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj4hhhj|4hMubj3)}(hskb_dstref_restoreh]j9)}(hskb_dstref_restoreh]hskb_dstref_restore}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjj4hhhj|4hMubj )}(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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j4sbc.skb_dstref_restoreasbuh1hhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskbh]hskb}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned long refdsth](jM )}(hunsignedh]hunsigned}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hj+5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubjM )}(hlongh]hlong}(hj95hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hjG5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hrefdsth]hrefdst}(hjU5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjj4hhhj|4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjf4hhhj|4hMubah}(h]ja4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|4hMhjc4hhubjg)}(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.hhMhj|5hhubah}(h]h ]h"]h$]h&]uh1jfhjc4hhhj|4hMubeh}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(hD``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](j)}(h``unsigned long refdst``h]j)}(hj5h]hunsigned long refdst}(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)}(h+dst entry from a call to skb_dstref_steal()h]h+dst entry from a call to skb_dstref_steal()}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(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 )}(h7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjL7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hdsth]hdst}(hjY7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjO6hhhja6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjK6hhhja6hMubah}(h]jF6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhja6hMhjH6hhubjg)}(hhh]jl)}(h sets skb dsth]h sets skb dst}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjH6hhhja6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer ``struct dst_entry *dst`` dst entry **Description** Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()h](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj7h]hstruct sk_buff *skb}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hj7h]hstruct dst_entry *dst}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh]jl)}(h dst entryh]h dst entry}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hj88h]h Description}(hj:8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj68ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubjl)}(h\Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()h]h\Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()}(hjN8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_set_noref (C function)c.skb_dst_set_norefhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCvoid skb_dst_set_noref (struct sk_buff *skb, struct dst_entry *dst)h]j )}(hBvoid skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst)h](jM )}(hvoidh]hvoid}(hj}8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjy8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy8hhhj8hMubj3)}(hskb_dst_set_norefh]j9)}(hskb_dst_set_norefh]hskb_dst_set_noref}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjy8hhhj8hMubj )}(h,(struct sk_buff *skb, struct dst_entry *dst)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j j8sbc.skb_dst_set_norefasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hskbh]hskb}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hstruct dst_entry *dsth](j)}(hjh]hstruct}(hj,9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(9ubj")}(h h]h }(hj99hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(9ubh)}(hhh]j9)}(h dst_entryh]h dst_entry}(hjJ9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL9modnameN classnameNj j )}j ]j8c.skb_dst_set_norefasbuh1hhj(9ubj")}(h h]h }(hjh9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(9ubj )}(hj h]h*}(hjv9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(9ubj9)}(hdsth]hdst}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjy8hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhju8hhhj8hMubah}(h]jp8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjr8hhubjg)}(hhh]jl)}(h1sets skb dst, hopefully, without taking referenceh]h1sets skb dst, hopefully, without taking reference}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jfhjr8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" hNhNubj)}(hXl**Parameters** ``struct sk_buff *skb`` buffer ``struct dst_entry *dst`` dst entry **Description** Sets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj9ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hj':h]hstruct dst_entry *dst}(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 dst entryh]h dst entry}(hj@:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<:hMhj=:ubah}(h]h ]h"]h$]h&]uh1jhj!:ubeh}(h]h ]h"]h$]h&]uh1jhj<:hMhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hjb:h]h Description}(hjd: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.hhMhj9ubjl)}(hXSets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.h]hXSets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_is_noref (C function)c.skb_dst_is_norefhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1bool skb_dst_is_noref (const struct sk_buff *skb)h]j )}(h0bool skb_dst_is_noref(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.hhMubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj:hMubj3)}(hskb_dst_is_norefh]j9)}(hskb_dst_is_norefh]hskb_dst_is_noref}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hMubj )}(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_dst_is_norefasbuh1hhj: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)}(hskbh]hskb}(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)}(h Test if skb dst isn't refcountedh]h"Test if skb dst isn’t refcounted}(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)}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](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`` bufferh](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)}(hbufferh]hbuffer}(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;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](hskb_napi_id (C function) c.skb_napi_idhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4unsigned int skb_napi_id (const struct sk_buff *skb)h]j )}(h3unsigned int skb_napi_id(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.hhMubj")}(h h]h }(hj+<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhj*<hMubjM )}(hinth]hint}(hj9<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhhj*<hMubj")}(h h]h }(hjG<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhj*<fhMubj3)}(h skb_napi_idh]j9)}(h skb_napi_idh]h skb_napi_id}(hjY<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhj*<hMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hju<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq<ubj)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq<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_napi_idasbuh1hhjq<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)}(hskbh]hskb}(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*<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhj*<hMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*<hMhj<hhubjg)}(hhh]jl)}(hReturns the skb's NAPI idh]hReturns the skb’s NAPI id}(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)}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jl)}(h**Parameters**h]j)}(hj5=h]h Parameters}(hj7=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3=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`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjT=h]hconst struct sk_buff *skb}(hjV=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR=ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjN=ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjm=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjj=ubah}(h]h ]h"]h$]h&]uh1jhjN=ubeh}(h]h ]h"]h$]h&]uh1jhji=hMhjK=ubah}(h]h ]h"]h$]h&]uh1jhj/=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unref (C function) c.skb_unrefhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h$bool skb_unref (struct sk_buff *skb)h]j )}(h#bool skb_unref(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.hhMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hMubj3)}(h skb_unrefh]j9)}(h skb_unrefh]h skb_unref}(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=sb c.skb_unrefasbuh1hhj=ubj")}(h h]h }(hj(>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj6>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hskbh]hskb}(hjC>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}(hjm>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjj>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.}(hj>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}(hj.?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.ubj")}(h h]h }(hj=?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*?hhhjstruct 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}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhMubj3)}(hskb_queue_empty_locklessh]j9)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjJhMubj )}(h!(const struct sk_buff_head *list)h]j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Kubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Kubj)}(hjh]hstruct}(hj(KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Kubj")}(h h]h }(hj5KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Kubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjFKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHKmodnameN classnameNj j )}j ]j )}j jJsbc.skb_queue_empty_locklessasbuh1hhj Kubj")}(h h]h }(hjfKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Kubj )}(hj h]h*}(hjtKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Kubj9)}(hlisth]hlist}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Kubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubah}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhjJhMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhjJhhubjg)}(hhh]jl)}(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&]uh1jfhjJhhhjJhMubeh}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjKh]hconst struct sk_buff_head *list}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj)}(hhh]jl)}(h queue headh]h queue head}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h**Description**h]j)}(hj'Lh]h Description}(hj)LhhhNhNubah}(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.hhMhjKubj)}(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.}(hjALhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj=Lubah}(h]h ]h"]h$]h&]uh1jhjOLhMhjKubeh}(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}(hjvLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrLhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrLhhhjLhMubj3)}(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&]jPjQuh1j2hjrLhhhjLhMubj )}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j jLsbc.skb_queue_is_lastasbuh1hhjLubj")}(h h]h }(hj MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjMhhhNhNubah}(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}(hj?MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Mubj")}(h h]h }(hjLMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Mubj)}(hjh]hstruct}(hjZMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Mubj")}(h h]h }(hjgMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Mubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjxMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzMmodnameN classnameNj j )}j ]jMc.skb_queue_is_lastasbuh1hhj;Mubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Mubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;Mubj9)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrLhhhjLhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnLhhhjLhMubah}(h]jiLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhMhjkLhhubjg)}(hhh]jl)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjkLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhj" 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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjNh]hconst 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)}(h queue headh]h queue head}(hj5NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1NhMhj2Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj1NhMhjNubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjUNh]hconst struct sk_buff *skb}(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)}(hbufferh]hbuffer}(hjnNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjNhMhjkNubah}(h]h ]h"]h$]h&]uh1jhjONubeh}(h]h ]h"]h$]h&]uh1jhjjNhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjMubjl)}(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.hhMhjMubj)}(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&]uh1jhjNhMhjMubeh}(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}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhjNhMubj3)}(hskb_queue_is_firsth]j9)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhjNhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hj,OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(Oubj")}(h h]h }(hj9OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Oubj)}(hjh]hstruct}(hjGOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(Oubj")}(h h]h }(hjTOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Oubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjeOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgOmodnameN classnameNj j )}j ]j )}j jOsbc.skb_queue_is_firstasbuh1hhj(Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Oubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(Oubj9)}(hlisth]hlist}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Oubeh}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jOc.skb_queue_is_firstasbuh1hhjOubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hskbh]hskb}(hj+PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$Oubeh}(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)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjUPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRPhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmPjjmPjjjuh1hhhhj" 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)}(hjwPh]h Parameters}(hjyPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuPubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqPubj)}(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)}(hjPh]hconst struct sk_buff *skb}(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)}(hbufferh]hbuffer}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubeh}(h]h ]h"]h$]h&]uh1jhjqPubjl)}(h**Description**h]j)}(hj Qh]h Description}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqPubj)}(h8Returns true if **skb** is the first buffer on the list.h]jl)}(hj"Qh](hReturns true if }(hj$QhhhNhNubj)}(h**skb**h]hskb}(hj+QhhhNhNubah}(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.hhMhj Qubah}(h]h ]h"]h$]h&]uh1jhjCQhMhjqPubeh}(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}(hjjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjxQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfQhhhjwQhMubh)}(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_nextasbuh1hhjfQhhhjwQhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfQhhhjwQhMubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfQhhhjwQhMubj3)}(hskb_queue_nexth]j9)}(hjQh]hskb_queue_next}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfQhhhjwQhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hj RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jQc.skb_queue_nextasbuh1hhjQubj")}(h h]h }(hj;RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjIRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hlisth]hlist}(hjVRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjoRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkRubj")}(h h]h }(hj|RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkRubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkRubh)}(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_nextasbuh1hhjkRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkRubj9)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubeh}(h]h ]h"]h$]h&]jPjQuh1j hjfQhhhjwQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbQhhhjwQhMubah}(h]j]Qah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwQhMhj_Qhhubjg)}(hhh]jl)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjShhubah}(h]h ]h"]h$]h&]uh1jfhj_QhhhjwQhMubeh}(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)}(hj-Sh]h Parameters}(hj/ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Subah}(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)}(hjLSh]hconst struct sk_buff_head *list}(hjNShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFSubj)}(hhh]jl)}(h queue headh]h queue head}(hjeShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjaShMhjbSubah}(h]h ]h"]h$]h&]uh1jhjFSubeh}(h]h ]h"]h$]h&]uh1jhjaShMhjCSubj)}(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&]uh1jhjShMhjCSubeh}(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 }(hjShhhNhNubj)}(h**list**h]hlist}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh after }(hjShhhNhNubj)}(h**skb**h]hskb}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubhK. It is only valid to call this if skb_queue_is_last() evaluates to false.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubah}(h]h ]h"]h$]h&]uh1jhj ThMhj'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}(hj3ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjAThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/Thhhj@ThMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjRThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTTmodnameN classnameNj j )}j ]j )}j skb_queue_prevsbc.skb_queue_prevasbuh1hhj/Thhhj@ThMubj")}(h h]h }(hjsThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/Thhhj@ThMubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/Thhhj@ThMubj3)}(hskb_queue_prevh]j9)}(hjpTh]hskb_queue_prev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/Thhhj@ThMubj )}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]jnTc.skb_queue_prevasbuh1hhjTubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hlisth]hlist}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj8UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Uubj")}(h h]h }(hjEUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Uubj)}(hjh]hstruct}(hjSUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Uubj")}(h h]h }(hj`UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Uubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjqUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsUmodnameN classnameNj j )}j ]jnTc.skb_queue_prevasbuh1hhj4Uubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Uubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4Uubj9)}(hskbh]hskb}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/Thhhj@ThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+Thhhj@ThMubah}(h]j&Tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@ThMhj(Thhubjg)}(hhh]jl)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUhhubah}(h]h ]h"]h$]h&]uh1jfhj(Thhhj@ThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhj" 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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjVh]hconst struct sk_buff_head *list}(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)}(h queue headh]h queue head}(hj.VhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*VhMhj+Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj*VhMhj Vubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjNVh]hconst struct sk_buff *skb}(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)}(hcurrent bufferh]hcurrent buffer}(hjgVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcVhMhjdVubah}(h]h ]h"]h$]h&]uh1jhjHVubeh}(h]h ]h"]h$]h&]uh1jhjcVhMhj Vubeh}(h]h ]h"]h$]h&]uh1jhjUubjl)}(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.hhMhjUubj)}(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&]uh1jhjVhMhjUubeh}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhj WhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j skb_getsb c.skb_getasbuh1hhjVhhhj WhMubj")}(h h]h }(hjstruct sk_buff * __skb_peek (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}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!omodnameN classnameNj j )}j ]j )}j skb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhjohhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjAohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhj@ohMubj3)}(hskb_queue_len_locklessh]j9)}(hj=oh]hskb_queue_len_lockless}(hjSohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhj@ohMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjnohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjoubj")}(h h]h }(hj{ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjoubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjoubh)}(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;oc.skb_queue_len_locklessasbuh1hhjjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjoubj9)}(hlist_h]hlist_}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfoubah}(h]h ]h"]h$]h&]jPjQuh1j hjohhhj@ohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhj@ohMubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@ohMhjohhubjg)}(hhh]jl)}(hget queue lengthh]hget queue length}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjphhubah}(h]h ]h"]h$]h&]uh1jfhjohhhj@ohMubeh}(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)}(hj,ph]h Parameters}(hj.phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*pubah}(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)}(hjKph]h const struct sk_buff_head *list_}(hjMphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEpubj)}(hhh]jl)}(hlist to measureh]hlist to measure}(hjdphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`phMhjapubah}(h]h ]h"]h$]h&]uh1jhjEpubeh}(h]h ]h"]h$]h&]uh1jhj`phMhjBpubah}(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&]uh1jkhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjphMhj&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}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjqhMubj3)}(h__skb_queue_head_inith]j9)}(h__skb_queue_head_inith]h__skb_queue_head_init}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjqhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj5qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1qubj")}(h h]h }(hjBqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1qubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjSqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUqmodnameN classnameNj j )}j ]j )}j jqsbc.__skb_queue_head_initasbuh1hhj1qubj")}(h h]h }(hjsqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1qubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1qubj9)}(hlisth]hlist}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1qubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-qubah}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjqhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjqhMubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhMhjphhubjg)}(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&]uh1jfhjphhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj" 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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqubj)}(hhh]j)}(h2``struct sk_buff_head *list`` queue to initialize h](j)}(h``struct sk_buff_head *list``h]j)}(hjqh]hstruct sk_buff_head *list}(hjqhhhNhNubah}(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)}(hqueue to initializeh]hqueue to initialize}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubjl)}(h**Description**h]j)}(hj4rh]h Description}(hj6rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2rubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqubj)}(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.}(hjNrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjJrubah}(h]h ]h"]h$]h&]uh1jhj\rhMhjqubeh}(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 }(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)}(h sk_buff_headh]h sk_buff_head}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j jrsbc.skb_queue_spliceasbuh1hhjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hj'shhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hlisth]hlist}(hj4shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjMshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIsubj")}(h h]h }(hjZshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIsubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjkshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmsmodnameN classnameNj j )}j ]jsc.skb_queue_spliceasbuh1hhjIsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIsubj9)}(hheadh]hhead}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjrhM. ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{rhhhjrhM. ubah}(h]jvrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhM. hjxrhhubjg)}(hhh]jl)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. hjshhubah}(h]h ]h"]h$]h&]uh1jfhjxrhhhjrhM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj" 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)}(hjsh]h Parameters}(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.hhM2 hjsubj)}(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)}(hjth]hconst struct sk_buff_head *list}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj tubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ hj tubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hj(thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$thM/ hj%tubah}(h]h ]h"]h$]h&]uh1jhj tubeh}(h]h ]h"]h$]h&]uh1jhj$thM/ hjtubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjHth]hstruct sk_buff_head *head}(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.hhM1 hjBtubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjathhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hj^tubah}(h]h ]h"]h$]h&]uh1jhjBtubeh}(h]h ]h"]h$]h&]uh1jhj]thM1 hjtubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jtsbc.skb_queue_splice_initasbuh1hhjtubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hj+uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hlisth]hlist}(hj8uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjQuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMuubj")}(h h]h }(hj^uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMuubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjouhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjluubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqumodnameN classnameNj j )}j ]juc.skb_queue_splice_initasbuh1hhjMuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMuubj9)}(hheadh]hhead}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM< hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjthM< ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhj" 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)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjuubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjvh]hstruct sk_buff_head *list}(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= hj vubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hj,vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(vhM= hj)vubah}(h]h ]h"]h$]h&]uh1jhj vubeh}(h]h ]h"]h$]h&]uh1jhj(vhM= hj vubj)}(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)}(hjLvh]hstruct sk_buff_head *head}(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)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjavhM> hjbvubah}(h]h ]h"]h$]h&]uh1jhjFvubeh}(h]h ]h"]h$]h&]uh1jhjavhM> hj vubeh}(h]h ]h"]h$]h&]uh1jhjuubjl)}(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.hhM@ hjuubj)}(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? hjuubeh}(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}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjvhMM ubj3)}(hskb_queue_splice_tailh]j9)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjvhMM 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&]uh1jhj wubj")}(h h]h }(hj1whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj wubj)}(hjh]hstruct}(hj?whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj wubj")}(h h]h }(hjLwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj wubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj]whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_wmodnameN classnameNj j )}j ]j )}j j wsbc.skb_queue_splice_tailasbuh1hhj wubj")}(h h]h }(hj}whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj wubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj wubj9)}(hlisth]hlist}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(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}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jywc.skb_queue_splice_tailasbuh1hhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hheadh]hhead}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhjvhMM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjvhMM ubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMM hjvhhubjg)}(hhh]jl)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hj2xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM hj/xhhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjvhMM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJxjjJxjjjuh1hhhhj" 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)}(hjTxh]h Parameters}(hjVxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRxubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjNxubj)}(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)}(hjsxh]hconst struct sk_buff_head *list}(hjuxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN hjmxubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMN hjxubah}(h]h ]h"]h$]h&]uh1jhjmxubeh}(h]h ]h"]h$]h&]uh1jhjxhMN hjjxubj)}(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.hhMP 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.hhMO hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMP hjjxubeh}(h]h ]h"]h$]h&]uh1jhjNxubeh}(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}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhM[ 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&]jPjQuh1j2hjyhhhjyhM[ ubj )}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjCyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?yubj")}(h h]h }(hjPyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?yubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjayhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcymodnameN classnameNj j )}j ]j )}j j)ysbc.skb_queue_splice_tail_initasbuh1hhj?yubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?yubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?yubj9)}(hlisth]hlist}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;yubj )}(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}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j}yc.skb_queue_splice_tail_initasbuh1hhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hheadh]hhead}(hj zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;yubeh}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhjyhM[ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjyhM[ ubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhM[ hjxhhubjg)}(hhh]jl)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hj6zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hj3zhhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjyhM[ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNzjjNzjjjuh1hhhhj" 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)}(hjXzh]h Parameters}(hjZzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVzubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hjRzubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjwzh]hstruct sk_buff_head *list}(hjyzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjqzubj)}(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&]uh1jhjqzubeh}(h]h ]h"]h$]h&]uh1jhjzhM\ hjnzubj)}(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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM] hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM] hjnzubeh}(h]h ]h"]h$]h&]uh1jhjRzubjl)}(h**Description**h]j)}(hjzh]h Description}(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_ hjRzubj)}(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}(hj {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^ hjRzubeh}(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}(hjL{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm ubj")}(h h]h }(hj[{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH{hhhjZ{hMm ubj3)}(h__skb_queue_afterh]j9)}(h__skb_queue_afterh]h__skb_queue_after}(hjm{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjH{hhhjZ{hMm 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 jo{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}(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 }(hj7|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hjE|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hprevh]hprev}(hjR|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjk|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg|ubj")}(h h]h }(hjx|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjg|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_afterasbuh1hhjg|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjg|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjg|ubj9)}(hnewskh]hnewsk}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjH{hhhjZ{hMm ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjD{hhhjZ{hMm ubah}(h]j?{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZ{hMm hjA{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.hhMm hj|hhubah}(h]h ]h"]h$]h&]uh1jfhjA{hhhjZ{hMm 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)}(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.hhMq hj}ubj)}(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.hhMn hj'}ubj)}(hhh]jl)}(h list to useh]h list to use}(hjF}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB}hMn hjC}ubah}(h]h ]h"]h$]h&]uh1jhj'}ubeh}(h]h ]h"]h$]h&]uh1jhjB}hMn hj$}ubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hjf}h]hstruct sk_buff *prev}(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)}(hplace after this bufferh]hplace after this buffer}(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)}(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.hhMp hj}ubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(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$}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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj}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.hhMq 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.hhMt hj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hMq hj}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}(hj8~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjG~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4~hhhjF~hM ubj3)}(h__skb_queue_headh]j9)}(h__skb_queue_headh]h__skb_queue_head}(hjY~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4~hhhjF~hM ubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hju~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq~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_headasbuh1hhjq~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)}(hlisth]hlist}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjm~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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j~c.__skb_queue_headasbuh1hhj~ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hj1hhhNhNubah}(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 hjm~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4~hhhjF~hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0~hhhjF~hM ubah}(h]j+~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjF~hM hj-~hhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjehhubah}(h]h ]h"]h$]h&]uh1jfhj-~hhhjF~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}(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)}(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}(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&]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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3ubjl)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3ubeh}(h]h ]h"]h$]h&]uh1jhjEhM 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}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhV/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!hjwhhhjhM ubj3)}(h__skb_queue_tailh]j9)}(h__skb_queue_tailh]h__skb_queue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjhM 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 }(hjŀhhhNhNubah}(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&]uh1j8hjӀubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj؀modnameN classnameNj j )}j ]j )}j jsbc.__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)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](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)}(hsk_buffh]hsk_buff}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jc.__skb_queue_tailasbuh1hhj&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)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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&]uh1jfhjphhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÁjjÁjjjuh1hhhhj" 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)}(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*``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)}(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 hjubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubeh}(h]h ]h"]h$]h&]uh1jhjǁubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjǁubj)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjvubjl)}(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 hjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjǁubeh}(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 }(hĵhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj˂hM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj݂hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڂubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj߂modnameN classnameNj j )}j ]j )}j __skb_dequeuesbc.__skb_dequeueasbuh1hhjhhhj˂hM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj˂hM ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj˂hM ubj3)}(h __skb_dequeueh]j9)}(hjh]h __skb_dequeue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj˂hM ubj )}(h(struct sk_buff_head *list)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 ]jc.__skb_dequeueasbuh1hhj4ubj")}(h h]h }(hjthhhNhNubah}(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 hj0ubah}(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!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&]uh1jfhjhhhj˂hM 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)}(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)}(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&]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}(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)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjՃubj)}(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 }(hjOhhhNhNubj)}(h``NULL``h]hNULL}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh if the list is empty.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjKubah}(h]h ]h"]h$]h&]uh1jhjohM hjՃubeh}(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}(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_dequeue_tailsbc.__skb_dequeue_tailasbuh1hhjhhhjhM ubj")}(h h]h }(hjքhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h__skb_dequeue_tailh]j9)}(hjӄh]h__skb_dequeue_tail}(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&]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_dequeue_tailasbuh1hhj 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 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!remove from the tail of the queueh]h!remove from the tail 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&]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 hj̅ubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(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)}(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: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}(hj/hhhNhNubah}(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&]uh1jhjGhM 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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhV/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!hjjhhhj|hM ubj3)}(h skb_len_addh]j9)}(h skb_len_addh]h skb_len_add}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hM 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}(hjɆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƆubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjˆmodnameN classnameNj j )}j ]j )}j jsb c.skb_len_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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdeltah]hdelta}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj|hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj|hM ubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hM hjchhubjg)}(hhh]jl)}(h"adds a number to len fields of skbh]h"adds a number to len fields of skb}(hjchhhNhNubah}(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&]uh1jfhjchhhj|hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhj" 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)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to add len toh]hbuffer to add len to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int delta`` number of bytes to addh](j)}(h ``int delta``h]j)}(hj݇h]h int delta}(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)}(hnumber of bytes to addh]hnumber of bytes to add}(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&]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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$ ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjEhM$ ubj3)}(h__skb_fill_netmem_desch]j9)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhjEhM$ ubj )}(hB(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jZsbc.__skb_fill_netmem_descasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hskbh]hskb}(hj͈hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(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)}(hih]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hnetmem_ref netmemh](h)}(hhh]j9)}(h netmem_refh]h netmem_ref}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.__skb_fill_netmem_descasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnetmemh]hnetmem}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hint offh](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)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hint sizeh](jM )}(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 hjlubeh}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhjEhM$ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhjEhM$ ubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhM$ hj,hhubjg)}(hhh]jl)}(hinitialise a fragment in an skbh]hinitialise a fragment in an skb}(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,hhhjEhM$ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM% hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM% hjubj)}(h'``int i`` fragment index to initialise h](j)}(h ``int i``h]j)}(hjXh]hint i}(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)}(hfragment index to initialiseh]hfragment index to initialise}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM& hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM& hjubj)}(h:``netmem_ref netmem`` the netmem to use for this fragment h](j)}(h``netmem_ref netmem``h]j)}(hjh]hnetmem_ref netmem}(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 netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjʊh]hint off}(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 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&]uh1jkhjߊhM( hjubah}(h]h ]h"]h$]h&]uh1jhjĊubeh}(h]h ]h"]h$]h&]uh1jhjߊhM( hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjh]hint 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.hhM) hj ubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM) hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM) hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ hjubjl)}(hpInitialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**.h](hInitialises the }(hjbhhhNhNubj)}(h**i**h]hi}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh’th fragment of }(hjbhhhNhNubj)}(h**skb**h]hskb}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh to point to }(hjbhhhNhNubh)}(h:c:type:`size`h]j)}(hjh]hsize}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjbubh bytes at offset }(hjbhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh within }(hjbhhhNhNubj)}(h**page**h]hpage}(hjċhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM* hjubjl)}(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.hhM- hjubeh}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMX ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMX ubj3)}(hskb_fill_page_desch]j9)}(hskb_fill_page_desch]hskb_fill_page_desc}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMX ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.skb_fill_page_descasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(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)}(hjh]hi}(hj֌hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hstruct page *pageh](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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_fill_page_descasbuh1hhjubj")}(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)}(hpageh]hpage}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hint offh](jM )}(hinth]hint}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(hoffh]hoff}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hint sizeh](jM )}(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 hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMX ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMX ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMX hjhhubjg)}(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.hhMX hj֍hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMX ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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.hhMY hjubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMY hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMY hjubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjSh]hint i}(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"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMZ hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMZ hjubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjh]hstruct 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 to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[ hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjŎh]hint off}(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 offset to the data with **page**h](hthe offset to the data with }(hjގhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(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\ hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hj h]hint size}(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.hhM] hjubj)}(hhh]jl)}(hthe length of the datah]hthe length of the 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)}(hjGh]h Description}(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_ hjubjl)}(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 }(hj]hhhNhNubj)}(h**i**h]hi}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh’th fragment of }(hj]hhhNhNubj)}(h**skb**h]hskb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh to point to }(hj]hhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh bytes at offset }(hj]hhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh within }(hj]hhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh. In addition updates }(hj]hhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh such that }(hj]hhhNhNubj)}(h**i**h]hi}(hjяhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh is the last fragment.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjubjl)}(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.hhMb hjubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hMm ubj3)}(hskb_fill_page_desc_noacch]j9)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hMm ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)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_fill_page_desc_noaccasbuh1hhjRubj")}(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 )}(hint ih](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)}(hjh]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĐubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hstruct page *pageh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_fill_page_desc_noaccasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpageh]hpage}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hint offh](jM )}(hinth]hint}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hint sizeh](jM )}(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 hjNubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj'hMm ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj'hMm ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMm hjhhubjg)}(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.hhMm hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj'hMm ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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:17: ./include/linux/skbuff.hhMq hjubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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.hhMn hj"ubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMn hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMn hjubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjah]hint i}(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"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMo hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMo hjubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjh]hstruct 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.hhMp hjubj)}(hhh]jl)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjӒh]hint off}(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 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&]uh1jkhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhj͒ubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjh]hint 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.hhMr hjubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMr hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMr hjubeh}(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:17: ./include/linux/skbuff.hhMt hjubjl)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMs hjubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMP ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMP ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMP ubj")}(h h]h }(hjœhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMP ubj3)}(h skb_headroomh]j9)}(h skb_headroomh]h skb_headroom}(hjדhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӓubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMP 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_headroomasbuh1hhjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMP ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMP ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMP hjhhubjg)}(hhh]jl)}(hbytes at buffer headh]hbytes at buffer head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMP hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMP 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.hhMT 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.hhMQ hj̔ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQ hjubah}(h]h ]h"]h$]h&]uh1jhj̔ubeh}(h]h ]h"]h$]h&]uh1jhjhMQ hjɔ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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMS 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)}(hj0h]hsk_buff}(hj2hhhNhNubah}(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.hhMR hj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjMhMR hj#ubah}(h]h ]h"]h$]h&]uh1jhjMhMR 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}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhV/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!hjzhhhjhM[ ubj3)}(h skb_tailroomh]j9)}(h skb_tailroomh]h skb_tailroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhM[ 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 }(hjȕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj֕hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_tailroomasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjhM[ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhM[ ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM[ hjshhubjg)}(hhh]jl)}(hbytes at buffer endh]hbytes at buffer end}(hjYhhhNhNubah}(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&]uh1jfhjshhhjhM[ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj" 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)}(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.hhM_ hjuubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer 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.hhM\ hjubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(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**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^ hjuubj)}(hBReturn the number of bytes of free space at the tail of an sk_buffh]jl)}(hjh]hBReturn the number of bytes of free space at the tail of an sk_buff}(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] hjuubeh}(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 hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMf ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMf ubj3)}(h skb_availroomh]j9)}(h skb_availroomh]h skb_availroom}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMf 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 }(hjmhhhNhNubah}(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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.skb_availroomasbuh1hhj\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 hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hMf ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hMf ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMf 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.hhMf hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hMf 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_buff allocated by sk_stream_alloc()h](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:17: ./include/linux/skbuff.hhMj 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}(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.hhMg hj9ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMg hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMg hj6ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMi hjubj)}(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()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMh hjubah}(h]h ]h"]h$]h&]uh1jhjhMh hjubeh}(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}(hjɘhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjŘhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMu ubj")}(h h]h }(hjؘhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjŘhhhjטhMu ubj3)}(h skb_reserveh]j9)}(h skb_reserveh]h skb_reserve}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjŘhhhjטhMu ubj )}(h(struct sk_buff *skb, 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}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsb c.skb_reserveasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(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 )}(hint lenh](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjŘhhhjטhMu ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjטhMu ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjטhMu 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.hhMu hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjטhMu ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj֙jj֙jjjuh1hhhhj" 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&]uh1jhjޙubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMy hjڙubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMv hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMv hjubj)}(h``int len`` bytes to move h](j)}(h ``int len``h]j)}(hj8h]hint len}(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)}(h bytes to moveh]h bytes to move}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMw hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMw hjubeh}(h]h ]h"]h$]h&]uh1jhjڙubjl)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMy hjڙubj)}(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 }(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.hhMx hjubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMx hjubah}(h]h ]h"]h$]h&]uh1jhjhMx hjڙubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hskb_tailroom_reserveh]j9)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM 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&]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 reftargetjBmodnameN classnameNj j )}j ]j )}j jsbc.skb_tailroom_reserveasbuh1hhjubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int mtuh](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)}(hmtuh]hmtu}(hj̛hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int needed_tailroomh](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)}(hneeded_tailroomh]hneeded_tailroom}(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 jYjZhjݚhhhjhM ubah}(h]jؚah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjښhhubjg)}(hhh]jl)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjښhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj" 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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjcubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hjh]hunsigned int mtu}(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#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(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)}(hE``unsigned int needed_tailroom`` minimum amount of reserved_tailroom h](j)}(h ``unsigned int needed_tailroom``h]j)}(hjh]hunsigned int needed_tailroom}(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#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjcubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjKubah}(h]h ]h"]h$]h&]uh1jhj]hM hjcubeh}(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 )}(hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj=hM ubh)}(hhh]j9)}(hpageh]hpage}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhj,hhhj=hM ubj")}(h h]h }(hjphhhNhNubah}(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__dev_alloc_pagesh]j9)}(hjmh]h__dev_alloc_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj=hM 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 ]jkc.__dev_alloc_pagesasbuh1hhjubj")}(h h]h }(hj˫hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hj٫hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int orderh](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)}(horderh]horder}(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 jYjZhj(hhhj=hM ubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM hj%hhubjg)}(hhh]jl)}(hallocate page for network Rxh]hallocate page for network Rx}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjQhhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj" 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)}(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.hhM hjpubj)}(hhh](j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hjάh]hunsigned int order}(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)}(hsize of the allocationh]hsize of the allocation}(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&]uh1jhjpubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubjl)}(hAllocate a new page.h]hAllocate a new page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh( is returned if there is no free memory.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubeh}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjxhMubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjghhhjxhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjxhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjghhhjxhMubj3)}(h__dev_alloc_pageh]j9)}(hjh]h__dev_alloc_page}(hjʭhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƭubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjxhMubj )}(h(gfp_t gfp_mask)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_pageasbuh1hhjubj")}(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 hjݭubah}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjxhMubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMhj`hhubjg)}(hhh]jl)}(hallocate a page for network Rxh]hallocate a page 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&]uh1jfhj`hhhjxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjyubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubjl)}(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.hhMhjZubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߮ubh( is returned if there is no free memory.}(hj߮hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_page_is_reusable (C function)c.dev_page_is_reusablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool dev_page_is_reusable (const struct page *page)h]j )}(h2bool dev_page_is_reusable(const struct page *page)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj)hMubj3)}(hdev_page_is_reusableh]j9)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj)hMubj )}(h(const struct page *page)h]j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(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.dev_page_is_reusableasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hpageh]hpage}(hj̯hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(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)}(h1check whether a page can be reused for network Rxh]h1check whether a page can be reused for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX"**Parameters** ``const struct page *page`` the page to test **Description** A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node. **Return** false if this page should be returned to page allocator, true otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h-``const struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hj7h]hconst struct page *page}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh]jl)}(hthe page to testh]hthe page to test}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(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.hhMhjubjl)}(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)}(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 hjubeh}(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}(hjްhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjڰhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjڰhhhjhM*ubj3)}(hskb_propagate_pfmemalloch]j9)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjڰhhhjhM*ubj )}(h.(const struct page *page, struct sk_buff *skb)h](j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsbc.skb_propagate_pfmemallocasbuh1hhjubj")}(h h]h }(hjthhhNhNubah}(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 hjubj )}(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 ]jpc.skb_propagate_pfmemallocasbuh1hhjubj")}(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 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)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(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&]jjjjAjjAjjjuh1hhhhj" 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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjEubj)}(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)}(hjjh]hconst struct page *page}(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)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjaubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjaubeh}(h]h ]h"]h$]h&]uh1jhjEubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM6ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj hM6ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM6ubj3)}(h skb_frag_offh]j9)}(h skb_frag_offh]h skb_frag_off}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM6ubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j j<sbc.skb_frag_offasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hM6ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM6hjhhubjg)}(hhh]jl)}(h$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(hjٳhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjֳhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h?**Parameters** ``const skb_frag_t *frag`` the paged fragmenth](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 skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhV/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!hjphhhjhM?ubj3)}(hskb_frag_off_addh]j9)}(hskb_frag_off_addh]hskb_frag_off_add}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhM?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 jsbc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdeltah]hdelta}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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)}(h4Increments the offset of a skb fragment by **delta**h](h+Increments the offset of a skb fragment by }(hjNhhhNhNubj)}(h **delta**h]hdelta}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjKhhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" hNhNubj)}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChjxubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hjֵh]h int delta}(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)}(h value to addh]h value to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjubah}(h]h ]h"]h$]h&]uh1jhjеubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(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 )}(hhMIubj3)}(hskb_frag_off_seth]j9)}(hskb_frag_off_seth]hskb_frag_off_set}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj>hMIubj )}(h'(skb_frag_t *frag, unsigned int offset)h](j )}(hskb_frag_t *fragh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j jSsbc.skb_frag_off_setasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hunsigned int offseth](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}(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 hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj>hMIubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj>hMIubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMIhj%hhubjg)}(hhh]jl)}(h!Sets the offset of a skb fragmenth]h!Sets the offset of a skb fragment}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj#hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj>hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(ha**Parameters** ``skb_frag_t *frag`` skb fragment ``unsigned int offset`` offset of fragmenth](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.hhMMhjBubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjgh]hskb_frag_t *frag}(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.hhMJhjaubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMJhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMJhj^ubj)}(h*``unsigned int offset`` offset of fragmenth](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhjubj)}(hhh]jl)}(hoffset of fragmenth]hoffset of fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_copy (C function)c.skb_frag_off_copyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hGvoid skb_frag_off_copy (skb_frag_t *fragto, const skb_frag_t *fragfrom)h]j )}(hFvoid skb_frag_off_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.hhMSubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMSubj3)}(hskb_frag_off_copyh]j9)}(hskb_frag_off_copyh]hskb_frag_off_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMSubj )}(h0(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j )}(hskb_frag_t *fragtoh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j jsbc.skb_frag_off_copyasbuh1hhj3ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hfragtoh]hfragto}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hconst skb_frag_t *fragfromh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jVc.skb_frag_off_copyasbuh1hhjubj")}(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)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(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)}(h7Sets the offset of a skb fragment from another fragmenth]h7Sets the offset of a skb fragment from another fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``skb_frag_t *fragto`` skb fragment where offset is set ``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.hhMWhj+ubj)}(hhh](j)}(h8``skb_frag_t *fragto`` skb fragment where offset is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjPh]hskb_frag_t *fragto}(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.hhMThjJubj)}(hhh]jl)}(h skb fragment where offset is seth]h skb fragment where offset is set}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMThjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMThjGubj)}(hA``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjh]hconst skb_frag_t *fragfrom}(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.hhMVhjubj)}(hhh]jl)}(h"skb fragment offset is copied fromh]h"skb fragment offset is copied from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_net_iov (C function)c.skb_frag_net_iovhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct net_iov * skb_frag_net_iov (const skb_frag_t *frag)h]j )}(h8struct net_iov *skb_frag_net_iov(const skb_frag_t *frag)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj߹hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj߹hhhjhMdubh)}(hhh]j9)}(hnet_iovh]hnet_iov}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_net_iovsbc.skb_frag_net_iovasbuh1hhj߹hhhjhMdubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj߹hhhjhMdubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj߹hhhjhMdubj3)}(hskb_frag_net_iovh]j9)}(hj h]hskb_frag_net_iov}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj߹hhhjhMdubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]jc.skb_frag_net_iovasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubah}(h]h ]h"]h$]h&]jPjQuh1j hj߹hhhjhMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj۹hhhjhMdubah}(h]jֹah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMdhjعhhubjg)}(hhh]jl)}(h,retrieve the net_iov referred to by fragmenth]h,retrieve the net_iov referred to by fragment}(hj޺hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhjۺhhubah}(h]h ]h"]h$]h&]uh1jfhjعhhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.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.hhMhhjubj)}(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}(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.hhMehjubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMehj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMehjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjZh]hReturn}(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.hhMghjubjl)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjphhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hjzh]hstruct net_iov}(hj|hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghjpubh associated with }(hjphhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh6. Returns NULL if this frag has no associated net_iov.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMghjubeh}(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.hhMsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjлhhhjhMsubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_pagesbc.skb_frag_pageasbuh1hhjлhhhjhMsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjлhhhjhMsubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjлhhhjhMsubj3)}(h skb_frag_pageh]j9)}(hjh]h skb_frag_page}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjлhhhjhMsubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]jc.skb_frag_pageasbuh1hhjJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubah}(h]h ]h"]h$]h&]jPjQuh1j hjлhhhjhMsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj̻hhhjhMsubah}(h]jǻah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMshjɻhhubjg)}(hhh]jl)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hjϼhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshj̼hhubah}(h]h ]h"]h$]h&]uh1jfhjɻhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged 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.hhMthj ubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMthj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMthjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjKh]hReturn}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjubjl)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjahhhNhNubh)}(h:c:type:`struct page `h]j)}(hjkh]h struct page}(hjmhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjaubh associated with }(hjahhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh3. Returns NULL if this frag has no associated page.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMvhjubeh}(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}(hjȽhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŽubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʽmodnameN 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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_frag_netmemh]j9)}(hjh]hskb_frag_netmem}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jc.skb_frag_netmemasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjnhhhNhNubah}(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-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(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)}(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)}(h the fragmenth]h the fragment}(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 **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)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hj*hhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hj4h]h netmem_ref}(hj6hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubh associated with }(hj*hhhNhNubj)}(h**frag**h]hfrag}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_address (C function)c.skb_frag_addresshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0void * skb_frag_address (const skb_frag_t *frag)h]j )}(h.void *skb_frag_address(const skb_frag_t *frag)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_frag_addressh]j9)}(hskb_frag_addressh]hskb_frag_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(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 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_addressasbuh1hhjԿ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)}(hfragh]hfrag}(hj1hhhNhNubah}(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:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj" 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)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjwubj)}(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&]uh1jhjwubjl)}(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.hhMhjwubjl)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh". The page must already be mapped.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjwubeh}(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}(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*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*hhhj<hMubj3)}(hskb_frag_address_safeh]j9)}(hskb_frag_address_safeh]hskb_frag_address_safe}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(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_address_safeasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubah}(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: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&]uh1jfhj#hhhj<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**. Checks that the page is mapped and returns ``NULL`` otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(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.hhMhj6ubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjwh]hReturn}(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.hhMhjubjl)}(hgthe address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Checks that the page is mapped and returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_phys (C function)c.skb_frag_physhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2phys_addr_t skb_frag_phys (const skb_frag_t *frag)h]j )}(h1phys_addr_t skb_frag_phys(const skb_frag_t *frag)h](h)}(hhh]j9)}(h phys_addr_th]h phys_addr_t}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_frag_physh]j9)}(hjh]h skb_frag_phys}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jc.skb_frag_physasbuh1hhj.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)}(hfragh]hfrag}(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)}(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&]uh1jfhjhhhjhMubeh}(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&]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}(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 **Return**h]j)}(hj/h]hReturn}(hj1hhhNhNubah}(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)}(h1the physical address of the data within **frag**.h](h(the physical address of the data within }(hjEhhhNhNubj)}(h**frag**h]hfrag}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh.}(hjEhhhNhNubeh}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragtoh]hfragto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst skb_frag_t *fragfromh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jc.skb_frag_page_copyasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragfromh]hfragfrom}(hjqhhhNhNubah}(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]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj{hhubjg)}(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&]uh1jfhj{hhhjhMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjh]hconst skb_frag_t *fragfrom}(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 fragment page is copied fromh]h skb fragment page is copied from}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubeh}(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}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j __skb_frag_dma_mapsbc.__skb_frag_dma_mapasbuh1hhjkhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhjhMubj3)}(h__skb_frag_dma_maph]j9)}(hjh]h__skb_frag_dma_map}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhjhMubj )}(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 }(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 skb_frag_t *fragh](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-ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhj-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)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t sizeh](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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum dma_data_direction dirh](j)}(hjh]henum}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(hdma_data_directionh]hdma_data_direction}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhj-ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj9)}(hdirh]hdir}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjhMubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjdhhubjg)}(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&]uh1jfhjdhhhjhMubeh}(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}(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 device to map the fragment toh]h!the device to map the fragment to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(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)}(hthe paged fragment to maph]hthe paged fragment to map}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjXh]h size_t offset}(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)}(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)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(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_*}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hj.hhhNhNubj)}(h**frag**h]hfrag}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh to }(hj.hhhNhNubj)}(h **device**h]hdevice}(hjHhhhNhNubah}(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_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 hj}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhM ubj3)}(hskb_clone_writableh]j9)}(hskb_clone_writableh]hskb_clone_writable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhM 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_clone_writableasbuh1hhjubj")}(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 )}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjuhhhNhNubah}(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 hj}hhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhM ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjvhhubjg)}(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&]uh1jfhjvhhhjhM 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h.``const struct sk_buff *skb`` buffer to 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.hhM hjubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``unsigned int len`` length up to which to write 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj!ubj)}(hhh]jl)}(hlength up to which to writeh]hlength up to which to write}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hjubeh}(h]h ]h"]h$]h&]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.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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjxubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(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}(hjhhhNhNubah}(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}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_cowasbuh1hhjubj")}(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}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int headroomh](jM )}(hunsignedh]hunsigned}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubjM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(hheadroomh]hheadroom}(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)}(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.hhM1hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow 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)}(h buffer to cowh]h buffer to cow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hj<h]hunsigned int headroom}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj6ubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM/hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM/hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(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.hhM0hjubjl)}(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.hhM4hjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubeh}(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 )}(hubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM>ubj3)}(h skb_cow_headh]j9)}(h skb_cow_headh]h skb_cow_head}(hjhhhNhNubah}(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 }(hj1hhhNhNubah}(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 )}j j sbc.skb_cow_headasbuh1hhj ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjphhhNhNubah}(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 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)skb_cow but only making the head writableh]h)skb_cow but only making the head 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)}(hXS**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** This function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.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.hhMBhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(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.hhM?hj3ubj)}(hhh]jl)}(h buffer to cowh]h buffer to cow}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM?hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM?hj0ubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjrh]hunsigned int headroom}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjlubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj0ubeh}(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.hhMBhjubj)}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]jl)}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjubah}(h]h ]h"]h$]h&]uh1jhjhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_padto (C function) c.skb_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5int skb_padto (struct sk_buff *skb, unsigned int len)h]j )}(h4int skb_padto(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMMubj3)}(h skb_padtoh]j9)}(h skb_padtoh]h skb_padto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMMubj )}(h'(struct sk_buff *skb, unsigned int len)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 ]j )}j jsb c.skb_padtoasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(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 hj1ubj )}(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 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)}(h"pad an skbuff up to a minimal sizeh]h"pad an skbuff up to a minimal size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhj" hNhNubj)}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jl)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhj)ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjHubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMNhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMNhjEubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhjubj)}(hhh]jl)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjEubeh}(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.hhMQhj)ubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjubah}(h]h ]h"]h$]h&]uh1jhjhMPhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_put_padto (C function)c.__skb_put_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint __skb_put_padto (struct sk_buff *skb, unsigned int len, bool free_on_error)h]j )}(hNint __skb_put_padto(struct sk_buff *skb, unsigned int len, bool free_on_error)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhM_ubj3)}(h__skb_put_padtoh]j9)}(h__skb_put_padtoh]h__skb_put_padto}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhM_ubj )}(h;(struct sk_buff *skb, unsigned int len, bool free_on_error)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j )}j j4sbc.__skb_put_padtoasbuh1hhjJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubj )}(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 hjFubj )}(hbool free_on_errorh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h free_on_errorh]h free_on_error}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhM_ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhjhM_ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM_hjhhubjg)}(hhh]jl)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hjShhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length ``bool free_on_error`` free buffer on error **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchjrubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`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$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjubj)}(hhh]jl)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hj h]hbool free_on_error}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhjubj)}(hhh]jl)}(hfree buffer on errorh]hfree buffer on error}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhjrubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if }(hj^hhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh is true.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchjZubah}(h]h ]h"]h$]h&]uh1jhj~hMchjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put_padto (C function)c.skb_put_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(h9int skb_put_padto (struct sk_buff *skb, unsigned int len)h]j )}(h8int skb_put_padto(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubj3)}(h skb_put_padtoh]j9)}(h skb_put_padtoh]h skb_put_padto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_put_padtoasbuh1hhjubj")}(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 )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubjM )}(hinth]hint}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMyubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMyhjhhubjg)}(hhh]jl)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhjubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMzhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMzhjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hj0h]hunsigned int len}(hj2hhhNhNubah}(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)}(hminimal lengthh]hminimal length}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM{hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM{hjubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hjubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjubah}(h]h ]h"]h$]h&]uh1jhjhM|hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize (C function)c.skb_linearizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'int skb_linearize (struct sk_buff *skb)h]j )}(h&int skb_linearize(struct sk_buff *skb)h](jM )}(hinth]hint}(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_linearizeh]j9)}(h skb_linearizeh]h skb_linearize}(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 jsbc.skb_linearizeasbuh1hhjubj")}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hconvert paged skb to linear oneh]hconvert paged skb to linear one}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to linarize **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h+``struct sk_buff *skb`` buffer to linarize h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to linarizeh]hbuffer to linarize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jl)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_has_shared_frag (C function)c.skb_has_shared_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4bool skb_has_shared_frag (const struct sk_buff *skb)h]j )}(h3bool skb_has_shared_frag(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjRhMubj3)}(hskb_has_shared_fragh]j9)}(hskb_has_shared_fragh]hskb_has_shared_frag}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjRhMubj )}(h(const struct sk_buff *skb)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 )}j jgsbc.skb_has_shared_fragasbuh1hhj}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 hjyubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjRhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhjRhMubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMhj:hhubjg)}(hhh]jl)}(hcan any frag be overwrittenh]hcan any frag be overwritten}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to test **Return** true if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj;ubj)}(hhh]j)}(h-``const struct sk_buff *skb`` buffer to test h](j)}(h``const struct sk_buff *skb``h]j)}(hj`h]hconst struct sk_buff *skb}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh]jl)}(hbuffer to testh]hbuffer to test}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h **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.hhMhj;ubjl)}(hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h]hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize_cow (C function)c.skb_linearize_cowhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h+int skb_linearize_cow (struct sk_buff *skb)h]j )}(h*int skb_linearize_cow(struct sk_buff *skb)h](jM )}(hinth]hint}(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_linearize_cowh]j9)}(hskb_linearize_cowh]hskb_linearize_cow}(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 }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jsbc.skb_linearize_cowasbuh1hhjubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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$make sure skb is linear and writableh]h$make sure skb is linear and writable}(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** ``struct sk_buff *skb`` buffer to process **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to 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)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jl)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubah}(h]h ]h"]h$]h&]uh1jhjDhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_postpull_rcsum (C function)c.skb_postpull_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_postpull_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]j )}(hQvoid skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](jM )}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjyhMubj3)}(hskb_postpull_rcsumh]j9)}(hskb_postpull_rcsumh]hskb_postpull_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjyhMubj )}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_rcsumasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst void *starth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstarth]hstart}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(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+update checksum for received skb after pullh]h+update checksum for received skb after 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&]uh1jfhj`hhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXr**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data before pull ``unsigned int len`` length of data pulled **Description** After doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h0``const void *start`` start of data before pull h](j)}(h``const void *start``h]j)}(hjSh]hconst void *start}(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)}(hstart of data before pullh]hstart of data before pull}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]jl)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.}(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_postpush_rcsum (C function)c.skb_postpush_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_postpush_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]j )}(hQvoid skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(hskb_postpush_rcsumh]j9)}(hskb_postpush_rcsumh]hskb_postpush_rcsum}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j )}(hstruct sk_buff *skbh](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 )}j j9sbc.skb_postpush_rcsumasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hconst void *starth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstarth]hstart}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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+update checksum for received skb after pushh]h+update checksum for received skb after push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data after push ``unsigned int len`` length of data pushed **Description** After doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``const void *start`` start of data after push h](j)}(h``const void *start``h]j)}(hjh]hconst void *start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hstart of data after pushh]hstart of data after push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int len`` length of data pushed h](j)}(h``unsigned int len``h]j)}(hj7h]hunsigned int len}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh]jl)}(hlength of data pushedh]hlength of data pushed}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]jl)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push_rcsum (C function)c.skb_push_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void * skb_push_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h;void *skb_push_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_push_rcsumh]j9)}(hskb_push_rcsumh]hskb_push_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j )}j jsbc.skb_push_rcsumasbuh1hhjubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjdhhhNhNubah}(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 hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(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$push skb and update receive checksumh]h$push skb and update receive checksum}(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`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jl)}(h**Parameters**h]j)}(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 update 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjYh]hunsigned int len}(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)}(hlength of data pulledh]hlength of data pulled}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubeh}(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)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jl)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_trim_rcsum (C function)c.pskb_trim_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h;int pskb_trim_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h:int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(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)}(hpskb_trim_rcsumh]j9)}(hpskb_trim_rcsumh]hpskb_trim_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jsbc.pskb_trim_rcsumasbuh1hhjubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjyhhhNhNubah}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%trim received skb and update checksumh]h%trim received skb and update checksum}(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&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to trim ``unsigned int len`` new length **Description** This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to trim h](j)}(h``struct sk_buff *skb``h]j)}(hj5h]hstruct sk_buff *skb}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubj)}(hhh]jl)}(hbuffer to trimh]hbuffer to trim}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjnh]hunsigned int len}(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 new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]jl)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.}(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](h skb_needs_linearize (C function)c.skb_needs_linearizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hJbool skb_needs_linearize (struct sk_buff *skb, netdev_features_t features)h]j )}(hIbool skb_needs_linearize(struct sk_buff *skb, netdev_features_t features)h](jM )}(hjh]hbool}(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_needs_linearizeh]j9)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h1(struct sk_buff *skb, netdev_features_t features)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(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 jsbc.skb_needs_linearizeasbuh1hhj0ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(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 ]jnc.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 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)}(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.}(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`` 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)}(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:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h/``struct sk_buff *skb`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hj@h]hstruct sk_buff *skb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubj)}(hhh]jl)}(hsocket buffer to checkh]hsocket buffer to check}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h3``netdev_features_t features`` net device features h](j)}(h``netdev_features_t features``h]j)}(hjyh]hnetdev_features_t features}(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)}(hnet device featuresh]hnet device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]jl)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]hReturns true if either: 1. skb has frag_list and the device doesn’t support FRAGLIST, or 2. skb is fragmented and the device does not support SG.}(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_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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM5ubj3)}(hskb_get_timestamph]j9)}(hskb_get_timestamph]hskb_get_timestamp}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM5ubj )}(h?(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j )}(hconst struct sk_buff *skbh](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<ubj)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j j&sbc.skb_get_timestampasbuh1hhj<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 hj8ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_get_timestampasbuh1hhjubj")}(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)}(hstamph]hstamp}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM5ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM5ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM5hjhhubjg)}(hhh]jl)}(hget timestamp from a skbh]hget timestamp from a skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj" 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)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjjubj)}(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.hhM6hjubj)}(hhh]jl)}(hskb to get stamp fromh]hskb to get stamp from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.hhM7hjubj)}(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&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubeh}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjjubj)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]jl)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjubah}(h]h ]h"]h$]h&]uh1jhj+hM8hjjubeh}(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}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj`hMubj3)}(h skb_data_moveh]j9)}(h skb_data_moveh]h skb_data_move}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hMubj )}(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 jusbc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const int lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hunsignedh]hunsigned}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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=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&]uh1jfhjGhhhj`hMubeh}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(hZ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` h](j)}(h``const int len``h]j)}(hjGh]h const int len}(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)}(hGnumber of bytes pushed or pulled from :c:type:`sk_buff->data `h](h&number of bytes pushed or pulled from }(hj`hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjjh]h sk_buff->data}(hjlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj\hMhj`ubeh}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hMMoves **n** bytes of packet data, can be zero, and all bytes of skb metadata.h](hMoves }(hjhhhNhNubj)}(h**n**h]hn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB bytes of packet data, can be zero, and all bytes of skb metadata.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(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 }(hj0hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj:h]h sk_buff->data}(hj<hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0ubh 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.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjWhMhjubjl)}(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.}(hjbhhhNhNubah}(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_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_data_moveasbuh1hhjubj")}(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}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubjM )}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubjM )}(hinth]hint}(hjwhhhNhNubah}(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}(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 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().}(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&]uh1jfhjhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj" hNhNubj)}(hX6**Parameters** ``struct sk_buff *skb`` packet to operate on ``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jl)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjDubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hjcubj)}(h hh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hM+hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM+hj`ubj)}(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,hj`ubj)}(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)}(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.hhM-hjubj)}(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 }(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-hj`ubeh}(h]h ]h"]h$]h&]uh1jhjDubjl)}(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:17: ./include/linux/skbuff.hhM/hjDubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_postpush_data_moveasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubjM )}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(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 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().}(hj0hhhNhNubah}(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&]jjjjHjjHjjjuh1hhhhj" 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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjLubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjqh]hstruct sk_buff *skb}(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.hhM;hjkubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjhubj)}(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<hjhubj)}(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)}(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.hhM=hjubj)}(hhh]jl)}(hLnumber of bytes to memmove() from pre-push :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-push }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(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_buffuh1hhjhM=hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjhubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjLubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjLubeh}(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 }(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_complete_tx_timestampasbuh1hhjubj")}(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}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](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)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]jc.skb_complete_tx_timestampasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(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}(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)}(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)}(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.hhMbhjubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj ubj)}(hhh]jl)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMehj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMehj ubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjKh]h&struct skb_shared_hwtstamps *hwtstamps}(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)}(hhardware time stampsh]hhardware time stamps}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMfhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMfhj 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.hhMhhjubjl)}(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_hjubeh}(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.hhMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMqubj3)}(h skb_tstamp_txh]j9)}(h skb_tstamp_txh]h skb_tstamp_tx}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMqubj )}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *orig_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_tstamp_txasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(horig_skbh]horig_skb}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(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 ]jBc.skb_tstamp_txasbuh1hhjvubj")}(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 hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMqhjhhubjg)}(hhh]jl)}(h(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *orig_skb`` the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available **Description** If the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hj<h]hstruct sk_buff *orig_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.hhMrhj6ubj)}(hhh]jl)}(hthe original outgoing packeth]hthe original outgoing packet}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMrhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMrhj3ubj)}(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)}(hjuh]h&struct skb_shared_hwtstamps *hwtstamps}(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)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMshj3ubeh}(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.hhMuhjubjl)}(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.hhMthjubeh}(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}(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_tx_timestamph]j9)}(hskb_tx_timestamph]hskb_tx_timestamp}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j jsbc.skb_tx_timestampasbuh1hhj.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)}(hskbh]hskb}(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%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&]uh1jfhjhhhjhMubeh}(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.hhMhjubj)}(hhh]j)}(h)``struct sk_buff *skb`` A socket 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hA socket buffer.h]hA socket buffer.}(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)}(hj1h]h Description}(hj3hhhNhNubah}(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)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(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.}(hjVhhhNhNubah}(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_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)}(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.hhMhj<ubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process 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.hhMhj[ubj)}(hhh]jl)}(hpacket to processh]hpacket to process}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubj)}(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&]uh1jhjhMhj<ubeh}(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}(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_exth]j9)}(hjh]hskb_ext}(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)}(hsk_buff extensionsh]hsk_buff extensions}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjTjjTjjjuh1hhhhj" 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}(hj`hhhNhNubah}(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.hhMhjXubj)}(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[]; };}hjysbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXubjl)}(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.hhMhjXubj)}(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 }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to obtain extension address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hj-h]hchunks}(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=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT unitsh]h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjfh]hdata}(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'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.hhMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(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)}(hhead 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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h]hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjVhKubj3)}(h sock_commonh]j9)}(hjCh]h sock_common}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjVhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjVhKubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhKhj>hhubjg)}(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&]uh1jfhj>hhhjVhKubeh}(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)}(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&]uh1jkhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hj1h]h skc_addrpair}(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.hhKshj+ubj)}(hhh]jl)}(h?8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr**h](h8-byte-aligned __u64 union of }(hjJhhhNhNubj)}(h **skc_daddr**h]h skc_daddr}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh & }(hjJhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jkhjFhKshjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKshjubj)}(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&]uh1jhjhKhjubj)}(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&]uh1jhjhKqhjubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjh]h skc_rcv_saddr}(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.hhKrhjubj)}(hhh]jl)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj5h]h{unnamed_union}}(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.hhKhj/ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKhjubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjnh]hskc_hash}(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.hhKthjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKthjubj)}(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&]uh1jhjhKuhjubj)}(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<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjh]h skc_portpair}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKxhjubj)}(hhh]jl)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hj2hhhNhNubj)}(h **skc_dport**h]h skc_dport}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh & }(hj2hhhNhNubj)}(h **skc_num**h]hskc_num}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jkhj.hKxhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hKxhjubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.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)}(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&]uh1jhjhKvhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjh]h skc_family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhjubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hKyhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hKyhjubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjVh]h skc_state}(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.hhKzhjPubj)}(hhh]jl)}(hConnection stateh]hConnection state}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKzhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKzhjubj)}(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{hjubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hjh]h skc_reuseport}(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_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(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|hjubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjh]h skc_ipv6only}(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)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hK}hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hK}hjubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjVh]hskc_net_refcnt}(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)}(h socket is using net ref countingh]h socket is using net ref counting}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhK~hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhK~hjubj)}(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&]uh1jhjhKhjubj)}(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&]uh1jhjhKhjubj)}(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)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hj:h]h skc_bind_node}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj4ubj)}(hhh]jl)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhjubj)}(h2``skc_portaddr_node`` second hash linkage for UDP h](j)}(h``skc_portaddr_node``h]j)}(hjsh]hskc_portaddr_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)}(hsecond hash linkage for UDPh]hsecond hash linkage for UDP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhjhKhjubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hjh]hskc_net}(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)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hj h]h skc_v6_daddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hIPV6 destination addressh]hIPV6 destination address}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3 hKhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hKhjubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hjW h]hskc_v6_rcv_saddr}(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 source addressh]hIPV6 source address}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl hKhjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hKhjubj)}(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 hKhjubj)}(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``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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hj hhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh (l_onoff), }(hj hhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh settings, }(hj hhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh settings}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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 hKhjubj)}(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 }(hj 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.hhKhj ubh [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&]uh1jkhj" hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjQ h]h{unnamed_union}}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjK ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf hKhjg ubah}(h]h ]h"]h$]h&]uh1jhjK ubeh}(h]h ]h"]h$]h&]uh1jhjf hKhjubj)}(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 hKhjubj)}(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 hKhjubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hj h]hskc_tx_queue_mapping}(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#tx queue number for this connectionh]h#tx queue number for this connection}(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=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hj5 h]hskc_rx_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#rx queue number for this connectionh]h#rx 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 hKhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjn h]h{unnamed_union}}(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 anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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 hKhjubj)}(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 }(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&]uh1jhj hKhjubj)}(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)}(hj, h]hskc_tw_rcv_nxt}(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)}(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 }(hjE hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubh]}(hjE hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjB ubah}(h]h ]h"]h$]h&]uh1jhj& ubeh}(h]h ]h"]h$]h&]uh1jhjA hKhjubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hjx h]h skc_refcnt}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjr 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&]uh1jhjr ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj" hhubj)}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jl)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj hKhj" 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}(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)}(hsockh]j9)}(hj h]hsock}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhjhKubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhj hhubjg)}(hhh]jl)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjBhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjj]jj]jjjuh1hhhhj" 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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh:}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjaubj)}(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.hhKhjaubjl)}(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.hhMhjaubj)}(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)}(hjh]hsk_drops}(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)}(hraw/udp drops counterh]hraw/udp drops counter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%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.hhMKhjubj)}(hhh]jl)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMKhjubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hj]h]hsk_error_queue}(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.hhMhjWubj)}(hhh]jl)}(h rarely usedh]h rarely used}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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}(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-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hjhhhNhNubah}(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)}(hjh]h sk_rx_dst}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h'receive input route used by early demuxh]h'receive input route used by early demux}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjAh]hsk_rx_dst_ifindex}(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)}(hifindex for **sk_rx_dst**h](h ifindex for }(hjZhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jkhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(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}(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'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hjhhhNhNubah}(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)}(hjh]h sk_napi_id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jl)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjAh]hsk_busy_poll_budget}(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)}(h'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM,hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM,hjubj)}(hC``sk_prefer_busy_poll`` prefer busypolling over softirq processing h](j)}(h``sk_prefer_busy_poll``h]j)}(hjzh]hsk_prefer_busy_poll}(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*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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}(hjhhhNhNubah}(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)}(hj h]h sk_rcvbuf}(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)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hjEh]h sk_filter}(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.hhM8hj?ubj)}(hhh]jl)}(hsocket filtering instructionsh]hsocket filtering instructions}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM8hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM8hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj~h]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjxubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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}(hjhhhNhNubah}(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)}(hjh]h sk_data_ready}(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.hhMUhjubj)}(hhh]jl)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hj)h]h sk_rcvtimeo}(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.hhM4hj#ubj)}(hhh]jl)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh setting}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj>hM4hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM4hjubj)}(h(``sk_rcvlowat`` ``SO_RCVLOWAT`` setting h](j)}(h``sk_rcvlowat``h]j)}(hjph]h sk_rcvlowat}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjjubj)}(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&]uh1jhjjubeh}(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}(hjhhhNhNubah}(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)}(hjh]h sk_socket}(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.hhMHhjubj)}(hhh]jl)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hj)h]hsk_memcg}(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.hhMQhj#ubj)}(hhh]jl)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMQhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMQhjubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hjbh]h sk_policy}(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.hhMhj\ubj)}(hhh]jl)}(h flow policyh]h flow policy}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(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)}(hjh]hsk_lock}(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 synchronizerh]h synchronizer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hj h]hsk_reserved_mem}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM hjubj)}(h-``sk_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hjFh]hsk_forward_alloc}(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)}(hspace allocated forwardh]hspace allocated forward}(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_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hjh]h sk_tsflags}(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)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(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}(hjhhhNhNubah}(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)}(hjh]h sk_omem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jl)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hj*h]h sk_err_soft}(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^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’}(hjChhhNhNubah}(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)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hjdh]hsk_wmem_queued}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj^ubj)}(hhh]jl)}(hpersistent queue sizeh]hpersistent queue size}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(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)}(hjh]h{unnamed_union}}(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.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_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hjHh]h sk_send_head}(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.hhMLhjBubj)}(hhh]jl)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMLhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMLhjubj)}(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.hhMMhj{ubj)}(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&]uh1jhj{ubeh}(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)}(hjh]hsk_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.hhMJhjubj)}(hhh]jl)}(hcached page fragh]hcached page frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(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.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 ``sk_timer`` sock cleanup timer h](j)}(h ``sk_timer``h]j)}(hjwh]hsk_timer}(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.hhM9hjqubj)}(hhh]jl)}(hsock cleanup timerh]hsock cleanup timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(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)}(hjh]hmptcp_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)}(hmptcp retransmit timerh]hmptcp retransmit timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hj[h]hsk_zckey}(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.hhMGhjUubj)}(hhh]jl)}(h+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMGhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMGhjubj)}(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}(hjhhhNhNubah}(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)}(hjh]hsk_dst_pending_confirm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjQh]hsk_pacing_status}(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)}(h,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hjh]h sk_priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM-hjubj)}(hhh]jl)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh setting}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hM-hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM-hjubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hjch]hsk_mark}(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.hhMOhj]ubj)}(hhh]jl)}(hgeneric packet markh]hgeneric packet mark}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMOhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMOhjubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjh]hsk_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hjubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hj'hhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM.hjubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hjYh]h sk_dst_cache}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjSubj)}(hhh]jl)}(hdestination cacheh]hdestination cache}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjh]h sk_gso_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hj/hhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh)}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(h3``sk_gso_max_segs`` Maximum number of GSO segments h](j)}(h``sk_gso_max_segs``h]j)}(hjah]hsk_gso_max_segs}(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.hhMhj[ubj)}(hhh]jl)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(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)}(hjh]h sk_allocation}(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)}(hallocation modeh]hallocation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hj h]h sk_txhash}(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.hhM6hjubj)}(hhh]jl)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hM6hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM6hjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hjEh]h sk_sndbuf}(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.hhMhj?ubj)}(hhh]jl)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hj~h]hsk_pacing_shift}(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)}(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&]uh1jhjxubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hjh]hsk_gso_disabled}(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&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hj*h]h sk_kern_sock}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj$ubj)}(hhh]jl)}(h)True if sock is using kernel lock classesh]h)True if sock is using kernel lock classes}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hjch]hsk_no_check_tx}(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.hhMhj]ubj)}(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&]uh1jhj|ubh$ setting, set checksum in TX packets}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubj)}(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)}(hjh]h sk_shutdown}(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)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hjhhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and/or }(hjhhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hj< h]h sk_lingertime}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj6 ubj)}(hhh]jl)}(h``SO_LINGER`` l_linger settingh](j)}(h ``SO_LINGER``h]h SO_LINGER}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubh l_linger setting}(hjU hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQ hMhjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjQ 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}(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)}(hcurrent listen backlogh]hcurrent listen backlog}(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)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hj/!h]hsk_max_ack_backlog}(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)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(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)}(h+``sk_ino`` inode number (zero if orphaned) h](j)}(h ``sk_ino``h]j)}(hjh!h]hsk_ino}(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)}(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&]uh1jhjb!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)}(hj!h]h sk_bind_phc}(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)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMDhjubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hj4"h]h sk_peer_pid}(hj6"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hj."ubj)}(hhh]jl)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hjS"h]h struct pid}(hjU"hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjQ"ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpiduh1hhjI"hM1hjM"ubh for this socket’s peer}(hjM"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjI"hM1hjJ"ubah}(h]h ]h"]h$]h&]uh1jhj."ubeh}(h]h ]h"]h$]h&]uh1jhjI"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)}(hj #h]h sk_stamp_seq}(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)}(h8lock for accessing sk_stamp on 32 bit architectures onlyh]h8lock for accessing sk_stamp on 32 bit architectures only}(hj%#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!#hM=hj"#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj!#hM=hjubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hjE#h]hsk_disconnects}(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.hhMShj?#ubj)}(hhh]jl)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hj^#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ#hMShj[#ubah}(h]h ]h"]h$]h&]uh1jhj?#ubeh}(h]h ]h"]h$]h&]uh1jhjZ#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.hhKhjx#ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjx#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()}(hj $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)}(hj)$h]h{unnamed_struct}}(hj+$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj#$ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjB$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>$hKhj?$ubah}(h]h ]h"]h$]h&]uh1jhj#$ubeh}(h]h ]h"]h$]h&]uh1jhj>$hKhjubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hjb$h]hsk_scm_credentials}(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.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&]uh1jkhjw$hMdhjx$ubah}(h]h ]h"]h$]h&]uh1jhj\$ubeh}(h]h ]h"]h$]h&]uh1jhjw$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)}(hj %h]h sk_scm_rights}(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.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)}(hjF%h]h sk_scm_unused}(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.hhMhhj@%ubj)}(hhh]jl)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hj_%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[%hMhhj\%ubah}(h]h ]h"]h$]h&]uh1jhj@%ubeh}(h]h ]h"]h$]h&]uh1jhj[%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_hjy%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&]uh1jhjy%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}(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)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hj*&h]hsk_txtime_unused}(hj,&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMbhj$&ubj)}(hhh]jl)}(hunused txtime flagsh]hunused txtime flags}(hjC&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?&hMbhj@&ubah}(h]h ]h"]h$]h&]uh1jhj$&ubeh}(h]h ]h"]h$]h&]uh1jhj?&hMbhjubj)}(h-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hjc&h]hsk_bpf_cb_flags}(hje&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM?hj]&ubj)}(hhh]jl)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(hj|&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx&hM?hjy&ubah}(h]h ]h"]h$]h&]uh1jhj]&ubeh}(h]h ]h"]h$]h&]uh1jhjx&hM?hjubj)}(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}(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-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hj 'h]h sk_cgrp_data}(hj"'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMPhj'ubj)}(hhh]jl)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5'hMPhj6'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj5'hMPhjubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hjY'h]hsk_state_change}(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.hhMThjS'ubj)}(hhh]jl)}(h4callback to indicate change in the state of the sockh]h4callback to indicate change in the state of the sock}(hjr'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn'hMThjo'ubah}(h]h ]h"]h$]h&]uh1jhjS'ubeh}(h]h ]h"]h$]h&]uh1jhjn'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)}(hj(h]hsk_backlog_rcv}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhj(ubj)}(hhh]jl)}(hcallback to process the backlogh]hcallback to process the backlog}(hj/(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+(hMXhj,(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj+(hMXhjubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hjO(h]h sk_destruct}(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.hhMZhjI(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}(hjh(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd(hMZhje(ubah}(h]h ]h"]h$]h&]uh1jhjI(ubeh}(h]h ]h"]h$]h&]uh1jhjd(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)}(hj(h]hsk_drop_counters}(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&optional pointer to numa_drop_countersh]h&optional pointer to numa_drop_counters}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj3)h]h{unnamed_union}}(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.hhKhj-)ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjL)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjH)hKhjI)ubah}(h]h ]h"]h$]h&]uh1jhj-)ubeh}(h]h ]h"]h$]h&]uh1jhjH)hKhjubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hjl)h]hsk_rcu}(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.hhM]hjf)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&]uh1jhjf)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}(hj)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)}(hj*h]h sk_user_frags}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjhj*ubj)}(hhh]jl)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,*hMjhj-*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj,*hMjhjubj)}(hb``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](j)}(h ``sk_owner``h]j)}(hjP*h]hsk_owner}(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.hhMkhjJ*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().}(hji*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje*hMkhjf*ubah}(h]h ]h"]h$]h&]uh1jhjJ*ubeh}(h]h ]h"]h$]h&]uh1jhje*hMkhjubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj +hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hsockh]hsock}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj +modnameN classnameNj j )}j ]j )}j j*sbc.sk_user_data_is_nocopyasbuh1hhj*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)}(hskh]hsk}(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*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}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj-,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,,hMubj )}(hj h]h*}(hj;,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,hhhj,,hMubj3)}(h%__locked_read_sk_user_data_with_flagsh]j9)}(h%__locked_read_sk_user_data_with_flagsh]h%__locked_read_sk_user_data_with_flags}(hjL,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH,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}(hjh,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd,ubj")}(h h]h }(hju,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd,ubj)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd,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 jN,sb'c.__locked_read_sk_user_data_with_flagsasbuh1hhjd,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)}(hskh]hsk}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd,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&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j,'c.__locked_read_sk_user_data_with_flagsasbuh1hhj,ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj9)}(hflagsh]hflags}(hj$-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,,hMhj,hhubjg)}(hhh]jl)}(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}(hjN-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjK-hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhj,,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf-jjf-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)}(hjp-h]h Parameters}(hjr-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn-ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjj-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&]uh1jhjj-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.hhMhjj-ubjl)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjj-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}(hjH.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hjW.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD.hhhjV.hMubj )}(hj h]h*}(hje.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjD.hhhjV.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}(hjv.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjD.hhhjV.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 jx.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*}(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}(hj"/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$/modnameN classnameNj j )}j ]j.+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj/ubj")}(h h]h }(hj@/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hflagsh]hflags}(hjN/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubeh}(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)}(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}(hjx/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhju/hhubah}(h]h ]h"]h$]h&]uh1jfhj=.hhhjV.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/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 bitsh](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 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/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)}(hjF0h]hsk_for_each_entry_offset_rcu}(hjP0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjH0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjD0hhhjc0hMubah}(h]j?0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjc0hMhjA0hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjA0hhhjc0hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj|0jj|0jjjuh1hhhhj" 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)}(hj0h]htpos}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubj)}(hhh]jl)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hj1h]hpos}(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)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hj(1hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hj21h]hstruct hlist_node}(hj41hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj01ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj hlist_nodeuh1hhj$1hMhj(1ubh to use as a loop cursor.}(hj(1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$1hMhj%1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj$1hMhj0ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hjk1h]hhead}(hjm1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhje1ubj)}(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&]uh1jhje1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(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&]uh1jhj1hMhj0ubeh}(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)}(hj1h]hSOCK_CONNECT_BIND}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj2hMubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj1hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj1hhhj2hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj.2jj.2jjjuh1hhhhj" hNhNubjl)}(h``SOCK_CONNECT_BIND``h]j)}(hj42h]hSOCK_CONNECT_BIND}(hj62hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj22ubah}(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)}(hjT2h]hsock->sk_userlocks}(hjV2hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjR2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsockuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjN2ubh% flag for auto-bind at connect() time}(hjN2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjq2hMhjJ2ubah}(h]h ]h"]h$]h&]uh1jhjq2hMhj" 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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsockh]hsock}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j j2sbc.lock_sock_fastasbuh1hhj2ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj#3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hskh]hsk}(hj03hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(hfast version of lock_sockh]hfast version of lock_sock}(hjZ3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjW3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr3jjr3jjjuh1hhhhj" 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)}(hj|3h]h Parameters}(hj~3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz3ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjv3ubj)}(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&]uh1jhjv3ubjl)}(h**Description**h]j)}(hj3h]h Description}(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.hhMhjv3ubjl)}(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:}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjv3ubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhj 4hMhjv3ubjl)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjv3ubj)}(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&]uh1jhj44hMhjv3ubeh}(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}(hj[4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjW4hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hjj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW4hhhji4hMubj3)}(hunlock_sock_fasth]j9)}(hunlock_sock_fasth]hunlock_sock_fast}(hj|4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjW4hhhji4hMubj )}(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 j~4sbc.unlock_sock_fastasbuh1hhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskh]hsk}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h bool slowh](jM )}(hjh]hbool}(hj 5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hslowh]hslow}(hj%5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjW4hhhji4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjS4hhhji4hMubah}(h]jN4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhji4hMhjP4hhubjg)}(hhh]jl)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hjO5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjL5hhubah}(h]h ]h"]h$]h&]uh1jfhjP4hhhji4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg5jjg5jjjuh1hhhhj" 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)}(hjq5h]h Parameters}(hjs5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo5ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjk5ubj)}(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)}(hj5h]h bool slow}(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)}(h slow modeh]h slow mode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhjk5ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjk5ubjl)}(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()}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjk5ubeh}(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}(hjI6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjE6hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM& ubj")}(h h]h }(hjX6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE6hhhjW6hM& ubj3)}(hsk_wmem_alloc_geth]j9)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hjj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjE6hhhjW6hM& 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 jl6sbc.sk_wmem_alloc_getasbuh1hhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hskh]hsk}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~6ubah}(h]h ]h"]h$]h&]jPjQuh1j hjE6hhhjW6hM& ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjA6hhhjW6hM& ubah}(h]j<6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjW6hM& hj>6hhubjg)}(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& hj!7hhubah}(h]h ]h"]h$]h&]uh1jfhj>6hhhjW6hM& ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<7jj<7jjjuh1hhhhj" hNhNubj)}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jl)}(h**Parameters**h]j)}(hjF7h]h Parameters}(hjH7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD7ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM* hj@7ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hje7h]hconst struct sock *sk}(hjg7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM' hj_7ubj)}(hhh]jl)}(hsocketh]hsocket}(hj~7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz7hM' hj{7ubah}(h]h ]h"]h$]h&]uh1jhj_7ubeh}(h]h ]h"]h$]h&]uh1jhjz7hM' hj\7ubah}(h]h ]h"]h$]h&]uh1jhj@7ubjl)}(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.hhM) hj@7ubjl)}(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.hhM) hj@7ubeh}(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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1 ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj7hM1 ubj3)}(hsk_rmem_alloc_geth]j9)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj7hM1 ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj"8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj/8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj)}(hjh]hstruct}(hj=8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hjJ8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hsockh]hsock}(hj[8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]8modnameN classnameNj j )}j ]j )}j j8sbc.sk_rmem_alloc_getasbuh1hhj8ubj")}(h h]h }(hj{8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hskh]hsk}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj7hM1 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj7hM1 ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hM1 hj7hhubjg)}(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.hhM1 hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj7hM1 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" hNhNubj)}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jl)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM5 hj8ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj9h]hconst struct sock *sk}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM2 hj8ubj)}(hhh]jl)}(hsocketh]hsocket}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM2 hj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hM2 hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h **Return**h]j)}(hj<9h]hReturn}(hj>9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4 hj8ubjl)}(h sk_rmem_alloch]h sk_rmem_alloc}(hjR9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4 hj8ubeh}(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 hj}9hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM< ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}9hhhj9hM< ubj3)}(hsk_has_allocationsh]j9)}(hsk_has_allocationsh]hsk_has_allocations}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}9hhhj9hM< 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 }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hsockh]hsock}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j9sbc.sk_has_allocationsasbuh1hhj9ubj")}(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)}(hskh]hsk}(hj1:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj}9hhhj9hM< ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjy9hhhj9hM< ubah}(h]jt9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hM< hjv9hhubjg)}(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.hhM< hjX:hhubah}(h]h ]h"]h$]h&]uh1jfhjv9hhhj9hM< ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjs:jjs: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.hhM@ hjw: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.hhM= hj:ubj)}(hhh]jl)}(hsocketh]hsocket}(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: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.hhM? hjw: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.hhM? hjw:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskwq_has_sleeper (C function)c.skwq_has_sleeperhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h,bool skwq_has_sleeper (struct socket_wq *wq)h]j )}(h+bool skwq_has_sleeper(struct socket_wq *wq)h](jM )}(hjh]hbool}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMG ubj")}(h h]h }(hj*;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhj);hMG ubj3)}(hskwq_has_sleeperh]j9)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hj<;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj);hMG ubj )}(h(struct socket_wq *wq)h]j )}(hstruct socket_wq *wqh](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)}(h socket_wqh]h socket_wq}(hjv;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx;modnameN classnameNj j )}j ]j )}j j>;sbc.skwq_has_sleeperasbuh1hhjT;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)}(hwqh]hwq}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjP;ubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj);hMG ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhj);hMG ubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj);hMG hj;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.hhMG hj;hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj);hMG 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)}(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.hhMK hj;ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hj<h]hstruct socket_wq *wq}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMH hj<ubj)}(hhh]jl)}(hstruct socket_wqh]hstruct socket_wq}(hj5<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1<hMH hj2<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj1<hMH hj<ubah}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h **Return**h]j)}(hjW<h]hReturn}(hjY<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hj;ubjl)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hjm<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hj;ubjl)}(h**Description**h]j)}(hj~<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj;ubjl)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMK hj;ubjl)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMN hj;ubj)}(hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }h]hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }}hj<sbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMP hj;ubjl)}(hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h]hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM^ hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_poll_wait (C function)c.sock_poll_waithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hKvoid sock_poll_wait (struct file *filp, struct socket *sock, poll_table *p)h]j )}(hJvoid sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)h](jM )}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMk ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhj<hMk ubj3)}(hsock_poll_waith]j9)}(hsock_poll_waith]hsock_poll_wait}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj =ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhj<hMk ubj )}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j )}(hstruct file *filph](j)}(hjh]hstruct}(hj-=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)=ubj")}(h h]h }(hj:=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)=ubh)}(hhh]j9)}(hfileh]hfile}(hjK=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM=modnameN classnameNj j )}j ]j )}j j=sbc.sock_poll_waitasbuh1hhj)=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)}(hfilph]hfilp}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%=ubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hsocketh]hsocket}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]jg=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}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jg=c.sock_poll_waitasbuh1hhj >ubj")}(h h]h }(hj0>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj >ubj )}(hj h]h*}(hj>>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj >ubj9)}(hj h]hp}(hjK>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj >ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhj<hMk ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhj<hMk ubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMk hj<hhubjg)}(hhh]jl)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hjt>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMk hjq>hhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhj<hMk 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.hhMo 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.hhMl hj>ubj)}(hhh]jl)}(hfileh]hfile}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMl hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMl hj>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.hhMm hj>ubj)}(hhh]jl)}(hsocket to wait onh]hsocket to wait on}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMm hj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMm hj>ubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj'?h]h poll_table *p}(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.hhMn hj!?ubj)}(hhh]jl)}(h poll_tableh]h poll_table}(hj@?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h**Description**h]j)}(hjb?h]h Description}(hjd?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`?ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMp hj>ubjl)}(h0See the comments in the wq_has_sleeper function.h]h0See the comments in the wq_has_sleeper function.}(hjx?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMo 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.hhM< ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hM< 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?hM< ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hM< ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?hhhj?hM< ubj3)}(h 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?hM< ubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj!@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj.@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hsockh]hsock}(hj?@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjA@modnameN classnameNj j )}j ]j?c.sk_page_fragasbuh1hhj@ubj")}(h h]h }(hj]@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjk@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hskh]hsk}(hjx@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)}(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.hhM< hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hM< 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.hhM@ hj@ubj)}(hhh]j)}(h``struct sock *sk`` socket 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM= hj@ubj)}(hhh]jl)}(hsocketh]hsocket}(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)}(hjAh]h Description}(hj AhhhNhNubah}(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)}(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 }(hj4AhhhNhNubj)}(h ``current``h]hcurrent}(hj 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.}(hjUAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMB hj@ubjl)}(h **Return**h]j)}(hjfAh]hReturn}(hjhAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdAubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMG 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.}(hj|AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMH 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.hhMN ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMN ubj3)}(h_sock_tx_timestamph]j9)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMN ubj )}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hsockh]hsock}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jAsbc._sock_tx_timestampasbuh1hhjAubj")}(h h]h }(hj&BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hj4BhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hskh]hsk}(hjABhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h!const struct sockcm_cookie *sockch](j)}(hj h]hconst}(hjZBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVBubj")}(h h]h }(hjgBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVBubj)}(hjh]hstruct}(hjuBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVBubh)}(hhh]j9)}(h sockcm_cookieh]h sockcm_cookie}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j"Bc._sock_tx_timestampasbuh1hhjVBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVBubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVBubj9)}(hsockch]hsockc}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h__u8 *tx_flagsh](h)}(hhh]j9)}(h__u8h]h__u8}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j"Bc._sock_tx_timestampasbuh1hhjBubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(htx_flagsh]htx_flags}(hj!ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h __u32 *tskeyh](h)}(hhh]j9)}(h__u32h]h__u32}(hj=ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:Cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?CmodnameN classnameNj j )}j ]j"Bc._sock_tx_timestampasbuh1hhj6Cubj")}(h h]h }(hj[ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6Cubj )}(hj h]h*}(hjiChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6Cubj9)}(htskeyh]htskey}(hjvChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjAhMN ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjAhMN ubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMN hjAhhubjg)}(hhh]jl)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMN hjChhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhMN ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket sending this packet ``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info ``__u8 *tx_flags`` completed with instructions for time stamping ``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) **Note** callers should take care of initial ``*tx_flags`` value (usually 0)h](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMR hjCubj)}(hhh](j)}(h/``struct sock *sk`` socket sending this packet h](j)}(h``struct sock *sk``h]j)}(hjCh]hstruct sock *sk}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMO hjCubj)}(hhh]jl)}(hsocket sending this packeth]hsocket sending this packet}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMO hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMO hjCubj)}(h]``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info h](j)}(h%``const struct sockcm_cookie *sockc``h]j)}(hjDh]h!const struct sockcm_cookie *sockc}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMP hjDubj)}(hhh]jl)}(h6pointer to socket cmsg cookie to get timestamping infoh]h6pointer to socket cmsg cookie to get timestamping info}(hj3DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/DhMP hj0Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj/DhMP hjCubj)}(hA``__u8 *tx_flags`` completed with instructions for time stamping h](j)}(h``__u8 *tx_flags``h]j)}(hjSDh]h__u8 *tx_flags}(hjUDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMQ hjMDubj)}(hhh]jl)}(h-completed with instructions for time stampingh]h-completed with instructions for time stamping}(hjlDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhDhMQ hjiDubah}(h]h ]h"]h$]h&]uh1jhjMDubeh}(h]h ]h"]h$]h&]uh1jhjhDhMQ hjCubj)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hjDh]h __u32 *tskey}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMR hjDubj)}(hhh]jl)}(hfile. 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)}(hj>Ih]h Parameters}(hj@IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfile. 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)}(hj.Jh]hfile}(hj0JhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj,Jubah}(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}(hjPJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Jubh3, implicitly storing it in sock->file. If dname is }(hj$JhhhNhNubj)}(h``NULL``h]hNULL}(hjbJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Jubh, sets to “”.}(hj$JhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjKJhMhj Jubjl)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hjzJhhhNhNubj)}(h**sock**h]hsock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzJubh- is released, and an ERR pointer is returned.}(hjzJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Jubjl)}(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.chMhj Jubeh}(h]h ]h"]h$]h&]uh1jhjKJhMhj8Iubeh}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhMHubh)}(hhh]j9)}(hsocketh]hsocket}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j sock_from_filesbc.sock_from_fileasbuh1hhjJhhhjJhMHubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhMHubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJhhhjJhMHubj3)}(hsock_from_fileh]j9)}(hj Kh]hsock_from_file}(hj/KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+Kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjJhMHubj )}(h(struct file *file)h]j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjJKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFKubj")}(h h]h }(hjWKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFKubh)}(hhh]j9)}(hfileh]hfile}(hjhKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjKmodnameN classnameNj j )}j ]j Kc.sock_from_fileasbuh1hhjFKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFKubj9)}(hfileh]hfile}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBKubah}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjJhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhjJhMHubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMHhjJhhubjg)}(hhh]jl)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hjKhhhNhNubh)}(h:c:type:`socket`h]j)}(hjKh]hsocket}(hjKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j Kc.sock_from_fileasbjsocketuh1hhjUGhM hjKubh bounded to }(hjKhhhNhNubj)}(h**file**h]hfile}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjJhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" hNhNubj)}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jl)}(h**Parameters**h]j)}(hj'Lh]h Parameters}(hj)LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Lubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMLhj!Lubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hjFLh]hstruct file *file}(hjHLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDLubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMIhj@Lubj)}(hhh]jl)}(hfileh]hfile}(hj_LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[LhMIhj\Lubah}(h]h ]h"]h$]h&]uh1jhj@Lubeh}(h]h ]h"]h$]h&]uh1jhj[LhMIhj=Lubah}(h]h ]h"]h$]h&]uh1jhj!Lubjl)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMKhj!Lubj)}(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.chMJhjLubah}(h]h ]h"]h$]h&]uh1jhjLhMJhj!Lubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMXubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhMXubh)}(hhh]j9)}(hsocketh]hsocket}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjLhhhjLhMXubj")}(h h]h }(hj!MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhMXubj )}(hj h]h*}(hj/MhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLhhhjLhMXubj3)}(h sockfd_lookuph]j9)}(hjMh]h sockfd_lookup}(hj@MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPhMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_release (C function)c.sock_releasehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'void sock_release (struct socket *sock)h]j )}(h&void sock_release(struct socket *sock)h](jM )}(hvoidh]hvoid}(hjePhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaPhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjtPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaPhhhjsPhMubj3)}(h sock_releaseh]j9)}(h sock_releaseh]h sock_release}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjaPhhhjsPhMubj )}(h(struct socket *sock)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 jPsbc.sock_releaseasbuh1hhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hsockh]hsock}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjaPhhhjsPhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]PhhhjsPhMubah}(h]jXPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjsPhMhjZPhhubjg)}(hhh]jl)}(hclose a socketh]hclose a socket}(hj%QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj"Qhhubah}(h]h ]h"]h$]h&]uh1jfhjZPhhhjsPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=Qjj=Qjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket to close **Description** The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h](jl)}(h**Parameters**h]j)}(hjGQh]h Parameters}(hjIQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEQubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAQubj)}(hhh]j)}(h(``struct socket *sock`` socket to close h](j)}(h``struct socket *sock``h]j)}(hjfQh]hstruct socket *sock}(hjhQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdQubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`Qubj)}(hhh]jl)}(hsocket to closeh]hsocket to close}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{QhMhj|Qubah}(h]h ]h"]h$]h&]uh1jhj`Qubeh}(h]h ]h"]h$]h&]uh1jhj{QhMhj]Qubah}(h]h ]h"]h$]h&]uh1jhjAQubjl)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAQubj)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]jl)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQubah}(h]h ]h"]h$]h&]uh1jhjQhMhjAQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_sendmsg (C function)c.sock_sendmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:int sock_sendmsg (struct socket *sock, struct msghdr *msg)h]j )}(h9int sock_sendmsg(struct socket *sock, struct msghdr *msg)h](jM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM&ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhM&ubj3)}(h sock_sendmsgh]j9)}(h sock_sendmsgh]h sock_sendmsg}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Rubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjQhM&ubj )}(h)(struct socket *sock, struct msghdr *msg)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj-RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)Rubj")}(h h]h }(hj:RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Rubh)}(hhh]j9)}(hsocketh]hsocket}(hjKRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMRmodnameN classnameNj j )}j ]j )}j jRsbc.sock_sendmsgasbuh1hhj)Rubj")}(h h]h }(hjkRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Rubj )}(hj h]h*}(hjyRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)Rubj9)}(hsockh]hsock}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)Rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%Rubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jgRc.sock_sendmsgasbuh1hhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hmsgh]hmsg}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%Rubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjQhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjQhM&ubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhM&hjQhhubjg)}(hhh]jl)}(hsend a message through **sock**h](hsend a message through }(hj ShhhNhNubj)}(h**sock**h]hsock}(hj(ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Subeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM&hjShhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjQhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFSjjFSjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to send **Description** Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](jl)}(h**Parameters**h]j)}(hjPSh]h Parameters}(hjRShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNSubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM*hjJSubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjoSh]hstruct socket *sock}(hjqShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmSubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM'hjiSubj)}(hhh]jl)}(hsocketh]hsocket}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM'hjSubah}(h]h ]h"]h$]h&]uh1jhjiSubeh}(h]h ]h"]h$]h&]uh1jhjShM'hjfSubj)}(h'``struct msghdr *msg`` message to send h](j)}(h``struct msghdr *msg``h]j)}(hjSh]hstruct msghdr *msg}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM(hjSubj)}(hhh]jl)}(hmessage to sendh]hmessage to send}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM(hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM(hjfSubeh}(h]h ]h"]h$]h&]uh1jhjJSubjl)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM*hjJSubj)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h]jl)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](hSends }(hjShhhNhNubj)}(h**msg**h]hmsg}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh through }(hjShhhNhNubj)}(h**sock**h]hsock}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM)hjSubah}(h]h ]h"]h$]h&]uh1jhj/ThM)hjJSubeh}(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}(hjVThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMBubj")}(h h]h }(hjeThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRThhhjdThMBubj3)}(hkernel_sendmsgh]j9)}(hkernel_sendmsgh]hkernel_sendmsg}(hjwThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRThhhjdThMBubj )}(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 jyTsbc.kernel_sendmsgasbuh1hhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hsockh]hsock}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hj#UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%UmodnameN classnameNj j )}j ]jTc.kernel_sendmsgasbuh1hhjUubj")}(h h]h }(hjAUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjOUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hmsgh]hmsg}(hj\UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hjuUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqUubh)}(hhh]j9)}(hkvech]hkvec}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jTc.kernel_sendmsgasbuh1hhjqUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqUubj9)}(hvech]hvec}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jTc.kernel_sendmsgasbuh1hhjUubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hnumh]hnum}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj0VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2VmodnameN classnameNj j )}j ]jTc.kernel_sendmsgasbuh1hhj)Vubj")}(h h]h }(hjNVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Vubj9)}(hsizeh]hsize}(hj\VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)Vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRThhhjdThMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNThhhjdThMBubah}(h]jITah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdThMBhjKThhubjg)}(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.chMBhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjKThhhjdThMBubeh}(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.chMFhjVubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjVh]hstruct socket *sock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMChjVubj)}(hhh]jl)}(hsocketh]hsocket}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMChjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMChjVubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hjWh]hstruct msghdr *msg}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhj Wubj)}(hhh]jl)}(hmessage headerh]hmessage header}(hj+WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'WhMDhj(Wubah}(h]h ]h"]h$]h&]uh1jhj Wubeh}(h]h ]h"]h$]h&]uh1jhj'WhMDhjVubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hjKWh]hstruct kvec *vec}(hjMWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjEWubj)}(hhh]jl)}(h kernel vech]h kernel vec}(hjdWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`WhMEhjaWubah}(h]h ]h"]h$]h&]uh1jhjEWubeh}(h]h ]h"]h$]h&]uh1jhj`WhMEhjVubj)}(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.chMFhj~Wubj)}(hhh]jl)}(hvec array lengthh]hvec array length}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMFhjWubah}(h]h ]h"]h$]h&]uh1jhj~Wubeh}(h]h ]h"]h$]h&]uh1jhjWhMFhjVubj)}(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.chMGhjWubj)}(hhh]jl)}(htotal message data sizeh]htotal message data size}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMGhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMGhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMIhjVubj)}(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 }(hjXhhhNhNubj)}(h**vec**h]hvec}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh and sends it through }(hjXhhhNhNubj)}(h**sock**h]hsock}(hj,XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh5. Returns the number of bytes sent, or an error code.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjXubah}(h]h ]h"]h$]h&]uh1jhjDXhMHhjVubeh}(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}(hjkXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgXhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM{ubj")}(h h]h }(hjzXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgXhhhjyXhM{ubj3)}(h sock_recvmsgh]j9)}(h sock_recvmsgh]h sock_recvmsg}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjgXhhhjyXhM{ubj )}(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 reftargetjXmodnameN classnameNj j )}j ]j )}j jXsbc.sock_recvmsgasbuh1hhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hsockh]hsock}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hj'YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hj8YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5Yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:YmodnameN classnameNj j )}j ]jXc.sock_recvmsgasbuh1hhjYubj")}(h h]h }(hjVYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjdYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hmsgh]hmsg}(hjqYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(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 hjgXhhhjyXhM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjcXhhhjyXhM{ubah}(h]j^Xah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyXhM{hj`Xhhubjg)}(hhh]jl)}(hreceive a message from **sock**h](hreceive a message from }(hjYhhhNhNubj)}(h**sock**h]hsock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM{hjYhhubah}(h]h ]h"]h$]h&]uh1jfhj`XhhhjyXhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhj" 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)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjYubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjZh]hstruct socket *sock}(hj!ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM|hjZubj)}(hhh]jl)}(hsocketh]hsocket}(hj8ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4ZhM|hj5Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj4ZhM|hjZubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjXZh]hstruct msghdr *msg}(hjZZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM}hjRZubj)}(hhh]jl)}(hmessage to receiveh]hmessage to receive}(hjqZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmZhM}hjnZubah}(h]h ]h"]h$]h&]uh1jhjRZubeh}(h]h ]h"]h$]h&]uh1jhjmZhM}hjZubj)}(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.chM~hjZubj)}(hhh]jl)}(h message flagsh]h message flags}(hjZhhhNhNubah}(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&]uh1jhjYubjl)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjYubj)}(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 }(hjZhhhNhNubj)}(h**msg**h]hmsg}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh from }(hjZhhhNhNubj)}(h**sock**h]hsock}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjZubah}(h]h ]h"]h$]h&]uh1jhj[hMhjYubeh}(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}(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 }(hjN[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;[hhhjM[hMubj3)}(hkernel_recvmsgh]j9)}(hkernel_recvmsgh]hkernel_recvmsg}(hj`[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;[hhhjM[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&]uh1jhjx[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx[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 jb[sbc.kernel_recvmsgasbuh1hhjx[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)}(hsockh]hsock}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[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 ]j[c.kernel_recvmsgasbuh1hhj[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)}(hmsgh]hmsg}(hjE\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[ubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hj^\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ\ubj")}(h h]h }(hjk\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ\ubh)}(hhh]j9)}(hkvech]hkvec}(hj|\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~\modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhjZ\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZ\ubj9)}(hvech]hvec}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[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}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[ubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhj]ubj")}(h h]h }(hj7]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hsizeh]hsize}(hjE]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[ubj )}(h int flagsh](jM )}(hinth]hint}(hj^]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZ]ubj")}(h h]h }(hjl]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ]ubj9)}(hflagsh]hflags}(hjz]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjt[ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;[hhhjM[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7[hhhjM[hMubah}(h]j2[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjM[hMhj4[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&]uh1jfhj4[hhhjM[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}(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 msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hj^h]hstruct msghdr *msg}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(hReceived messageh]hReceived message}(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)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hjW^h]hstruct kvec *vec}(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)}(h Input s/g array for message datah]h Input s/g array for message data}(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)}(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&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(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&]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.}(hjW_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjS_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.}(hjf_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjS_ubeh}(h]h ]h"]h$]h&]uh1jhje_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}(hj `hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj `ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj `ubj9)}(htypeh]htype}(hj)`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj `ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubj )}(h int protocolh](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)}(hprotocolh]hprotocol}(hj^`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hjw`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs`ubh)}(hhh]j9)}(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_liteasbuh1hhjs`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`ubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs`ubj9)}(hresh]hres}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs`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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjahhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhj" 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)}(hj)ah]h Parameters}(hj+ahhhNhNubah}(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)}(hjHah]h int family}(hjJahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBaubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjaahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]ahMhj^aubah}(h]h ]h"]h$]h&]uh1jhjBaubeh}(h]h ]h"]h$]h&]uh1jhj]ahMhj?aubj)}(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.chMhj{aubj)}(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&]uh1jhj{aubeh}(h]h ]h"]h$]h&]uh1jhjahMhj?aubj)}(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, ...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj?aubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjah]hstruct socket **res}(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 new socketh]h new socket}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhj bubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj?aubeh}(h]h ]h"]h$]h&]uh1jhj#aubjl)}(h**Description**h]j)}(hj.bh]h Description}(hj0bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,bubah}(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 }(hjHbhhhNhNubj)}(h**res**h]hres}(hjPbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHbubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hjHbhhhNhNubj)}(h**res**h]hres}(hjbbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHbubh is set to }(hjHbhhhNhNubj)}(h``NULL``h]hNULL}(hjtbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHbubh+. This function internally uses GFP_KERNEL.}(hjHbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDbubah}(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.chM+ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhM+ubj3)}(h __sock_createh]j9)}(h __sock_createh]h __sock_create}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhM+ubj )}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hneth]hnet}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j jbsbc.__sock_createasbuh1hhjbubj")}(h h]h }(hj.chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjeh]h int family}(hj@ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfamily corresponds to the socket system call protocol family.h](jl)}(h**Parameters**h]j)}(hj^nh]h Parameters}(hj`nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\nubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjXnubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hj}nh]h"const struct net_proto_family *ops}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{nubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjwnubj)}(hhh]jl)}(hdescription of protocolh]hdescription of protocol}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjwnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjtnubah}(h]h ]h"]h$]h&]uh1jhjXnubjl)}(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 hjXnubj)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubah}(h]h ]h"]h$]h&]uh1jhjnhM hjXnubeh}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohM ubj3)}(hsock_unregisterh]j9)}(hsock_unregisterh]hsock_unregister}(hj(ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohM ubj )}(h (int family)h]j )}(h int familyh](jM )}(hinth]hint}(hjDohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@oubj")}(h h]h }(hjRohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@oubj9)}(hfamilyh]hfamily}(hj`ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@oubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(hjoh]h int family}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM 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.}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubjl)}(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.}(hj/phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubeh}(h]h ]h"]h$]h&]uh1jhj.phM 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}(hjdphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`phhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM>ubj")}(h h]h }(hjsphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`phhhjrphM>ubj3)}(h kernel_bindh]j9)}(h kernel_bindh]h kernel_bind}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`phhhjrphM>ubj )}(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 }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hsockh]hsock}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hj qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hj1qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3qmodnameN classnameNj j )}j ]jp c.kernel_bindasbuh1hhjqubj")}(h h]h }(hjOqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hj]qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(haddrh]haddr}(hjjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(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 hj`phhhjrphM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\phhhjrphM>ubah}(h]jWpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrphM>hjYphhubjg)}(hhh]jl)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM>hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjYphhhjrphM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj" 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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMBhjqubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj rh]hstruct socket *sock}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM?hjrubj)}(hhh]jl)}(hsocketh]hsocket}(hj#rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM?hj rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM?hjrubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hjCrh]hstruct sockaddr_unsized *addr}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hj=rubj)}(hhh]jl)}(haddressh]haddress}(hj\rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXrhM@hjYrubah}(h]h ]h"]h$]h&]uh1jhj=rubeh}(h]h ]h"]h$]h&]uh1jhjXrhM@hjrubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hj|rh]h int addrlen}(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.chMAhjvrubj)}(hhh]jl)}(hlength of addressh]hlength of address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMAhjrubah}(h]h ]h"]h$]h&]uh1jhjvrubeh}(h]h ]h"]h$]h&]uh1jhjrhMAhjrubeh}(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&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMChjqubj)}(hReturns 0 or an error.h]jl)}(hjrh]hReturns 0 or an error.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMBhjrubah}(h]h ]h"]h$]h&]uh1jhjrhMBhjqubeh}(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}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjshMRubj3)}(h kernel_listenh]j9)}(h kernel_listenh]h kernel_listen}(hj&shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjshMRubj )}(h"(struct socket *sock, int backlog)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjBshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>subj")}(h h]h }(hjOshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>subh)}(hhh]j9)}(hsocketh]hsocket}(hj`shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbsmodnameN classnameNj j )}j ]j )}j j(ssbc.kernel_listenasbuh1hhj>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)}(hsockh]hsock}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:subj )}(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}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:subeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjshMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjshMRubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMRhjrhhubjg)}(hhh]jl)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRhjshhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjshMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" 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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhjtubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj;th]hstruct socket *sock}(hj=thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9tubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMShj5tubj)}(hhh]jl)}(hsocketh]hsocket}(hjTthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPthMShjQtubah}(h]h ]h"]h$]h&]uh1jhj5tubeh}(h]h ]h"]h$]h&]uh1jhjPthMShj2tubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hjtth]h int backlog}(hjvthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMThjntubj)}(hhh]jl)}(hpending connections queue sizeh]hpending connections queue size}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMThjtubah}(h]h ]h"]h$]h&]uh1jhjntubeh}(h]h ]h"]h$]h&]uh1jhjthMThj2tubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhjtubj)}(hReturns 0 or an error.h]jl)}(hjth]hReturns 0 or an error.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMUhjtubah}(h]h ]h"]h$]h&]uh1jhjthMUhjtubeh}(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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM`ubj")}(h h]h }(hj uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhj uhM`ubj3)}(h kernel_accepth]j9)}(h kernel_accepth]h kernel_accept}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhj uhM`ubj )}(h9(struct socket *sock, struct socket **newsock, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj:uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6uubj")}(h h]h }(hjGuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6uubh)}(hhh]j9)}(hsocketh]hsocket}(hjXuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZumodnameN classnameNj j )}j ]j )}j j usbc.kernel_acceptasbuh1hhj6uubj")}(h h]h }(hjxuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6uubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6uubj9)}(hsockh]hsock}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2uubj )}(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}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jtuc.kernel_acceptasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hnewsockh]hnewsock}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2uubj )}(h int flagsh](jM )}(hinth]hint}(hj)vhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%vubj")}(h h]h }(hj7vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%vubj9)}(hflagsh]hflags}(hjEvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2uubeh}(h]h ]h"]h$]h&]jPjQuh1j hjthhhj uhM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhj uhM`ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj uhM`hjthhubjg)}(hhh]jl)}(h"accept a connection (kernel space)h]h"accept a connection (kernel space)}(hjovhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM`hjlvhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhj uhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhj" hNhNubj)}(hX(**Parameters** ``struct socket *sock`` listening socket ``struct socket **newsock`` new connected socket ``int flags`` flags **Description** **flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(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.chMdhjvubj)}(hhh](j)}(h)``struct socket *sock`` listening socket h](j)}(h``struct socket *sock``h]j)}(hjvh]hstruct socket *sock}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMahjvubj)}(hhh]jl)}(hlistening socketh]hlistening socket}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMahjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMahjvubj)}(h1``struct socket **newsock`` new connected socket h](j)}(h``struct socket **newsock``h]j)}(hjvh]hstruct socket **newsock}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMbhjvubj)}(hhh]jl)}(hnew connected socketh]hnew connected socket}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMbhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMbhjvubj)}(h``int flags`` flags h](j)}(h ``int flags``h]j)}(hj"wh]h int flags}(hj$whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj wubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMchjwubj)}(hhh]jl)}(hflagsh]hflags}(hj;whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7whMchj8wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj7whMchjvubeh}(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&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehjvubj)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h]jl)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](j)}(h **flags**h]hflags}(hj{whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwwubh8 must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, }(hjwwhhhNhNubj)}(h **newsock**h]hnewsock}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwwubh is guaranteed to be }(hjwwhhhNhNubj)}(h``NULL``h]hNULL}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwwubh. Returns 0 or an error.}(hjwwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdhjswubah}(h]h ]h"]h$]h&]uh1jhjwhMdhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_connect (C function)c.kernel_connecthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_int kernel_connect (struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h]j )}(h^int kernel_connect(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](jM )}(hinth]hint}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhjwhMubj3)}(hkernel_connecth]j9)}(hkernel_connecth]hkernel_connect}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjwhMubj )}(hL(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hj(xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsocketh]hsocket}(hj9xhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;xmodnameN classnameNj j )}j ]j )}j jxsbc.kernel_connectasbuh1hhjxubj")}(h h]h }(hjYxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjgxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hsockh]hsock}(hjtxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jUxc.kernel_connectasbuh1hhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(haddrh]haddr}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h int addrlenh](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hj yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(haddrlenh]haddrlen}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h int flagsh](jM )}(hinth]hint}(hj2yhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.yubj")}(h h]h }(hj@yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.yubj9)}(hflagsh]hflags}(hjNyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhjwhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjwhMubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhMhjwhhubjg)}(hhh]jl)}(hconnect a socket (kernel space)h]hconnect a socket (kernel space)}(hjxyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjuyhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjwhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct socket *sock`` socket ``struct sockaddr_unsized *addr`` address ``int addrlen`` address length ``int flags`` flags (O_NONBLOCK, ...) **Description** For datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h](jl)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjyubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjyh]hstruct socket *sock}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjyubj)}(hhh]jl)}(hsocketh]hsocket}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hjyh]hstruct sockaddr_unsized *addr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjyubj)}(hhh]jl)}(haddressh]haddress}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjyubj)}(h``int addrlen`` address length h](j)}(h``int addrlen``h]j)}(hj+zh]h int addrlen}(hj-zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)zubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj%zubj)}(hhh]jl)}(haddress lengthh]haddress length}(hjDzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@zhMhjAzubah}(h]h ]h"]h$]h&]uh1jhj%zubeh}(h]h ]h"]h$]h&]uh1jhj@zhMhjyubj)}(h&``int flags`` flags (O_NONBLOCK, ...) h](j)}(h ``int flags``h]j)}(hjdzh]h int flags}(hjfzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbzubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^zubj)}(hhh]jl)}(hflags (O_NONBLOCK, ...)h]hflags (O_NONBLOCK, ...)}(hj}zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyzhMhjzzubah}(h]h ]h"]h$]h&]uh1jhj^zubeh}(h]h ]h"]h$]h&]uh1jhjyzhMhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjyubj)}(hFor datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h]jl)}(hFor datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h](hFor datagram sockets, }(hjzhhhNhNubj)}(h**addr**h]haddr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to }(hjzhhhNhNubj)}(h**addr**h]haddr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh. Returns 0 or an error code.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjzubah}(h]h ]h"]h$]h&]uh1jhjzhMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_getsockname (C function)c.kernel_getsocknamehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCint kernel_getsockname (struct socket *sock, struct sockaddr *addr)h]j )}(hBint kernel_getsockname(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_getsocknameh]j9)}(hkernel_getsocknameh]hkernel_getsockname}(hj3{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}(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)}(hsocketh]hsocket}(hjm{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo{modnameN classnameNj j )}j ]j )}j j5{sbc.kernel_getsocknameasbuh1hhjK{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)}(hsockh]hsock}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjG{ubj )}(hstruct sockaddr *addrh](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}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j{c.kernel_getsocknameasbuh1hhj{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 hjG{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)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(hjB|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?|hhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhj {hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZ|jjZ|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)}(hjd|h]h Parameters}(hjf|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb|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|hMhjz|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|hMhjz|ubeh}(h]h ]h"]h$]h&]uh1jhj^|ubjl)}(h**Description**h]j)}(hj|h]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]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 }(hj}hhhNhNubj)}(h**addr**h]haddr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj }ubah}(h]h ]h"]h$]h&]uh1jhj1}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}(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 }(hjg}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT}hhhjf}hMubj3)}(hkernel_getpeernameh]j9)}(hkernel_getpeernameh]hkernel_getpeername}(hjy}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjT}hhhjf}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 }(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 ]j}c.kernel_getpeernameasbuh1hhj~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)}(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 hjT}hhhjf}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjP}hhhjf}hMubah}(h]jK}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjf}hMhjM}hhubjg)}(hhh]jl)}(hjj>jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``enum skb_drop_reason_subsys subsys`` the subsystem to remove, must not be the core **Note** This will synchronize_rcu() to ensure no users when it returns.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.chKhjBubj)}(hhh]j)}(hU``enum skb_drop_reason_subsys subsys`` the subsystem to remove, must not be the core h](j)}(h&``enum skb_drop_reason_subsys subsys``h]j)}(hjgh]h"enum skb_drop_reason_subsys subsys}(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.chKhjaubj)}(hhh]jl)}(h-the subsystem to remove, must not be the coreh]h-the subsystem to remove, must not be the core}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjBubjl)}(h?This will synchronize_rcu() to ensure no users when it returns.h]h?This will synchronize_rcu() to ensure no users when it returns.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$napi_skb_cache_get_bulk (C function)c.napi_skb_cache_get_bulkhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0u32 napi_skb_cache_get_bulk (void **skbs, u32 n)h]j )}(h/u32 napi_skb_cache_get_bulk(void **skbs, u32 n)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 napi_skb_cache_get_bulksbc.napi_skb_cache_get_bulkasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMIubj3)}(hnapi_skb_cache_get_bulkh]j9)}(hjh]hnapi_skb_cache_get_bulk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMIubj )}(h(void **skbs, u32 n)h](j )}(h void **skbsh](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 hj5ubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hskbsh]hskbs}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hu32 nh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.napi_skb_cache_get_bulkasbuh1hhjubj")}(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 hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMIubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj߆hhhj hMIubah}(h]jچah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMIhj܆hhubjg)}(hhh]jl)}(h2obtain a number of zeroed skb heads from the cacheh]h2obtain a number of zeroed skb heads from the cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhj݇hhubah}(h]h ]h"]h$]h&]uh1jfhj܆hhhj hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``void **skbs`` pointer to an at least **n**-sized array to fill with skb pointers ``u32 n`` number of entries to provide **Description** Tries to obtain **n** :c:type:`sk_buff` entries from the NAPI percpu cache and writes the pointers into the provided array **skbs**. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or ``__GFP_ZERO``, so they are ready for {,__}build_skb_around() and don't have any data buffers attached. Must be called *only* from the BH context. **Return** number of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).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.chMMhjubj)}(hhh](j)}(hS``void **skbs`` pointer to an at least **n**-sized array to fill with skb pointers h](j)}(h``void **skbs``h]j)}(hj!h]h void **skbs}(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.chMJhjubj)}(hhh]jl)}(hBpointer to an at least **n**-sized array to fill with skb pointersh](hpointer to an at least }(hj:hhhNhNubj)}(h**n**h]hn}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh&-sized array to fill with skb pointers}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj6hMJhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMJhjubj)}(h'``u32 n`` number of entries to provide h](j)}(h ``u32 n``h]j)}(hjlh]hu32 n}(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.chMKhjfubj)}(hhh]jl)}(hnumber of entries to provideh]hnumber of entries to provide}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubeh}(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.chMMhjubjl)}(hXTries to obtain **n** :c:type:`sk_buff` entries from the NAPI percpu cache and writes the pointers into the provided array **skbs**. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or ``__GFP_ZERO``, so they are ready for {,__}build_skb_around() and don't have any data buffers attached. Must be called *only* from the BH context.h](hTries to obtain }(hjhhhNhNubj)}(h**n**h]hn}(hjňhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjوh]hsk_buff}(hjۈhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj׈ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjubhT entries from the NAPI percpu cache and writes the pointers into the provided array }(hjhhhNhNubj)}(h**skbs**h]hskbs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or }(hjhhhNhNubj)}(h``__GFP_ZERO``h]h __GFP_ZERO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhk, so they are ready for {,__}build_skb_around() and don’t have any data buffers attached. Must be called }(hjhhhNhNubhemphasis)}(h*only*h]honly}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the BH context.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMLhjubjl)}(h **Return**h]j)}(hj;h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThjubjl)}(htnumber of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).h](h'number of successfully allocated skbs (}(hjQhhhNhNubj)}(h**n**h]hn}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhJ if no actual allocation needed or kmem_cache_alloc_bulk() didn’t fail).}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbuild_skb_around (C function)c.build_skb_aroundhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h[struct sk_buff * build_skb_around (struct sk_buff *skb, void *data, unsigned int frag_size)h]j )}(hYstruct sk_buff *build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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 build_skb_aroundsbc.build_skb_aroundasbuh1hhjhhhjhMubj")}(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)}(hbuild_skb_aroundh]j9)}(hjωh]hbuild_skb_around}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct sk_buff *skb, void *data, unsigned int frag_size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j͉c.build_skb_aroundasbuh1hhjubj")}(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 void *datah](jM )}(hvoidh]hvoid}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int frag_sizeh](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)}(h frag_sizeh]h frag_size}(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*build a network buffer around provided skbh]h*build a network buffer around provided skb}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` sk_buff provide by caller, must be memset cleared ``void *data`` data buffer provided by caller ``unsigned int frag_size`` size of datah](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj<ubj)}(hhh](j)}(hJ``struct sk_buff *skb`` sk_buff provide by caller, must be memset cleared 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj[ubj)}(hhh]jl)}(h1sk_buff provide by caller, must be memset clearedh]h1sk_buff provide by caller, must be memset cleared}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjXubj)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjXubj)}(h'``unsigned int frag_size`` size of datah](j)}(h``unsigned int frag_size``h]j)}(hjӋh]hunsigned int frag_size}(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 size of datah]h size of data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1jhj͋ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_build_skb (C function)c.napi_build_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDstruct sk_buff * napi_build_skb (void *data, unsigned int frag_size)h]j )}(hBstruct sk_buff *napi_build_skb(void *data, unsigned int frag_size)h](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj:hM5ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j napi_build_skbsbc.napi_build_skbasbuh1hhj)hhhj:hM5ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj:hM5ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)hhhj:hM5ubj3)}(hnapi_build_skbh]j9)}(hjjh]hnapi_build_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj:hM5ubj )}(h$(void *data, unsigned int frag_size)h](j )}(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 hjubj )}(hunsigned int frag_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)}(h frag_sizeh]h frag_size}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj:hM5ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj:hM5ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hM5hj"hhubjg)}(hhh]jl)}(hbuild a network bufferh]hbuild a network buffer}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5hjHhhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj:hM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" 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)}(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.chM9hjgubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM6hjubj)}(hhh]jl)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hjōh]hunsigned int frag_size}(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.chM7hjubj)}(hhh]jl)}(h size of datah]h size of data}(hjލhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڍhM7hjۍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڍhM7hjubeh}(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.chM9hjgubjl)}(h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.h]h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjgubjl)}(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)}(hj/h]hsk_buff}(hj1hhhNhNubah}(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 on success, }(hj%hhhNhNubj)}(h``NULL``h]hNULL}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh on allocation failure.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjLhM;hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__alloc_skb (C function) c.__alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUstruct sk_buff * __alloc_skb (unsigned int size, gfp_t gfp_mask, int flags, int node)h]j )}(hSstruct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __alloc_skbsb c.__alloc_skbasbuh1hhjhhhjhMubj")}(h h]h }(hjɎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj׎hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h __alloc_skbh]j9)}(hjƎh]h __alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(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)}(hsizeh]hsize}(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}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jĎ c.__alloc_skbasbuh1hhjPubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(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 )}(hint nodeh](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)}(hnodeh]hnode}(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]j|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj~hhubjg)}(hhh]jl)}(hallocate a network bufferh]hallocate a network buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" 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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjXh]hunsigned int size}(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)}(hsize to allocateh]hsize to allocate}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubj)}(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)}(hjʐh]h int flags}(hj̐hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȐubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjĐubj)}(hhh]jl)}(hIf 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&]uh1jhjĐubeh}(h]h ]h"]h$]h&]uh1jhjߐhMhjOubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hjh]hint node}(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)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj?h]h Description}(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.chMhj3ubj)}(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 }(hjYhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjch]hsk_buff}(hjehhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubh. 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 }(hjYhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjUubjl)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hjhhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(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.chMhjUubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubeh}(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}(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 __netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhjhhhjhMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__netdev_alloc_skbh]j9)}(hj3h]h__netdev_alloc_skb}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j1c.__netdev_alloc_skbasbuh1hhjlubj")}(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}(hjǒhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(hunsigned int 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 }(hj hhhNhNubah}(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 hjhubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j1c.__netdev_alloc_skbasbuh1hhj-ubj")}(h h]h }(hjRhhhNhNubah}(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 hjhubeh}(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.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hj˓h]hstruct net_device *dev}(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)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjœubeh}(h]h ]h"]h$]h&]uh1jhjhMhj“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.chMhjubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj“ubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(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.chMhj7ubj)}(hhh]jl)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj“ubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjȔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĔubh( is returned if there is no free memory.}(hjĔhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9ubh)}(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 napi_alloc_skbsbc.napi_alloc_skbasbuh1hhjhhhjhM9ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9ubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM9ubj3)}(hnapi_alloc_skbh]j9)}(hjDh]hnapi_alloc_skb}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM9ubj )}(h,(struct napi_struct *napi, unsigned int len)h](j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jBc.napi_alloc_skbasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj˕hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hnapih]hnapi}(hjؕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(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 hjyubeh}(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)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj" 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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjoubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjubj)}(hhh]jl)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(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.chM;hjǖubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjǖubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubeh}(h]h ]h"]h$]h&]uh1jhjoubjl)}(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=hjoubj)}(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<hjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh( is returned if there is no free memory.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM<hjoubeh}(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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhMubj3)}(h __kfree_skbh]j9)}(h __kfree_skbh]h __kfree_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjϗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̗ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjїmodnameN classnameNj j )}j ]j )}j jsb c.__kfree_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhMubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjihhubjg)}(hhh]jl)}(hprivate functionh]hprivate function}(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&]uh1jfhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" 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)}(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)}(h``struct sk_buff *skb`` buffer 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)}(hbufferh]hbuffer}(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**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.chMhjPubj)}(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}(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ؘhMhjPubeh}(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)}(hivoid __fix_address sk_skb_reason_drop (struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]j )}(hhvoid __fix_address sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubh __fix_address}(hjhhhNhNubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hsk_skb_reason_droph]j9)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(hC(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j )}(hstruct sock *skh](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)}(hsockh]hsock}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j )}j j4sbc.sk_skb_reason_dropasbuh1hhjJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj͙hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjޙhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjۙubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.sk_skb_reason_dropasbuh1hhjubj")}(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 hjFubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hj0hhhNhNubah}(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}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]jc.sk_skb_reason_dropasbuh1hhj,ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj9)}(hreasonh]hreason}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubeh}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``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)}(hjƚh]h Parameters}(hjȚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĚubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hM``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``struct sock *sk``h]j)}(hjh]hstruct sock *sk}(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)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, or NULL if not applicable}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjߚubeh}(h]h ]h"]h$]h&]uh1jhjhMhjܚubj)}(h'``struct sk_buff *skb`` buffer to free 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 to freeh]hbuffer to free}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjܚubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjih]henum skb_drop_reason reason}(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.chMhjcubj)}(hhh]jl)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjܚubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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&]uh1jhj̛hMhjubeh}(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}(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_tx_errorh]j9)}(h skb_tx_errorh]h skb_tx_error}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM~ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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_tx_errorasbuh1hhj,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(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)}(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.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj˜jj˜jjjuh1hhhhj" 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)}(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)}(h7``struct sk_buff *skb`` buffer that triggered an error 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 that triggered an errorh]hbuffer that triggered an error}(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&]uh1jhjϜubjl)}(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.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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubah}(h]h ]h"]h$]h&]uh1jhjWhMhjϜ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}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhMubj3)}(h consume_skbh]j9)}(h consume_skbh]h consume_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjȝhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjٝhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֝ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj۝modnameN classnameNj j )}j ]j )}j jsb c.consume_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(hfree an skbuffh]hfree an skbuff}(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&]uh1jfhjshhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(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.chMhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubj)}(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}(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&]uh1jhjhMhjZubeh}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnapi_consume_skbh]j9)}(hnapi_consume_skbh]hnapi_consume_skb}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h!(struct sk_buff *skb, int budget)h](j )}(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}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j j,sbc.napi_consume_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 hj>ubj )}(h int budgeth](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)}(hbudgeth]hbudget}(hjԟhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h2consume skb in NAPI context, try to feed skb cacheh]h2consume skb in NAPI context, try to feed skb cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to 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&]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)}(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 freeh]hbuffer to free}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h``int budget`` NAPI budget h](j)}(h``int budget``h]j)}(hjxh]h int budget}(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 NAPI budgeth]h NAPI budget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hNon-zero **budget** must come from the **budget** argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole.h](h Non-zero }(hjɠhhhNhNubj)}(h **budget**h]hbudget}(hjѠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɠubh must come from the }(hjɠhhhNhNubj)}(h **budget**h]hbudget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɠubh 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.}(hjɠhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hdPassing **budget** of 0 is safe from any context, it turns this function into dev_consume_skb_any().h](hPassing }(hjhhhNhNubj)}(h **budget**h]hbudget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhR of 0 is safe from any context, it turns this function into dev_consume_skb_any().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_for_msg (C function)c.alloc_skb_for_msghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct sk_buff * alloc_skb_for_msg (struct sk_buff *first)h]j )}(h8struct sk_buff *alloc_skb_for_msg(struct sk_buff *first)h](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhM`ubh)}(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 alloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhj9hhhjJhM`ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhM`ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9hhhjJhM`ubj3)}(halloc_skb_for_msgh]j9)}(hjzh]halloc_skb_for_msg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjJhM`ubj )}(h(struct sk_buff *first)h]j )}(hstruct sk_buff *firsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjġhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjաhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҡubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjסmodnameN classnameNj j )}j ]jxc.alloc_skb_for_msgasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfirsth]hfirst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hj5hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhjJhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" hNhNubj)}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(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.chMdhjTubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hjyh]hstruct sk_buff *first}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMfhjsubj)}(hhh]jl)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(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}(hjӢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϢhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϢhhhjhMyubh)}(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_morphsb c.skb_morphasbuh1hhjϢhhhjhMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϢhhhjhMyubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjϢhhhjhMyubj3)}(h skb_morphh]j9)}(hjh]h skb_morph}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϢhhhjhMyubj )}(h*(struct sk_buff *dst, struct sk_buff *src)h](j )}(hstruct sk_buff *dsth](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}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j c.skb_morphasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(hstruct sk_buff *srch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjʣhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjۣhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjأubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݣmodnameN classnameNj j )}j ]j c.skb_morphasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubeh}(h]h ]h"]h$]h&]jPjQuh1j hjϢhhhjhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjˢhhhjhMyubah}(h]jƢah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMyhjȢhhubjg)}(hhh]jl)}(hmorph one skb into anotherh]hmorph one skb into another}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhj;hhubah}(h]h ]h"]h$]h&]uh1jfhjȢhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(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.chM}hjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhjyubj)}(hhh]jl)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjvubj)}(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.chM{hjubj)}(hhh]jl)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjѤhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjͤhM{hjΤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͤhM{hjvubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjZubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hj ubjl)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjZubeh}(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}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhQ/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!hjMhhhj_hMubj3)}(hskb_copy_ubufsh]j9)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj_hMubj )}(h%(struct sk_buff *skb, gfp_t gfp_mask)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 jtsbc.skb_copy_ubufsasbuh1hhjubj")}(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 )}(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_copy_ubufsasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj_hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj_hMubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hMhjFhhubjg)}(hhh]jl)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj" 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)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjuubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe skb to modifyh]hthe skb to modify}(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 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.chMhjͦubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjͦubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubjl)}(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.chMhjuubj)}(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.}(hj(hhhNhNubah}(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 }(hj7hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh.}(hj7hhhNhNubeh}(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.}(hjXhhhNhNubah}(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&]uh1jhj6hMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone (C function) c.skb_clonehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h@struct sk_buff * skb_clone (struct sk_buff *skb, gfp_t gfp_mask)h]j )}(h>struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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_clonesb c.skb_cloneasbuh1hhjhhhjhMubj")}(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 skb_cloneh]j9)}(hjʧh]h skb_clone}(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}(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ȧ c.skb_cloneasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]jȧ c.skb_cloneasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(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)}(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.chMhjͨhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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 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.chMhj ubj)}(hhh]jl)}(hbuffer to cloneh]hbuffer to clone}(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'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjJh]hgfp_t gfp_mask}(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.chMhjDubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jl)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(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 new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj˩hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& otherwise the new buffer is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjƩhMhjubjl)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM#hjubeh}(h]h ]h"]h$]h&]uh1jhjƩhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hMhubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j skb_copysb c.skb_copyasbuh1hhj&hhhj7hMhubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hMhubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&hhhj7hMhubj3)}(hskb_copyh]j9)}(hjgh]hskb_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj7hMhubj )}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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}(hjݪhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڪubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjߪmodnameN classnameNj j )}j ]je c.skb_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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]je c.skb_copyasbuh1hhj+ubj")}(h h]h }(hjPhhhNhNubah}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj7hMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj7hMhubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hMhhjhhubjg)}(hhh]jl)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj7hMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jl)}(h**Parameters**h]j)}(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.chMlhjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjɫh]hconst struct sk_buff *skb}(hj˫hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǫubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjëubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjޫhMihj߫ubah}(h]h ]h"]h$]h&]uh1jhjëubeh}(h]h ]h"]h$]h&]uh1jhjޫhMihjubj)}(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.chMjhjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(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)}(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.chMlhjubj)}(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 }(hjWhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjah]hsk_buff}(hjchhhNhNubah}(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.chMkhjWubh} 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 }(hjWhhhNhNubj)}(h``NULL``h]hNULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj~hMkhjSubjl)}(hXSAs by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](h0As by-product this function converts non-linear }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(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.chMphjubh to linear one, so that }(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_buffuh1hhj¬hMphjubh becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj¬hMphjSubeh}(h]h ]h"]h$]h&]uh1jhj~hMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_copy_fclone (C function)c.__pskb_copy_fclonehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hdstruct sk_buff * __pskb_copy_fclone (struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h]j )}(hbstruct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hMubh)}(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 __pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjhhhj#hMubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hMubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj#hMubj3)}(h__pskb_copy_fcloneh]j9)}(hjSh]h__pskb_copy_fclone}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj#hMubj )}(h@(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)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 ]jQc.__pskb_copy_fcloneasbuh1hhjubj")}(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 )}(h int headroomh](jM )}(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 hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jQc.__pskb_copy_fcloneasbuh1hhj1ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hgfp_maskh]hgfp_mask}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool fcloneh](jM )}(hjh]hbool}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hfcloneh]hfclone}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hj®hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڮjjڮjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int 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)}(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)}(h'``struct sk_buff *skb`` buffer to copy 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 copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hj<h]h int headroom}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj6ubj)}(hhh]jl)}(hheadroom of new skbh]hheadroom of new skb}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjuh]hgfp_t gfp_mask}(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)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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&]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)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h]jl)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj2h]hsk_buff}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj+hMhjubh8 and needs private copy of the header to alter. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjShhhNhNubah}(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&]uh1jkhj+hMhjubah}(h]h ]h"]h$]h&]uh1jhj+hMhjޮubeh}(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}(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)}(hpskb_expand_headh]j9)}(hpskb_expand_headh]hpskb_expand_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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.pskb_expand_headasbuh1hhjʰubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjʰubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjʰubj9)}(hskbh]hskb}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʰubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjưubj )}(h int nheadh](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)}(hnheadh]hnhead}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjưubj )}(h int ntailh](jM )}(hinth]hint}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hntailh]hntail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjưubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.pskb_expand_headasbuh1hhjubj")}(h h]h }(hj˱hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjٱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj h]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jc.pskb_expand_headasbjsk_buffuh1hhjphKhjubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj" hNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjCubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjhh]hstruct sk_buff *skb}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjbubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjh]h int nhead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hroom to add at headh]hroom to add at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjڲh]h int ntail}(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 tailh]hroom to add at tail}(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&]uh1jhjubah}(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&]uh1jhjCubjl)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjCubj)}(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 }(hjhhhhNhNubj)}(h **nhead**h]hnhead}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh and }(hjhhhhNhNubj)}(h **ntail**h]hntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh are zero) header of }(hjhhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. }(hjhhhhNhNubh)}(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.chMhjhubh itself is not changed. }(hjhhhhNhNubh)}(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_buffuh1hhjųhMhjhubhv MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, }(hjhhhhNhNubh)}(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_buffuh1hhjųhMhjhubh is not changed.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjųhMhjdubjl)}(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.chMhjdubeh}(h]h ]h"]h$]h&]uh1jhjųhMhjCubjl)}(h**Note**h]j)}(hj-h]hNote}(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.chMhjCubj)}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjFubj)}(hhh]jl)}(hheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](hbheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to }(hj\hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjfh]h sk_buff->data}(hjhhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjXhMhj\ubh.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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.chMx ubj")}(h h]h }(hjʹhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj̴hMx ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj޴hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj۴ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_expand_headsbc.skb_expand_headasbuh1hhjhhhj̴hMx ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj̴hMx ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj̴hMx ubj3)}(hskb_expand_headh]j9)}(hjh]hskb_expand_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj̴hMx ubj )}(h,(struct sk_buff *skb, unsigned int headroom)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_expand_headasbuh1hhj5ubj")}(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 hj1ubj )}(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}(hjŵhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjӵhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj̴hMx ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj̴hMx ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj̴hMx hjhhubjg)}(hhh]jl)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jc.skb_expand_headasbjsk_buffuh1hhjphKhj ubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMx hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj̴hMx ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj" 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)}(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 reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjph]hstruct sk_buff *skb}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMy hjjubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMy hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMy hjgubj)}(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.chMz hjubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hj¶hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMz hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMz hjgubeh}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM{ hjubjl)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubeh}(h]h ]h"]h$]h&]uh1jhj hM{ hjKubeh}(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}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhM 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 )}j skb_copy_expandsbc.skb_copy_expandasbuh1hhj>hhhjOhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>hhhjOhM ubj3)}(hskb_copy_expandh]j9)}(hjh]hskb_copy_expand}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjOhM 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 }(hjɷhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj׷hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j}c.skb_copy_expandasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newheadroomh](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj9)}(h newheadroomh]h newheadroom}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newtailroomh](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)}(h newtailroomh]h newtailroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j}c.skb_copy_expandasbuh1hhjubj")}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhjOhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjOhM ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhM hj7hhubjg)}(hhh]jl)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(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&]uh1jfhj7hhhjOhM 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)}(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-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjKh]hconst struct sk_buff *skb}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjEubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjBubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjh]hint newheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj~ubj)}(hhh]jl)}(hnew free bytes at headh]hnew free bytes at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjBubj)}(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}(hjֹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjҹhM hjӹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҹhM hjBubj)}(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&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjBubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj&ubj)}(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 }(hjKhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjUh]hsk_buff}(hjWhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjKubh; and its data and while doing so allocate additional space.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjrhM hjGubjl)}(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 }(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjGubjl)}(heYou must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](hYou must pass }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI as the allocation priority if this function is called from an interrupt.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjGubeh}(h]h ]h"]h$]h&]uh1jhjrhM hj&ubeh}(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}(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_padh]j9)}(h __skb_padh]h __skb_pad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM 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&]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 reftargetjBmodnameN classnameNj j )}j ]j )}j jsb c.__skb_padasbuh1hhjubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint padh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpadh]hpad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool free_on_errorh](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 free_on_errorh]h free_on_error}(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 jYjZhjݺhhhjhM ubah}(h]jغah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjںhhubjg)}(hhh]jl)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj hhubah}(h]h ]h"]h$]h&]uh1jfhjںhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhj" 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)}(hj0h]h Parameters}(hj2hhhNhNubah}(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 pad h](j)}(h``struct sk_buff *skb``h]j)}(hjOh]hstruct sk_buff *skb}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjIubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhM hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjFubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjh]hint pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h space to padh]h space to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjFubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(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)}(hfree buffer on errorh]hfree buffer on error}(hjڼhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjּhM hj׼ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjּhM hjFubeh}(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)}(hXEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jl)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjl)}(h`May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](hFMay return error in out of memory cases. The skb is freed on error if }(hj%hhhNhNubj)}(h**free_on_error**h]h free_on_error}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh is true.}(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&]uh1jhj$hM hj*ubeh}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhQ/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!hjhhhhjzhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhhjzhM ubj3)}(hpskb_puth]j9)}(hpskb_puth]hpskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjzhM 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 }(hjýhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjԽhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѽubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjֽmodnameN classnameNj j )}j ]j )}j jsb c.pskb_putasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *tailh](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)}(hsk_buffh]hsk_buff}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j c.pskb_putasbuh1hhj$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)}(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 hjhhhhjzhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhM ubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhM hjahhubjg)}(hhh]jl)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(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&]uh1jfhjahhhjzhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(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)}(hstart of the buffer to useh]hstart of the buffer to use}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hjXh]hstruct sk_buff *tail}(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.chM hjRubj)}(hhh]jl)}(h"tail fragment of the buffer to useh]h"tail fragment of the buffer to use}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjubj)}(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! hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj̿h]h Description}(hjοhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʿubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM# hjubj)}(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. }(hjhhhNhNubj)}(h**tail**h]htail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be the last fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh -- or }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(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" hjubeh}(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}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5 ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj_hM5 ubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMhhhj_hM5 ubj3)}(hskb_puth]j9)}(hskb_puth]hskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj_hM5 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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hinth]hint}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hlenh]hlen}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj_hM5 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj_hM5 ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hM5 hjFhhubjg)}(hhh]jl)}(hadd data to a bufferh]hadd data to a buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5 hjlhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhj_hM5 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.chM9 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.chM6 hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6 hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7 hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9 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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8 hj:ubah}(h]h ]h"]h$]h&]uh1jhjLhM8 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}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhMJ ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjohhhjhMJ ubj3)}(hskb_pushh]j9)}(hskb_pushh]hskb_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjhMJ 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 }(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 )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubjM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj9)}(hlenh]hlen}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjhMJ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjhMJ ubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMJ hjhhhubjg)}(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.chMJ hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhjhMJ 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.chMN 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.chMK hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMK hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMK 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.chML hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hML hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hML hjubeh}(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.chMN 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.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMM hj\ubah}(h]h ]h"]h$]h&]uh1jhjnhMM 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.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_pullh]j9)}(hskb_pullh]hskb_pull}(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_pullasbuh1hhjubj")}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hlenh]hlen}(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&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.chM] hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM] 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.chMa 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}(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.``unsigned int len`` amount of data to remove 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.chM_ hj'ubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM_ hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM_ hjubeh}(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.chMa hjubj)}(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.chM` 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_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.chMm ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMm ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMm ubj3)}(h skb_pull_datah]j9)}(h skb_pull_datah]h skb_pull_data}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMm ubj )}(h!(struct sk_buff *skb, size_t 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 reftargetj!modnameN classnameNj j )}j ]j )}j jsbc.skb_pull_dataasbuh1hhjubj")}(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)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j;c.skb_pull_dataasbuh1hhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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.chMm hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMm ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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`` buffer to use 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.chMo hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMo hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMo hjubj)}(h(``size_t len`` amount of data to remove h](j)}(h``size_t len``h]j)}(hjFh]h size_t len}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hj@ubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(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 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.chMr hjubj)}(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.chMq hjubah}(h]h ]h"]h$]h&]uh1jhjhMq hjubeh}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hskb_trimh]j9)}(hskb_trimh]hskb_trim}(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}(hj hhhNhNubah}(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 jsb c.skb_trimasbuh1hhj 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)}(hskbh]hskb}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hremove 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&]jjjjjjjjjuh1hhhhj" 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)}(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 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 hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM hjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hj[h]hunsigned int len}(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)}(h new lengthh]h new length}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(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 hjubeh}(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}(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)}(h__pskb_pull_tailh]j9)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h (struct sk_buff *skb, int delta)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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.__pskb_pull_tailasbuh1hhj+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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(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 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)}(hadvance tail of skb headerh]hadvance tail of skb header}(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 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)}(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.chM hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate 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)}(hbuffer to reallocateh]hbuffer to reallocate}(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.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(hjah]h int delta}(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.chM hj[ubj)}(hhh]jl)}(hnumber of bytes to advance tailh]hnumber of bytes to advance tail}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(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)}(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 MUST have reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM 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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (and }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj2h]hsk_buff}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhM 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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(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_copy_bitsasbuh1hhjubj")}(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 offseth](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hoffseth]hoffset}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhj" 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)}(hj8h]h Parameters}(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 hj2ubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb h](j)}(h``const struct sk_buff *skb``h]j)}(hjWh]hconst struct sk_buff *skb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjQubj)}(hhh]jl)}(h source skbh]h source skb}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM hjNubj)}(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 hjNubj)}(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 hjNubj)}(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.chM hjubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj2ubj)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjSubj)}(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 ! :}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjiubj)}(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 hj|ubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj{hM hjfubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjehM hj2ubeh}(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.chML ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhML ubj3)}(hskb_store_bitsh]j9)}(hskb_store_bitsh]hskb_store_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhML ubj )}(h<(struct sk_buff *skb, int offset, const void *from, 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}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.skb_store_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}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(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 hjhhhjhML ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhML ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhML hjhhubjg)}(hhh]jl)}(h$store bits from kernel buffer to skbh]h$store bits from kernel buffer to skb}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chML hjJhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj" 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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMP hjiubj)}(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.chMM hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMM 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.chMN hjubj)}(hhh]jl)}(hoffset in destinationh]hoffset in destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMN hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMN hjubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hjh]hconst void *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.chMO hjubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMO hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMO hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hj9h]hint len}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMP hj3ubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMP hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMP hjubeh}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hjth]h Description}(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.chMR hjiubj)}(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.chMQ hjubah}(h]h ]h"]h$]h&]uh1jhjhMQ hjiubeh}(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!hjhhhjhMubj3)}(h skb_zerocopyh]j9)}(h skb_zerocopyh]h skb_zerocopy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j )}(hstruct sk_buff *toh](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 reftargetj modnameN classnameNj j )}j ]j )}j jsbc.skb_zerocopyasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(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_zerocopyasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(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 hjubj )}(hint hlenh](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)}(hhlenh]hhlen}(hj3hhhNhNubah}(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)}(hZero copy skb to skbh]hZero copy skb to skb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhj" 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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh](j)}(h*``struct sk_buff *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.chMhjubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from 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)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hjIh]hint hlen}(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.chMhjCubj)}(hhh]jl)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(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 }(hjhhhNhNubj)}(h`hlen`h]hhlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hjhhhNhNubj)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh buffer.}(hjhhhNhNubeh}(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 }(hjhhhNhNubj)}(h**from**h]hfrom}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubeh}(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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjlhMZubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_dequeuesb c.skb_dequeueasbuh1hhj[hhhjlhMZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjlhMZubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[hhhjlhMZubj3)}(h skb_dequeueh]j9)}(hjh]h skb_dequeue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjlhMZubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_dequeueasbuh1hhjubj")}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjlhMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjlhMZubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMZhjThhubjg)}(hhh]jl)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhjWhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjlhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj" 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)}(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.chM^hjvubj)}(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&]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.chM]hjvubj)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(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.chM\hjubah}(h]h ]h"]h$]h&]uh1jhjhM\hjvubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMoubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjDhMoubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j )}j skb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhj3hhhjDhMoubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjDhMoubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3hhhjDhMoubj3)}(hskb_dequeue_tailh]j9)}(hjth]hskb_dequeue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhjDhMoubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jrc.skb_dequeue_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)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhjDhMoubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhjDhMoubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMohj,hhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohj/hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhjDhMoubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj" 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)}(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.chMshjNubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjsh]hstruct sk_buff_head *list}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphjmubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMphjjubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjNubj)}(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}(hjhhhNhNubah}(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.chMqhjubah}(h]h ]h"]h$]h&]uh1jhjhMqhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_purge_reason (C function)c.skb_queue_purge_reasonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hTvoid skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]j )}(hSvoid skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hskb_queue_purge_reasonh]j9)}(hskb_queue_purge_reasonh]hskb_queue_purge_reason}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](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 sk_buff_headh]h sk_buff_head}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j2sbc.skb_queue_purge_reasonasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubeh}(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)}(h empty a listh]h empty a list}(hj2hhhNhNubah}(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&]jjjjJjjJjjjuh1hhhhj" 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)}(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.chMhjNubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjsh]hstruct sk_buff_head *list}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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&]uh1jhjhMhjjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNubj)}(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 }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj h]hsk_buff}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(hMhjubah}(h]h ]h"]h$]h&]uh1jhj(hMhjNubeh}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjghMubj3)}(hskb_queue_headh]j9)}(hskb_queue_headh]hskb_queue_head}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMubj )}(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 j|sbc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]jc.skb_queue_headasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjNhhubjg)}(hhh]jl)}(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&]uh1jfhjNhhhjghMubeh}(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)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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)}(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 }(hjXhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjbh]hsk_buff}(hjdhhhNhNubah}(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.chMhjXubh functions safely.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjTubjl)}(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.chMhjTubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_queue_tailh]j9)}(hskb_queue_tailh]hskb_queue_tail}(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 }(hj hhhNhNubah}(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_tailasbuh1hhjubj")}(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)}(hlisth]hlist}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j6c.skb_queue_tailasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(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 tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX`**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj0h]hstruct sk_buff_head *list}(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)}(h list to useh]h list to use}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjih]hstruct sk_buff *newsk}(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.chMhjcubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(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&]uh1jkhjhMhjubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj3hMubj3)}(h skb_unlinkh]j9)}(h skb_unlinkh]h skb_unlink}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj3hMubj )}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jHsb c.skb_unlinkasbuh1hhj^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 hjZubj )}(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_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)}(hlisth]hlist}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj3hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj3hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMhjhhubjg)}(hhh]jl)}(hremove a buffer from a listh]hremove a buffer from a list}(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&]uh1jfhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj" 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)}(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 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)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjqubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqubj)}(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.}(hj3hhhNhNubah}(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&]uh1jhj2hMhjqubeh}(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}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhM ubj3)}(h skb_appendh]j9)}(h skb_appendh]h skb_append}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjvhM 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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(holdh]hold}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 c.skb_appendasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(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*}(hjhhhNhNubah}(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 hjdhhhjvhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhM ubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhM hj]hhubjg)}(hhh]jl)}(happend a bufferh]happend a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjvhM 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)}(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 *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hjIh]hstruct sk_buff *old}(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.chM hjCubj)}(hhh]jl)}(hbuffer to insert afterh]hbuffer to insert after}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM 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.chMhj|ubj)}(hhh]jl)}(hbuffer to inserth]hbuffer to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@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.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&]uh1jhjhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubj)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]jl)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjhMhj$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}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMaubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjShMaubj3)}(h skb_splith]j9)}(h skb_splith]h skb_split}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjShMaubj )}(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&]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 jhsb c.skb_splitasbuh1hhj~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 hjzubj )}(hstruct sk_buff *skb1h](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_splitasbuh1hhjubj")}(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)}(hskb1h]hskb1}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubj )}(h const u32 lenh](j)}(hj h]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_splitasbuh1hhj`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 hjzubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjShMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhjShMaubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMahj:hhubjg)}(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.chMahjhhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhjShMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.chMehjubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMbhjubj)}(hhh]jl)}(hthe buffer to splith]hthe buffer to split}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMbhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMbhjubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjRh]hstruct sk_buff *skb1}(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.chMchjLubj)}(hhh]jl)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMchjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMchjubj)}(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.chMehjubj)}(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.chMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_prepare_seq_readh]j9)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(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 skb_seq_state *st)h](j )}(hstruct sk_buff *skbh](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 reftargetjBmodnameN classnameNj j )}j ]j )}j jsbc.skb_prepare_seq_readasbuh1hhjubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 hjubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j\c.skb_prepare_seq_readasbuh1hhj2ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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 readh]hthe buffer to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hj1h]hunsigned int from}(hj3hhhNhNubah}(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)}(hlower offset of data to be readh]hlower offset of data to be read}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhM hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM hjubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hjjh]hunsigned int to}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjdubj)}(hhh]jl)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjl)}(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.}(hjhhhNhNubah}(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 hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubjM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj1hMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubj3)}(h skb_seq_readh]j9)}(h skb_seq_readh]h skb_seq_read}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMubj )}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j )}(hunsigned int consumedh](jM )}(hunsignedh]hunsigned}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hconsumedh]hconsumed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hconst u8 **datah](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 jbsbc.skb_seq_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 hjubj )}(hj jh]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hstruct skb_seq_state *sth](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 skb_seq_stateh]h skb_seq_state}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]jc.skb_seq_readasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(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)}(hSequentially read skb datah]hSequentially read 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&]uh1jfhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjh]hunsigned int consumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(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 u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hjGh]hconst u8 **data}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubj)}(hhh]jl)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjzubj)}(hhh]jl)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hjubjl)}(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 }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM!hjubjl)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjubj)}(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,}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hj(ubj)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hj;ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj:hM.hj%ubj)}(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}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjYubj)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM1hjlubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjkhM1hj%ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(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}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.skb_abort_seq_readasbuh1hhjubj")}(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)}(hsth]hst}(hjEhhhNhNubah}(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#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlhhubah}(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)}(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)}(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.}(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_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}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj>hMubj3)}(hskb_copy_seq_readh]j9)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj>hMubj )}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j )}(hstruct skb_seq_state *sth](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 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 jSsbc.skb_copy_seq_readasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(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 hjeubj )}(hvoid *toh](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*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hint lenh](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hlenh]hlen}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(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)}(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&]uh1jfhj%hhhj>hMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hoffset in sourceh]hoffset in source}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjOh]hvoid *to}(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)}(hdestination bufferh]hdestination buffer}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes into the source }(hjhhhNhNubj)}(h**st**h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h`offset`h]hoffset}(hj)hhhNhNubah}(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}(hj;hhhNhNubah}(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)}(hjVh]hReturn}(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.chMhjubjl)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hjlhhhNhNubah}(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}(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_find_textasbuh1hhjubj")}(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 )}(hunsigned int fromh](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)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ts_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h ts_configh]h ts_config}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j.c.skb_find_textasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(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)}(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)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h search offseth]h search offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hj<h]hunsigned int to}(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.chMhj6ubj)}(hhh]jl)}(h search limith]h search limit}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hjuh]hstruct ts_config *config}(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)}(htextsearch configurationh]htextsearch configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(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}(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!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_pull_rcsumh]j9)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct sk_buff *skb, unsigned 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_pull_rcsumasbuh1hhj;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 )}(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 hj7ubeh}(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$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj/ubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjTh]hstruct sk_buff *skb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(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.chMhjubj)}(hhh]jl)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj/ubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_segment (C function) c.skb_segmenthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSstruct sk_buff * skb_segment (struct sk_buff *head_skb, netdev_features_t features)h]j )}(hQstruct sk_buff *skb_segment(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hM~ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j skb_segmentsb c.skb_segmentasbuh1hhjhhhj$hM~ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hM~ubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj$hM~ubj3)}(h skb_segmenth]j9)}(hjTh]h skb_segment}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hM~ubj )}(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 ]jR c.skb_segmentasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhead_skbh]hhead_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdev_features_t featuresh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jR c.skb_segmentasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfeaturesh]hfeatures}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hM~hj hhubjg)}(hhh]jl)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjWhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj" 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)}(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 *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.chMhjubj)}(hhh]jl)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubjl)}(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.chMhjvubj)}(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).}(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&]uh1jhj7hMhjvubeh}(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}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhMubj3)}(h skb_to_sgvech]j9)}(h skb_to_sgvech]h skb_to_sgvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhMubj )}(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*}(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 scatterlist *sgh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.skb_to_sgvecasbuh1hhj 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)}(hsgh]hsg}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int offseth](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(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 hjZhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjShhubjg)}(hhh]jl)}(h/Fill a scatter-gather list from a socket bufferh]h/Fill a scatter-gather list from a socket 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&]uh1jfhjShhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped ``struct scatterlist *sg`` The scatter-gather list to map into ``int offset`` The offset into the buffer's contents to start mapping ``int len`` Length of buffer space to be mapped **Description** Fill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hJ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj)}(hhh]jl)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj0ubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hjrh]hstruct scatterlist *sg}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(hhh]jl)}(h#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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubj)}(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&]uh1jhjhMhj0ubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj5ubah}(h]h ]h"]h$]h&]uh1jhjGhMhjubeh}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj|hMubj3)}(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&]jPjQuh1j2hjjhhhj|hMubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int tailbitsh](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)}(htailbitsh]htailbits}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff **trailerh](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)}(hsk_buffh]hsk_buff}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jc.skb_cow_dataasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(htrailerh]htrailer}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(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)}(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&]uh1jfhjchhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjZh]h int tailbits}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjTubj)}(hhh]jl)}(h$Amount of trailing space to be addedh]h$Amount of trailing space to be added}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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&]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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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 }(hj hhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh2 is given, make sure that there is space to write }(hj hhhNhNubj)}(h **tailbits**h]htailbits}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh5 bytes of data beyond current end of socket buffer. }(hj hhhNhNubj)}(h **trailer**h]htrailer}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh< will be set to point to the skb in which this space begins.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_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.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_clone_sksbc.skb_clone_skasbuh1hhjhhhjhM|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_clone_skh]j9)}(hjh]h skb_clone_sk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM|ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 ]jc.skb_clone_skasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(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 hjubah}(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)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hj{hhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjhM|ubeh}(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.chM}hjubj)}(hhh]jl)}(hthe skb to cloneh]hthe skb to clone}(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.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!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}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhj[hMubj3)}(hskb_partial_csum_seth]j9)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhj[hMubj )}(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 jpsbc.skb_partial_csum_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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 starth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_partial_csum_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hstarth]hstart}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 offh](h)}(hhh]j9)}(hu16h]hu16}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jc.skb_partial_csum_setasbuh1hhj@ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(hoffh]hoff}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(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)}(h0set up and verify partial csum values for packeth]h0set up and verify partial csum values for 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&]uh1jfhjChhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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 set 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 seth]hthe skb to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``u16 start`` the number of bytes after skb->data to start checksumming. h](j)}(h ``u16 start``h]j)}(hjh]h u16 start}(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 number of bytes after skb->data to start checksumming.h]h:the number of bytes after skb->data to start checksumming.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(h9``u16 off`` the offset from start to place the checksum. h](j)}(h ``u16 off``h]j)}(hjPh]hu16 off}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjJubj)}(hhh]jl)}(h,the offset from start to place the checksum.h]h,the offset from start to place the checksum.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubeh}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(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.}(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_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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMlubj3)}(hskb_checksum_setuph]j9)}(hskb_checksum_setuph]hskb_checksum_setup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMlubj )}(h'(struct sk_buff *skb, bool recalculate)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j jsbc.skb_checksum_setupasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool recalculateh](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 recalculateh]h recalculate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(hset up partial checksum offseth]hset up partial checksum offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(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.chMphjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to set up h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhj ubj)}(hhh]jl)}(hthe skb to set uph]hthe skb to set up}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj) hMmhj* ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) hMmhj ubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hjM h]hbool recalculate}(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.chMohjG ubj)}(hhh]jl)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hMohj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hMubj3)}(hskb_checksum_trimmedh]j9)}(hj h]hskb_checksum_trimmed}(hj 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&]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 reftargetjA modnameN classnameNj j )}j ]j c.skb_checksum_trimmedasbuh1hhj ubj")}(h h]h }(hj] hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjk hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjx hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj 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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j9)}(h__sum16h]h__sum16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.skb_checksum_trimmedasbuh1hhj ubj")}(h h]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]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskb_chkfh]hskb_chkf}(hj, hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 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 ubj)}(hjh]hstruct}(hjU hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjb hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjs hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju modnameN classnameNj j )}j ]j c.skb_checksum_trimmedasbuh1hhj 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 ubj )}(hj< h]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 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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX<**Parameters** ``struct sk_buff *skb`` 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)}(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 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.chMhj ubj)}(hhh]jl)}(hthe skb to checkh]hthe skb to check}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9 hMhj: ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj9 hMhj ubj)}(hI``unsigned int transport_len`` the data length beyond the network header h](j)}(h``unsigned int transport_len``h]j)}(hj] h]hunsigned int transport_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.chMhjW ubj)}(hhh]jl)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr hMhjs ubah}(h]h ]h"]h$]h&]uh1jhjW ubeh}(h]h ]h"]h$]h&]uh1jhjr hMhj ubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hj h]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hchecksum function to useh]hchecksum function to use}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj 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)}(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.}(hj hhhNhNubah}(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.}(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_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}(hj4 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0 hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjB hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0 hhhjA hMubj3)}(hskb_try_coalesceh]j9)}(hskb_try_coalesceh]hskb_try_coalesce}(hjT hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0 hhhjA hMubj )}(hQ(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j )}(hstruct sk_buff *toh](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)}(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 jV sbc.skb_try_coalesceasbuh1hhjl 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)}(htoh]hto}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh ubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(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_try_coalesceasbuh1hhj 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)}(hfromh]hfrom}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh ubj )}(hbool *fragstolenh](jM )}(hjh]hbool}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(h fragstolenh]h fragstolen}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh ubj )}(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 hjh ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0 hhhjA hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj, hhhjA hMubah}(h]j' ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjA hMhj) hhubjg)}(hhh]jl)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(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) hhhjA hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *to`` prior buffer ``struct sk_buff *from`` buffer to add ``bool *fragstolen`` pointer to boolean ``int *delta_truesize`` how much more was allocated than was requestedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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 *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hj'h]hstruct sk_buff *to}(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 prior bufferh]h prior 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)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hj`h]hstruct sk_buff *from}(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)}(h buffer to addh]h buffer to add}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj:hMQubj3)}(hskb_scrub_packeth]j9)}(hskb_scrub_packeth]hskb_scrub_packet}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj:hMQubj )}(h (struct sk_buff *skb, bool xnet)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jOsbc.skb_scrub_packetasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(h bool xneth](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hxneth]hxnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhj:hMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj:hMQubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hMQhj!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.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj:hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" 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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhj<ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMShj[ubj)}(hhh]jl)}(hbuffer to cleanh]hbuffer to clean}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMShjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMShjXubj)}(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.chMThjubj)}(hhh]jl)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjXubeh}(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.chMVhj<ubjl)}(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 (}(hjhhhNhNubj)}(h**xnet**h]hxnet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhj<ubeh}(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}(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)}(h skb_eth_poph]j9)}(h skb_eth_poph]h skb_eth_pop}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj:hM>ubj )}(h(struct sk_buff *skb)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jOsb c.skb_eth_popasbuh1hhjeubj")}(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 hjaubah}(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>hj!hhubjg)}(hhh]jl)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the 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.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj:hM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` Socket buffer to modify **Description** Drop the Ethernet header of **skb**. Expects that skb->data points to the mac header and that no VLAN tags are present. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjubj)}(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}(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)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM@hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM@hj$ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjubjl)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hj~hhhNhNubj)}(h**skb**h]hskb}(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.chMAhjubjl)}(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.chMChjubjl)}(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.chMFhjubeh}(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.chMXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMXubj3)}(h skb_eth_pushh]j9)}(h skb_eth_pushh]h skb_eth_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMXubj )}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.skb_eth_pushasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(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 hjubj )}(hconst unsigned char *dsth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned char *srch](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(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)}(hsrch]hsrc}(hjehhhNhNubah}(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)}(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.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMXubeh}(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.chM\hjubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhjubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(hG``const unsigned char *dst`` Destination MAC address of the new header h](j)}(h``const unsigned char *dst``h]j)}(hj h]hconst unsigned char *dst}(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)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hjBh]hconst unsigned char *src}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\hj<ubj)}(hhh]jl)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(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)}(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.chM^hjubjl)}(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.chM]hjubjl)}(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.chM_hjubjl)}(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.chMahjubeh}(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}(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_pushh]j9)}(h skb_mpls_pushh]h skb_mpls_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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}(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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.skb_mpls_pushasbuh1hhj+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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jic.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmpls_lseh]hmpls_lse}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h__be16 mpls_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jic.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h mpls_protoh]h mpls_proto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h int mac_lenh](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj9)}(hmac_lenh]hmac_len}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h bool etherneth](jM )}(hjh]hbool}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hetherneth]hethernet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(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)}(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&]uh1jfhjhhhjhMubeh}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(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&]uh1jhjhMhjubj)}(h3``__be32 mpls_lse`` MPLS label stack entry to push 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.chMhjubj)}(hhh]jl)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hj^h]h__be16 mpls_proto}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjXubj)}(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)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hj1hhhNhNubah}(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}(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 }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhMubj3)}(h skb_mpls_poph]j9)}(h skb_mpls_poph]h skb_mpls_pop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhMubj )}(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*}(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__be16 next_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_mpls_popasbuh1hhj ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h next_protoh]h next_proto}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int mac_lenh](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hmac_lenh]hmac_len}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(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 hj\hhhjnhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjnhMubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhMhjUhhubjg)}(hhh]jl)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(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&]uh1jfhjUhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubj)}(hC``__be16 next_proto`` ethertype of header after popped MPLS header h](j)}(h``__be16 next_proto``h]j)}(hjKh]h__be16 next_proto}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubj)}(hhh]jl)}(h,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjh]h int mac_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj~ubj)}(hhh]jl)}(hlength of the MAC headerh]hlength of the MAC header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(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&]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.}(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](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}(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_mpls_update_lseh]j9)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjZhMubj )}(h&(struct sk_buff *skb, __be32 mpls_lse)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j josbc.skb_mpls_update_lseasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_mpls_update_lseasbuh1hhjubj")}(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 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,modify outermost MPLS header and update csumh]h,modify outermost MPLS header and update csum}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` new MPLS label stack entry to update to **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(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)}(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&]uh1jhjhMhjubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hjh]h__be32 mpls_lse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjpubjl)}(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.chMhjpubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjpubjl)}(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.chMhjpubeh}(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 hjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjkhMubj3)}(hskb_mpls_dec_ttlh]j9)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjkhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_mpls_dec_ttlasbuh1hhjubj")}(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 hjYhhhjkhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhjkhMubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMhjRhhubjg)}(hhh]jl)}(h.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of the outermost MPLS header}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5 jj5 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}(hjA 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.chMhj9 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.chMhjX ubj)}(hhh]jl)}(hbufferh]hbuffer}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj9 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.chMhj9 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.chMhj9 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.chM4ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM4ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj !hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj !ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j alloc_skb_with_fragssbc.alloc_skb_with_fragsasbuh1hhj hhhj hM4ubj")}(h h]h }(hj-!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM4ubj )}(hj h]h*}(hj;!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hM4ubj3)}(halloc_skb_with_fragsh]j9)}(hj*!h]halloc_skb_with_frags}(hjL!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hM4ubj )}(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}(hjg!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjc!ubj")}(h h]h }(hju!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc!ubjM )}(hlongh]hlong}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjc!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc!ubj9)}(h header_lenh]h header_len}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc!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}(hj "hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(horderh]horder}(hj%"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_!ubj )}(h int *errcodeh](jM )}(hinth]hint}(hj>"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:"ubj")}(h h]h }(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)}(herrcodeh]herrcode}(hjg"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_!ubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j(!c.alloc_skb_with_fragsasbuh1hhj|"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|"ubj9)}(hgfp_maskh]hgfp_mask}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hM4ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM4ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM4hj 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.chM4hj"hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hM4ubeh}(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)}(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.chM8hj"ubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hj#h]hunsigned long header_len}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM6hj#ubj)}(hhh]jl)}(hsize of linear parth]hsize of linear part}(hj3#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/#hM6hj0#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj/#hM6hj#ubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hjS#h]hunsigned long data_len}(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.chM7hjM#ubj)}(hhh]jl)}(hneeded length in fragsh]hneeded length in frags}(hjl#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh#hM7hji#ubah}(h]h ]h"]h$]h&]uh1jhjM#ubeh}(h]h ]h"]h$]h&]uh1jhjh#hM7hj#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.chM8hj#ubj)}(hhh]jl)}(hmax page order desired.h]hmax page order desired.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM8hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM8hj#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.chM9hj#ubj)}(hhh]jl)}(hpointer to error code if anyh]hpointer to error code if any}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM9hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM9hj#ubj)}(h#``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.chM:hj#ubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(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)}(hj9$h]h Description}(hj;$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hj"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.}(hjO$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_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 hjz$hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMTubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz$hhhj$hMTubj3)}(h skb_condenseh]j9)}(h skb_condenseh]h skb_condense}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjz$hhhj$hMTubj )}(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 }(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 hjz$hhhj$hMTubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjv$hhhj$hMTubah}(h]jq$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMThjs$hhubjg)}(hhh]jl)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hj>%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThj;%hhubah}(h]h ]h"]h$]h&]uh1jfhjs$hhhj$hMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjV%jjV%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}(hjb%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.chMXhjZ%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.chMUhjy%ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMUhj%ubah}(h]h ]h"]h$]h&]uh1jhjy%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMUhjv%ubah}(h]h ]h"]h$]h&]uh1jhjZ%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.chMWhjZ%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.chMVhjZ%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.chM[hjZ%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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hj%ubah}(h]h ]h"]h$]h&]uh1jhj &hM[hjZ%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}(hj0&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj?&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,&hhhj>&hMubj )}(hj h]h*}(hjM&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,&hhhj>&hMubj3)}(h __skb_ext_seth]j9)}(h __skb_ext_seth]h __skb_ext_set}(hj^&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,&hhhj>&hMubj )}(h>(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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)}(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_setasbuh1hhjv&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)}(hskbh]hskb}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr&ubj )}(henum skb_ext_id idh](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)}(h skb_ext_idh]h skb_ext_id}(hj 'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 'modnameN classnameNj j )}j ]j&c.__skb_ext_setasbuh1hhj&ubj")}(h h]h }(hj('hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(hidh]hid}(hj6'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr&ubj )}(hstruct skb_ext *exth](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)}(hskb_exth]hskb_ext}(hjm'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo'modnameN classnameNj j )}j ]j&c.__skb_ext_setasbuh1hhjK'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)}(hexth]hext}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,&hhhj>&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(&hhhj>&hMubah}(h]j#&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>&hMhj%&hhubjg)}(hhh]jl)}(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&]uh1jfhj%&hhhj>&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}(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(ubj)}(h$``enum skb_ext_id id`` extension id h](j)}(h``enum skb_ext_id id``h]j)}(hjJ(h]henum skb_ext_id id}(hjL(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjD(ubj)}(hhh]jl)}(h extension idh]h extension id}(hjc(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_(hMhj`(ubah}(h]h ]h"]h$]h&]uh1jhjD(ubeh}(h]h ]h"]h$]h&]uh1jhj_(hMhj(ubj)}(hU``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() h](j)}(h``struct skb_ext *ext``h]j)}(hj(h]hstruct skb_ext *ext}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj}(ubj)}(hhh]jl)}(h<hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj:hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjY<jjY<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)}(hjc<h]h Parameters}(hje<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja<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 hjy<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 hjy<ubj)}(h*``bool lock`` if true, lock the cloned sk h](j)}(h ``bool lock``h]j)}(hj=h]h bool lock}(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)}(hif true, lock the cloned skh]hif true, lock the cloned sk}(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 hjy<ubeh}(h]h ]h"]h$]h&]uh1jhj]<ubjl)}(h**Description**h]j)}(hjS=h]h Description}(hjU=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ=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 }(hji=hhhNhNubj)}(h**lock**h]hlock}(hjq=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji=ubhv is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().}(hji=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.chM4 ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM4 ubj3)}(hskb_page_frag_refillh]j9)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hM4 ubj )}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j )}(hunsigned int szh](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)}(hszh]hsz}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(hstruct page_frag *pfragh](j)}(hjh]hstruct}(hj7>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3>ubj")}(h h]h }(hjD>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3>ubh)}(hhh]j9)}(h page_fragh]h page_frag}(hjU>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW>modnameN classnameNj j )}j ]j )}j j=sbc.skb_page_frag_refillasbuh1hhj3>ubj")}(h h]h }(hju>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3>ubj9)}(hpfragh]hpfrag}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jq>c.skb_page_frag_refillasbuh1hhj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj9)}(hgfph]hgfp}(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=hM4 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj=hM4 ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM4 hj=hhubjg)}(hhh]jl)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM4 hj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hM4 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj" 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$?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.chM8 hj?ubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hjC?h]hunsigned int sz}(hjE?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM5 hj=?ubj)}(hhh]jl)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hj\?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjX?hM5 hjY?ubah}(h]h ]h"]h$]h&]uh1jhj=?ubeh}(h]h ]h"]h$]h&]uh1jhjX?hM5 hj:?ubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hj|?h]hstruct page_frag *pfrag}(hj~?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM6 hjv?ubj)}(hhh]jl)}(hpointer to page_fragh]hpointer to page_frag}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM6 hj?ubah}(h]h ]h"]h$]h&]uh1jhjv?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM6 hj:?ubj)}(h-``gfp_t gfp`` priority for memory allocation 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&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM7 hj?ubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM7 hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM7 hj:?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&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM9 hj?ubjl)}(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, }(hj@hhhNhNubj)}(h**sz**h]hsz}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh& MUST be less or equal than PAGE_SIZE.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM9 hj?ubeh}(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}(hjG@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC@hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hjV@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC@hhhjU@hM ubj3)}(h sk_wait_datah]j9)}(h sk_wait_datah]h sk_wait_data}(hjh@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjC@hhhjU@hM ubj )}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hsockh]hsock}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jj@sbc.sk_wait_dataasbuh1hhj@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 )}(h long *timeoh](jM )}(hlongh]hlong}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(htimeoh]htimeo}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|@ubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj8AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Aubj")}(h h]h }(hjEAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Aubj)}(hjh]hstruct}(hjSAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Aubj")}(h h]h }(hj`AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Aubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjqAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsAmodnameN classnameNj j )}j ]j@c.sk_wait_dataasbuh1hhj4Aubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Aubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4Aubj9)}(hskbh]hskb}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|@ubeh}(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+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAhhubah}(h]h ]h"]h$]h&]uh1jfhj<@hhhjU@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj" 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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjBh]hstruct sock *sk}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjBubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hj.BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*BhM hj+Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj*BhM hj Bubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hjNBh]h long *timeo}(hjPBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLBubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjHBubj)}(hhh]jl)}(h for how longh]h for how long}(hjgBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcBhM hjdBubah}(h]h ]h"]h$]h&]uh1jhjHBubeh}(h]h ]h"]h$]h&]uh1jhjcBhM hj Bubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue h](j)}(h``const struct sk_buff *skb``h]j)}(hjBh]hconst struct sk_buff *skb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjBubj)}(hhh]jl)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hj Bubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubjl)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMF ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjChMF ubj3)}(h__sk_mem_scheduleh]j9)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hj(ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$Cubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjChMF ubj )}(h%(struct sock *sk, int size, int kind)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjDChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@Cubj")}(h h]h }(hjQChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@Cubh)}(hhh]j9)}(hsockh]hsock}(hjbChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_Cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdCmodnameN classnameNj j )}j ]j )}j j*Csbc.__sk_mem_scheduleasbuh1hhj@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)}(hskh]hsk}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsk_receive_queue. **Return** poll bitmask indicating the socket's current stateh](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 file *file`` file struct h](j)}(h``struct file *file``h]j)}(hj`h]hstruct file *file}(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 file structh]h file 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``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjah]hstruct socket *sock}(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.chMhj aubj)}(hhh]jl)}(hsocketh]hsocket}(hj*ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&ahMhj'aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj&ahMhj`ubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjJah]hpoll_table *wait}(hjLahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjDaubj)}(hhh]jl)}(h poll tableh]h poll table}(hjcahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_ahMhj`aubah}(h]h ]h"]h$]h&]uh1jhjDaubeh}(h]h ]h"]h$]h&]uh1jhj_ahMhj`ubj)}(h9``struct sk_buff_head *rcv_queue`` receive queue to poll h](j)}(h"``struct sk_buff_head *rcv_queue``h]j)}(hjah]hstruct sk_buff_head *rcv_queue}(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.chMhj}aubj)}(hhh]jl)}(hreceive queue to pollh]hreceive queue to poll}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj}aubeh}(h]h ]h"]h$]h&]uh1jhjahMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj`ubj)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjahMhj`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.chMhj`ubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj`ubeh}(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}(hj7bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9bmodnameN classnameNj j )}j ]j )}j datagram_pollsbc.datagram_pollasbuh1hhj0bhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjYbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0bhhhjXbhMubj3)}(h datagram_pollh]j9)}(hjUbh]h datagram_poll}(hjkbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0bhhhjXbhMubj )}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hfileh]hfile}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]jSbc.datagram_pollasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hfileh]hfile}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~bubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hsocketh]hsocket}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jSbc.datagram_pollasbuh1hhjbubj")}(h h]h }(hj2chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hj@chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hsockh]hsock}(hjMchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~bubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjichhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkcmodnameN classnameNj j )}j ]jSbc.datagram_pollasbuh1hhjbcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbcubj9)}(hwaith]hwait}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~bubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0bhhhjXbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,bhhhjXbhMubah}(h]j'bah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXbhMhj)bhhubjg)}(hhh]jl)}(hgeneric datagram pollh]hgeneric datagram poll}(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&]uh1jfhj)bhhhjXbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" 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)}(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)}(hj dh]hstruct file *file}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj dubah}(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"dhMhjdubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjFdh]hstruct socket *sock}(hjHdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj@dubj)}(hhh]jl)}(hsocketh]hsocket}(hj_dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[dhMhj\dubah}(h]h ]h"]h$]h&]uh1jhj@dubeh}(h]h ]h"]h$]h&]uh1jhj[dhMhjdubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjdh]hpoll_table *wait}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}dubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjydubj)}(hhh]jl)}(h poll tableh]h poll table}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjydubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubeh}(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)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdubah}(h]h ]h"]h$]h&]uh1jhjdhMhjcubjl)}(h**Note**h]j)}(hjdh]hNote}(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)}(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 }(hjehhhNhNubj )}(h*don't*h]hdon’t}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh$ use this routine for this protocol,}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjeubj)}(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.}(hj,ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj)eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj(ehMhjeubah}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h **Return**h]j)}(hjOeh]hReturn}(hjQehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMeubah}(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}(hjeehhhNhNubah}(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](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}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehK6ubj3)}(hsk_stream_wait_connecth]j9)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehK6ubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(hsockh]hsock}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jesbc.sk_stream_wait_connectasbuh1hhjeubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hskh]hsk}(hj*fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hjCfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?fubj")}(h h]h }(hjQfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?fubj )}(hj h]h*}(hj_fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?fubj9)}(htimeo_ph]htimeo_p}(hjlfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?fubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjehK6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhjehK6ubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehK6hjehhubjg)}(hhh]jl)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hjfhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhjehK6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj" 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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjfubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjfh]hstruct sock *sk}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hjfubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhK7hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhK7hjfubj)}(h'``long *timeo_p`` for how long to wait h](j)}(h``long *timeo_p``h]j)}(hjgh]h long *timeo_p}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK8hj gubj)}(hhh]jl)}(hfor how long to waith]hfor how long to wait}(hj)ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%ghK8hj&gubah}(h]h ]h"]h$]h&]uh1jhj gubeh}(h]h ]h"]h$]h&]uh1jhj%ghK8hjfubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjKgh]h Description}(hjMghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIgubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjfubjl)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hjaghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK9hjfubeh}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghKvubj3)}(hsk_stream_wait_memoryh]j9)}(hsk_stream_wait_memoryh]hsk_stream_wait_memory}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghKvubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hsockh]hsock}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jgsbc.sk_stream_wait_memoryasbuh1hhjgubj")}(h h]h }(hj hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hskh]hsk}(hj&hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hj?hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hubj")}(h h]h }(hjMhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hubj )}(hj h]h*}(hj[hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;hubj9)}(htimeo_ph]htimeo_p}(hjhhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;hubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghKvubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjghKvubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghKvhjghhubjg)}(hhh]jl)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghKvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj" hNhNubj)}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](jl)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKzhjhubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory h](j)}(h``struct sock *sk``h]j)}(hjhh]hstruct sock *sk}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKwhjhubj)}(hhh]jl)}(hsocket to wait for memoryh]hsocket to wait for memory}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhKwhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKwhjhubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hj ih]h long *timeo_p}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKyhjiubj)}(hhh]jl)}(h for how longh]h for how long}(hj%ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKxhj"iubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj!ihKyhjhubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(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}(hjXihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUihhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjUihhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ihhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKxubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ihhhjihKxubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j sk_filter_trim_capsbc.sk_filter_trim_capasbuh1hhj{ihhhjihKxubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ihhhjihKxubj3)}(hsk_filter_trim_caph]j9)}(hjih]hsk_filter_trim_cap}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{ihhhjihKxubj )}(h8(struct sock *sk, struct sk_buff *skb, unsigned int cap)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hsockh]hsock}(hj jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj jmodnameN classnameNj j )}j ]jic.sk_filter_trim_capasbuh1hhjiubj")}(h h]h }(hj(jhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hj6jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hskh]hsk}(hjCjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj\jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXjubj")}(h h]h }(hjijhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjzjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|jmodnameN classnameNj j )}j ]jic.sk_filter_trim_capasbuh1hhjXjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXjubj9)}(hskbh]hskb}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hunsigned int caph](jM )}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubjM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hcaph]hcap}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{ihhhjihKxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwihhhjihKxubah}(h]jriah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihKxhjtihhubjg)}(hhh]jl)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hj.khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKxhj+khhubah}(h]h ]h"]h$]h&]uh1jfhjtihhhjihKxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFkjjFkjjjuh1hhhhjUihNhNubj)}(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)}(hjPkh]h Parameters}(hjRkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNkubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjJkubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjokh]hstruct sock *sk}(hjqkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhjikubj)}(hhh]jl)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hjkhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjkh]hsk_buff}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjkhKyhjkubeh}(h]h ]h"]h$]h&]uh1jkhjkhKyhjkubah}(h]h ]h"]h$]h&]uh1jhjikubeh}(h]h ]h"]h$]h&]uh1jhjkhKyhjfkubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjkh]hstruct sk_buff *skb}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjkubj)}(hhh]jl)}(hbuffer to filterh]hbuffer to filter}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKzhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhKzhjfkubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjlh]hunsigned int cap}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hjkubj)}(hhh]jl)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhK{hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhK{hjfkubeh}(h]h ]h"]h$]h&]uh1jhjJkubjl)}(h**Description**h]j)}(hj;lh]h Description}(hj=lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9lubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjJkubjl)}(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.}(hjQlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjJkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUihhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjUihhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|lhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM\ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|lhhhjlhM\ubj3)}(hbpf_prog_createh]j9)}(hbpf_prog_createh]hbpf_prog_create}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|lhhhjlhM\ubj )}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j jlsbc.bpf_prog_createasbuh1hhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hj mhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hpfph]hpfp}(hj#mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hstruct sock_fprog_kern *fprogh](j)}(hjh]hstruct}(hj``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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubjl)}(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.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().}(hj،hhhNhNubah}(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&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhjshhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_queue (struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h]j )}(hint gnet_stats_copy_queue(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, 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.chMuubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMuubj3)}(hgnet_stats_copy_queueh]j9)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMuubj )}(hf(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h](j )}(hstruct gnet_dump *dh](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 gnet_dumph]h gnet_dump}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j j9sbc.gnet_stats_copy_queueasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hj}h]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(h'struct gnet_stats_queue __percpu *cpu_qh](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)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߍubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__percpu}(hjhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcpu_qh]hcpu_q}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hstruct gnet_stats_queue *qh](j)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jc.gnet_stats_copy_queueasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hqh]hq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(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 ]jc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hj׎hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hqlenh]hqlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj$hMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hMuubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMuhj hhubjg)}(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.chMuhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjshNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics ``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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.chMyhj+ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjPh]hstruct gnet_dump *d}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMvhjJubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMvhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMvhjGubj)}(hE``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h+``struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjh]h'struct gnet_stats_queue __percpu *cpu_q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjubj)}(hhh]jl)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjGubj)}(h0``struct gnet_stats_queue *q`` queue statistics h](j)}(h``struct gnet_stats_queue *q``h]j)}(hjh]hstruct gnet_stats_queue *q}(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.chMxhjubj)}(hhh]jl)}(hqueue statisticsh]hqueue statistics}(hjۏhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj׏hMxhj؏ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׏hMxhjGubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hjh]h __u32 qlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMyhjubj)}(hhh]jl)}(hqueue length statisticsh]hqueue length statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM{hj+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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMzhj+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.}(hj[hhhNhNubah}(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&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhjshhhNhNubh)}(hhh](j)}(h@int gnet_stats_copy_app (struct gnet_dump *d, void *st, int len)h]j )}(h?int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hgnet_stats_copy_apph]j9)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h((struct gnet_dump *d, void *st, int len)h](j )}(hstruct gnet_dump *dh](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 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_appasbuh1hhjÐubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjÐubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjÐubj9)}(hj}h]hd}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÐubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *sth](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hsth]hst}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjؑjjؑjjjuh1hhhhjshNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``void *st`` application specific statistics data ``int len`` length of data **Description** Appends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjܑ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.chMhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hj:h]hvoid *st}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj4ubj)}(hhh]jl)}(h$application specific statistics datah]h$application specific statistics data}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjsh]hint len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjmubj)}(hhh]jl)}(hlength of datah]hlength of data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(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:50: ./net/core/gen_stats.chMhjܑubjl)}(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.}(hjĒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjܑ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.}(hjӒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjܑubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhjshhhNhNubh)}(hhh](j)}(h0int gnet_stats_finish_copy (struct gnet_dump *d)h]j )}(h/int gnet_stats_finish_copy(struct gnet_dump *d)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hgnet_stats_finish_copyh]j9)}(hgnet_stats_finish_copyh]hgnet_stats_finish_copy}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct gnet_dump *d)h]j )}(hstruct gnet_dump *dh](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 gnet_dumph]h gnet_dump}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.gnet_stats_finish_copyasbuh1hhj;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)}(hj}h]hd}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjٓjjٓjjjuh1hhhhjshNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle **Description** Corrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjݓ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.chMhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjݓubjl)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjݓ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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjݓubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhjshhhNhNubh)}(hhh](j)}(hint gen_new_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]j )}(hint gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKqubj3)}(hgen_new_estimatorh]j9)}(hgen_new_estimatorh]hgen_new_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKqubj )}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j )}(h$struct gnet_stats_basic_sync *bstatsh](j)}(hjh]hstruct}(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_new_estimatorasbuh1hhjʔ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)}(hbstatsh]hbstats}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʔubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƔubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](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)}(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 ]jc.gen_new_estimatorasbuh1hhj<ubj")}(h h]h }(hj|hhhNhNubah}(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)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƔubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hj•hhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݕubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gen_new_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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƔubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƔubj )}(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 hjƔubj )}(hstruct nlattr *opth](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)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhj֖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)}(hopth]hopt}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֖ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƔubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKqhjhhubjg)}(hhh]jl)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjshNhNubj)}(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}(hjhhhNhNubah}(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.chKuhjwubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjh]h$struct gnet_stats_basic_sync *bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKrhjubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjubj)}(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.chKshjϗubj)}(hhh]jl)}(hbstats per cpuh]hbstats per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjϗubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKthjubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hKthj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKthjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjGh]hspinlock_t *lock}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKuhjubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKxhjzubj)}(hhh]jl)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULLh](htrue if }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB’ internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**bstats_cpu**h]h bstats_cpu}(hjŘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjubj)}(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.chKyhjubj)}(hhh]jl)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chK{hjwubjl)}(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 }(hjAhhhNhNubh)}(h:c:type:`bstats`h]j)}(hjKh]hbstats}(hjMhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhjAubh as source and }(hjAhhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjoh]hrate_est}(hjqhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrate_estuh1hhjhhKzhjAubh 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 }(hjAhhhNhNubh)}(h:c:type:`bstats`h]j)}(hjh]hbstats}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhjhhKzhjAubh* and the estimated rate will be stored in }(hjAhhhNhNubh)}(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_estuh1hhjhhKzhjAubh5 with the statistics lock grabbed during this period.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhhKzhjwubjl)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjܙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhjshhhNhNubh)}(hhh](j)}(hDvoid gen_kill_estimator (struct net_rate_estimator __rcu **rate_est)h]j )}(hCvoid gen_kill_estimator(struct net_rate_estimator __rcu **rate_est)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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&]uh1j8hj(ubah}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.gen_kill_estimatorasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh__rcu}(hjDhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(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)}(hremove a rate estimatorh]hremove a rate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjshNhNubj)}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(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.chKhjubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hj+h]h*struct net_rate_estimator __rcu **rate_est}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj%ubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhjshhhNhNubh)}(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}(hj̛hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjțubah}(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}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jΛsbc.gen_replace_estimatorasbuh1hhjubj")}(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)}(hbstatsh]hbstats}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j"c.gen_replace_estimatorasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh__percpu}(hjVhhhNhNubj")}(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 cpu_bstatsh]h cpu_bstats}(hjÜhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjܜhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj؜ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj؜ubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j"c.gen_replace_estimatorasbuh1hhj؜ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj؜ubh__rcu}(hj؜hhhNhNubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj؜ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj؜ubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj؜ubj9)}(hrate_esth]hrate_est}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj؜ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j"c.gen_replace_estimatorasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(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 }(hj͝hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrunningh]hrunning}(hj۝hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct nlattr *opth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j"c.gen_replace_estimatorasbuh1hhjubj")}(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)}(hopth]hopt}(hjKhhhNhNubah}(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$replace rate estimator configurationh]h$replace rate estimator configuration}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjshNhNubj)}(hX**Parameters** ``struct gnet_stats_basic_sync *bstats`` basic statistics ``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu ``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics ``spinlock_t *lock`` lock for statistics and control path ``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL ``struct nlattr *opt`` rate estimator configuration TLV **Description** Replaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator(). Returns 0 on success or a negative error code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(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}(hjϞhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj˞hKhj̞ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˞hKhjubj)}(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.chKhjubj)}(hhh]jl)}(hbstats per cpuh]hbstats per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj(h]h*struct net_rate_estimator __rcu **rate_est}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj"ubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hKhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjah]hspinlock_t *lock}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj[ubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhKhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULLh](htrue if }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hj͟hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB’ internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjߟhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().h]hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjjhhhNhNubah}(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&]uh1jhjshhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhjshhhNhNubh)}(hhh](j)}(hFbool gen_estimator_active (struct net_rate_estimator __rcu **rate_est)h]j )}(hEbool gen_estimator_active(struct net_rate_estimator __rcu **rate_est)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgen_estimator_activeh]j9)}(hgen_estimator_activeh]hgen_estimator_active}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѠubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.gen_estimator_activeasbuh1hhjѠubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѠubh__rcu}(hjѠhhhNhNubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѠubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѠubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѠubj9)}(hrate_esth]hrate_est}(hjMhhhNhNubah}(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%test if estimator is currently in useh]h%test if estimator is currently in use}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjthhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjshNhNubj)}(h**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Returns true if estimator is active, and false if not.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(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}(hjѡhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj͡hKhjΡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj͡hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjshhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhj'hhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j xdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhjMhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjuhK)ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMhhhjuhK)ubj3)}(hxdr_encode_opaque_fixedh]j9)}(hjrh]hxdr_encode_opaque_fixed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjuhK)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 ]jpc.xdr_encode_opaque_fixedasbuh1hhjubj")}(h h]h }(hjѢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjߢhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst void *ptrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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)}(hptrh]hptr}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubjM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhjuhK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhjuhK)ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhK)hjFhhubjg)}(hhh]jl)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjãhhhNhNubah}(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&]uh1jfhjFhhhjuhK)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjۣjjۣjjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). **Note** if ptr is NULL, only the padding is performed. Returns the updated current XDR buffer positionh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjߣubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK*hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK*hjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hj=h]hconst void *ptr}(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.chK+hj7ubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhK+hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhK+hjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjvh]hunsigned int nbytes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK,hjpubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhK,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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK.hjߣubjl)}(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).}(hjǤhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjߣubjl)}(h**Note**h]j)}(hjؤh]hNote}(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.chK1hjߣubjl)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjߣubjl)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK3hjߣubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhj'hhhNhNubh)}(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 reftargetj1modnameN classnameNj j )}j ]j )}j xdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhj(hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhjPhKGubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(hhhjPhKGubj3)}(hxdr_encode_opaqueh]j9)}(hjMh]hxdr_encode_opaque}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhjPhKGubj )}(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 ]jKc.xdr_encode_opaqueasbuh1hhjubj")}(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}(hjߥhhhNhNubah}(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 }(hjhhhNhNubah}(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 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)}(hnbytesh]hnbytes}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhjPhKGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhjPhKGubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhKGhj!hhubjg)}(hhh]jl)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjhhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhjPhKGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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}(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.chKKhjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjߦh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݦubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKHhj٦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&]uh1jkhjhKHhjubah}(h]h ]h"]h$]h&]uh1jhj٦ubeh}(h]h ]h"]h$]h&]uh1jhjhKHhj֦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.chKIhjubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hKIhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hKIhj֦ubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjQh]hunsigned int nbytes}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKJhjKubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKJhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKJhj֦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.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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhj'hhhNhNubh)}(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}(hjѧhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjͧhhhP/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!hjͧhhhjߧhK]ubj3)}(hxdr_terminate_stringh]j9)}(hxdr_terminate_stringh]hxdr_terminate_string}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjͧhhhjߧhK]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&]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 }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jsbc.xdr_terminate_stringasbuh1hhj ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hbufh]hbuf}(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 ]jcc.xdr_terminate_stringasbuh1hhjubj")}(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 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.'\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]hj hhubah}(h]h ]h"]h$]h&]uh1jfhjƧhhhjߧhK]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj'hNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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)}(hjPh]hconst struct xdr_buf *buf}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK^hjJubj)}(hhh]jl)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehK^hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehK^hjGubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK`hjubj)}(hhh]jl)}(hlength of string, in bytesh]hlength of string, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK`hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhj'hhhNhNubh)}(hhh](j)}(hfunsigned int xdr_buf_to_bvec (struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h]j )}(heunsigned int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(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ߩhhhjhKubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjߩhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߩhhhjhKubj3)}(hxdr_buf_to_bvech]j9)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjߩhhhjhKubj )}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j )}(hstruct bio_vec *bvech](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hbio_vech]hbio_vec}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j )}j j"sbc.xdr_buf_to_bvecasbuh1hhj8ubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hbvech]hbvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned int bvec_sizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjʪhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjتhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hconst struct xdr_buf *xdrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jvc.xdr_buf_to_bvecasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(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)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjةhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(h**Parameters** ``struct bio_vec *bvec`` bio_vec array to populate ``unsigned int bvec_size`` element count of **bio_vec** ``const struct xdr_buf *xdr`` xdr_buf to be copied **Description** Returns the number of entries consumed in **bvec**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjܫh]hstruct bio_vec *bvec}(hjޫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjګubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj֫ubj)}(hhh]jl)}(hbio_vec array to populateh]hbio_vec array to populate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj֫ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjӫubj)}(h8``unsigned int bvec_size`` element count of **bio_vec** h](j)}(h``unsigned int bvec_size``h]j)}(hjh]hunsigned int bvec_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(helement count of **bio_vec**h](helement count of }(hj.hhhNhNubj)}(h **bio_vec**h]hbio_vec}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jkhj*hKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKhjӫubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hj\h]hconst struct xdr_buf *xdr}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjVubj)}(hhh]jl)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjӫubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubjl)}(h3Returns the number of entries consumed in **bvec**.h](h*Returns the number of entries consumed in }(hjhhhNhNubj)}(h**bvec**h]hbvec}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhj'hhhNhNubh)}(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.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hxdr_inline_pagesh]j9)}(hxdr_inline_pagesh]hxdr_inline_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(hd(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_buf *xdrh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc.xdr_inline_pagesasbuh1hhj'ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hxdrh]hxdr}(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 )}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.xdr_inline_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 hj#ubj )}(hunsigned int baseh](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)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(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 }(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)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h(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.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj'hNhNubj)}(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)}(hj@h]h Parameters}(hjBhhhNhNubah}(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.chKhj: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)}(hj_h]hstruct xdr_buf *xdr}(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.chKhjYubj)}(hhh]jl)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjVubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(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&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjVubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjѯh]hstruct page **pages}(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)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj˯ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjVubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjVubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hjCh]hunsigned int len}(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.chKhj=ubj)}(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.chKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhj'hhhNhNubh)}(hhh](j)}(hOvoid _copy_from_pages (char *p, struct page **pages, size_t pgbase, size_t len)h]j )}(hNvoid _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(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&]jPjQuh1j2hjhhhjhMubj )}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j )}(hchar *ph](jM )}(hcharh]hchar}(hjڰhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjְubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjְubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjְubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjְubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҰubj )}(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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jsbc._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҰubj )}(h size_t pgbaseh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jUc._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpgbaseh]hpgbase}(hjɱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҰubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jUc._copy_from_pagesasbuh1hhjޱubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjޱubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjޱubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҰ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]h}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj'hNhNubj)}(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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hjmh]hchar *p}(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 destinationh]hpointer to destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h(``size_t pgbase`` offset of source data h](j)}(h``size_t pgbase``h]j)}(hj߲h]h size_t pgbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݲubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjٲubj)}(hhh]jl)}(hoffset of source datah]hoffset of source data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjٲubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(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.chMhjubj)}(hhh]jl)}(hlengthh]hlength}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubjl)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhj'hhhNhNubh)}(hhh](j)}(h:unsigned int xdr_stream_pos (const struct xdr_stream *xdr)h]j )}(h9unsigned int xdr_stream_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMyubj")}(h h]h }(hjóhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubj3)}(hxdr_stream_posh]j9)}(hxdr_stream_posh]hxdr_stream_pos}(hjճhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѳubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j׳sbc.xdr_stream_posasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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:Return the current offset from the start of the xdr_streamh]h:Return the current offset from the start of the xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hjдh]hconst struct 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 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.chMzhjubah}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhj'hhhNhNubh)}(hhh](j)}(h8unsigned int xdr_page_pos (const struct xdr_stream *xdr)h]j )}(h7unsigned int xdr_page_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubjM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhj8hMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj3)}(h xdr_page_posh]j9)}(h xdr_page_posh]h xdr_page_pos}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(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 jisbc.xdr_page_posasbuh1hhjubj")}(h h]h }(hjܵhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjhhubjg)}(hhh]jl)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(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&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj'hNhNubj)}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj=ubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjbh]hconst struct xdr_stream *xdr}(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)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhj'hhhNhNubh)}(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.chMubj")}(h h]h }(hj˶hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjʶhMubj3)}(hxdr_init_encodeh]j9)}(hxdr_init_encodeh]hxdr_init_encode}(hjݶhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٶubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjʶhMubj )}(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 j߶sbc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j3c.xdr_init_encodeasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hbufh]hbuf}(hj·hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hj޷hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj۷ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j3c.xdr_init_encodeasbuh1hhj׷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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׷ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_rqst *rqsth](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j3c.xdr_init_encodeasbuh1hhj+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)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjʶhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjʶhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjʶhMhjhhubjg)}(hhh]jl)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjʶhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȸjjȸjjjuh1hhhhj'hNhNubj)}(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)}(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)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hj*h]hstruct xdr_buf *buf}(hj,hhhNhNubah}(h]h ]h"]h$]h&]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-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjch]h __be32 *p}(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.chMhj]ubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj̸ubjl)}(h**Note**h]j)}(hj׹h]hNote}(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)}(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.chMhjubj)}(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.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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhj'hhhNhNubh)}(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}(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_init_encode_pagesh]j9)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhMubj )}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsbc.xdr_init_encode_pagesasbuh1hhjubj")}(h h]h }(hjºhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjкhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjݺhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhMubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhj<hhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjthhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(h**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjѻhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjͻhMhjλubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͻhMhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhj'hhhNhNubh)}(hhh](j)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]j )}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjYhMubj3)}(h__xdr_commit_encodeh]j9)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjYhMubj )}(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 jnsbc.__xdr_commit_encodeasbuh1hhjubj")}(h h]h }(hjƼhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjԼhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjYhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjYhMubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhj@hhubjg)}(hhh]jl)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(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&]uh1jfhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream **Description** We handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying. Normally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj'ubj)}(hhh]j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjLh]hstruct xdr_stream *xdr}(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.chMhjFubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubah}(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)}(hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.h]hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj'ubjl)}(hNormally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h]hNormally the caller doesn’t need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhj'hhhNhNubh)}(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}(hj޽hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj۽ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhj׽hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj׽hhhjhM'ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj׽hhhjhM'ubj3)}(hxdr_reserve_spaceh]j9)}(hjh]hxdr_reserve_space}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj׽hhhjhM'ubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jc.xdr_reserve_spaceasbuh1hhj6ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_reserve_spaceasbuh1hhjubj")}(h h]h }(hj˾hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjپhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubeh}(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 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.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jfhjнhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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+hjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjDh]hstruct xdr_stream *xdr}(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.chM(hj>ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(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-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hj}h]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM)hjwubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hjubjl)}(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.}(hjοhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM*hjubjl)}(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 }(hjݿhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݿubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hjݿhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݿubh? is destroyed, but that might not always be true in the future.}(hjݿhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhj'hhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj>hMLubj3)}(hxdr_reserve_space_vech]j9)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj>hMLubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jSsbc.xdr_reserve_space_vecasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_reserve_space_vecasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj>hMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj>hMLubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMLhj%hhubjg)}(hhh]jl)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj>hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj'hNhNubj)}(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)}(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.chMPhjTubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream 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.chMMhjsubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjpubj)}(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.chMNhjubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjpubeh}(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.chMPhjTubjl)}(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.chMOhjTubj)}(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.chMThjubj)}(hhh]jl)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh : success }(hj+hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh#: not enough space is available in }(hj+hhhNhNubj)}(h**xdr**h]hxdr}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jkhj'hMThj(ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj'hMThjubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhj'hhhNhNubh)}(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.chM{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.chMxhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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.chMyhjubj)}(hhh]jl)}(hnew length of bufferh]hnew length of buffer}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMyhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMyhjubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjubjl)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubjl)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM~hjubjl)}(hThis is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](hThis is }(hjhhhNhNubj )}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhj'hhhNhNubh)}(hhh](j)}(h=void xdr_truncate_decode (struct xdr_stream *xdr, size_t len)h]j )}(hint xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_restrict_buflenh]j9)}(hxdr_restrict_buflenh]hxdr_restrict_buflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, int newbuflen)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_restrict_buflenasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(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 )}(h int newbuflenh](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(h newbuflenh]h newbuflen}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hdecrease available buffer spaceh]hdecrease available buffer space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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}(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)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhj'hhhNhNubh)}(hhh](j)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]j )}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_write_pagesh]j9)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hR(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_write_pagesasbuh1hhjubj")}(h h]h }(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 page **pagesh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hpageh]hpage}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j c.xdr_write_pagesasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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 }(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``struct page **pages`` array of pages to insert ``unsigned int base`` starting offset of first data byte in **pages** ``unsigned int len`` number of data bytes in **pages** to insert **Description** After the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(harray of pages to inserth]harray of pages to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** h](j)}(h``unsigned int base``h]j)}(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)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjAhhhNhNubj)}(h **pages**h]hpages}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hjoh]hunsigned int len}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubj)}(hhh]jl)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to insert}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hAfter the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](h After the }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhj'hhhNhNubh)}(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.chMuubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMuubj3)}(hxdr_init_decodeh]j9)}(hxdr_init_decodeh]hxdr_init_decode}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMuubj )}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.xdr_init_decodeasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhj.ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hj h]hp}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct rpc_rqst *rqsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMuubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMuhjhhubjg)}(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.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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.chMyhj#ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjHh]hstruct xdr_stream *xdr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhjBubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMvhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMvhj?ubj)}(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.chMwhj{ubj)}(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&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj?ubj)}(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.chMxhjubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj?ubj)}(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.chMzhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhj'hhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIhhhP/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!hjIhhhj[hMubj3)}(hxdr_init_decode_pagesh]j9)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhj[hMubj )}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jpsbc.xdr_init_decode_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(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 ]jc.xdr_init_decode_pagesasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(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 hjIhhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhj[hMubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhjBhhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj'hNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jl)}(hlist of pages to decode intoh]hlist of pages to decode into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](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.chMhj1ubj)}(hhh]jl)}(h"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhj'hhhNhNubh)}(hhh](j)}(h/void xdr_finish_decode (struct xdr_stream *xdr)h]j )}(h.void xdr_finish_decode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_finish_decodeh]j9)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj'hNhNubj)}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jl)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjmubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhj'hhhNhNubh)}(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)}(hj h]hxdr_inline_decode}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j c.xdr_inline_decodeasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.xdr_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 hjCubeh}(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&]jjjj,jj,jjjuh1hhhhj'hNhNubj)}(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)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj0ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjUh]hstruct xdr_stream *xdr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjOubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h!number of bytes of data to decodeh]h!number of bytes of data to decode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjLubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj0ubjl)}(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.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhj'hhhNhNubh)}(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 hj hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubjM )}(hinth]hint}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhjhMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hxdr_read_pagesh]j9)}(hxdr_read_pagesh]hxdr_read_pages}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jMsbc.xdr_read_pagesasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(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 hhhjhMubeh}(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.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhj'hNhNubj)}(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}(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.chMhjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjvubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(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&]uh1jhjhMhjsubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjWubjl)}(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.chMhjWubjl)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhj'hhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM2ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjdhM2ubj3)}(hxdr_set_pagelenh]j9)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjdhM2ubj )}(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 jysbc.xdr_set_pagelenasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(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)}(hlenh]hlen}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjdhM2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjdhM2ubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM2hjKhhubjg)}(hhh]jl)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM2hjdhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjdhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` new length of the XDR page data **Description** Either grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail. Returns True if the operation was successful, and False otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjubj)}(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.chM3hjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(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.chM4hjubj)}(hhh]jl)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubeh}(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.chM6hjubjl)}(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 }(hj2hhhNhNubj)}(h**len**h]hlen}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh 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.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5hjubjl)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhj'hhhNhNubh)}(hhh](j)}(h>void xdr_enter_page (struct xdr_stream *xdr, unsigned int len)h]j )}(h=void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhjhMPubj3)}(hxdr_enter_pageh]j9)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhjhMPubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_enter_pageasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(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}(hj1hhhNhNubah}(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}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj9)}(hlenh]hlen}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~hhhjhMPubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhMPubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMPhjwhhubjg)}(hhh]jl)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.chMThjubj)}(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.chMQhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hj h]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.chMRhjubj)}(hhh]jl)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMRhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjHh]h Description}(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.chMThjubjl)}(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.chMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhj'hhhNhNubh)}(hhh](j)}(hoint xdr_buf_subsegment (const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h]j )}(hnint xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMqubj3)}(hxdr_buf_subsegmenth]j9)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMqubj )}(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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1hhhNhNubah}(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 )}(hstruct xdr_buf *subbufh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jc.xdr_buf_subsegmentasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(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 }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMqhjhhubjg)}(hhh]jl)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``const struct xdr_buf *buf`` an xdr buffer ``struct xdr_buf *subbuf`` the result buffer ``unsigned int base`` beginning of range in bytes ``unsigned int len`` length of range in bytes **Description** sets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**. **buf** and **subbuf** may be pointers to the same struct xdr_buf. Returns -1 if base or length are out of bounds.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhjubj)}(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.chMrhjubj)}(hhh]jl)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(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.chMshjubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMshj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMshjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hj-h]hunsigned int base}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMthj'ubj)}(hhh]jl)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMthjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMthjubj)}(h.``unsigned int len`` length of range in bytes h](j)}(h``unsigned int len``h]j)}(hjfh]hunsigned int len}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhj`ubj)}(hhh]jl)}(hlength of range in bytesh]hlength of range in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMuhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMuhjubeh}(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.chMwhjubjl)}(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.chMvhjubjl)}(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}(hj$hhhNhNubah}(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.chMyhjubjl)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhj'hhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjyhMubj3)}(hxdr_stream_subsegmenth]j9)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjyhMubj )}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_subsegmentasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *subbufh](j)}(hjh]hstruct}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jc.xdr_stream_subsegmentasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsubbufh]hsubbuf}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjyhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjyhMubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMhjahhubjg)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhj'hNhNubj)}(hXG**Parameters** ``struct xdr_stream *xdr`` an xdr_stream set up for decoding ``struct xdr_buf *subbuf`` the result buffer ``unsigned int nbytes`` length of **xdr** to extract, in bytes **Description** Sets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion. Return values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(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)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding 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)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(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.chMhjubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(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.chMhjubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj(ubjl)}(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 }(hj"hhhNhNubj)}(h **subbuf**h]hsubbuf}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh to represent a portion of }(hj"hhhNhNubj)}(h**xdr**h]hxdr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh.. The portion starts at the current offset in }(hj"hhhNhNubj)}(h**xdr**h]hxdr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh, and extends for a length of }(hj"hhhNhNubj)}(h **nbytes**h]hnbytes}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh. If this is successful, }(hj"hhhNhNubj)}(h**xdr**h]hxdr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh> is advanced to the next XDR data item following that portion.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj(ubj)}(hhh]j)}(hReturn values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been initialized, and }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been advanced. }(hjhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: a bounds error has occurred}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhj'hhhNhNubh)}(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}(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 }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hMubjM )}(hinth]hint}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhj6hMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hMubj3)}(hxdr_stream_move_subsegmenth]j9)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj6hMubj )}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(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 jgsbc.xdr_stream_move_subsegmentasbuh1hhj}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 hjyubj )}(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}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hunsigned int targeth](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}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(htargeth]htarget}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(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 hjyubeh}(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)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&]uh1jfhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hj8h]hstruct xdr_stream *xdr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj2ubj)}(hhh]jl)}(hthe source xdr_streamh]hthe source xdr_stream}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjqh]hunsigned int offset}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjkubj)}(hhh]jl)}(h the source offset of the segmenth]h the source offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubj)}(h9``unsigned int target`` the target offset of the segment h](j)}(h``unsigned int target``h]j)}(hjh]hunsigned int target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h the target offset of the segmenth]h the target offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hthe number of bytes to moveh]hthe number of bytes to move}(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&]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 }(hj4hhhNhNubj)}(h **length**h]hlength}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh bytes from }(hj4hhhNhNubj)}(h **offset**h]hoffset}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh to }(hj4hhhNhNubj)}(h **target**h]htarget}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhj'hhhNhNubh)}(hhh](j)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]j )}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_stream_zeroh]j9)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hB(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_zeroasbuh1hhjubj")}(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)}(hxdrh]hxdr}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int offseth](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)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj'hNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj3ubj)}(hhh](j)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out h](j)}(h``struct xdr_stream *xdr``h]j)}(hjXh]hstruct xdr_stream *xdr}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjRubj)}(hhh]jl)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h the starting point in the streamh]h the starting point in the stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubj)}(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&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhj'hhhNhNubh)}(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}(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 }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj2hMubj3)}(h xdr_buf_trimh]j9)}(h xdr_buf_trimh]h xdr_buf_trim}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj2hMubj )}(h'(struct xdr_buf *buf, unsigned int len)h](j )}(hstruct xdr_buf *bufh](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)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jGsbc.xdr_buf_trimasbuh1hhj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubj )}(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 hjYubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj2hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhjhhubjg)}(hhh]jl)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhj'hNhNubj)}(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)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjQubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hjvh]hstruct xdr_buf *buf}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjpubj)}(hhh]jl)}(hbuf to be trimmedh]hbuf to be trimmed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h8``unsigned int len`` number of bytes to reduce "buf" by h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h"number of bytes to reduce "buf" byh]h&number of bytes to reduce “buf” by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubjl)}(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.chMhjQubjl)}(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.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhj'hhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j xdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhj+hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhjShMubj3)}(hxdr_stream_decode_string_duph]j9)}(hjPh]hxdr_stream_decode_string_dup}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhjShMubj )}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(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 ]jNc.xdr_stream_decode_string_dupasbuh1hhj}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 hjyubj )}(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*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstrh]hstr}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(h size_t maxlenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]jNc.xdr_stream_decode_string_dupasbuh1hhj<ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hmaxlenh]hmaxlen}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hgfp_t gfp_flagsh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jNc.xdr_stream_decode_string_dupasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhjShMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhjShMubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMhj$hhubjg)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.chMhjubj)}(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.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjUubj)}(hhh]jl)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hjh]h size_t maxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jl)}(hGFP mask to useh]hGFP mask to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(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:}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj!ubj)}(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 }(hj7hhhNhNubj)}(h***ptr**h]h*ptr}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh }(hj7hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh on XDR buffer overflow }(hj7hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh( if the size of the string would exceed }(hj7hhhNhNubj)}(h **maxlen**h]hmaxlen}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh }hj7sbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh on memory allocation failure}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhj'hhhNhNubh)}(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.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_stream_decode_opaque_authh]j9)}(hjh]hxdr_stream_decode_opaque_auth}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhj ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hxdrh]hxdr}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 *flavorh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubjM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hbody_lenh]hbody_len}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(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(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(hj!h]h u32 *flavor}(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)}(h location to store decoded flavorh]h location to store decoded flavor}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjZh]h void **body}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjTubj)}(hhh]jl)}(hlocation to store decode bodyh]hlocation to store decode body}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjh]hunsigned int *body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(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.chMhjubj)}(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.chMhjubj)}(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.chMhjubah}(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](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhj'hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN 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.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhjhMubj3)}(hxdr_stream_encode_opaque_authh]j9)}(hjh]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhjhMubj )}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_stream_encode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flavorh](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.xdr_stream_encode_opaque_authasbuh1hhj ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hflavorh]hflavor}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *bodyh](jM )}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int body_lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjhMubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjWhhubjg)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhj'hNhNubj)}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstruct xdr_stream *xdr}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjKubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjh]h u32 flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(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.chMhjubj)}(hhh]jl)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(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.chMhjubj)}(hhh]jl)}(hlength of body to encodeh]hlength of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj,ubj)}(hhh]j)}(hReturn values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjPubj)}(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 }(hjfhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh on XDR buffer overflow }(hjfhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh if the size of }(hjfhhhNhNubj)}(h**body**h]hbody}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh exceeds 400 octets}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjcubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjMubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhj'hhhNhNubh)}(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 }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprt_classh]hsvc_xprt_class}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.svc_reg_xprt_classasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxclh]hxcl}(hjshhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhj'hhhNhNubh)}(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 hjZhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhKhubj3)}(hsvc_unreg_xprt_classh]j9)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhKhubj )}(h(struct svc_xprt_class *xcl)h]j )}(hstruct svc_xprt_class *xclh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprt_classh]hsvc_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_unreg_xprt_classasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxclh]hxcl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjlhKhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhKhubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhKhhjShhubjg)}(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&]uh1jfhjShhhjlhKhubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj'hNhNubj)}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(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.chKlhj:ubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hj_h]hstruct svc_xprt_class *xcl}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKnhjYubj)}(hhh]jl)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKnhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhj'hhhNhNubh)}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprth]hxprt}(hjOhhhNhNubah}(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)}(hClose a transporth]hClose a transport}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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.chKhjubj)}(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&]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.chKhjubjl)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhj'hhhNhNubh)}(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 hj6hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhKubj3)}(hsvc_xprt_receivedh]j9)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjHhKubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(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 j]sbc.svc_xprt_receivedasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjHhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjHhKubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhKhj/hhubjg)}(hhh]jl)}(hstart next receiver threadh]hstart next receiver thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjHhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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.chKhjubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj5ubj)}(hhh]jl)}(hcontrolling transporth]hcontrolling transport}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhKhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhKhj2ubah}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjl)}(h**Note**h]j)}(hjh]hNote}(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.chKhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhj'hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM"ubj3)}(hsvc_xprt_create_from_sah]j9)}(hsvc_xprt_create_from_sah]hsvc_xprt_create_from_sa}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM"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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_create_from_saasbuh1hhjubj")}(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)}(hservh]hserv}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xprt_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)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jYc.svc_xprt_create_from_saasbuh1hhjubj")}(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)}(hneth]hnet}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *saph](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)}(hsockaddrh]hsockaddr}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]jYc.svc_xprt_create_from_saasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hsaph]hsap}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(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 }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hcredh]hcred}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jYc.svc_xprt_create_from_saasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcredh]hcred}(hjuhhhNhNubah}(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)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from socket address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.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.chM#hjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hj+h]hconst char *xprt_name}(hj-hhhNhNubah}(h]h ]h"]h$]h&]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)}(htransport class nameh]htransport class name}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hM$hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM$hjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjdh]hstruct net *net}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hj^ubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM%hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM%hjubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjh]hstruct sockaddr *sap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh]jl)}(hsocket address pointerh]hsocket address pointer}(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)}(hjh]hconst struct cred *cred}(hjhhhNhNubah}(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$credential to bind to this transporth]h$credential to bind to this transport}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM(hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM*hjubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hj`hhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh on failure}(hj`hhhNhNubeh}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhj'hhhNhNubh)}(hhh](j)}(hint svc_xprt_create (struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h]j )}(hint svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMLubj3)}(hsvc_xprt_createh]j9)}(hsvc_xprt_createh]hsvc_xprt_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMLubj )}(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*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xprt_nameh](j)}(hj h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubjM )}(hcharh]hchar}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.svc_xprt_createasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst int familyh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfamilyh]hfamily}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hporth]hport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(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&]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 }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hcredh]hcred}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jc.svc_xprt_createasbuh1hhj 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)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.chMPhjubj)}(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.chMMhjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hj2h]hconst char *xprt_name}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMNhj,ubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMNhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMNhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjkh]hstruct net *net}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMOhjeubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjh]hconst int family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(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.chMQhjubj)}(hhh]jl)}(h listener porth]h listener port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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.chMRhjubj)}(hhh]jl)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMRhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMRhjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hjOh]hconst struct cred *cred}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMShjIubj)}(hhh]jl)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMShjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMShjubeh}(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.chMUhjubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhj'hhhNhNubh)}(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&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc.svc_print_addrasbuh1hhj'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)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h char *bufh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.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 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!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj'hNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjTubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjyh]hstruct svc_rqst *rqstp}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjsubj)}(hhh]jl)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(h2``char *buf`` target buffer for formatted address h](j)}(h ``char *buf``h]j)}(hjh]h char *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(h#target buffer for formatted addressh]h#target buffer for formatted address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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}(hj hhhNhNubah}(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 hMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhj'hhhNhNubh)}(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}(hjE hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjA hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjT hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA hhhjS hMubj3)}(hsvc_xprt_enqueueh]j9)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hjf hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjA hhhjS hMubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jh sbc.svc_xprt_enqueueasbuh1hhj~ 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 hjz ubah}(h]h ]h"]h$]h&]jPjQuh1j hjA hhhjS hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj= hhhjS hMubah}(h]j8 ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjS hMhj: hhubjg)}(hhh]jl)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj: hhhjS hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj'hNhNubj)}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](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)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hjF h]hstruct svc_xprt *xprt}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD 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 with data pendingh]htransport with data pending}(hj_ hhhNhNubah}(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&]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](hsvc_reserve (C function) c.svc_reservehNtauh1hhj'hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(h svc_reserveh]j9)}(h svc_reserveh]h svc_reserve}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h#(struct svc_rqst *rqstp, int space)h](j )}(hstruct svc_rqst *rqstph](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_rqsth]hsvc_rqst}(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.svc_reserveasbuh1hhj 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)}(hrqstph]hrqstp}(hj6 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int spaceh](jM )}(hinth]hint}(hjO hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjK ubj")}(h h]h }(hj] hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK ubj9)}(hspaceh]hspace}(hjk hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK 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)}(h5change the space reserved for the reply to a request.h]h5change the space reserved for the reply to a request.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj'hNhNubj)}(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)}(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)}(h3``struct svc_rqst *rqstp`` The request in question 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)}(hThe request in questionh]hThe request in question}(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 space`` new max space to reserve h](j)}(h ``int space``h]j)}(hj h]h int space}(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)}(hnew max space to reserveh]hnew max space to reserve}(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)}(hjJ h]h Description}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj ubjl)}(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 }(hj` hhhNhNubj)}(h **space**h]hspace}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubh.}(hj` hhhNhNubeh}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhj'hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMAubj3)}(h svc_wake_uph]j9)}(h svc_wake_uph]h svc_wake_up}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMAubj )}(h(struct svc_serv *serv)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 sb c.svc_wake_upasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj* hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hservh]hserv}(hj7 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMAubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMAubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMAhj hhubjg)}(hhh]jl)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAhj^ hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjy jjy jjjuh1hhhhj'hNhNubj)}(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)}(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.chMEhj} ubj)}(hhh]j)}(h&``struct svc_serv *serv`` 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.chMBhj ubj)}(hhh]jl)}(h RPC serviceh]h RPC service}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMBhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMBhj ubah}(h]h ]h"]h$]h&]uh1jhj} ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhj} ubjl)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMChj} ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhj'hhhNhNubh)}(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}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMgubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMgubj3)}(hsvc_recvh]j9)}(hsvc_recvh]hsvc_recv}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj0hMgubj )}(h$(struct svc_rqst *rqstp, long timeo)h](j )}(hstruct svc_rqst *rqstph](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)}(hsvc_rqsth]hsvc_rqst}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jEsb c.svc_recvasbuh1hhj[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)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(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 hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj0hMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj0hMgubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMghjhhubjg)}(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.chMghjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj0hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj'hNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMkhj3ubj)}(hhh](j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjXh]hstruct svc_rqst *rqstp}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhhjRubj)}(hhh]jl)}(han idle RPC service threadh]han idle RPC service thread}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhhjOubj)}(h?``long timeo`` timeout (in jiffies) (0 means infinite timeout) h](j)}(h``long timeo``h]j)}(hjh]h long timeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMihjubj)}(hhh]jl)}(h/timeout (in jiffies) (0 means infinite timeout)h]h/timeout (in jiffies) (0 means infinite timeout)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjOubeh}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMkhj3ubjl)}(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.chMjhj3ubjl)}(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.chMnhj3ubj)}(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.chMqhjubj)}(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&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhj'hhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjghMZubj3)}(hsvc_xprt_closeh]j9)}(hsvc_xprt_closeh]hsvc_xprt_close}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMZubj )}(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 j|sbc.svc_xprt_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjghMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMZubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMZhjNhhubjg)}(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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjghMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj'hNhNubj)}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM^hj5ubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hjZh]hstruct svc_xprt *xprt}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM`hjTubj)}(hhh]jl)}(htransport to disconnecth]htransport to disconnect}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM`hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhj'hhhNhNubh)}(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&]uh1j8hj ubah}(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}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j+c.svc_xprt_destroy_allasbuh1hhj_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 hjubj )}(hbool unregisterh](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 unregisterh]h unregister}(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+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hjhhhNhNubj)}(h**serv**h]hserv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj'hNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjBubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hjgh]hstruct svc_serv *serv}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjaubj)}(hhh]jl)}(hRPC service to be shut downh]hRPC service to be shut down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h-``struct net *net`` target 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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(htarget network namespaceh]htarget network namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(hG``bool unregister`` true if it is OK to unregister the destroyed xprts h](j)}(h``bool unregister``h]j)}(hjh]hbool unregister}(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)}(h2true if it is OK to unregister the destroyed xprtsh]h2true if it is OK to unregister the destroyed xprts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjBubjl)}(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.chMhjBubjl)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhj'hhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM7ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjuhM7ubh)}(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 svc_find_listenersbc.svc_find_listenerasbuh1hhjdhhhjuhM7ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjuhM7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdhhhjuhM7ubj3)}(hsvc_find_listenerh]j9)}(hjh]hsvc_find_listener}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjuhM7ubj )}(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}(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 ]jc.svc_find_listenerasbuh1hhjubj")}(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)}(hservh]hserv}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xcl_nameh](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubjM )}(hcharh]hchar}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hxcl_nameh]hxcl_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.svc_find_listenerasbuh1hhjubj")}(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 struct sockaddr *sah](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)}(hsockaddrh]hsockaddr}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jc.svc_find_listenerasbuh1hhjubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsah]hsa}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjuhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjuhM7ubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhM7hj]hhubjg)}(hhh]jl)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjuhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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)}(h8``struct svc_serv *serv`` pointer to svc_serv to search 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.chM8hjubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj5h]hconst char *xcl_name}(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.chM9hj/ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM9hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM9hjubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjnh]hstruct net *net}(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.chM:hjhubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hjh]hconst struct sockaddr *sa}(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)}(hsockaddr containing addressh]hsockaddr containing address}(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)}(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.}(hjhhhNhNubah}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhj'hhhNhNubh)}(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.chMYubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj4hMYubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j svc_find_xprtsbc.svc_find_xprtasbuh1hhj#hhhj4hMYubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj4hMYubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#hhhj4hMYubj3)}(h svc_find_xprth]j9)}(hjdh]h svc_find_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj4hMYubj )}(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}(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 ]jbc.svc_find_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)}(hservh]hserv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xcl_nameh](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 )}(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*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hxcl_nameh]hxcl_name}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jbc.svc_find_xprtasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst sa_family_t afh](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 sa_family_th]h sa_family_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jbc.svc_find_xprtasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hafh]haf}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned short porth](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 )}(hshorth]hshort}(hjxhhhNhNubah}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj#hhhj4hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hMYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMYhjhhubjg)}(hhh]jl)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj4hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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)}(h8``struct svc_serv *serv`` pointer to svc_serv to search 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.chMZhjubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj8h]hconst char *xcl_name}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hj2ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM[hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM[hjubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjqh]hstruct net *net}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjkubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(hE``const sa_family_t af`` Address family of transport's local address h](j)}(h``const sa_family_t af``h]j)}(hjh]hconst sa_family_t af}(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+Address family of transport's local addressh]h-Address family of transport’s local address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h9``const unsigned short port`` transport's IP port number 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)}(htransport's IP port numberh]htransport’s IP port number}(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}(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.chM`hjubjl)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hjubjl)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhj'hhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhU/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!hjnhhhjhMubj3)}(hsvc_xprt_namesh]j9)}(hsvc_xprt_namesh]hsvc_xprt_names}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjhMubj )}(h4(struct svc_serv *serv, char *buf, const int buflen)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_namesasbuh1hhjubj")}(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 )}(h char *bufh](jM )}(hcharh]hchar}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst int buflenh](j)}(hj h]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubjM )}(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)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjghhubjg)}(hhh]jl)}(h.format a buffer with a list of transport namesh]h.format a buffer with a list of transport names}(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&]uh1jfhjghhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(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)}(h4``struct svc_serv *serv`` pointer to an 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.chMhjubj)}(hhh]jl)}(hpointer to an RPC serviceh]hpointer to an RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhj8ubj)}(hhh]jl)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hjwh]hconst int buflen}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjqubj)}(hhh]jl)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjl)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhj'hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/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!hjhhhj&hK[ubj3)}(hxprt_register_transporth]j9)}(hxprt_register_transporth]hxprt_register_transport}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj&hK[ubj )}(h(struct xprt_class *transport)h]j )}(hstruct xprt_class *transporth](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 xprt_classh]h xprt_class}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j;sbc.xprt_register_transportasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(h transporth]h transport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj&hK[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj&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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj&hK[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK_hjubj)}(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}(hj2 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&]uh1jhjubjl)}(h**Description**h]j)}(hjT h]h Description}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hjubjl)}(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.}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hjubjl)}(h **Return**h]j)}(hj{ h]hReturn}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK`hjubjl)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhj'hhhNhNubh)}(hhh](j)}(h 0: transport identifier -ENOENT: transport module not availableh](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.chKhj#ubj)}(hhh]j)}(h(``const char *netid`` transport to load h](j)}(h``const char *netid``h]j)}(hj-#h]hconst char *netid}(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.chKhj'#ubj)}(hhh]jl)}(htransport to loadh]htransport to load}(hjF#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB#hKhjC#ubah}(h]h ]h"]h$]h&]uh1jhj'#ubeh}(h]h ]h"]h$]h&]uh1jhjB#hKhj$#ubah}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h **Return**h]j)}(hjh#h]hReturn}(hjj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf#ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj#ubjl)}(hM> 0: transport identifier -ENOENT: transport module not availableh]hM> 0: transport identifier -ENOENT: transport module not available}(hj~#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhj'hhhNhNubh)}(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#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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj#hMubj3)}(hxprt_reserve_xprth]j9)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj#hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)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_reserve_xprtasbuh1hhj#ubj")}(h h]h }(hj($hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hj6$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hxprth]hxprt}(hjC$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj\$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX$ubj")}(h h]h }(hji$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX$ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjz$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|$modnameN classnameNj j )}j ]j$$c.xprt_reserve_xprtasbuh1hhjX$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)}(htaskh]htask}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX$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$serialize write access to transportsh]h$serialize write access to transports}(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#hhhj#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhj'hNhNubj)}(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)}(hj$h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj$ubj)}(hhh](j)}(h:``struct rpc_xprt *xprt`` pointer to the target transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj%h]hstruct rpc_xprt *xprt}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]jl)}(hpointer to the target transporth]hpointer to the target transport}(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)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjW%h]hstruct rpc_task *task}(hjY%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQ%ubj)}(hhh]jl)}(h/task that is requesting access to the transporth]h/task that is requesting access to the transport}(hjp%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl%hMhjm%ubah}(h]h ]h"]h$]h&]uh1jhjQ%ubeh}(h]h ]h"]h$]h&]uh1jhjl%hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj$ubjl)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhj'hhhNhNubh)}(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}(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 }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj%hMubj3)}(hxprt_release_xprth]j9)}(hxprt_release_xprth]hxprt_release_xprt}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj%hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)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}(hj2&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4&modnameN classnameNj j )}j ]j )}j j%sbc.xprt_release_xprtasbuh1hhj&ubj")}(h h]h }(hjR&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj`&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hxprth]hxprt}(hjm&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj &ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj&hhhNhNubah}(h]h ]jDach"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jN&c.xprt_release_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)}(htaskh]htask}(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'allow other requests to use a transporth]h'allow other requests to use a transport}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj'hNhNubj)}(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)}(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)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjH'h]hstruct rpc_xprt *xprt}(hjJ'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjB'ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hja'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]'hMhj^'ubah}(h]h ]h"]h$]h&]uh1jhjB'ubeh}(h]h ]h"]h$]h&]uh1jhj]'hMhj?'ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport 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.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj{'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj?'ubeh}(h]h ]h"]h$]h&]uh1jhj#'ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#'ubjl)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhj'hhhNhNubh)}(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}(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 }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj(hMubj3)}(hxprt_release_xprt_congh]j9)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj"(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj(hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj>(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:(ubj")}(h h]h }(hjK(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:(ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj\(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^(modnameN classnameNj j )}j ]j )}j j$(sbc.xprt_release_xprt_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)}(hxprth]hxprt}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6(ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]jx(c.xprt_release_xprt_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 hj6(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'allow other requests to use a transporth]h'allow other requests to use a transport}(hj1)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'hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjI)jjI)jjjuh1hhhhj'hNhNubj)}(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)}(hjS)h]h Parameters}(hjU)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ)ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjM)ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjr)h]hstruct rpc_xprt *xprt}(hjt)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjl)ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhjl)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhji)ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport 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.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhji)ubeh}(h]h ]h"]h$]h&]uh1jhjM)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.chMhjM)ubjl)}(hzNote that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h]hNote that “task” can be NULL. Another task is awoken to use the transport if the transport’s congestion window allows it.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjM)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhj'hhhNhNubh)}(hhh](j)}(hHbool xprt_request_get_cong (struct rpc_xprt *xprt, struct rpc_rqst *req)h]j )}(hGbool xprt_request_get_cong(struct rpc_xprt *xprt, struct rpc_rqst *req)h](jM )}(hjh]hbool}(hj+*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'*hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj9*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'*hhhj8*hMubj3)}(hxprt_request_get_congh]j9)}(hxprt_request_get_congh]hxprt_request_get_cong}(hjK*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'*hhhj8*hMubj )}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjg*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc*ubj")}(h h]h }(hjt*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc*ubh)}(hhh]j9)}(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 jM*sbc.xprt_request_get_congasbuh1hhjc*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc*ubj9)}(hxprth]hxprt}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_*ubj )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j*c.xprt_request_get_congasbuh1hhj*ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hj#+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hreqh]hreq}(hj0+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj'*hhhj8*hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#*hhhj8*hMubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8*hMhj *hhubjg)}(hhh]jl)}(h"Request congestion control creditsh]h"Request congestion control credits}(hjZ+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjW+hhubah}(h]h ]h"]h$]h&]uh1jfhj *hhhj8*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr+jjr+jjjuh1hhhhj'hNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` pointer to transport ``struct rpc_rqst *req`` pointer to RPC request **Description** Useful for transports that require congestion control.h](jl)}(h**Parameters**h]j)}(hj|+h]h Parameters}(hj~+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjv+ubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj+h]hstruct rpc_xprt *xprt}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj+ubj)}(hhh]jl)}(hpointer to transporth]hpointer to transport}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hj+h]hstruct rpc_rqst *req}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj+ubj)}(hhh]jl)}(hpointer to RPC requesth]hpointer to RPC request}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjv+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.chMhjv+ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj%,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjv+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhj'hhhNhNubh)}(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}(hjT,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjP,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjc,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP,hhhjb,hMubj3)}(hxprt_release_rqst_congh]j9)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hju,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjP,hhhjb,hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j jw,sbc.xprt_release_rqst_congasbuh1hhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(htaskh]htask}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubah}(h]h ]h"]h$]h&]jPjQuh1j hjP,hhhjb,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjL,hhhjb,hMubah}(h]jG,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjb,hMhjI,hhubjg)}(hhh]jl)}(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&]uh1jfhjI,hhhjb,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,-jj,-jjjuh1hhhhj'hNhNubj)}(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)}(hj6-h]h Parameters}(hj8-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4-ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj0-ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjU-h]hstruct rpc_task *task}(hjW-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjO-ubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjn-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjj-hMhjk-ubah}(h]h ]h"]h$]h&]uh1jhjO-ubeh}(h]h ]h"]h$]h&]uh1jhjj-hMhjL-ubah}(h]h ]h"]h$]h&]uh1jhj0-ubjl)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj0-ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj0-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhj'hhhNhNubh)}(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}(hj0.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2.modnameN classnameNj j )}j ]j )}j j-sbc.xprt_adjust_cwndasbuh1hhj.ubj")}(h h]h }(hjP.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj^.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hxprth]hxprt}(hjk.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj .ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]jL.c.xprt_adjust_cwndasbuh1hhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(htaskh]htask}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj .ubj )}(h int resulth](jM )}(hinth]hint}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(hresulth]hresult}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj .ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj-hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhj-hM#ubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hM#hj-hhubjg)}(hhh]jl)}(h"adjust transport congestion windowh]h"adjust transport congestion window}(hj:/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hj7/hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjR/jjR/jjjuh1hhhhj'hNhNubj)}(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&]uh1jhjZ/ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjV/ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj{/h]hstruct rpc_xprt *xprt}(hj}/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy/ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hju/ubj)}(hhh]jl)}(hpointer to xprth]hpointer to xprt}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hM$hj/ubah}(h]h ]h"]h$]h&]uh1jhju/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM$hjr/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%hjr/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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM&hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hM&hjr/ubeh}(h]h ]h"]h$]h&]uh1jhjV/ubjl)}(h**Description**h]j)}(hj(0h]h Description}(hj*0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjV/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>0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjV/ubj)}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]jK)}(hhh](jK)}(ha reply is received andh]jl)}(hjV0h]ha reply is received and}(hjX0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM-hjT0ubah}(h]h ]h"]h$]h&]uh1jKhjQ0ubjK)}(h-a full number of requests are outstanding andh]jl)}(hjn0h]h-a full number of requests are outstanding and}(hjp0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM.hjl0ubah}(h]h ]h"]h$]h&]uh1jKhjQ0ubjK)}(h3the congestion window hasn't been updated recently.h]jl)}(hj0h]h5the congestion window hasn’t been updated recently.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hj0ubah}(h]h ]h"]h$]h&]uh1jKhjQ0ubeh}(h]h ]h"]h$]h&]jL-uh1jKhje0hM-hjM0ubah}(h]h ]h"]h$]h&]uh1jhje0hM-hjV/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhj'hhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMKubj3)}(hxprt_wake_pending_tasksh]j9)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMKubj )}(h#(struct rpc_xprt *xprt, int status)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}(hj$1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&1modnameN classnameNj j )}j ]j )}j j0sbc.xprt_wake_pending_tasksasbuh1hhj1ubj")}(h h]h }(hjD1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjR1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hxprth]hxprt}(hj_1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubj )}(h int statush](jM )}(hinth]hint}(hjx1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjt1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt1ubj9)}(hstatush]hstatus}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMKubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMKhj0hhubjg)}(hhh]jl)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj'hNhNubj)}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhj1ubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj1h]hstruct rpc_xprt *xprt}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhj1ubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMLhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMLhj1ubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hj82h]h int status}(hj:2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj62ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhj22ubj)}(hhh]jl)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hjQ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhjN2ubah}(h]h ]h"]h$]h&]uh1jhj22ubeh}(h]h ]h"]h$]h&]uh1jhjM2hMNhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhj'hhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMZubj3)}(hxprt_wait_for_buffer_spaceh]j9)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMZubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j j2sbc.xprt_wait_for_buffer_spaceasbuh1hhj2ubj")}(h h]h }(hj 3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hxprth]hxprt}(hj(3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMZubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMZhj2hhubjg)}(hhh]jl)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hjR3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhjO3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjj3jjj3jjjuh1hhhhj'hNhNubj)}(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)}(hjt3h]h Parameters}(hjv3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM^hjn3ubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj3h]hstruct rpc_xprt *xprt}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hj3ubj)}(hhh]jl)}(h transporth]h transport}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM[hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM[hj3ubah}(h]h ]h"]h$]h&]uh1jhjn3ubjl)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hjn3ubjl)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hjn3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhj'hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj")}(h h]h }(hj!4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj 4hMtubj3)}(hxprt_write_spaceh]j9)}(hxprt_write_spaceh]hxprt_write_space}(hj34hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj 4hMtubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjO4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK4ubj")}(h h]h }(hj\4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK4ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjm4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo4modnameN classnameNj j )}j ]j )}j j54sbc.xprt_write_spaceasbuh1hhjK4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjK4ubj9)}(hxprth]hxprt}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjG4ubah}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj 4hMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 4hhhj 4hMtubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 4hMthj4hhubjg)}(hhh]jl)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthj4hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj 4hMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj'hNhNubj)}(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)}(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.chMxhj4ubj)}(hhh]j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks 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.chMuhj 5ubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj,5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(5hMuhj)5ubah}(h]h ]h"]h$]h&]uh1jhj 5ubeh}(h]h ]h"]h$]h&]uh1jhj(5hMuhj 5ubah}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hjN5h]h Description}(hjP5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL5ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhj4ubjl)}(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.}(hjd5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMvhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhj'hhhNhNubh)}(hhh](j)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]j )}(h0void xprt_disconnect_done(struct rpc_xprt *xprt)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_disconnect_doneh]j9)}(hxprt_disconnect_doneh]hxprt_disconnect_done}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j5sbc.xprt_disconnect_doneasbuh1hhj5ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hxprth]hxprt}(hj)6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(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 mark a transport as disconnectedh]h mark a transport as disconnected}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjP6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjk6jjk6jjjuh1hhhhj'hNhNubj)}(hL**Parameters** ``struct rpc_xprt *xprt`` transport to flag for disconnecth](jl)}(h**Parameters**h]j)}(hju6h]h Parameters}(hjw6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs6ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjo6ubj)}(hhh]j)}(h:``struct rpc_xprt *xprt`` transport to flag for disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj6h]hstruct rpc_xprt *xprt}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj6ubj)}(hhh]jl)}(h transport to flag for disconnecth]h transport to flag for disconnect}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjo6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_force_disconnect (C function)c.xprt_force_disconnecthNtauh1hhj'hhhNhNubh)}(hhh](j)}(h2void xprt_force_disconnect (struct rpc_xprt *xprt)h]j )}(h1void xprt_force_disconnect(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hMubj3)}(hxprt_force_disconnecth]j9)}(hxprt_force_disconnecth]hxprt_force_disconnect}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj+7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'7ubj")}(h h]h }(hj87hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'7ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjI7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK7modnameN classnameNj j )}j ]j )}j j7sbc.xprt_force_disconnectasbuh1hhj'7ubj")}(h h]h }(hji7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'7ubj )}(hj h]h*}(hjw7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'7ubj9)}(hxprth]hxprt}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#7ubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj6hMubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhj6hhubjg)}(hhh]jl)}(hforce a transport to disconnecth]hforce a transport to disconnect}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj'hNhNubj)}(hC**Parameters** ``struct rpc_xprt *xprt`` transport to disconnecth](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(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.chMhj7ubj)}(hhh]j)}(h1``struct rpc_xprt *xprt`` transport to disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj7h]hstruct rpc_xprt *xprt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubj)}(hhh]jl)}(htransport to disconnecth]htransport to disconnect}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_reconnect_delay (C function)c.xprt_reconnect_delayhNtauh1hhj'hhhNhNubh)}(hhh](j)}(h@unsigned long xprt_reconnect_delay (const struct rpc_xprt *xprt)h]j )}(h?unsigned long xprt_reconnect_delay(const struct rpc_xprt *xprt)h](jM )}(hunsignedh]hunsigned}(hjI8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjE8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjX8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE8hhhjW8hMubjM )}(hlongh]hlong}(hjf8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjE8hhhjW8hMubj")}(h h]h }(hjt8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE8hhhjW8hMubj3)}(hxprt_reconnect_delayh]j9)}(hxprt_reconnect_delayh]hxprt_reconnect_delay}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjE8hhhjW8hMubj )}(h(const struct rpc_xprt *xprt)h]j )}(hconst struct rpc_xprt *xprth](j)}(hj h]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j j8sbc.xprt_reconnect_delayasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj 9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hxprth]hxprt}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hjE8hhhjW8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjA8hhhjW8hMubah}(h]j<8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjW8hMhj>8hhubjg)}(hhh]jl)}(h,compute the wait before scheduling a connecth]h,compute the wait before scheduling a connect}(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&]uh1jfhj>8hhhjW8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjX9jjX9jjjuh1hhhhj'hNhNubj)}(hD**Parameters** ``const struct rpc_xprt *xprt`` transport instanceh](jl)}(h**Parameters**h]j)}(hjb9h]h Parameters}(hjd9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\9ubj)}(hhh]j)}(h2``const struct rpc_xprt *xprt`` transport instanceh](j)}(h``const struct rpc_xprt *xprt``h]j)}(hj9h]hconst struct rpc_xprt *xprt}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj{9ubj)}(hhh]jl)}(htransport instanceh]htransport instance}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhj{9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjx9ubah}(h]h ]h"]h$]h&]uh1jhj\9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_reconnect_backoff (C function)c.xprt_reconnect_backoffhNtauh1hhj'hhhNhNubh)}(hhh](j)}(hJvoid xprt_reconnect_backoff (struct rpc_xprt *xprt, unsigned long init_to)h]j )}(hIvoid xprt_reconnect_backoff(struct rpc_xprt *xprt, unsigned long init_to)h](jM )}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMubj3)}(hxprt_reconnect_backoffh]j9)}(hxprt_reconnect_backoffh]hxprt_reconnect_backoff}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMubj )}(h.(struct rpc_xprt *xprt, unsigned long init_to)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}(hj6:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8:modnameN classnameNj j )}j ]j )}j j9sbc.xprt_reconnect_backoffasbuh1hhj:ubj")}(h h]h }(hjV:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjd:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hxprth]hxprt}(hjq:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(hunsigned long init_toh](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)}(hinit_toh]hinit_to}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMhj9hhubjg)}(hhh]jl)}(h$compute the new re-establish timeouth]h$compute the new re-establish timeout}(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&]uh1jfhj9hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhj'hNhNubj)}(hw**Parameters** ``struct rpc_xprt *xprt`` transport instance ``unsigned long init_to`` initial reestablish timeouth](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubj)}(hhh](j)}(h-``struct rpc_xprt *xprt`` transport instance h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj-;h]hstruct rpc_xprt *xprt}(hj/;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj';ubj)}(hhh]jl)}(htransport instanceh]htransport instance}(hjF;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB;hMhjC;ubah}(h]h ]h"]h$]h&]uh1jhj';ubeh}(h]h ]h"]h$]h&]uh1jhjB;hMhj$;ubj)}(h5``unsigned long init_to`` initial reestablish timeouth](j)}(h``unsigned long init_to``h]j)}(hjf;h]hunsigned long init_to}(hjh;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj`;ubj)}(hhh]jl)}(hinitial reestablish timeouth]hinitial reestablish timeout}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj|;ubah}(h]h ]h"]h$]h&]uh1jhj`;ubeh}(h]h ]h"]h$]h&]uh1jhj{;hMhj$;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_lookup_rqst (C function)c.xprt_lookup_rqsthNtauh1hhj'hhhNhNubh)}(hhh](j)}(hFstruct rpc_rqst * xprt_lookup_rqst (struct rpc_xprt *xprt, __be32 xid)h]j )}(hDstruct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)h](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;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$ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j xprt_lookup_rqstsbc.xprt_lookup_rqstasbuh1hhj;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)}(hxprt_lookup_rqsth]j9)}(hj;h]hxprt_lookup_rqst}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj;hM$ubj )}(h#(struct rpc_xprt *xprt, __be32 xid)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj:<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6<ubj")}(h h]h }(hjG<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6<ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjX<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ<modnameN classnameNj j )}j ]j;c.xprt_lookup_rqstasbuh1hhj6<ubj")}(h h]h }(hjv<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6<ubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6<ubj9)}(hxprth]hxprt}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2<ubj )}(h __be32 xidh](h)}(hhh]j9)}(h__be32h]h__be32}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j;c.xprt_lookup_rqstasbuh1hhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hxidh]hxid}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2<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+find an RPC request corresponding to an XIDh]h+find an RPC request corresponding to an XID}(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=jjjuh1hhhhj'hNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport on which the original request was transmitted ``__be32 xid`` RPC XID of incoming reply **Description** Caller holds xprt->queue_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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj=ubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjD=h]hstruct rpc_xprt *xprt}(hjF=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj>=ubj)}(hhh]jl)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hj]=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjY=hM%hjZ=ubah}(h]h ]h"]h$]h&]uh1jhj>=ubeh}(h]h ]h"]h$]h&]uh1jhjY=hM%hj;=ubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hj}=h]h __be32 xid}(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&hjw=ubj)}(hhh]jl)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hM&hj=ubah}(h]h ]h"]h$]h&]uh1jhjw=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM&hj;=ubeh}(h]h ]h"]h$]h&]uh1jhj=ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj=ubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhj'hhhNhNubh)}(hhh](j)}(h)void xprt_pin_rqst (struct rpc_rqst *req)h]j )}(h(void xprt_pin_rqst(struct rpc_rqst *req)h](jM )}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj")}(h h]h }(hj >hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj >hMDubj3)}(h xprt_pin_rqsth]j9)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj >hMDubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj:>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6>ubj")}(h h]h }(hjG>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6>ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjX>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ>modnameN classnameNj j )}j ]j )}j j >sbc.xprt_pin_rqstasbuh1hhj6>ubj")}(h h]h }(hjx>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6>ubj9)}(hreqh]hreq}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj >hMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj >hMDubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj >hMDhj=hhubjg)}(hhh]jl)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj >hMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj'hNhNubj)}(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)}(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.chMHhj>ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj>h]hstruct rpc_rqst *req}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhj>ubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMEhj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMEhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h**Description**h]j)}(hj9?h]h Description}(hj;?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7?ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhj>ubjl)}(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.}(hjO?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhj'hhhNhNubh)}(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}(hj~?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz?hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz?hhhj?hMQubj3)}(hxprt_unpin_rqsth]j9)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjz?hhhj?hMQubj )}(h(struct rpc_rqst *req)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}(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_unpin_rqstasbuh1hhj?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)}(hreqh]hreq}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubah}(h]h ]h"]h$]h&]jPjQuh1j hjz?hhhj?hMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjv?hhhj?hMQubah}(h]jq?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMQhjs?hhubjg)}(hhh]jl)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hj>@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhj;@hhubah}(h]h ]h"]h$]h&]uh1jfhjs?hhhj?hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjV@jjV@jjjuh1hhhhj'hNhNubj)}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hj`@h]h Parameters}(hjb@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.chMUhjZ@ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj@h]hstruct rpc_rqst *req}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhjy@ubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMRhj@ubah}(h]h ]h"]h$]h&]uh1jhjy@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMRhjv@ubah}(h]h ]h"]h$]h&]uh1jhjZ@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.chMThjZ@ubjl)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShjZ@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhj'hhhNhNubh)}(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}(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 }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj AhMubj3)}(hxprt_update_rtth]j9)}(hxprt_update_rtth]hxprt_update_rtt}(hj AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj AhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjqueue_lock.h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjBh]hstruct rpc_task *task}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hj;Bh]h Description}(hj=BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Bubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjQBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhj'hhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|BhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|BhhhjBhMubj3)}(hxprt_complete_rqsth]j9)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|BhhhjBhMubj )}(h#(struct rpc_task *task, int copied)h](j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsbc.xprt_complete_rqstasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hj ChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(htaskh]htask}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(h int copiedh](jM )}(hinth]hint}(hj/ChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+Cubj")}(h h]h }(hj=ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+Cubj9)}(hcopiedh]hcopied}(hjKChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|BhhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxBhhhjBhMubah}(h]jsBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhjuBhhubjg)}(hhh]jl)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hjuChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjrChhubah}(h]h ]h"]h$]h&]uh1jfhjuBhhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhj'hNhNubj)}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjCh]hstruct rpc_task *task}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjCh]h int copied}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubj)}(hhh]jl)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjCubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj@DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhj'hhhNhNubh)}(hhh](j)}(hHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@HmodnameN classnameNj j )}j ]jGc.xprt_add_backlog_noncongestedasbuh1hhjHubj")}(h h]h }(hj\HhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(htaskh]htask}(hjwHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hjmGhhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjiGhhhjGhMubah}(h]jdGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhjfGhhubjg)}(hhh]jl)}(hqueue task on backlogh]hqueue task on backlog}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjfGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhj'hNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHubj)}(hhh](j)}(hJ``struct rpc_xprt *xprt`` transport whose backlog queue receives the task h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjHh]hstruct rpc_xprt *xprt}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHubj)}(hhh]jl)}(h/transport whose backlog queue receives the taskh]h/transport whose backlog queue receives the task}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubj)}(h(``struct rpc_task *task`` task to queue h](j)}(h``struct rpc_task *task``h]j)}(hjIh]hstruct rpc_task *task}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjIubj)}(hhh]jl)}(h task to queueh]h task to queue}(hj4IhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0IhMhj1Iubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj0IhMhjHubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(h**Description**h]j)}(hjVIh]h Description}(hjXIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTIubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHubjl)}(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.}(hjlIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhj'hhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhhhjIhMubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j xprt_getsb c.xprt_getasbuh1hhjIhhhjIhMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhhhjIhMubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIhhhjIhMubj3)}(hxprt_geth]j9)}(hjIh]hxprt_get}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhjIhMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hj"JhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj3JhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5JmodnameN classnameNj j )}j ]jI c.xprt_getasbuh1hhjJubj")}(h h]h }(hjQJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hj_JhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hxprth]hxprt}(hjlJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Jubah}(h]h ]h"]h$]h&]jPjQuh1j hjIhhhjIhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhjIhMubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhMhjIhhubjg)}(hhh]jl)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj'hNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](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.chMhjJubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjJh]hstruct rpc_xprt *xprt}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjJubj)}(hhh]jl)}(hpointer to the transporth]hpointer to the transport}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhj'hhhNhNubh)}(hhh](j)}(h%void xprt_put (struct rpc_xprt *xprt)h]j )}(h$void xprt_put(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj1KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-KhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj@KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Khhhj?KhMubj3)}(hxprt_puth]j9)}(hxprt_puth]hxprt_put}(hjRKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-Khhhj?KhMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjnKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjKubj")}(h h]h }(hj{KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjKubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jTKsb c.xprt_putasbuh1hhjjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjKubj9)}(hxprth]hxprt}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfKubah}(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(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhj&Khhhj?KhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Ljj Ljjjuh1hhhhj'hNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](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.chMhj Lubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj2Lh]hstruct rpc_xprt *xprt}(hj4LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Lubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj,Lubj)}(hhh]jl)}(hpointer to the transporth]hpointer to the transport}(hjKLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjHLubah}(h]h ]h"]h$]h&]uh1jhj,Lubeh}(h]h ]h"]h$]h&]uh1jhjGLhMhj)Lubah}(h]h ]h"]h$]h&]uh1jhj Lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhj'hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhMubj3)}(h rpc_wake_uph]j9)}(h rpc_wake_uph]h rpc_wake_up}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjLhMubj )}(h(struct rpc_wait_queue *queue)h]j )}(hstruct rpc_wait_queue *queueh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hrpc_wait_queueh]hrpc_wait_queue}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j jLsb c.rpc_wake_upasbuh1hhjLubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hqueueh]hqueue}(hj"MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(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)}(hwake up all rpc_tasksh]hwake up all rpc_tasks}(hjLMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjIMhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdMjjdMjjjuh1hhhhj'hNhNubj)}(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)}(hjnMh]h Parameters}(hjpMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlMubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjhMubj)}(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)}(hjMh]hstruct rpc_wait_queue *queue}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjMubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjhMubjl)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjhMubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjhMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhj'hhhNhNubh)}(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 NhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj NhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj NhhhjNhMubj3)}(hrpc_wake_up_statush]j9)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hj.NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*Nubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj NhhhjNhMubj )}(h*(struct rpc_wait_queue *queue, int status)h](j )}(hstruct rpc_wait_queue *queueh](j)}(hjh]hstruct}(hjJNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFNubj")}(h h]h }(hjWNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFNubh)}(hhh]j9)}(hrpc_wait_queueh]hrpc_wait_queue}(hjhNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjNmodnameN classnameNj j )}j ]j )}j j0Nsbc.rpc_wake_up_statusasbuh1hhjFNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFNubj9)}(hqueueh]hqueue}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBNubj )}(h int statush](jM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(hstatush]hstatus}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBNubeh}(h]h ]h"]h$]h&]jPjQuh1j hj NhhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjNhMubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhjNhhubjg)}(hhh]jl)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj'hNhNubj)}(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$Oh]h Parameters}(hj&OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Oubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjOubj)}(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)}(hjCOh]hstruct rpc_wait_queue *queue}(hjEOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj=Oubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hj\OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXOhMhjYOubah}(h]h ]h"]h$]h&]uh1jhj=Oubeh}(h]h ]h"]h$]h&]uh1jhjXOhMhj:Oubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hj|Oh]h int status}(hj~OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjvOubj)}(hhh]jl)}(hstatus value to seth]hstatus value to set}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjvOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj:Oubeh}(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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjOubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhj'hhhNhNubh)}(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 }(hjThhhNhNubj)}(h**task**h]htask}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThKhjpTubeh}(h]h ]h"]h$]h&]uh1jhjTTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhj'hhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj")}(h h]h }(hj)UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhj(UhKubj3)}(hrpc_count_iostatsh]j9)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj;UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Uubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhj(UhKubj )}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j )}(hconst struct rpc_task *taskh](j)}(hj h]hconst}(hjWUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSUubj")}(h h]h }(hjdUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSUubj)}(hjh]hstruct}(hjrUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSUubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j j=Usbc.rpc_count_iostatsasbuh1hhjSUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSUubj9)}(htaskh]htask}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOUubj )}(hstruct rpc_iostats *statsh](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 rpc_iostatsh]h rpc_iostats}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jUc.rpc_count_iostatsasbuh1hhjUubj")}(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)}(hstatsh]hstats}(hj;VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhj(UhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhj(UhKubah}(h]j Uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(UhKhjUhhubjg)}(hhh]jl)}(htally up per-task statsh]htally up per-task stats}(hjeVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjbVhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhj(UhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}Vjj}Vjjjuh1hhhhj'hNhNubj)}(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)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjVubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjVh]hconst struct rpc_task *task}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjVubj)}(hhh]jl)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjVubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hjVh]hstruct rpc_iostats *stats}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjVubj)}(hhh]jl)}(harray of stat structuresh]harray of stat structures}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjVubeh}(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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjVubjl)}(hUses the statidx from **task**h](hUses the statidx from }(hj0WhhhNhNubj)}(h**task**h]htask}(hj8WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Wubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhj'hhhNhNubh)}(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}(hjmWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiWhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj")}(h h]h }(hj|WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiWhhhj{WhK}ubj3)}(hrpc_queue_upcallh]j9)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjiWhhhj{WhK}ubj )}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j )}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jWsbc.rpc_queue_upcallasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hpipeh]hpipe}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(hstruct rpc_pipe_msg *msgh](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)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hj:XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlist**) appropriately.h](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjXubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjXh]hstruct rpc_pipe *pipe}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hjXubj)}(hhh]jl)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhK~hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhK~hjXubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hjYh]hstruct rpc_pipe_msg *msg}(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.chKhjYubj)}(hhh]jl)}(hmessage to queueh]hmessage to queue}(hj0YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,YhKhj-Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj,YhKhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjRYh]h Description}(hjTYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPYubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjXubjl)}(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 }(hjhYhhhNhNubj)}(h **inode**h]hinode}(hjpYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhYubh 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 }(hjhYhhhNhNubj)}(h**msg**h]hmsg}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhYubh (other than }(hjhYhhhNhNubj)}(h **msg->list**h]h msg->list}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhYubh) appropriately.}(hjhYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhj'hhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMiubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjYhMiubj3)}(hrpc_mkpipe_dentryh]j9)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjYhMiubj )}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j )}(hstruct dentry *parenth](j)}(hjh]hstruct}(hj ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hdentryh]hdentry}(hj(ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*ZmodnameN classnameNj j )}j ]j )}j jYsbc.rpc_mkpipe_dentryasbuh1hhjZubj")}(h h]h }(hjHZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjVZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hparenth]hparent}(hjcZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hconst char *nameh](j)}(hj h]hconst}(hj|ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxZubjM )}(hcharh]hchar}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxZubj9)}(hnameh]hname}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(h void *privateh](jM )}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hprivateh]hprivate}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hj9[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;[modnameN classnameNj j )}j ]jDZc.rpc_mkpipe_dentryasbuh1hhj[ubj")}(h h]h }(hjW[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj )}(hj h]h*}(hje[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[ubj9)}(hpipeh]hpipe}(hjr[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubeh}(h]h ]h"]h$]h&]jPjQuh1j hjYhhhjYhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjYhMiubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMihjYhhubjg)}(hhh]jl)}(huserspace communicationh]huserspace communication}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMihj[hhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjYhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj'hNhNubj)}(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)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhj[ubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hj[h]hstruct dentry *parent}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhj[ubj)}(hhh]jl)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(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)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hj\h]hconst char *name}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhj\ubj)}(hhh]jl)}(h name of pipeh]h name of pipe}(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)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hjO\h]h void *private}(hjQ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjI\ubj)}(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}(hjh\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd\hMmhje\ubah}(h]h ]h"]h$]h&]uh1jhjI\ubeh}(h]h ]h"]h$]h&]uh1jhjd\hMmhj[ubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hj\h]hstruct rpc_pipe *pipe}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhj\ubj)}(hhh]jl)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hj\h]hrpc_pipe}(hj\hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrpc_pipeuh1hhj\hMnhj\ubh containing input parameters}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj\hMnhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMnhj[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:77: ./net/sunrpc/rpc_pipe.chMphj[ubjl)}(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 }(hj\hhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohj[ubjl)}(hWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to **msg->downcall**.h](hsWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to }(hj]hhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hj!]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMthj[ubjl)}(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:]hhhNhNubj)}(h **private**h]hprivate}(hjB]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:]ubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hj:]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMwhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhj'hhhNhNubh)}(hhh](j)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]j )}(h&void rpc_unlink(struct rpc_pipe *pipe)h](jM )}(hvoidh]hvoid}(hj{]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjw]hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw]hhhj]hMubj3)}(h rpc_unlinkh]j9)}(h rpc_unlinkh]h rpc_unlink}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjw]hhhj]hMubj )}(h(struct rpc_pipe *pipe)h]j )}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j )}j j]sb c.rpc_unlinkasbuh1hhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hpipeh]hpipe}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hjw]hhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjs]hhhj]hMubah}(h]jn]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjp]hhubjg)}(hhh]jl)}(h remove a pipeh]h remove a pipe}(hj;^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj8^hhubah}(h]h ]h"]h$]h&]uh1jfhjp]hhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS^jjS^jjjuh1hhhhj'hNhNubj)}(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]^h]h Parameters}(hj_^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[^ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjW^ubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hj|^h]hstruct rpc_pipe *pipe}(hj~^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz^ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjv^ubj)}(hhh]jl)}(hthe pipe to be removedh]hthe pipe to be removed}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjv^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjs^ubah}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjW^ubjl)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjW^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhj'hhhNhNubh)}(hhh](j)}(h;void rpc_init_pipe_dir_head (struct rpc_pipe_dir_head *pdh)h]j )}(h:void rpc_init_pipe_dir_head(struct rpc_pipe_dir_head *pdh)h](jM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hj _hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj _hMubj3)}(hrpc_init_pipe_dir_headh]j9)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj _hMubj )}(h(struct rpc_pipe_dir_head *pdh)h]j )}(hstruct rpc_pipe_dir_head *pdhh](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)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjW_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY_modnameN classnameNj j )}j ]j )}j j_sbc.rpc_init_pipe_dir_headasbuh1hhj5_ubj")}(h h]h }(hjw_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5_ubj9)}(hpdhh]hpdh}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1_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%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj _hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj'hNhNubj)}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj_ubj)}(hhh]j)}(hE``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hj_h]hstruct rpc_pipe_dir_head *pdh}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj_ubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhj'hhhNhNubh)}(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}(hjW`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS`hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjf`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS`hhhje`hMubj3)}(hrpc_init_pipe_dir_objecth]j9)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hjx`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjS`hhhje`hMubj )}(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}(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_pipe_dir_objecth]hrpc_pipe_dir_object}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j )}j jz`sbc.rpc_init_pipe_dir_objectasbuh1hhj`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)}(hpdoh]hpdo}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubj )}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](j)}(hj h]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj)}(hjh]hstruct}(hj!ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hj.ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hj?ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:bhMhj;bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj:bhMhjbubj)}(hb``const struct rpc_pipe_dir_object_ops *pdo_ops`` pointer to const struct rpc_pipe_dir_object_ops h](j)}(h1``const struct rpc_pipe_dir_object_ops *pdo_ops``h]j)}(hj^bh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hj`bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\bubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjXbubj)}(hhh]jl)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hjwbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjsbhMhjtbubah}(h]h ]h"]h$]h&]uh1jhjXbubeh}(h]h ]h"]h$]h&]uh1jhjsbhMhjbubj)}(h1``void *pdo_data`` pointer to caller-defined datah](j)}(h``void *pdo_data``h]j)}(hjbh]hvoid *pdo_data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjbubj)}(hhh]jl)}(hpointer to caller-defined datah]hpointer to caller-defined data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_add_pipe_dir_object (C function)c.rpc_add_pipe_dir_objecthNtauh1hhj'hhhNhNubh)}(hhh](j)}(hmint rpc_add_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]j )}(hlint rpc_add_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(hrpc_add_pipe_dir_objecth]j9)}(hrpc_add_pipe_dir_objecth]hrpc_add_pipe_dir_object}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj.chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*cubj")}(h h]h }(hj;chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*cubh)}(hhh]j9)}(hneth]hnet}(hjLchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNcmodnameN classnameNj j )}j ]j )}j jcsbc.rpc_add_pipe_dir_objectasbuh1hhj*cubj")}(h h]h }(hjlchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*cubj )}(hj h]h*}(hjzchhhNhNubah}(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 )}(hstruct rpc_pipe_dir_head *pdhh](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_pipe_dir_headh]hrpc_pipe_dir_head}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jhcc.rpc_add_pipe_dir_objectasbuh1hhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hpdhh]hpdh}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&cubj )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj dubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj dubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj.dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0dmodnameN classnameNj j )}j ]jhcc.rpc_add_pipe_dir_objectasbuh1hhj dubj")}(h h]h }(hjLdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj dubj )}(hj h]h*}(hjZdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj dubj9)}(hpdoh]hpdo}(hjgdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj dubeh}(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)}(h.associate a rpc_pipe_dir_object to a directoryh]h.associate a rpc_pipe_dir_object to a directory}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhj'hNhNubj)}(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)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjdubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjdh]hstruct net *net}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjdubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubj)}(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)}(hj eh]hstruct rpc_pipe_dir_head *pdh}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj eubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjeubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj$ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj ehMhj!eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj ehMhjdubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjDeh]hstruct rpc_pipe_dir_object *pdo}(hjFehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBeubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj>eubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hj]ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjZeubah}(h]h ]h"]h$]h&]uh1jhj>eubeh}(h]h ]h"]h$]h&]uh1jhjYehMhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_remove_pipe_dir_object (C function)c.rpc_remove_pipe_dir_objecthNtauh1hhj'hhhNhNubh)}(hhh](j)}(hqvoid rpc_remove_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]j )}(hpvoid rpc_remove_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](jM )}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehMubj3)}(hrpc_remove_pipe_dir_objecth]j9)}(hrpc_remove_pipe_dir_objecth]hrpc_remove_pipe_dir_object}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehMubj )}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(hneth]hnet}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jesbc.rpc_remove_pipe_dir_objectasbuh1hhjeubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hj'fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hneth]hnet}(hj4fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hjMfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIfubj")}(h h]h }(hjZfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIfubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjkfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmfmodnameN classnameNj j )}j ]jfc.rpc_remove_pipe_dir_objectasbuh1hhjIfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIfubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIfubj9)}(hpdhh]hpdh}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jfc.rpc_remove_pipe_dir_objectasbuh1hhjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hpdoh]hpdo}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(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)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hj>ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj;ghhubah}(h]h ]h"]h$]h&]uh1jfhjehhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVgjjVgjjjuh1hhhhj'hNhNubj)}(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)}(hj`gh]h Parameters}(hjbghhhNhNubah}(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.chM hjZgubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjgh]hstruct net *net}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}gubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjygubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM hjgubah}(h]h ]h"]h$]h&]uh1jhjygubeh}(h]h ]h"]h$]h&]uh1jhjghM hjvgubj)}(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)}(hjgh]hstruct rpc_pipe_dir_head *pdh}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjgubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghM hjvgubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjgh]hstruct rpc_pipe_dir_object *pdo}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjgubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjhubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjvgubeh}(h]h ]h"]h$]h&]uh1jhjZgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(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_objecthNtauh1hhj'hhhNhNubh)}(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}(hjKhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjYhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhhjXhhMubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjghubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlhmodnameN classnameNj j )}j ]j )}j !rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjGhhhhjXhhMubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhhjXhhMubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGhhhhjXhhMubj3)}(h!rpc_find_or_alloc_pipe_dir_objecth]j9)}(hjhh]h!rpc_find_or_alloc_pipe_dir_object}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhhjXhhMubj )}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(hneth]hnet}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jh#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjhubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hneth]hnet}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hj5ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1iubj")}(h h]h }(hjBihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1iubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjSihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUimodnameN classnameNj j )}j ]jh#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj1iubj")}(h h]h }(hjqihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1iubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1iubj9)}(hpdhh]hpdh}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](jM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h(}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hmatchh]hmatch}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubj )}(hj< h]h)}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj h]h(}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj!jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#jmodnameN classnameNj j )}j ]jh#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjiubj )}(hj h]h*}(hj?jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(h,h]h,}(hjLjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj")}(h h]h }(hjZjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubjM )}(hvoidh]hvoid}(hjhjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj )}(hj h]h*}(hjvjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj< h]h)}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]jh#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj )}(hj h]h(}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(halloch]halloc}(hj khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubj )}(hj< h]h)}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj )}(hj h]h(}(hj'khhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubjM )}(hvoidh]hvoid}(hj4khhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj )}(hj h]h*}(hjBkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj )}(hj< h]h)}(hjOkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjgkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjckubj")}(h h]h }(hjukhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjckubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjckubj9)}(hdatah]hdata}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjckubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhhjXhhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhhjXhhMubah}(h]j>hah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhhMhj@hhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj@hhhhjXhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj'hNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjkubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjkh]hstruct net *net}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjkubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(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)}(hj%lh]hstruct rpc_pipe_dir_head *pdh}(hj'lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#lubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjlubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj>lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:lhM hj;lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj:lhM hjkubj)}(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^lh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hj`lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\lubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!hjXlubj)}(hhh]jl)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hjwlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjslhM!hjtlubah}(h]h ]h"]h$]h&]uh1jhjXlubeh}(h]h ]h"]h$]h&]uh1jhjslhM!hjkubj)}(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)}(hjlh]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjlubj)}(hhh]jl)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM"hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM"hjkubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjlh]h void *data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hjlubj)}(hhh]jl)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM$hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhj'hhhNhNubh)}(hhh](j)}(h/void rpcb_getport_async (struct rpc_task *task)h]j )}(h.void rpcb_getport_async(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj*mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&mhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj")}(h h]h }(hj9mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&mhhhj8mhMubj3)}(hrpcb_getport_asynch]j9)}(hrpcb_getport_asynch]hrpcb_getport_async}(hjKmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&mhhhj8mhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjgmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcmubj")}(h h]h }(hjtmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcmubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j jMmsbc.rpcb_getport_asyncasbuh1hhjcmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcmubj9)}(htaskh]htask}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_mubah}(h]h ]h"]h$]h&]jPjQuh1j hj&mhhhj8mhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"mhhhj8mhMubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8mhMhjmhhubjg)}(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}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhj8mhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj'hNhNubj)}(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 nh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj nubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjnubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hj+nh]hstruct rpc_task *task}(hj-nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)nubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj%nubj)}(hhh]jl)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hjDnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@nhMhjAnubah}(h]h ]h"]h$]h&]uh1jhj%nubeh}(h]h ]h"]h$]h&]uh1jhj@nhMhj"nubah}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjfnh]h Description}(hjhnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjnubjl)}(h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.h]h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.}(hj|nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhj'hhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j )}j rpc_createsb c.rpc_createasbuh1hhjnhhhjnhMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhMubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnhhhjnhMubj3)}(h rpc_createh]j9)}(hjnh]h rpc_create}(hj ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhMubj )}(h(struct rpc_create_args *args)h]j )}(hstruct rpc_create_args *argsh](j)}(hjh]hstruct}(hj%ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!oubj")}(h h]h }(hj2ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!oubh)}(hhh]j9)}(hrpc_create_argsh]hrpc_create_args}(hjCohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEomodnameN classnameNj j )}j ]jn c.rpc_createasbuh1hhj!oubj")}(h h]h }(hjaohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!oubj )}(hj h]h*}(hjoohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!oubj9)}(hargsh]hargs}(hj|ohhhNhNubah}(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)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjohhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhj'hNhNubj)}(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)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hjoh]hstruct rpc_create_args *args}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubj)}(hhh]jl)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hjphhhNhNubah}(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}(hj$phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubjl)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hj8phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubjl)}(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.}(hjGphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhj'hhhNhNubh)}(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}(hjvphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrphhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrphhhjphMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j rpc_clone_clientsbc.rpc_clone_clientasbuh1hhjrphhhjphMubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrphhhjphMubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrphhhjphMubj3)}(hrpc_clone_clienth]j9)}(hjph]hrpc_clone_client}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrphhhjphMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]jpc.rpc_clone_clientasbuh1hhjpubj")}(h h]h }(hj,qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hj:qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hclnth]hclnt}(hjGqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubah}(h]h ]h"]h$]h&]jPjQuh1j hjrphhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnphhhjphMubah}(h]jipah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjkphhubjg)}(hhh]jl)}(hClone an RPC client structureh]hClone an RPC client structure}(hjqqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjnqhhubah}(h]h ]h"]h$]h&]uh1jfhjkphhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj'hNhNubj)}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjqh]hstruct rpc_clnt *clnt}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubah}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhj'hhhNhNubh)}(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}(hj2rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.rhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hj@rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.rhhhj?rhMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjQrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSrmodnameN classnameNj j )}j ]j )}j rpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj.rhhhj?rhMubj")}(h h]h }(hjrrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.rhhhj?rhMubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.rhhhj?rhMubj3)}(hrpc_clone_client_set_authh]j9)}(hjorh]hrpc_clone_client_set_auth}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.rhhhj?rhMubj )}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jmrc.rpc_clone_client_set_authasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hclnth]hclnt}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hrpc_authflavor_t flavorh](h)}(hhh]j9)}(hrpc_authflavor_th]hrpc_authflavor_t}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!smodnameN classnameNj j )}j ]jmrc.rpc_clone_client_set_authasbuh1hhjsubj")}(h h]h }(hj=shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hflavorh]hflavor}(hjKshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.rhhhj?rhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*rhhhj?rhMubah}(h]j%rah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?rhMhj'rhhubjg)}(hhh]jl)}(h.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hjushhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjrshhubah}(h]h ]h"]h$]h&]uh1jfhj'rhhhj?rhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj'hNhNubj)}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjsh]hstruct rpc_clnt *clnt}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hjsh]hrpc_authflavor_t flavor}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubj)}(hhh]jl)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthMhjsubeh}(h]h ]h"]h$]h&]uh1jhjsubjl)}(h**Description**h]j)}(hj*th]h Description}(hj,thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(tubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hj@thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhj'hhhNhNubh)}(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}(hjothhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkthhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hj~thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkthhhj}thMubj3)}(hrpc_switch_client_transporth]j9)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkthhhj}thMubj )}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j )}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jtsbc.rpc_switch_client_transportasbuh1hhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hclnth]hclnt}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hstruct xprt_create *argsh](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 xprt_createh]h xprt_create}(hjumodnameN classnameNj j )}j ]jtc.rpc_switch_client_transportasbuh1hhjuubj")}(h h]h }(hjZuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjhuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hargsh]hargs}(hjuuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(h!const struct rpc_timeout *timeouth](j)}(hj h]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h rpc_timeouth]h rpc_timeout}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jtc.rpc_switch_client_transportasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(htimeouth]htimeout}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkthhhj}thMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjgthhhj}thMubah}(h]jbtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}thMhjdthhubjg)}(hhh]jl)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hj*vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj'vhhubah}(h]h ]h"]h$]h&]uh1jfhjdthhhj}thMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBvjjBvjjjuh1hhhhj'hNhNubj)}(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)}(hjLvh]h Parameters}(hjNvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJvubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjFvubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjkvh]hstruct rpc_clnt *clnt}(hjmvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjivubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjevubj)}(hhh]jl)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjevubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjbvubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjvh]hstruct xprt_create *args}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjvubj)}(hhh]jl)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjbvubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjvh]h!const struct rpc_timeout *timeout}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjvubj)}(hhh]jl)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjbvubeh}(h]h ]h"]h$]h&]uh1jhjFvubjl)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjFvubjl)}(hXThis function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.h]hX This function allows the caller to switch the RPC transport for the rpc_clnt structure ‘clnt’ to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.}(hj.whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjFvubjl)}(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.}(hj=whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjFvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhj'hhhNhNubh)}(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}(hjlwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhwhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj")}(h h]h }(hj{whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhwhhhjzwhMBubj3)}(hrpc_clnt_iterate_for_each_xprth]j9)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhwhhhjzwhMBubj )}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jwsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hclnth]hclnt}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hj)xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h(}(hj7xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj h]h*}(hjDxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hfnh]hfn}(hjQxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubj )}(hj< h]h)}(hj_xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj h]h(}(hjlxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj)}(hjh]hstruct}(hjyxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jw c.rpc_clnt_iterate_for_each_xprtasbuh1hhjxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hjNjh]h,}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jw c.rpc_clnt_iterate_for_each_xprtasbuh1hhjxubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hjNjh]h,}(hj&yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj")}(h h]h }(hj3yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubjM )}(hvoidh]hvoid}(hjAyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj )}(hj h]h*}(hjOyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj< h]h)}(hj\yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjtyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpyubj9)}(hdatah]hdata}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhwhhhjzwhMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdwhhhjzwhMBubah}(h]j_wah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzwhMBhjawhhubjg)}(hhh]jl)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhjyhhubah}(h]h ]h"]h$]h&]uh1jfhjawhhhjzwhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj'hNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjyubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjzh]hstruct rpc_clnt *clnt}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMChjzubj)}(hhh]jl)}(hpointer to clienth]hpointer to client}(hj!zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMChjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMChjyubj)}(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)}(hjAzh]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hjCzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?zubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhj;zubj)}(hhh]jl)}(hfunction to applyh]hfunction to apply}(hjZzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVzhMDhjWzubah}(h]h ]h"]h$]h&]uh1jhj;zubeh}(h]h ]h"]h$]h&]uh1jhjVzhMDhjyubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjzzh]h void *data}(hj|zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhjtzubj)}(hhh]jl)}(hvoid pointer to function datah]hvoid pointer to function data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMEhjzubah}(h]h ]h"]h$]h&]uh1jhjtzubeh}(h]h ]h"]h$]h&]uh1jhjzhMEhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhjyubjl)}(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).}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjyubjl)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhj'hhhNhNubh)}(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 }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hM}ubjM )}(hlongh]hlong}(hj&{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhj{hM}ubj")}(h h]h }(hj4{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hM}ubj3)}(hrpc_cancel_tasksh]j9)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hjF{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhj{hM}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}(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_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 jH{sbc.rpc_cancel_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)}(hclnth]hclnt}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZ{ubj )}(h int errorh](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)}(herrorh]herror}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZ{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 }(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*}(hj1|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hfnmatchh]hfnmatch}(hj>|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubj )}(hj< h]h)}(hjL|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj )}(hj h]h(}(hjY|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj)}(hj h]hconst}(hjf|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hjs|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)}(hrpc_taskh]hrpc_task}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j{c.rpc_cancel_tasksasbuh1hhj|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj )}(hjNjh]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 )}(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 )}(hj< h]h)}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZ{ubj )}(hconst void *datah](j)}(hj h]hconst}(hj3}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/}ubj")}(h h]h }(hj@}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/}ubjM )}(hvoidh]hvoid}(hjN}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*}(hjj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/}ubj9)}(hdatah]hdata}(hjw}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZ{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhj{hM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{hhhj{hM}ubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hM}hjzhhubjg)}(hhh]jl)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(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&]uh1jfhjzhhhj{hM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj'hNhNubj)}(hX|**Parameters** ``struct rpc_clnt *clnt`` Pointer to RPC client ``int error`` RPC task error value to set ``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function ``const void *data`` User data **Description** Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj}ubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj}h]hstruct rpc_clnt *clnt}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM~hj}ubj)}(h*``int error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hj~h]h int error}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj~ubj)}(hhh]jl)}(hRPC task error value to seth]hRPC task error value to set}(hj4~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0~hMhj1~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj0~hMhj}ubj)}(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)}(hjT~h]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hjV~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjN~ubj)}(hhh]jl)}(hPointer to selector functionh]hPointer to selector function}(hjm~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji~hMhjj~ubah}(h]h ]h"]h$]h&]uh1jhjN~ubeh}(h]h ]h"]h$]h&]uh1jhji~hMhj}ubj)}(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.chMhj~ubj)}(hhh]jl)}(h User datah]h User 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}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:83: ./net/sunrpc/clnt.chMhj}ubjl)}(h~Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](hUses }(hj~hhhNhNubj)}(h **fnmatch**h]hfnmatch}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubhE to define a set of RPC tasks that are to be cancelled. The argument }(hj~hhhNhNubj)}(h **error**h]herror}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh must be a negative error value.}(hj~hhhNhNubeh}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhj'hhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-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!hj-hhhj>hMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j rpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhj-hhhj>hMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj>hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-hhhj>hMubj3)}(hrpc_bind_new_programh]j9)}(hjnh]hrpc_bind_new_program}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj>hMubj )}(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 }(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 ]jlc.rpc_bind_new_programasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(holdh]hold}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_program *programh](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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_programh]h rpc_program}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jlc.rpc_bind_new_programasbuh1hhjubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hprogramh]hprogram}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 ]jlc.rpc_bind_new_programasbuh1hhjubj")}(h h]h }(hjǀhhhNhNubah}(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 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,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hj@h]hstruct rpc_clnt *old}(hjBhhhNhNubah}(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)}(hold rpc_clienth]hold rpc_client}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hjyh]h!const struct rpc_program *program}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubj)}(hhh]jl)}(hrpc program to seth]hrpc program to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(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.chMhjubj)}(hhh]jl)}(hrpc program versionh]hrpc program version}(hjˁhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjǁhMhjȁubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǁhMhj7ubeh}(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)}(hClones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.h]hClones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhj'hhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.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!hj.hhhj?hMubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j rpc_run_tasksbc.rpc_run_taskasbuh1hhj.hhhj?hMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj?hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.hhhj?hMubj3)}(h rpc_run_taskh]j9)}(hjoh]h rpc_run_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj?hMubj )}(h.(const struct rpc_task_setup *task_setup_data)h]j )}(h,const struct rpc_task_setup *task_setup_datah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjǂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjԂhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_task_setuph]hrpc_task_setup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jmc.rpc_run_taskasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htask_setup_datah]htask_setup_data}(hjhhhNhNubah}(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]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMhj'hhubjg)}(hhh]jl)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj'hNhNubj)}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](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:83: ./net/sunrpc/clnt.chMhjdubj)}(hhh]j)}(hT``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](j)}(h0``const struct rpc_task_setup *task_setup_data``h]j)}(hjh]h,const struct rpc_task_setup *task_setup_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(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&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhj'hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj߃hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj߃hhhjhMubj3)}(h rpc_call_synch]j9)}(h rpc_call_synch]h rpc_call_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj߃hhhjhMubj )}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jsbc.rpc_call_syncasbuh1hhjubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_messageh]h rpc_message}(hj˄hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȄubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̈́modnameN classnameNj j )}j ]jZc.rpc_call_syncasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hj9hhhNhNubah}(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)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jfhj؃hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhj'hNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flagsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hj݅h]hconst struct rpc_message *msg}(hj߅hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۅubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjׅubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjׅubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC call flagsh]hRPC call flags}(hj/hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhj'hhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj~hMubj3)}(hrpc_call_asynch]j9)}(hrpc_call_asynch]hrpc_call_async}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj~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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjˆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȆubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͆modnameN classnameNj j )}j ]j )}j jsbc.rpc_call_asyncasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct rpc_message *msgh](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)}(h rpc_messageh]h rpc_message}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jc.rpc_call_asyncasbuh1hhjubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjƇhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_call_ops *tk_opsh](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 rpc_call_opsh]h rpc_call_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_call_asyncasbuh1hhjۇubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۇubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjۇubj9)}(htk_opsh]htk_ops}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjۇubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(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 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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjՈjjՈjjjuh1hhhhj'hNhNubj)}(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)}(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: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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hj7h]hconst struct rpc_message *msg}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj1ubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hjph]h int flags}(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)}(hRPC call flagsh]hRPC call flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(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}(hj‰hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``void *data`` user call datah](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.chMhj܉ubj)}(hhh]jl)}(huser call datah]huser call data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubah}(h]h ]h"]h$]h&]uh1jhj܉ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjوubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhj'hhhNhNubh)}(hhh](j)}(hvoid rpc_prepare_reply_pages (struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h]j )}(hvoid rpc_prepare_reply_pages(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](jM )}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhMGubj3)}(hrpc_prepare_reply_pagesh]j9)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhMGubj )}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(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 j_sbc.rpc_prepare_reply_pagesasbuh1hhjuubj")}(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)}(hreqh]hreq}(hjҊhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(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 ]jc.rpc_prepare_reply_pagesasbuh1hhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjNjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hunsigned int hdrsizeh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hhdrsizeh]hhdrsize}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhMGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhMGubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMGhj1hhubjg)}(hhh]jl)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhjihhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjJhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhjubj)}(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.chMHhjubj)}(hhh]jl)}(hRPC request to prepareh]hRPC request to prepare}(hjƌhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjŒhMHhjÌubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŒhMHhjubj)}(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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhjubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(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.chMJhjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMJhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMJhjubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hjXh]hunsigned int len}(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.chMKhjRubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMKhjubj)}(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.chMMhjubj)}(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.chMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhj'hhhNhNubh)}(hhh](j)}(hQsize_t rpc_peeraddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h]j )}(hPsize_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMbubj3)}(h rpc_peeraddrh]j9)}(hj h]h rpc_peeraddr}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMbubj )}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j c.rpc_peeraddrasbuh1hhj9ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(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 reftargetj͎modnameN classnameNj j )}j ]j c.rpc_peeraddrasbuh1hhjubj")}(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 hj5ubj )}(hsize_t bufsizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j c.rpc_peeraddrasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbufsizeh]hbufsize}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMbubah}(h]jލah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMbhjhhubjg)}(hhh]jl)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhjshhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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.chMfhjubj)}(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.chMchjubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hjЏhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̏hMchj͏ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̏hMchjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjh]hstruct sockaddr *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMdhjubj)}(hhh]jl)}(h target bufferh]h target buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMehj#ubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMehj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMehjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMghjubjl)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhj'hhhNhNubh)}(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.chM|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM|ubjM )}(hcharh]hchar}(hjŐhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhM|ubj")}(h h]h }(hjӐhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM|ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM|ubj3)}(hrpc_peeraddr2strh]j9)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM|ubj )}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(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 )}j jsbc.rpc_peeraddr2strasbuh1hhj ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hclnth]hclnt}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h enum rpc_display_format_t formath](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubh)}(hhh]j9)}(hrpc_display_format_th]hrpc_display_format_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jHc.rpc_peeraddr2strasbuh1hhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj9)}(hformath]hformat}(hjʑhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM|ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM|hjhhubjg)}(hhh]jl)}(h.return remote peer address in printable formath]h.return remote peer address in printable format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj'hNhNubj)}(hX9**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``enum rpc_display_format_t format`` address format **Description** NB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj5h]hstruct rpc_clnt *clnt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hj/ubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM}hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM}hj,ubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hjnh]h enum rpc_display_format_t format}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hjhubj)}(hhh]jl)}(haddress formath]haddress format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h]hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhj'hhhNhNubh)}(hhh](j)}(hNint rpc_localaddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h]j )}(hMint rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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)}(h rpc_localaddrh]j9)}(h rpc_localaddrh]h rpc_localaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc.rpc_localaddrasbuh1hhj'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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.rpc_localaddrasbuh1hhjubj")}(h h]h }(hjٓhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h size_t buflenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.rpc_localaddrasbuh1hhj ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hbuflenh]hbuflen}(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)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(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~jjjuh1hhhhj'hNhNubj)}(hXM**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t buflen`` size of target buffer, in bytes **Description** Returns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned. This works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address. The result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(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)}(hjh]hstruct sockaddr *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޔubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjڔubj)}(hhh]jl)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڔubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjh]h size_t buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hj2hhhNhNubah}(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)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hdReturns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned.h]hlReturns zero and fills in “buf” and “buflen” if successful; otherwise, a negative errno is returned.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.h]hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h]hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhj'hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6ubj")}(h h]h }(hjŕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjĕhM6ubh)}(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_nsasbuh1hhjhhhjĕhM6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjĕhM6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjĕhM6ubj3)}(h rpc_net_nsh]j9)}(hjh]h rpc_net_ns}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjĕhM6ubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j c.rpc_net_nsasbuh1hhj-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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjĕhM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjĕhM6ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjĕhM6hjhhubjg)}(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.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjĕhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʖjjʖjjjuh1hhhhj'hNhNubj)}(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.chM:hjΖubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM<hjubj)}(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.chM7hj ubah}(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&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhj'hhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j rpc_max_payloadsbc.rpc_max_payloadasbuh1hhjIhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhhhjqhMFubj3)}(hrpc_max_payloadh]j9)}(hjnh]hrpc_max_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhjqhMFubj )}(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 ]jlc.rpc_max_payloadasbuh1hhjubj")}(h h]h }(hjۗhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjIhhhjqhMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhjqhMFubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhMFhjBhhubjg)}(hhh]jl)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjqhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj'hNhNubj)}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(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.chMJhj<ubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjah]hstruct rpc_clnt *clnt}(hjchhhNhNubah}(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.chMGhj[ubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMGhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMGhjXubah}(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.chMIhj<ubjl)}(hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h]hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don’t support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMHhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhj'hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN 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.chMZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݘhhhjhMZubj3)}(hrpc_max_bc_payloadh]j9)}(hjh]hrpc_max_bc_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݘhhhjhMZubj )}(h(struct rpc_clnt *clnt)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 ]jc.rpc_max_bc_payloadasbuh1hhj/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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubah}(h]h ]h"]h$]h&]jPjQuh1j hjݘhhhjhMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj٘hhhjhMZubah}(h]jԘah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMZhj֘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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jfhj֘hhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̙jj̙jjjuh1hhhhj'hNhNubj)}(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.chM^hjЙubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM`hjubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM[hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM`hjubah}(h]h ]h"]h$]h&]uh1jhjЙubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhj'hhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hMxubj3)}(hrpc_force_rebindh]j9)}(hrpc_force_rebindh]hrpc_force_rebind}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hMxubj )}(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 ]j )}j jrsbc.rpc_force_rebindasbuh1hhjubj")}(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hMxubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMxhjDhhubjg)}(hhh]jl)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxhj hhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj'hNhNubj)}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](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.chM|hj+ubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](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.chM~hjJubj)}(hhh]jl)}(hclient to rebindh]hclient to rebind}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMyhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM~hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhj'hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hrpc_clnt_test_and_add_xprth]j9)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hj˛hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǛubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j͛sbc.rpc_clnt_test_and_add_xprtasbuh1hhjubj")}(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)}(hclnth]hclnt}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjߛubj )}(hstruct rpc_xprt_switch *xpsh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j!c.rpc_clnt_test_and_add_xprtasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjߛubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j!c.rpc_clnt_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŜubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjߛubj )}(hvoid *in_max_connecth](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)}(hin_max_connecth]hin_max_connect}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(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*Test and add a new transport to a rpc_clnth]h*Test and add a new transport to a rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hj͝h]hstruct rpc_clnt *clnt}(hjϝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˝ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjǝubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjǝubeh}(h]h ]h"]h$]h&]uh1jhjhM hjĝubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjĝubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj?h]hstruct rpc_xprt *xprt}(hjAhhhNhNubah}(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 hj9ubj)}(hhh]jl)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM hjĝubj)}(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)}(hjxh]hvoid *in_max_connect}(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)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM hjĝubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(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_xprthNtauh1hhj'hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΞhhhjhM ubj3)}(h rpc_clnt_setup_test_and_add_xprth]j9)}(h rpc_clnt_setup_test_and_add_xprth]h rpc_clnt_setup_test_and_add_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjΞhhhjhM ubj )}(hW(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(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 )}j jsb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj 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)}(hclnth]hclnt}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_xprt_switch *xpsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jI"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj˟hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hxpsh]hxps}(hj؟hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_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)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jI"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprth]hxprt}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]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)}(hdatah]hdata}(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]h}(h]h ]h"]h$]h&]uh1jfhjǞhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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)}(hjǠh]h Parameters}(hjɠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŠubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh](j)}(hC``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport 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)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hjh]hstruct rpc_xprt_switch *xps}(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)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjݠubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjXh]hstruct rpc_xprt *xprt}(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)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM 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 hjubj)}(hhh]jl)}(h[a struct rpc_add_xprt_test pointer that holds the test function and test function call datah]h[a struct rpc_add_xprt_test pointer that holds the test function and test function call data}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjݠubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj͡h]h Description}(hjϡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˡubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.h]h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhj'hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhQ/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!hjHhhhjZhM ubj3)}(hrpc_clnt_add_xprth]j9)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjZhM ubj )}(h(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j josbc.rpc_clnt_add_xprtasbuh1hhjubj")}(h h]h }(hjǢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjբhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xprt_create *xprtargsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xprt_createh]h xprt_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jâc.rpc_clnt_add_xprtasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprtargsh]hxprtargs}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hsetuph]hsetup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubj )}(hj< h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj)}(hjh]hstruct}(hjɣhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hj֣hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jâc.rpc_clnt_add_xprtasbuh1hhjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hjNjh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jâc.rpc_clnt_add_xprtasbuh1hhjgubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hjNjh]h,}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jâc.rpc_clnt_add_xprtasbuh1hhjgubj )}(hj h]h*}(hjͤhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hjNjh]h,}(hjڤhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj< h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hdatah]hdata}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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 hjxhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjZhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj'hNhNubj)}(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&]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}(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)}(hjh]hstruct xprt_create *xprtargs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj.h]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hj0hhhNhNubah}(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)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hjgh]h void *data}(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 setup function datah]hpointer to setup function data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hM hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM hjubeh}(h]h ]h"]h$]h&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj'hhhNhNubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjަhhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void dev_add_pack (struct packet_type *pt)h]j )}(h)void dev_add_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hMdubj3)}(h dev_add_packh]j9)}(h dev_add_packh]h dev_add_pack}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hMdubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j j<sbc.dev_add_packasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hpth]hpt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj'hMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj'hMdubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMdhjhhubjg)}(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&]uh1jfhjhhhj'hMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMehj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMehjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubj)}(hX\Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jl)}(hAdd a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists.h](h;Add a protocol handler to the networking stack. The passed }(hjohhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjyh]h packet_type}(hj{hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjoubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMfhjkubjl)}(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.chMjhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void __dev_remove_pack (struct packet_type *pt)h]j )}(h.void __dev_remove_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjҨhhhjhM~ubj3)}(h__dev_remove_packh]j9)}(h__dev_remove_packh]h__dev_remove_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjҨhhhjhM~ubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jsbc.__dev_remove_packasbuh1hhjubj")}(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)}(hpth]hpt}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(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)}(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&]uh1jfhj˨hhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjשh]hstruct packet_type *pt}(hj٩hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjթubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjѩubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(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&]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)}(hj6h]h packet_type}(hj8hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(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&]uh1jkhjShMhj(ubjl)}(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.}(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&]uh1jhjShMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void dev_remove_pack (struct packet_type *pt)h]j )}(h,void dev_remove_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(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&]uh1jhj̪ubj")}(h h]h }(hjݪhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̪ubh)}(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 jsbc.dev_remove_packasbuh1hhj̪ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̪ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj̪ubj9)}(hpth]hpt}(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)}(hremove packet handlerh]hremove packet handler}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjoubj)}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hjϫh]h Description}(hjѫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͫubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjoubj)}(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 }(hjhhhNhNubh)}(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.chMhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.h]hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1int dev_get_iflink (const struct net_device *dev)h]j )}(h0int dev_get_iflink(const struct net_device *dev)h](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj^hMubj3)}(hdev_get_iflinkh]j9)}(hdev_get_iflinkh]hdev_get_iflink}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj^hMubj )}(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}(hjƬhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjìubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȬmodnameN classnameNj j )}j ]j )}j jssbc.dev_get_iflinkasbuh1hhjubj")}(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 hjLhhhj^hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj^hMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMhjEhhubjg)}(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.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjhNhNubj)}(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)}(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.chMhjGubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface h](j)}(h ``const struct net_device *dev``h]j)}(hjlh]hconst struct net_device *dev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGubj)}(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ϭhMhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhjhhhNhNubh)}(hhh](j)}(hGint dev_fill_metadata_dst (struct net_device *dev, struct sk_buff *skb)h]j )}(hFint dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hdev_fill_metadata_dsth]j9)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h-(struct net_device *dev, struct sk_buff *skb)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.dev_fill_metadata_dstasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjîhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŮmodnameN classnameNj j )}j ]jmc.dev_fill_metadata_dstasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(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#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjhNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubj)}(hhh](j)}(h.``struct net_device *dev`` targeted interface h](j)}(h``struct net_device *dev``h]j)}(hjgh]hstruct net_device *dev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(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.chMhjBubj)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]jl)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(hIstruct net_device * __dev_get_by_name (struct net *net, const char *name)h]j )}(hGstruct net_device *__dev_get_by_name(struct net *net, const char *name)h](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hMdubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j __dev_get_by_namesbc.__dev_get_by_nameasbuh1hhj&hhhj7hMdubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hMdubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&hhhj7hMdubj3)}(h__dev_get_by_nameh]j9)}(hjgh]h__dev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj7hMdubj )}(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}(hj°hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjİmodnameN classnameNj j )}j ]jec.__dev_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnameh]hname}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj7hMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj7hMdubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hMdhjhhubjg)}(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&]uh1jfhjhhhj7hMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjñh]hstruct net *net}(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.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رhMehjubj)}(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.chMfhjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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 }(hjQhhhNhNubj)}(h``NULL``h]hNULL}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjMubah}(h]h ]h"]h$]h&]uh1jhjqhMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hKstruct net_device * dev_get_by_name_rcu (struct net *net, const char *name)h]j )}(hIstruct net_device *dev_get_by_name_rcu(struct net *net, const char *name)h](j)}(hjh]hstruct}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN 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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMyubj3)}(hdev_get_by_name_rcuh]j9)}(hjղh]hdev_get_by_name_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]jӲc.dev_get_by_name_rcuasbuh1hhjubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst char *nameh](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 )}(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)}(hnameh]hname}(hjƳhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXv**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hj ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj1h]hstruct net *net}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMzhj+ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMzhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMzhj(ubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjjh]hconst char *name}(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.chM{hjdubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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&]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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjôhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned. The reference counters are not incremented so the caller must be careful with locks. 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.chM|hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(hqstruct net_device * netdev_get_by_name (struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h]j )}(hostruct net_device *netdev_get_by_name(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjhhhj hMubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj hMubj3)}(hnetdev_get_by_nameh]j9)}(hj9h]hnetdev_get_by_name}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j7c.netdev_get_by_nameasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hneth]hnet}(hj͵hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(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 hjnubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j7c.netdev_get_by_nameasbuh1hhj?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)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(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 ]j7c.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hjǶhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubeh}(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)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX#**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Find an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj2h]hstruct net *net}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjkh]hconst char *name}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjeubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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)}(hjݷh]h gfp_t gfp}(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 allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj׷ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(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)}(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. }(hj2hhhNhNubj)}(h``NULL``h]hNULL}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh, is returned if no matching device is found.}(hj2hhhNhNubeh}(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&]uh1jhjRhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](j)}(hEstruct net_device * __dev_get_by_index (struct net *net, int ifindex)h]j )}(hCstruct net_device *__dev_get_by_index(struct net *net, int ifindex)h](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMubh)}(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_indexasbuh1hhjuhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMubj )}(hj h]h*}(hjǸhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuhhhjhMubj3)}(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&]jPjQuh1j2hjuhhhjhMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__dev_get_by_indexasbuh1hhjubj")}(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)}(hneth]hnet}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](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)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhMubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjnhhubjg)}(hhh]jl)}(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&]uh1jfhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](jl)}(h**Parameters**h]j)}(hj˹h]h Parameters}(hj͹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɹubah}(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.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hj#h]h int ifindex}(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)}(hindex of deviceh]hindex of device}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(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Ź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 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 }(hjxhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh 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.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubah}(h]h ]h"]h$]h&]uh1jhjhMhjŹubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hGstruct net_device * dev_get_by_index_rcu (struct net *net, int ifindex)h]j )}(hEstruct net_device *dev_get_by_index_rcu(struct net *net, int ifindex)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/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̺hMubh)}(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 dev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhjhhhj̺hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj̺hMubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj̺hMubj3)}(hdev_get_by_index_rcuh]j9)}(hjh]hdev_get_by_index_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj̺hMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hneth]hnet}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.dev_get_by_index_rcuasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(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}(hjŻhhhNhNubah}(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)}(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&]uh1jfhjhhhj̺hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXx**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj0h]hstruct net *net}(hj2hhhNhNubah}(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)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjih]h int ifindex}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjcubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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}(hjƼhhhNhNubah}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhj޼hMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmstruct net_device * netdev_get_by_index (struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h]j )}(hkstruct net_device *netdev_get_by_index(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j netdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjhhhjhMubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hnetdev_get_by_indexh]j9)}(hjBh]hnetdev_get_by_index}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j@c.netdev_get_by_indexasbuh1hhj{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)}(hneth]hnet}(hjֽhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j@c.netdev_get_by_indexasbuh1hhj 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)}(htrackerh]htracker}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(h gfp_t gfph](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 ]j@c.netdev_get_by_indexasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjҾhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjϾhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Search for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj ubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjLh]h int ifindex}(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.chMhjFubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj 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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӿhMhj 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.chMhjubj)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]jl)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhj!hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h^struct net_device * dev_getbyhwaddr_rcu (struct net *net, unsigned short type, const char *ha)h]j )}(h\struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j dev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhjDhhhjUhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDhhhjUhMubj3)}(hdev_getbyhwaddr_rcuh]j9)}(hjh]hdev_getbyhwaddr_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjUhMubj )}(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_getbyhwaddr_rcuasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubjM )}(hshorth]hshort}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(htypeh]htype}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(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 hjDhhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjUhMubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhj=hhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Search for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj2h]hstruct net *net}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjkh]hunsigned short type}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjeubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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&]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&]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}(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&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hZstruct net_device * dev_getbyhwaddr (struct net *net, unsigned short type, const char *ha)h]j )}(hXstruct net_device *dev_getbyhwaddr(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j dev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhj*hhhj;hMubj")}(h h]h }(hjnhhhNhNubah}(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)}(hdev_getbyhwaddrh]j9)}(hjkh]hdev_getbyhwaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj;hMubj )}(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 ]jic.dev_getbyhwaddrasbuh1hhjubj")}(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 )}(hunsigned short typeh](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 )}(hshorth]hshort}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *hah](j)}(hj h]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hhah]hha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(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%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXY**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Similar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock. **Context** rtnl_lock() must be held. **Return** pointer to the net_device, or NULL if not foundh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjQh]hunsigned short type}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjKubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h **Context**h]j)}(hjh]hContext}(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)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(h&bool dev_valid_name (const char *name)h]j )}(h%bool dev_valid_name(const char *name)h](jM )}(hjh]hbool}(hjXhhhNhNubah}(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 }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjehM&ubj3)}(hdev_valid_nameh]j9)}(hdev_valid_nameh]hdev_valid_name}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjehM&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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjehM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjehM&ubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehM&hjMhhubjg)}(hhh]jl)}(h(check if name is okay for network deviceh]h(check if name is okay for network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjehM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const char *name`` name string **Description** Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](jl)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjubj)}(hhh]j)}(h!``const char *name`` name string h](j)}(h``const char *name``h]j)}(hjCh]hconst char *name}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj=ubj)}(hhh]jl)}(h name stringh]h name string}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM'hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM'hj: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.chM)hjubj)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]jl)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(hjubah}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int dev_alloc_name (struct net_device *dev, const char *name)h]j )}(hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj+hM]ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j j@sbc.netdev_notify_peersasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubah}(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/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj+hM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMahjubj)}(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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^hj&ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM^hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM^hj#ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hjubjl)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hj}hhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(register_netdevice_notifier (C function)c.register_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](j)}(h;int register_netdevice_notifier (struct notifier_block *nb)h]j )}(h:int register_netdevice_notifier(struct notifier_block *nb)h](jM )}(hinth]hint}(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)}(hregister_netdevice_notifierh]j9)}(hregister_netdevice_notifierh]hregister_netdevice_notifier}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct notifier_block *nb)h]j )}(hstruct notifier_block *nbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnotifier_blockh]hnotifier_block}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.register_netdevice_notifierasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnbh]hnb}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!register a network notifier blockh]h!register a network notifier block}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jl)}(h**Parameters**h]j)}(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 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.chMhjubj)}(hhh]jl)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*unregister_netdevice_notifier (C function)c.unregister_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]j )}(hhMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_forward_skb (C function)c.dev_forward_skbhNtauh1hhjhhhNhNubh)}(hhh](j)}(hAint dev_forward_skb (struct net_device *dev, struct sk_buff *skb)h]j )}(h@int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)h](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhhN/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!hjahhhjshM ubj3)}(hdev_forward_skbh]j9)}(hdev_forward_skbh]hdev_forward_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjshM 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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]jc.dev_forward_skbasbuh1hhjubj")}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjshM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjshM ubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshM hjZhhubjg)}(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&]uh1jfhjZhhhjshM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(h6``struct net_device *dev`` destination 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)}(hdestination network deviceh]hdestination network device}(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`` buffer to forward 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj ubj)}(hhh]jl)}(hbuffer to forwardh]hbuffer to forward}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(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.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:}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjcubj)}(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)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjuhM hj`ubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h6bool dev_nit_active_rcu (const struct net_device *dev)h]j )}(h5bool dev_nit_active_rcu(const struct net_device *dev)h](jM )}(hjh]hbool}(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_nit_active_rcuh]j9)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.dev_nit_active_rcuasbuh1hhjubj")}(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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(hR``const struct net_device *dev`` network device to check for the presence of taps h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(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&]uh1jkhjhM hj ubah}(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}(hj0hhhNhNubah}(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)}(h!The caller must hold the RCU lockh]h!The caller must hold the RCU lock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(hKint netif_set_real_num_rx_queues (struct net_device *dev, unsigned int rxq)h]j )}(hJint netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)h](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhN/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!hjohhhjhM 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&]jPjQuh1j2hjohhhjhM 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_set_real_num_rx_queuesasbuh1hhjubj")}(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 rxqh](jM )}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrxqh]hrxq}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjhM ubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhhubjg)}(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&]uh1jfhjhhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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 hjubeh}(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&]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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjOubah}(h]h ]h"]h$]h&]uh1jhjahM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(hZint netif_set_real_num_queues (struct net_device *dev, unsigned int txq, unsigned int rxq)h]j )}(hYint netif_set_real_num_queues(struct net_device *dev, unsigned int txq, unsigned int rxq)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(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 }(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_real_num_queuesasbuh1hhjubj")}(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 txqh](jM )}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubjM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj9)}(htxqh]htxq}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(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]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hj}hhubjg)}(hhh]jl)}(h*set actual number of RX and TX queues usedh]h*set actual number of RX and TX 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&]uh1jfhj}hhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX$**Parameters** ``struct net_device *dev`` Network device ``unsigned int txq`` Actual number of TX queues ``unsigned int rxq`` Actual number of RX queues **Description** Set the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj%ubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(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)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hjdh]hunsigned int txq}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj^ubj)}(hhh]jl)}(hActual number of TX queuesh]hActual number of TX queues}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM hj"ubj)}(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 hj"ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]jl)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_size (struct net_device *dev, unsigned int size)h]j )}(hFvoid netif_set_tso_max_size(struct net_device *dev, unsigned int size)h](jM )}(hvoidh]hvoid}(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 }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj5hM ubj3)}(hnetif_set_tso_max_sizeh]j9)}(hnetif_set_tso_max_sizeh]hnetif_set_tso_max_size}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj5hM ubj )}(h+(struct net_device *dev, unsigned int size)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jJsbc.netif_set_tso_max_sizeasbuh1hhj`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubj )}(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 hj\ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj#hhhj5hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj5hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM hjhhubjg)}(hhh]jl)}(h(set the max size of TSO frames supportedh]h(set the max size of TSO frames supported}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj5hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjhNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjTubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hjyh]hstruct net_device *dev}(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.chM hjsubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM hjpubj)}(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 hjpubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjTubjl)}(hSet the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](h~Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_segs (struct net_device *dev, unsigned int segs)h]j )}(hFvoid netif_set_tso_max_segs(struct net_device *dev, unsigned int segs)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjRhM ubj3)}(hnetif_set_tso_max_segsh]j9)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjRhM ubj )}(h+(struct net_device *dev, unsigned int segs)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jgsbc.netif_set_tso_max_segsasbuh1hhj}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 hjyubj )}(hunsigned int segsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsegsh]hsegs}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjRhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjRhM ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhM hj9hhubjg)}(hhh]jl)}(h,set the max number of segs supported for TSOh]h,set the max number of segs supported for TSO}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjRhhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjRhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjqubj)}(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)}(hjh]hunsigned int segs}(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 number of TCP segmentsh]hmax number of TCP segments}(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&]uh1jhjqubjl)}(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.chM hjqubjl)}(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 }(hj hhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hQvoid netif_inherit_tso_max (struct net_device *to, const struct net_device *from)h]j )}(hPvoid netif_inherit_tso_max(struct net_device *to, const struct net_device *from)h](jM )}(hvoidh]hvoid}(hjahhhNhNubah}(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 }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhjohM ubj3)}(hnetif_inherit_tso_maxh]j9)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjohM 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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_inherit_tso_maxasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct net_device *fromh](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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]jc.netif_inherit_tso_maxasbuh1hhj ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhjohM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjohM ubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohM hjVhhubjg)}(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&]uh1jfhjVhhhjohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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 *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hjh]hstruct net_device *to}(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)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hj&h]hconst struct net_device *from}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj ubj)}(hhh]jl)}(h$netdev from which to copy the limitsh]h$netdev from which to copy the limits}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj<ubah}(h]h ]h"]h$]h&]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-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(h+int netif_get_num_default_rss_queues (void)h]j )}(h*int netif_get_num_default_rss_queues(void)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhM 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&]jPjQuh1j2hj|hhhjhM ubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhM ubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjuhhubjg)}(hhh]jl)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(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&]uh1jfhjuhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``void`` no arguments **Description** Default value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h](jl)}(h**Parameters**h]j)}(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``void`` no arguments h](j)}(h``void``h]j)}(hj(h]hvoid}(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.chKhj"ubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hKhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubjl)}(hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h]hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_device_detach (struct net_device *dev)h]j )}(h0void netif_device_detach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_device_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}(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_detachasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hmark device as removedh]hmark device as removed}(hjhhhhNhNubah}(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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as removed from system and therefore no longer available.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hEMark device as removed from system and therefore no longer available.h]hEMark device as removed from system and therefore no longer available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_device_attach (struct net_device *dev)h]j )}(h0void netif_device_attach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(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)}(hnetif_device_attachh]j9)}(hnetif_device_attachh]hnetif_device_attach}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj7hM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *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 )}j jLsbc.netif_device_attachasbuh1hhjbubj")}(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)}(hmark device as attachedh]hmark device as attached}(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&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as attached from system and restart if needed.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj$ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhjhhhNhNubh)}(hhh](j)}(hMint dev_loopback_xmit (struct net *net, struct sock *sk, struct sk_buff *skb)h]j )}(hLint dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *skb)h](jM )}(hinth]hint}(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_loopback_xmith]j9)}(hdev_loopback_xmith]hdev_loopback_xmit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)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 jsbc.dev_loopback_xmitasbuh1hhjubj")}(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)}(hneth]hnet}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hsockh]hsock}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j!c.dev_loopback_xmitasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j!c.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)}(hskbh]hskb}(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)}(hloop back **skb**h](h loop back }(hjJhhhNhNubj)}(h**skb**h]hskb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjhNhNubj)}(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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubj)}(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)}(hjh]hstruct sock *sk}(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 sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhjhhhNhNubh)}(hhh](j)}(hEint __dev_queue_xmit (struct sk_buff *skb, struct net_device *sb_dev)h]j )}(hDint __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev)h](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjshMubj3)}(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&]jPjQuh1j2hjahhhjshMubj )}(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 }(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 net_device *sb_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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]jc.__dev_queue_xmitasbuh1hhjubj")}(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)}(hsb_devh]hsb_dev}(hjkhhhNhNubah}(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)}(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&]uh1jfhjZhhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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 errors;h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjh]hstruct net_device *sb_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(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)}(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.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.}(hj`hhhNhNubah}(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.}(hjohhhNhNubah}(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.)}(hj~hhhNhNubah}(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.chMhjubjK)}(hhh](jK)}(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&]uh1jKhjubjK)}(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&]uh1jKhjubjK)}(h)negative errno - other errorsh]jl)}(hjh]h)negative errno - other errors}(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&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj uh1jKhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhjhhhNhNubh)}(hhh](j)}(h\bool rps_may_expire_flow (struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h]j )}(h[bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hM]ubj3)}(hrps_may_expire_flowh]j9)}(hrps_may_expire_flowh]hrps_may_expire_flow}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj#hM]ubj )}(hC(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j j8sbc.rps_may_expire_flowasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h rxq_indexh]h rxq_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(h u32 flow_idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflow_idh]hflow_id}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(h u16 filter_idh](h)}(hhh]j9)}(hu16h]hu16}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjPubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(h filter_idh]h filter_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(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)}(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.chM]hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj#hM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMahjubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^hjubj)}(hhh]jl)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hj'h]h u16 rxq_index}(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)}(hRX queue indexh]hRX queue index}(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)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hj`h]h u32 flow_id}(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.chM`hjZubj)}(hhh]jl)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM`hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM`hjubj)}(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.chMahjubj)}(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&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMchjubjl)}(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 }(hjhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhjhhhNhNubh)}(hhh](j)}(h$int __netif_rx (struct sk_buff *skb)h]j )}(h#int __netif_rx(struct sk_buff *skb)h](jM )}(hinth]hint}(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'hhhj9hM]ubj3)}(h __netif_rxh]j9)}(h __netif_rxh]h __netif_rx}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj9hM]ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jNsb c.__netif_rxasbuh1hhjdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj9hM]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#hhhj9hM]ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hM]hj hhubjg)}(hhh]jl)}(h&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(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 hhhj9hM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct sk_buff *skb`` buffer to post **Description** This behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMahjubj)}(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&]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 posth]hbuffer to post}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM^hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM^hj#ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hjubj)}(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.chM_hj}ubah}(h]h ]h"]h$]h&]uh1jhjhM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhjhhhNhNubh)}(hhh](j)}(h"int netif_rx (struct sk_buff *skb)h]j )}(h!int netif_rx(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMrubj3)}(hnetif_rxh]j9)}(hnetif_rxh]hnetif_rx}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMrubj )}(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 }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMrubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMrhjhhubjg)}(hhh]jl)}(hpost buffer to the network codeh]hpost buffer to the network code}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjshhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to post **Description** This function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jl)}(h**Parameters**h]j)}(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.chMvhjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(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.chMuhjubj)}(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.chMthjubjl)}(hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h]hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7bool netdev_is_rx_handler_busy (struct net_device *dev)h]j )}(h6bool netdev_is_rx_handler_busy(struct net_device *dev)h](jM )}(hjh]hbool}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj]hMubj3)}(hnetdev_is_rx_handler_busyh]j9)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj]hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.netdev_is_rx_handler_busyasbuh1hhjubj")}(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 hjLhhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj]hMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjEhhubjg)}(hhh]jl)}(h&check if receive handler is registeredh]h&check if receive handler is registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to check **Description** Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubj)}(hhh]j)}(h+``struct net_device *dev`` device to check h](j)}(h``struct net_device *dev``h]j)}(hjPh]hstruct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJubj)}(hhh]jl)}(hdevice to checkh]hdevice to check}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmint netdev_rx_handler_register (struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h]j )}(hlint netdev_rx_handler_register(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](jM )}(hinth]hint}(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_rx_handler_registerh]j9)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.netdev_rx_handler_registerasbuh1hhj"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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]j`c.netdev_rx_handler_registerasbuh1hhjubj")}(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 rx_handlerh]h rx_handler}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *rx_handler_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)}(hrx_handler_datah]hrx_handler_data}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjhNhNubj)}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(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)}(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.chMhj{ubj)}(hhh]jl)}(h device to register a handler forh]h device to register a handler for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hjh]hrx_handler_func_t *rx_handler}(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)}(hreceive handler to registerh]hreceive handler to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hjh]hvoid *rx_handler_data}(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'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj\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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubjl)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhjhhhNhNubh)}(hhh](j)}(h:void netdev_rx_handler_unregister (struct net_device *dev)h]j )}(h9void netdev_rx_handler_unregister(struct net_device *dev)h](jM )}(hvoidh]hvoid}(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_rx_handler_unregisterh]j9)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(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_rx_handler_unregisterasbuh1hhjubj")}(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}(hj1hhhNhNubah}(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)}(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.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjhNhNubj)}(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}(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.chMhjwubj)}(hhh]j)}(h?``struct net_device *dev`` device to unregister a handler from h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h#device to unregister a handler fromh]h#device to unregister a handler 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&]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.chMhjwubj)}(hQUnregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jl)}(h+Unregister a receive handler from a device.h]h+Unregister a receive handler from a device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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&]uh1jhjhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhjhhhNhNubh)}(hhh](j)}(h0int netif_receive_skb_core (struct sk_buff *skb)h]j )}(h/int netif_receive_skb_core(struct sk_buff *skb)h](jM )}(hinth]hint}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhjChM@ubj3)}(hnetif_receive_skb_coreh]j9)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhjChM@ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(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 jXsbc.netif_receive_skb_coreasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubah}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhjChM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhjChM@ubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChM@hj*hhubjg)}(hhh]jl)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhjChM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** More direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMDhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hj6h]hstruct sk_buff *skb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMAhj0ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMAhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMAhj-ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMChjubj)}(hXMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``.h](hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if }(hjhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhjubjl)}(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.chMFhjubjl)}(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.chMIhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhjhhhNhNubh)}(hhh](j)}(h+int netif_receive_skb (struct sk_buff *skb)h]j )}(h*int netif_receive_skb(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM(ubj3)}(hnetif_receive_skbh]j9)}(hnetif_receive_skbh]hnetif_receive_skb}(hjhhhNhNubah}(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}(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}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jsbc.netif_receive_skbasbuh1hhj)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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM(ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM(hjhhubjg)}(hhh]jl)}(h#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.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** 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)}(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 sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM)hjubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(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)}(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+hjubj)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjBubjl)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjBubjl)}(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}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjBubeh}(h]h ]h"]h$]h&]uh1jhjThM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void netif_receive_skb_list (struct list_head *head)h]j )}(h3void netif_receive_skb_list(struct list_head *head)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMDubj3)}(hnetif_receive_skb_listh]j9)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMDubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_receive_skb_listasbuh1hhjubj")}(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)}(hheadh]hhead}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMDubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMDhjhhubjg)}(hhh]jl)}(h)process many receive buffers from networkh]h)process many receive buffers from network}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMDhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``struct list_head *head`` list of skbs to process. **Description** Since return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(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.chMHhjuubj)}(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.chMEhjubj)}(hhh]jl)}(hlist of skbs to process.h]hlist of skbs to process.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubah}(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.chMGhjuubj)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jl)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void.h]hSince return value of netif_receive_skb() is normally ignored, and wouldn’t be meaningful for a list, this function returns void.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMFhjubjl)}(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.chMIhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](j)}(h,void __napi_schedule (struct napi_struct *n)h]j )}(h+void __napi_schedule(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhjAhM0ubj3)}(h__napi_scheduleh]j9)}(h__napi_scheduleh]h__napi_schedule}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhjAhM0ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jVsbc.__napi_scheduleasbuh1hhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubah}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhjAhM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhjAhM0ubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhM0hj(hhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhjAhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` entry to schedule **Description** The entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM4hjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hj3h]hstruct napi_struct *n}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj-ubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM1hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM1hj*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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM3hjubjl)}(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.chM2hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhjhhhNhNubh)}(hhh](j)}(h/bool napi_schedule_prep (struct napi_struct *n)h]j )}(h.bool napi_schedule_prep(struct napi_struct *n)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMAubj3)}(hnapi_schedule_preph]j9)}(hnapi_schedule_preph]hnapi_schedule_prep}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMAubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_schedule_prepasbuh1hhjubj")}(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)}(hjDh]hn}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMAhjnhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct napi_struct *n`` napi context **Description** Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h](jl)}(h**Parameters**h]j)}(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.chMEhjubj)}(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.chMBhjubj)}(hhh]jl)}(h napi contexth]h napi context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubah}(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.chMDhjubjl)}(hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h]hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void __napi_schedule_irqoff (struct napi_struct *n)h]j )}(h2void __napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMaubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMaubj3)}(h__napi_schedule_irqoffh]j9)}(h__napi_schedule_irqoffh]h__napi_schedule_irqoff}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMaubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.__napi_schedule_irqoffasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMaubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMahj'hhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMahjhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hXA**Parameters** ``struct napi_struct *n`` entry to schedule **Description** Variant of __napi_schedule() assuming hard irqs are masked. On PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehj ubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hj2h]hstruct napi_struct *n}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhj,ubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMbhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMbhj)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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhj 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.chMchj 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.chMehj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void netif_threaded_enable (struct net_device *dev)h]j )}(h2void netif_threaded_enable(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMbubj3)}(hnetif_threaded_enableh]j9)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMbubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_threaded_enableasbuh1hhjubj")}(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)}(hdevh]hdev}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(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.chMbhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMfhjubj)}(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.chMchjubj)}(hhh]jl)}(hnet_device instanceh]hnet_device instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubah}(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.chMehjubjl)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjubjl)}(hubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhjhhhNhNubh)}(hhh](j)}(hHstruct net_device * netdev_master_upper_dev_get (struct net_device *dev)h]j )}(hFstruct net_device *netdev_master_upper_dev_get(struct net_device *dev)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hnetdev_master_upper_dev_geth]j9)}(hjh]hnetdev_master_upper_dev_get}(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 }(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.netdev_master_upper_dev_getasbuh1hhjubj")}(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)}(hdevh]hdev}(hjVhhhNhNubah}(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)}(hGet master upper deviceh]hGet master upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` 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.chMhjubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hcstruct net_device * netdev_upper_get_next_dev_rcu (struct net_device *dev, struct list_head **iter)h]j )}(hastruct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter)h](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j netdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj=hhhjNhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=hhhjNhMubj3)}(hnetdev_upper_get_next_dev_rcuh]j9)}(hj~h]hnetdev_upper_get_next_dev_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjNhMubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j|c.netdev_upper_get_next_dev_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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct list_head **iterh](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 list_headh]h list_head}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j|c.netdev_upper_get_next_dev_rcuasbuh1hhj'ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjNhMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj6hhubjg)}(hhh]jl)}(h Get the next dev from upper listh]h Get the next dev from upper list}(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&]uh1jfhj6hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` 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.chMhjubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj3h]hstruct list_head **iter}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]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.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hVvoid * netdev_lower_get_next_private (struct net_device *dev, struct list_head **iter)h]j )}(hTvoid *netdev_lower_get_next_private(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(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{ ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM{ ubj3)}(hnetdev_lower_get_next_privateh]j9)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM{ ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netdev_lower_get_next_privateasbuh1hhjubj")O}(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)}(hdevh]hdev}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct list_head **iterh](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 list_headh]h list_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j7c.netdev_lower_get_next_privateasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM{ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM{ ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM{ hjhhubjg)}(hhh]jl)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{ hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM{ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(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} hj8ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM} hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM} hj5ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjwh]hstruct list_head **iter}(hjyhhhNhNubah}(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~ hjqubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM~ hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM~ hj5ubeh}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hZvoid * netdev_lower_get_next_private_rcu (struct net_device *dev, struct list_head **iter)h]j )}(hXvoid *netdev_lower_get_next_private_rcu(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(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 ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h!netdev_lower_get_next_private_rcuh]j9)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h1(struct net_device *dev, struct list_head **iter)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'sb#c.netdev_lower_get_next_private_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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(hstruct list_head **iterh](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 list_headh]h list_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j{#c.netdev_lower_get_next_private_rcuasbuh1hhjubj")}(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)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj>hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(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)}(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.chM hj]ubj)}(hhh](j)}(h"``struct net_device *dev`` 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 hj|ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjyubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjh]hstruct list_head **iter}(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$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjyubeh}(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)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold RCU read lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhjhhhNhNubh)}(hhh](j)}(hNvoid * netdev_lower_get_next (struct net_device *dev, struct list_head **iter)h]j )}(hLvoid *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhM ubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7hhhjIhM ubj3)}(hnetdev_lower_get_nexth]j9)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhM ubj )}(h1(struct net_device *dev, struct list_head **iter)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.netdev_lower_get_nextasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hstruct list_head **iterh](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 list_headh]h list_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_lower_get_nextasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hiterh]hiter}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhM ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhM hj0hhubjg)}(hhh]jl)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(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&]uh1jfhj0hhhjIhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` 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)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjh]hstruct list_head **iter}(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$list_head ** of the current positionh]h$list_head ** of the current position}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid * netdev_lower_get_first_private_rcu (struct net_device *dev)h]j )}(h@void *netdev_lower_get_first_private_rcu(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhM!ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{hhhjhM!ubj3)}(h"netdev_lower_get_first_private_rcuh]j9)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhM!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 jsb$c.netdev_lower_get_first_private_rcuasbuh1hhjubj")}(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhM!ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhM!ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM!hjthhubjg)}(hhh]jl)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjI hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjd jjd jjjuh1hhhhjhNhNubj)}(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)}(hjn h]h Parameters}(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.chM!hjh 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&]uh1jhjh 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!hjh 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjh ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hLstruct net_device * netdev_master_upper_dev_get_rcu (struct net_device *dev)h]j )}(hJstruct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev)h](j)}(hjh]hstruct}(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_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhj !hhhj!hM!ubj")}(h h]h }(hjM!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_master_upper_dev_get_rcuh]j9)}(hjJ!h]hnetdev_master_upper_dev_get_rcu}(hjl!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj !hhhj!hM!ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]jH!!c.netdev_master_upper_dev_get_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!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)}(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.chM!hj"hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj "jj "jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **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*"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)}(hjI"h]hstruct net_device *dev}(hjK"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjC"ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjb"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^"hM!hj_"ubah}(h]h ]h"]h$]h&]uh1jhjC"ubeh}(h]h ]h"]h$]h&]uh1jhj^"hM!hj@"ubah}(h]h ]h"]h$]h&]uh1jhj$"ubjl)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj$"ubjl)}(h{Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h]h}Find a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RCU read lock.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj$"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hpint netdev_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h]j )}(hoint netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj"hM"ubj3)}(hnetdev_upper_dev_linkh]j9)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj"hM"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}(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_upper_dev_linkasbuh1hhj#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)}(hdevh]hdev}(hj_#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hjx#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt#ubh)}(hhh]j9)}(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_dev_linkasbuh1hhjt#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)}(h upper_devh]h upper_dev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt#ubeh}(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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(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 ]j@#c.netdev_upper_dev_linkasbuh1hhj#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)}(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 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)}(hAdd a link to the upper deviceh]hAdd a link to the upper device}(hji$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjf$hhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj"hM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device ``struct 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)}(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)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj$h]hstruct net_device *upper_dev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj$ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM"hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM"hj$ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj%h]hstruct netlink_ext_ack *extack}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj%ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj5%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1%hM"hj2%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj1%hM"hj$ubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj$ubjl)}(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.}(hjm%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint netdev_master_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h]j )}(hint netdev_master_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hj%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_master_upper_dev_linkh]j9)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj%hM#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%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_master_upper_dev_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)}(hdevh]hdev}(hj2&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hjK&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG&ubj")}(h h]h }(hjX&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjG&ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hji&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjk&modnameN classnameNj j )}j ]j&c.netdev_master_upper_dev_linkasbuh1hhjG&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjG&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjG&ubj9)}(h upper_devh]h upper_dev}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(hvoid *upper_privh](jM )}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(h upper_privh]h upper_priv}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(hvoid *upper_infoh](jM )}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj 'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(h upper_infoh]h upper_info}(hj&'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(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 }(hjL'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;'ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj]'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_'modnameN classnameNj j )}j ]j&c.netdev_master_upper_dev_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)}(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 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%Add a master link to the upper deviceh]h%Add a master link to the upper device}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj'hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj%hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(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)}(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)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj:(h]hstruct net_device *upper_dev}(hj<(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj4(ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hjS(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO(hM#hjP(ubah}(h]h ]h"]h$]h&]uh1jhj4(ubeh}(h]h ]h"]h$]h&]uh1jhjO(hM#hj'ubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hjs(h]hvoid *upper_priv}(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)}(hupper device privateh]hupper device private}(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#hj'ubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hj(h]hvoid *upper_info}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj(ubj)}(hhh]jl)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(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``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj(h]hstruct netlink_ext_ack *extack}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj(ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hM#hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM#hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hj )h]h Description}(hj")hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj'ubjl)}(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.}(hj6)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hSvoid netdev_upper_dev_unlink (struct net_device *dev, struct net_device *upper_dev)h]j )}(hRvoid netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hvoidh]hvoid}(hje)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hja)hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR#ubj")}(h h]h }(hjt)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja)hhhjs)hMR#ubj3)}(hnetdev_upper_dev_unlinkh]j9)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hja)hhhjs)hMR#ubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j j)sbc.netdev_upper_dev_unlinkasbuh1hhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hdevh]hdev}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj!*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj2*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4*modnameN classnameNj j )}j ]j)c.netdev_upper_dev_unlinkasbuh1hhj*ubj")}(h h]h }(hjP*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hj^*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(h upper_devh]h upper_dev}(hjk*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hja)hhhjs)hMR#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj])hhhjs)hMR#ubah}(h]jX)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjs)hMR#hjZ)hhubjg)}(hhh]jl)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR#hj*hhubah}(h]h ]h"]h$]h&]uh1jfhjZ)hhhjs)hMR#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device **Description** Removes a link to device which is upper to this one. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(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.chMV#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.chMS#hj*ubj)}(hhh]jl)}(hdeviceh]hdevice}(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)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj+h]hstruct net_device *upper_dev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj +ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT#hj +ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj(+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$+hMT#hj%+ubah}(h]h ]h"]h$]h&]uh1jhj +ubeh}(h]h ]h"]h$]h&]uh1jhj$+hMT#hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hjJ+h]h Description}(hjL+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH+ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMV#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.chMU#hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hbvoid netdev_bonding_info_change (struct net_device *dev, struct netdev_bonding_info *bonding_info)h]j )}(havoid netdev_bonding_info_change(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](jM )}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hM#ubj3)}(hnetdev_bonding_info_changeh]j9)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(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&]uh1j8hj+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*}(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 )}(h(struct netdev_bonding_info *bonding_infoh](j)}(hjh]hstruct}(hj>,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:,ubj")}(h h]h }(hjK,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:,ubh)}(hhh]j9)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hj\,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^,modnameN classnameNj j )}j ]j,c.netdev_bonding_info_changeasbuh1hhj:,ubj")}(h h]h }(hjz,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,jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct netdev_bonding_info *bonding_info`` info to dispatch **Description** Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(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 netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hj9-h]h(struct netdev_bonding_info *bonding_info}(hj;-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7-ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj3-ubj)}(hhh]jl)}(hinfo to dispatchh]hinfo to dispatch}(hjR-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjN-hM#hjO-ubah}(h]h ]h"]h$]h&]uh1jhj3-ubeh}(h]h ]h"]h$]h&]uh1jhjN-hM#hj,ubeh}(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&]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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhjhhhNhNubh)}(hhh](j)}(hhstruct net_device * netdev_get_xmit_slave (struct net_device *dev, struct sk_buff *skb, bool all_slaves)h]j )}(hfstruct net_device *netdev_get_xmit_slave(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](j)}(hjh]hstruct}(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 }(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_get_xmit_slaveh]j9)}(hj-h]hnetdev_get_xmit_slave}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.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}(hj3.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/.ubj")}(h h]h }(hj@.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/.ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQ.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS.modnameN classnameNj j )}j ]j-c.netdev_get_xmit_slaveasbuh1hhj/.ubj")}(h h]h }(hjo.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/.ubj )}(hj h]h*}(hj}.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/.ubj9)}(hdevh]hdev}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+.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 ]j-c.netdev_get_xmit_slaveasbuh1hhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hskbh]hskb}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+.ubj )}(hbool all_slavesh](jM )}(hjh]hbool}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/ubj")}(h h]h }(hj /hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(h all_slavesh]h all_slaves}(hj./hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+.ubeh}(h]h ]h"]h$]h&]jPjQuh1j 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}(hjX/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjU/hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjp/jjp/jjjuh1hhhhjhNhNubj)}(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)}(hjz/h]h Parameters}(hj|/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx/ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.cFhM$hjt/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&]uh1jkhj/hM$hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM$hj/ubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hj 0h]hbool all_slaves}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj0ubj)}(hhh]jl)}(h assume all the slaves are activeh]h assume all the slaves are active}(hj$0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 0hM$hj!0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj 0hM$hj/ubeh}(h]h ]h"]h$]h&]uh1jhjt/ubjl)}(h**Description**h]j)}(hjF0h]h Description}(hjH0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD0ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjt/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\0hhhNhNubj)}(h``NULL``h]hNULL}(hjd0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\0ubh" is returned if no slave is found.}(hj\0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjt/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(hVstruct net_device * netdev_sk_get_lowest_dev (struct net_device *dev, struct sock *sk)h]j )}(hTstruct net_device *netdev_sk_get_lowest_dev(struct net_device *dev, struct sock *sk)h](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hM$ubh)}(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 ]j )}j netdev_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhj0hhhj0hM$ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hM$ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0hhhj0hM$ubj3)}(hnetdev_sk_get_lowest_devh]j9)}(hj0h]hnetdev_sk_get_lowest_dev}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hM$ubj )}(h)(struct net_device *dev, struct sock *sk)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj$1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj51hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj21ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj71modnameN classnameNj j )}j ]j0c.netdev_sk_get_lowest_devasbuh1hhj1ubj")}(h h]h }(hjS1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hja1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hdevh]hdev}(hjn1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hsockh]hsock}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j0c.netdev_sk_get_lowest_devasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hskh]hsk}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hM$ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hM$hj0hhubjg)}(hhh]jl)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj2hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 2jj 2jjjuh1hhhhjhNhNubj)}(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*2h]h Parameters}(hj,2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(2ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj$2ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjI2h]hstruct net_device *dev}(hjK2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjC2ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjb2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^2hM$hj_2ubah}(h]h ]h"]h$]h&]uh1jhjC2ubeh}(h]h ]h"]h$]h&]uh1jhj^2hM$hj@2ubj)}(h``struct sock *sk`` the socket h](j)}(h``struct sock *sk``h]j)}(hj2h]hstruct sock *sk}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj|2ubj)}(hhh]jl)}(h the socketh]h the socket}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM$hj2ubah}(h]h ]h"]h$]h&]uh1jhj|2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM$hj@2ubeh}(h]h ]h"]h$]h&]uh1jhj$2ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj$2ubjl)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh) is returned if no lower device is found.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj$2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_lower_state_changed (C function)c.netdev_lower_state_changedhNtauh1hhjhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 3hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX%ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 3hhhj3hMX%ubj3)}(hnetdev_lower_state_changedh]j9)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hj13hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj 3hhhj3hMX%ubj )}(h6(struct net_device *lower_dev, void *lower_state_info)h](j )}(hstruct net_device *lower_devh](j)}(hjh]hstruct}(hjM3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI3ubj")}(h h]h }(hjZ3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI3ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjk3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm3modnameN classnameNj j )}j ]j )}j j33sbc.netdev_lower_state_changedasbuh1hhjI3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjI3ubj9)}(h lower_devh]h lower_dev}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjI3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjE3ubj )}(hvoid *lower_state_infoh](jM )}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hlower_state_infoh]hlower_state_info}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjE3ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj 3hhhj3hMX%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj3hMX%ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMX%hj3hhubjg)}(hhh]jl)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX%hj4hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj3hMX%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*4jj*4jjjuh1hhhhjhNhNubj)}(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)}(hj44h]h Parameters}(hj64hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj24ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\%hj.4ubj)}(hhh](j)}(h(``struct net_device *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hjS4h]hstruct net_device *lower_dev}(hjU4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY%hjM4ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjl4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh4hMY%hji4ubah}(h]h ]h"]h$]h&]uh1jhjM4ubeh}(h]h ]h"]h$]h&]uh1jhjh4hMY%hjJ4ubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hj4h]hvoid *lower_state_info}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ%hj4ubj)}(hhh]jl)}(hstate to dispatchh]hstate to dispatch}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMZ%hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMZ%hjJ4ubeh}(h]h ]h"]h$]h&]uh1jhj.4ubjl)}(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\%hj.4ubjl)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[%hj.4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_get_flags (C function)c.netif_get_flagshNtauh1hhjhhhNhNubh)}(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 5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hM%ubjM )}(hinth]hint}(hj)5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhj5hM%ubj")}(h h]h }(hj75hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hM%ubj3)}(hnetif_get_flagsh]j9)}(hnetif_get_flagsh]hnetif_get_flags}(hjI5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hM%ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hje5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja5ubj")}(h h]h }(hjr5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja5ubj)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja5ubh)}(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 ]j )}j jK5sbc.netif_get_flagsasbuh1hhja5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja5ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hja5ubj9)}(hdevh]hdev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]5ubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hM%ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM%hj5hhubjg)}(hhh]jl)}(hget flags reported to userspaceh]hget flags reported to userspace}(hj6hhhNhNubah}(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&]uh1jfhj5hhhj5hM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjhNhNubj)}(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)}(hj%6h]h Parameters}(hj'6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj6ubj)}(hhh]j)}(h(``const struct net_device *dev`` device h](j)}(h ``const struct net_device *dev``h]j)}(hjD6h]hconst struct net_device *dev}(hjF6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj>6ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj]6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjY6hM%hjZ6ubah}(h]h ]h"]h$]h&]uh1jhj>6ubeh}(h]h ]h"]h$]h&]uh1jhjY6hM%hj;6ubah}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj6ubjl)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netif_pre_changeaddr_notify (C function)c.netif_pre_changeaddr_notifyhNtauh1hhjhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hM&ubj3)}(hnetif_pre_changeaddr_notifyh]j9)}(hnetif_pre_changeaddr_notifyh]hnetif_pre_changeaddr_notify}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hM&ubj )}(hJ(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!7modnameN classnameNj j )}j ]j )}j j6sbc.netif_pre_changeaddr_notifyasbuh1hhj6ubj")}(h h]h }(hj?7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjM7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hdevh]hdev}(hjZ7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hconst char *addrh](j)}(hj h]hconst}(hjs7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo7ubjM )}(hcharh]hchar}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjo7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjo7ubj9)}(haddrh]haddr}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j;7c.netif_pre_changeaddr_notifyasbuh1hhj7ubj")}(h h]h }(hj 8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hextackh]hextack}(hj'8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj6hM&ubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hM&hj6hhubjg)}(hhh]jl)}(hCall NETDEV_PRE_CHANGEADDR.h]hCall NETDEV_PRE_CHANGEADDR.}(hjQ8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjN8hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjji8jji8jjjuh1hhhhjhNhNubj)}(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)}(hjs8h]h Parameters}(hju8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq8ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjm8ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj8ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM&hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM&hj8ubj)}(h!``const char *addr`` new address h](j)}(h``const char *addr``h]j)}(hj8h]hconst char *addr}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj8ubj)}(hhh]jl)}(h new addressh]h new address}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM&hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM&hj8ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj9h]hstruct netlink_ext_ack *extack}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj8ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM&hj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hM&hj8ubeh}(h]h ]h"]h$]h&]uh1jhjm8ubjl)}(h **Return**h]j)}(hj?9h]hReturn}(hjA9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=9ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjm8ubjl)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjU9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjm8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netif_get_port_parent_id (C function)c.netif_get_port_parent_idhNtauh1hhjhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMc'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMc'ubj3)}(hnetif_get_port_parent_idh]j9)}(hnetif_get_port_parent_idh]hnetif_get_port_parent_id}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMc'ubj )}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j9sbc.netif_get_port_parent_idasbuh1hhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj :hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hdevh]hdev}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(h struct netdev_phys_item_id *ppidh](j)}(hjh]hstruct}(hj3:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/:ubj")}(h h]h }(hj@:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/:ubh)}(hhh]j9)}(hnetdev_phys_item_idh]hnetdev_phys_item_id}(hjQ:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS:modnameN classnameNj j )}j ]j9c.netif_get_port_parent_idasbuh1hhj/: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)}(hppidh]hppid}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(h bool recurseh](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)}(hrecurseh]hrecurse}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMc'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|9hhhj9hMc'ubah}(h]jw9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMc'hjy9hhubjg)}(hhh]jl)}(h'Get the device's port parent identifierh]h)Get the device’s port parent identifier}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMc'hj:hhubah}(h]h ]h"]h$]h&]uh1jfhjy9hhhj9hMc'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjhNhNubj)}(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 ;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.chMg'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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd'hj#;ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjB;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>;hMd'hj?;ubah}(h]h ]h"]h$]h&]uh1jhj#;ubeh}(h]h ]h"]h$]h&]uh1jhj>;hMd'hj ;ubj)}(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)}(hjb;h]h struct netdev_phys_item_id *ppid}(hjd;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.chMe'hj\;ubj)}(hhh]jl)}(h5pointer to a storage for the port's parent identifierh]h7pointer to a storage for the port’s parent identifier}(hj{;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjw;hMe'hjx;ubah}(h]h ]h"]h$]h&]uh1jhj\;ubeh}(h]h ]h"]h$]h&]uh1jhjw;hMe'hj ;ubj)}(h;``bool recurse`` allow/disallow recursion to lower devices h](j)}(h``bool recurse``h]j)}(hj;h]h bool recurse}(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.chMf'hj;ubj)}(hhh]jl)}(h)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMf'hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMf'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.chMh'hj;ubjl)}(h)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMg'hj;ubjl)}(h **Return**h]j)}(hj;h]hReturn}(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.chMi'hj;ubjl)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMj'hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_port_same_parent_id (C function)c.netdev_port_same_parent_idhNtauh1hhjhhhNhNubh)}(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}(hjB<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 }(hjP<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj><hhhjO<hM'ubj3)}(hnetdev_port_same_parent_idh]j9)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hjb<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj><hhhjO<hM'ubj )}(h,(struct net_device *a, struct net_device *b)h](j )}(hstruct net_device *ah](j)}(hjh]hstruct}(hj~<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz<ubh)}(hhh]j9)}(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 jd<sbc.netdev_port_same_parent_idasbuh1hhjz<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz<ubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz<ubj9)}(hah]ha}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv<ubj )}(hstruct net_device *bh](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_port_same_parent_idasbuh1hhj<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)}(hj̈́h]hb}(hjG=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv<ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj><hhhjO<hM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:<hhhjO<hM'ubah}(h]j5<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjO<hM'hj7<hhubjg)}(hhh]jl)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(hjp=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjm=hhubah}(h]h ]h"]h$]h&]uh1jfhj7<hhhjO<hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjhNhNubj)}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](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 *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hj=h]hstruct net_device *a}(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)}(hfirst network deviceh]hfirst network device}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hM'hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM'hj=ubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hj=h]hstruct net_device *b}(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)}(hsecond network deviceh]hsecond network device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj>ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM'hj=ubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_update_features (C function)c.netdev_update_featureshNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void netdev_update_features (struct net_device *dev)h]j )}(h3void netdev_update_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjD>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@>hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA+ubj")}(h h]h }(hjS>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@>hhhjR>hMA+ubj3)}(hnetdev_update_featuresh]j9)}(hnetdev_update_featuresh]hnetdev_update_features}(hje>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@>hhhjR>hMA+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 jg>sbc.netdev_update_featuresasbuh1hhj}>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}>ubj9)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj@>hhhjR>hMA+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<>hhhjR>hMA+ubah}(h]j7>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjR>hMA+hj9>hhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA+hj?hhubah}(h]h ]h"]h$]h&]uh1jfhj9>hhhjR>hMA+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(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)}(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.chME+hj ?ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hjE?h]hstruct net_device *dev}(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.chMB+hj??ubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(hj^?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ?hMB+hj[?ubah}(h]h ]h"]h$]h&]uh1jhj??ubeh}(h]h ]h"]h$]h&]uh1jhjZ?hMB+hjfeatures set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jl)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMC+hj?ubah}(h]h ]h"]h$]h&]uh1jhj?hMC+hj ?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void netdev_change_features (struct net_device *dev)h]j )}(h3void netdev_change_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP+ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hMP+ubj3)}(hnetdev_change_featuresh]j9)}(hnetdev_change_featuresh]hnetdev_change_features}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hMP+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?sbc.netdev_change_featuresasbuh1hhj@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)}(hdevh]hdev}(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?hMP+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhj?hMP+ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMP+hj?hhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP+hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hMP+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjhNhNubj)}(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)}(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.chMT+hj@ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj@h]hstruct net_device *dev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQ+hj@ubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(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@ubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hj Ah]h Description}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMS+hj@ubj)}(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.}(hj%AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR+hj!Aubah}(h]h ]h"]h$]h&]uh1jhj3AhMR+hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_stacked_transfer_operstate (C function)"c.netif_stacked_transfer_operstatehNtauh1hhjhhhNhNubh)}(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}(hjZAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVAhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa+ubj")}(h h]h }(hjiAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVAhhhjhAhMa+ubj3)}(h netif_stacked_transfer_operstateh]j9)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hj{AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVAhhhjhAhMa+ubj )}(h:(const struct net_device *rootdev, struct net_device *dev)h](j )}(h const struct net_device *rootdevh](j)}(hj h]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j j}Asb"c.netif_stacked_transfer_operstateasbuh1hhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hrootdevh]hrootdev}(hj BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj$BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Bubj")}(h h]h }(hj1BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Bubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjBBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDBmodnameN classnameNj j )}j ]jA"c.netif_stacked_transfer_operstateasbuh1hhj Bubj")}(h h]h }(hj`BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Bubj )}(hj h]h*}(hjnBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Bubj9)}(hdevh]hdev}(hj{BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVAhhhjhAhMa+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRAhhhjhAhMa+ubah}(h]jMAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhAhMa+hjOAhhubjg)}(hhh]jl)}(htransfer operstateh]htransfer operstate}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa+hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjOAhhhjhAhMa+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjhNhNubj)}(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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMe+hjBubj)}(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)}(hjBh]h const struct net_device *rootdev}(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.chMb+hjBubj)}(hhh]jl)}(h5the root or lower level device to transfer state fromh]h5the root or lower level device to transfer state from}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMb+hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMb+hjBubj)}(h?``struct net_device *dev`` the device to transfer operstate to h](j)}(h``struct net_device *dev``h]j)}(hjCh]hstruct net_device *dev}(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.chMc+hjCubj)}(hhh]jl)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hj8ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4ChMc+hj5Cubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj4ChMc+hjBubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjZCh]h Description}(hj\ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXCubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMe+hjBubj)}(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).}(hjtChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd+hjpCubah}(h]h ]h"]h$]h&]uh1jhjChMd+hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdevice (C function)c.register_netdevicehNtauh1hhjhhhNhNubh)}(hhh](j)}(h/int register_netdevice (struct net_device *dev)h]j )}(h.int register_netdevice(struct net_device *dev)h](jM )}(hinth]hint}(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)}(hregister_netdeviceh]j9)}(hregister_netdeviceh]hregister_netdevice}(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}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j jCsbc.register_netdeviceasbuh1hhjCubj")}(h h]h }(hj$DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hj2DhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hdevh]hdev}(hj?DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjChM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjChM,ubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChM,hjChhubjg)}(hhh]jl)}(hregister a network deviceh]hregister a network device}(hjiDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjfDhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhjChM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjhNhNubj)}(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)}(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!,hjDubj)}(hhh]j)}(h.``struct net_device *dev`` device to register 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)}(hdevice to registerh]hdevice to register}(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&]uh1jhjDubjl)}(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 ,hjDubjl)}(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 }(hjDhhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdev (C function)c.register_netdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(h,int register_netdev (struct net_device *dev)h]j )}(h+int register_netdev(struct net_device *dev)h](jM )}(hinth]hint}(hjnetdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](jl)}(h**Parameters**h]j)}(hjuHh]h Parameters}(hjwHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsHubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?.hjoHubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hjHh]hstruct net_device *dev}(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)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM<.hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM<.hjHubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hjHh]h!struct rtnl_link_stats64 *storage}(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)}(hplace to store statsh]hplace to store stats}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM=.hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM=.hjHubeh}(h]h ]h"]h$]h&]uh1jhjoHubjl)}(h**Description**h]j)}(hjIh]h Description}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?.hjoHubj)}(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 }(hj"IhhhNhNubj)}(h **storage**h]hstorage}(hj*IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Iubh. 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.}(hj"IhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>.hjIubah}(h]h ]h"]h$]h&]uh1jhjBIhM>.hjoHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhjhhhNhNubh)}(hhh](j)}(hjvoid dev_fetch_sw_netstats (struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h]j )}(hivoid dev_fetch_sw_netstats(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](jM )}(hvoidh]hvoid}(hjiIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeIhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMx.ubj")}(h h]h }(hjxIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeIhhhjwIhMx.ubj3)}(hdev_fetch_sw_netstatsh]j9)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjeIhhhjwIhMx.ubj )}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jIsbc.dev_fetch_sw_netstatsasbuh1hhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hsh]hs}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(h0const struct pcpu_sw_netstats __percpu *netstatsh](j)}(hj h]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hj%JhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj)}(hjh]hstruct}(hj3JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hj@JhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hjQJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSJmodnameN classnameNj j )}j ]jIc.dev_fetch_sw_netstatsasbuh1hhjJubj")}(h h]h }(hjoJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh__percpu}(hjJhhhNhNubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hnetstatsh]hnetstats}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjeIhhhjwIhMx.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjaIhhhjwIhMx.ubah}(h]j\Iah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwIhMx.hj^Ihhubjg)}(hhh]jl)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMx.hjJhhubah}(h]h ]h"]h$]h&]uh1jfhj^IhhhjwIhMx.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjhNhNubj)}(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)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|.hjJubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjKh]hstruct rtnl_link_stats64 *s}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMy.hjKubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMy.hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMy.hjJubj)}(hX``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from h](j)}(h4``const struct pcpu_sw_netstats __percpu *netstats``h]j)}(hj@Kh]h0const struct pcpu_sw_netstats __percpu *netstats}(hjBKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Kubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz.hj:Kubj)}(hhh]jl)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hjYKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUKhMz.hjVKubah}(h]h ]h"]h$]h&]uh1jhj:Kubeh}(h]h ]h"]h$]h&]uh1jhjUKhMz.hjJubeh}(h]h ]h"]h$]h&]uh1jhjJubjl)}(h**Description**h]j)}(hj{Kh]h Description}(hj}KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyKubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|.hjJubj)}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jl)}(hjKh](hCRead per-cpu network statistics and populate the related fields in }(hjKhhhNhNubj)}(h**s**h]hs}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{.hjKubah}(h]h ]h"]h$]h&]uh1jhjKhM{.hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_tstats64 (C function)c.dev_get_tstats64hNtauh1hhjhhhNhNubh)}(hhh](j)}(hKvoid dev_get_tstats64 (struct net_device *dev, struct rtnl_link_stats64 *s)h]j )}(hJvoid dev_get_tstats64(struct net_device *dev, struct rtnl_link_stats64 *s)h](jM )}(hvoidh]hvoid}(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)}(hdev_get_tstats64h]j9)}(hdev_get_tstats64h]hdev_get_tstats64}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhM.ubj )}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj%LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj6LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8LmodnameN classnameNj j )}j ]j )}j jKsbc.dev_get_tstats64asbuh1hhjLubj")}(h h]h }(hjVLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjdLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hdevh]hdev}(hjqLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jRLc.dev_get_tstats64asbuh1hhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hjJh]hs}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(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)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjMhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"Mjj"Mjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *s`` place to store stats **Description** Populate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](jl)}(h**Parameters**h]j)}(hj,Mh]h Parameters}(hj.MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Mubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj&Mubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hjKMh]hstruct net_device *dev}(hjMMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIMubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjEMubj)}(hhh]jl)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjdMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`MhM.hjaMubah}(h]h ]h"]h$]h&]uh1jhjEMubeh}(h]h ]h"]h$]h&]uh1jhj`MhM.hjBMubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjMh]hstruct rtnl_link_stats64 *s}(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.hj~Mubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM.hjMubah}(h]h ]h"]h$]h&]uh1jhj~Mubeh}(h]h ]h"]h$]h&]uh1jhjMhM.hjBMubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj&Mubj)}(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 }(hjMhhhNhNubj)}(h**s**h]hs}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjMubah}(h]h ]h"]h$]h&]uh1jhjMhM.hj&Mubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h?void netdev_sw_irq_coalesce_default_on (struct net_device *dev)h]j )}(h>void netdev_sw_irq_coalesce_default_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj NhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hj/NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj.NhM.ubj3)}(h!netdev_sw_irq_coalesce_default_onh]j9)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hjANhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=Nubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj.NhM.ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj]NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYNubj")}(h h]h }(hjjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYNubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj{NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}NmodnameN classnameNj j )}j ]j )}j jCNsb#c.netdev_sw_irq_coalesce_default_onasbuh1hhjYNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYNubj9)}(hdevh]hdev}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUNubah}(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)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjNhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhj.NhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjhNhNubj)}(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)}(hjOh]h Parameters}(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.chM.hjNubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hj!Oh]hstruct net_device *dev}(hj#OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjOubj)}(hhh]jl)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hj:OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6OhM.hj7Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj6OhM.hjOubah}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hj\Oh]h Description}(hj^OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZOubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjNubjl)}(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.}(hjrOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct net_device * alloc_netdev_mqs (int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), unsigned int txqs, unsigned int rxqs)h]j )}(hstruct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjOhM.ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j alloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhjOhhhjOhM.ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjOhM.ubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOhhhjOhM.ubj3)}(halloc_netdev_mqsh]j9)}(hjOh]halloc_netdev_mqs}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjOhM.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}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hj)PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(h sizeof_privh]h sizeof_priv}(hj7PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hconst char *nameh](j)}(hj h]hconst}(hjPPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLPubj")}(h h]h }(hj]PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLPubjM )}(hcharh]hchar}(hjkPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLPubj")}(h h]h }(hjyPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLPubj9)}(hnameh]hname}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hunsigned char name_assign_typeh](jM )}(hunsignedh]hunsigned}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubjM )}(hcharh]hchar}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hname_assign_typeh]hname_assign_type}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(h!void (*setup)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hj QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h(}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj )}(hj h]h*}(hj'QhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hsetuph]hsetup}(hj4QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubj )}(hj< h]h)}(hjBQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj )}(hj h]h(}(hjOQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj)}(hjh]hstruct}(hj\QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjiQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjzQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|QmodnameN classnameNj j )}j ]jOc.alloc_netdev_mqsasbuh1hhjPubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj )}(hj< h]h)}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubjM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(htxqsh]htxqs}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj Rubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj RubjM )}(hinth]hint}(hj*RhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj Rubj")}(h h]h }(hj8RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Rubj9)}(hrxqsh]hrxqs}(hjFRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(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)}(hallocate network deviceh]hallocate network device}(hjpRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjmRhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhjOhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(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)}(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?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjRh]hint sizeof_priv}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjRubj)}(hhh]jl)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM.hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM.hjRubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hjRh]hconst char *name}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjRubj)}(hhh]jl)}(hdevice name format stringh]hdevice name format string}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM.hjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM.hjRubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hj#Sh]hunsigned char name_assign_type}(hj%ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Subah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjSubj)}(hhh]jl)}(horigin of device nameh]horigin of device name}(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Yubh)}(hhh]j9)}(h list_headh]h list_head}(hjOYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQYmodnameN classnameNj j )}j ]jXc.unregister_netdevice_queueasbuh1hhj-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)}(hheadh]hhead}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~XhhhjXhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzXhhhjXhM/ubah}(h]juXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhM/hjwXhhubjg)}(hhh]jl)}(hremove device from the kernelh]hremove device from the kernel}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjYhhubah}(h]h ]h"]h$]h&]uh1jfhjwXhhhjXhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(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/hjYubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjYh]hstruct net_device *dev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjYubj)}(hhh]jl)}(hdeviceh]hdevice}(hj ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM/hj Zubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhM/hjYubj)}(h ``struct list_head *head`` list h](j)}(h``struct list_head *head``h]j)}(hj,Zh]hstruct list_head *head}(hj.ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Zubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj&Zubj)}(hhh]jl)}(hlisth]hlist}(hjEZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAZhM/hjBZubah}(h]h ]h"]h$]h&]uh1jhj&Zubeh}(h]h ]h"]h$]h&]uh1jhjAZhM/hjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjgZh]h Description}(hjiZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeZubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjYubj)}(hThis 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)}(hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.h]hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj}Zubjl)}(hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h]hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj}Zubeh}(h]h ]h"]h$]h&]uh1jhjZhM/hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unregister_netdevice_many (C function)c.unregister_netdevice_manyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7void unregister_netdevice_many (struct list_head *head)h]j )}(h6void unregister_netdevice_many(struct list_head *head)h](jM )}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjZhM0ubj3)}(hunregister_netdevice_manyh]j9)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjZhM0ubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(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 )}j jZsbc.unregister_netdevice_manyasbuh1hhjZubj")}(h h]h }(hj@[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjN[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hheadh]hhead}(hj[[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjZhM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjZhM0ubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhM0hjZhhubjg)}(hhh]jl)}(hunregister many devicesh]hunregister many devices}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj[hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjZhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct list_head *head`` list of devices **Note** As most callers use a stack allocated list_head, we force a list_del() to make sure stack won't be corrupted later.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.chM0hj[ubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hj[h]hstruct list_head *head}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj[ubj)}(hhh]jl)}(hlist of devicesh]hlist of devices}(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**Note**h]j)}(hj\h]hNote}(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.chM0hj[ubj)}(hhh]j)}(hsAs most callers use a stack allocated list_head, we force a list_del() to make sure stack won't be corrupted later.h](j)}(h0As most callers use a stack allocated list_head,h]h0As most callers use a stack allocated list_head,}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj\ubj)}(hhh]jl)}(hBwe force a list_del() to make sure stack won't be corrupted later.h]hDwe force a list_del() to make sure stack won’t be corrupted later.}(hj0\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj-\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj,\hM0hj\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunregister_netdev (C function)c.unregister_netdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void unregister_netdev (struct net_device *dev)h]j )}(h.void unregister_netdev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjq\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm\hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm\hhhj\hM0ubj3)}(hunregister_netdevh]j9)}(hunregister_netdevh]hunregister_netdev}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm\hhhj\hM0ubj )}(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.unregister_netdevasbuh1hhj\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 hjm\hhhj\hM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji\hhhj\hM0ubah}(h]jd\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hM0hjf\hhubjg)}(hhh]jl)}(hremove device from the kernelh]hremove device from the kernel}(hj1]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj.]hhubah}(h]h ]h"]h$]h&]uh1jfhjf\hhhj\hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjI]jjI]jjjuh1hhhhjhNhNubj)}(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)}(hjS]h]h Parameters}(hjU]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ]ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjM]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.chM0hjl]ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hM0hj]ubah}(h]h ]h"]h$]h&]uh1jhjl]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM0hji]ubah}(h]h ]h"]h$]h&]uh1jhjM]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.chM0hjM]ubj)}(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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj]ubjl)}(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]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM0hjM]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_increment_features (C function)c.netdev_increment_featureshNtauh1hhjhhhNhNubh)}(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^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j netdev_increment_featuressbc.netdev_increment_featuresasbuh1hhj^hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj")}(h h]h }(hj0^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj/^hM1ubj3)}(hnetdev_increment_featuresh]j9)}(hj,^h]hnetdev_increment_features}(hjB^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj/^hM1ubj )}(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}(hj`^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjb^modnameN classnameNj j )}j ]j*^c.netdev_increment_featuresasbuh1hhjY^ubj")}(h h]h }(hj~^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY^ubj9)}(hallh]hall}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU^ubj )}(hnetdev_features_t oneh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j*^c.netdev_increment_featuresasbuh1hhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(honeh]hone}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU^ubj )}(hnetdev_features_t maskh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j*^c.netdev_increment_featuresasbuh1hhj^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 hjU^ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhj/^hM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhj/^hM1ubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/^hM1hj^hhubjg)}(hhh]jl)}(hincrement feature set by oneh]hincrement feature set by one}(hjF_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjC_hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj/^hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^_jj^_jjjuh1hhhhjhNhNubj)}(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)}(hjh_h]h Parameters}(hjj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf_ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjb_ubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hj_h]hnetdev_features_t all}(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.chM1hj_ubj)}(hhh]jl)}(hcurrent feature seth]hcurrent feature set}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM1hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM1hj~_ubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hj_h]hnetdev_features_t one}(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.chM1hj_ubj)}(hhh]jl)}(hnew feature seth]hnew feature set}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM1hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM1hj~_ubj)}(h,``netdev_features_t mask`` mask feature set h](j)}(h``netdev_features_t mask``h]j)}(hj_h]hnetdev_features_t mask}(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.chM1hj_ubj)}(hhh]jl)}(hmask feature seth]hmask feature set}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM1hj`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj`hM1hj~_ubeh}(h]h ]h"]h$]h&]uh1jhjb_ubjl)}(h**Description**h]j)}(hj4`h]h Description}(hj6`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2`ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjb_ubj)}(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 }(hjN`hhhNhNubj)}(h**one**h]hone}(hjV`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN`ubh/ to the master device with current feature set }(hjN`hhhNhNubj)}(h**all**h]hall}(hjh`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN`ubh+. Will not enable anything that is off in }(hjN`hhhNhNubj)}(h**mask**h]hmask}(hjz`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN`ubh. Returns the new feature set.}(hjN`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjJ`ubah}(h]h ]h"]h$]h&]uh1jhj`hM1hjb_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1netdev_compute_master_upper_features (C function)&c.netdev_compute_master_upper_featureshNtauh1hhjhhhNhNubh)}(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`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhj`hM1ubj3)}(h$netdev_compute_master_upper_featuresh]j9)}(h$netdev_compute_master_upper_featuresh]h$netdev_compute_master_upper_features}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hM1ubj )}(h,(struct net_device *dev, bool update_header)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j`sb&c.netdev_compute_master_upper_featuresasbuh1hhj`ubj")}(h h]h }(hj4ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjBahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hdevh]hdev}(hjOahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubj )}(hbool update_headerh](jM )}(hjh]hbool}(hjhahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdaubj")}(h h]h }(hjuahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdaubj9)}(h update_headerh]h update_header}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhj`hM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhj`hM1ubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hM1hj`hhubjg)}(hhh]jl)}(hcompute feature from lowersh]hcompute feature from lowers}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjahhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjhNhNubj)}(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)}(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.chM1hjaubj)}(hhh](j)}(h,``struct net_device *dev`` the upper 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.chM1hjaubj)}(hhh]jl)}(hthe upper deviceh]hthe upper device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM1hjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhM1hjaubj)}(hU``bool update_header`` whether to update upper device's header_len/headroom/tailroom h](j)}(h``bool update_header``h]j)}(hj'bh]hbool update_header}(hj)bhhhNhNubah}(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.chM1hj!bubj)}(hhh]jl)}(h=whether to update upper device's header_len/headroom/tailroomh]h?whether to update upper device’s header_len/headroom/tailroom}(hj@bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlen) **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)}(hj^eh]h Parameters}(hj`ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\eubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjXeubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hj}eh]hstruct sk_buff *skb}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{eubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjweubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehKDhjeubah}(h]h ]h"]h$]h&]uh1jhjweubeh}(h]h ]h"]h$]h&]uh1jhjehKDhjteubj)}(h)``struct net_device *dev`` source device h](j)}(h``struct net_device *dev``h]j)}(hjeh]hstruct net_device *dev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKEhjeubj)}(hhh]jl)}(h source deviceh]h source device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehKEhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKEhjteubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjeh]hunsigned short type}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKFhjeubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKFhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhKFhjteubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hj(fh]hconst void *daddr}(hj*fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&fubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhj"fubj)}(hhh]jl)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjAfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=fhKGhj>fubah}(h]h ]h"]h$]h&]uh1jhj"fubeh}(h]h ]h"]h$]h&]uh1jhj=fhKGhjteubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hjafh]hconst void *saddr}(hjcfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_fubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhj[fubj)}(hhh]jl)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hjzfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvfhKHhjwfubah}(h]h ]h"]h$]h&]uh1jhj[fubeh}(h]h ]h"]h$]h&]uh1jhjvfhKHhjteubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hjfh]hunsigned int len}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhjfubj)}(hhh]jl)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKIhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKIhjteubeh}(h]h ]h"]h$]h&]uh1jhjXeubjl)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhjXeubjl)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhjXeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhjhhhNhNubh)}(hhh](j)}(hMu32 eth_get_headlen (const struct net_device *dev, const void *data, u32 len)h]j )}(hLu32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len)h](h)}(hhh]j9)}(hu32h]hu32}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j eth_get_headlensbc.eth_get_headlenasbuh1hhjghhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj")}(h h]h }(hj?ghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhj>ghKuubj3)}(heth_get_headlenh]j9)}(hj;gh]heth_get_headlen}(hjQghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhj>ghKuubj )}(h9(const struct net_device *dev, const void *data, u32 len)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjlghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhgubj")}(h h]h }(hjyghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhgubj)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhgubh)}(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 ]j9gc.eth_get_headlenasbuh1hhjhgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhgubj9)}(hdevh]hdev}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdgubj )}(hconst void *datah](j)}(hj h]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hj hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hj.hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdatah]hdata}(hj;hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdgubj )}(hu32 lenh](h)}(hhh]j9)}(hu32h]hu32}(hjWhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjThubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYhmodnameN classnameNj j )}j ]j9gc.eth_get_headlenasbuh1hhjPhubj")}(h h]h }(hjuhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhubj9)}(hlenh]hlen}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhj>ghKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj>ghKuubah}(h]j gah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>ghKuhjghhubjg)}(hhh]jl)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhj>ghKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjhNhNubj)}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjhubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjhh]hconst struct net_device *dev}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjhubj)}(hhh]jl)}(hpointer to network deviceh]hpointer to network device}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihKvhjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihKvhjhubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hj'ih]hconst void *data}(hj)ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%iubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhj!iubj)}(hhh]jl)}(hpointer to start of frameh]hpointer to start of frame}(hj@ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:lubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj+lhKubj )}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j )}(hconst struct neighbour *neighh](j)}(hj h]hconst}(hjZlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVlubj")}(h h]h }(hjglhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVlubj)}(hjh]hstruct}(hjulhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVlubh)}(hhh]j9)}(h neighbourh]h neighbour}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j@lsbc.eth_header_cacheasbuh1hhjVlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVlubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVlubj9)}(hneighh]hneigh}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRlubj )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jlc.eth_header_cacheasbuh1hhjlubj")}(h h]h }(hj#mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hj1mhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hhhh]hhh}(hj>mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRlubj )}(h __be16 typeh](h)}(hhh]j9)}(h__be16h]h__be16}(hjZmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\mmodnameN classnameNj j )}j ]jlc.eth_header_cacheasbuh1hhjSmubj")}(h h]h }(hjxmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSmubj9)}(htypeh]htype}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRlubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj+lhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhj+lhKubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+lhKhjlhhubjg)}(hhh]jl)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhj+lhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjmh]hconst struct neighbour *neigh}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmubj)}(hhh]jl)}(hsource neighbourh]hsource neighbour}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjmubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hj*nh]hstruct hh_cache *hh}(hj,nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(nubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj$nubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjCnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?nhKhj@nubah}(h]h ]h"]h$]h&]uh1jhj$nubeh}(h]h ]h"]h$]h&]uh1jhj?nhKhjmubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hjcnh]h __be16 type}(hjenhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjanubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj]nubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hj|nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxnhKhjynubah}(h]h ]h"]h$]h&]uh1jhj]nubeh}(h]h ]h"]h$]h&]uh1jhjxnhKhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmubjl)}(h6Create an Ethernet header template from the neighbour.h]h6Create an Ethernet header template from the neighbour.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$eth_header_cache_update (C function)c.eth_header_cache_updatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hlvoid eth_header_cache_update (struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h]j )}(hkvoid eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](jM )}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhKubj3)}(heth_header_cache_updateh]j9)}(heth_header_cache_updateh]heth_header_cache_update}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhKubj )}(hO(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hj ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hj-ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hj>ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@omodnameN classnameNj j )}j ]j )}j josbc.eth_header_cache_updateasbuh1hhjoubj")}(h h]h }(hj^ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjlohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hhhh]hhh}(hjyohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hconst struct net_device *devh](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 net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jZoc.eth_header_cache_updateasbuh1hhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hdevh]hdev}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hconst unsigned char *haddrh](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hj*phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hunsignedh]hunsigned}(hj8phhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjFphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hcharh]hchar}(hjTphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjbphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjpphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hhaddrh]hhaddr}(hj}phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjnhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjnhKubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhKhjnhhubjg)}(hhh]jl)}(hupdate cache entryh]hupdate cache entry}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjphhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjnhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct hh_cache *hh`` destination cache entry ``const struct net_device *dev`` network device ``const unsigned char *haddr`` new hardware address **Description** Called by Address Resolution module to notify changes in address.h](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjpubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjph]hstruct hh_cache *hh}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjpubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphKhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKhjpubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj!qh]hconst struct net_device *dev}(hj#qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjqubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj:qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6qhKhj7qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj6qhKhjpubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hjZqh]hconst unsigned char *haddr}(hj\qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjTqubj)}(hhh]jl)}(hnew hardware addressh]hnew hardware address}(hjsqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjoqhKhjpqubah}(h]h ]h"]h$]h&]uh1jhjTqubeh}(h]h ]h"]h$]h&]uh1jhjoqhKhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjpubjl)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhjhhhNhNubh)}(hhh](j)}(h<__be16 eth_header_parse_protocol (const struct sk_buff *skb)h]j )}(h;__be16 eth_header_parse_protocol(const struct sk_buff *skb)h](h)}(hhh]j9)}(h__be16h]h__be16}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j eth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhjqhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjqhMubj3)}(heth_header_parse_protocolh]j9)}(hjqh]heth_header_parse_protocol}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj rubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjqhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj,rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(rubj")}(h h]h }(hj9rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(rubj)}(hjh]hstruct}(hjGrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(rubj")}(h h]h }(hjTrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(rubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjerhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgrmodnameN classnameNj j )}j ]jqc.eth_header_parse_protocolasbuh1hhj(rubj")}(h h]h }(hjrhhhNhNubah}(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 hj$rubah}(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)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjhNhNubj)}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjrubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hj sh]hconst struct sk_buff *skb}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjsubj)}(hhh]jl)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hj"shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hAint eth_prepare_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@int eth_prepare_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hinth]hint}(hjcshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_shhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj")}(h h]h }(hjrshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_shhhjqshM ubj3)}(heth_prepare_mac_addr_changeh]j9)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_shhhjqshM ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j jssbc.eth_prepare_mac_addr_changeasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hj thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hj.thhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hj h]hp}(hj;thhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hj_shhhjqshM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[shhhjqshM ubah}(h]jVsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqshM hjXshhubjg)}(hhh]jl)}(hprepare for mac changeh]hprepare for mac change}(hjdthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjathhubah}(h]h ]h"]h$]h&]uh1jfhjXshhhjqshM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|tjj|tjjjuh1hhhhjhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](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.chMhjtubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjth]hstruct net_device *dev}(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.chM hjtubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjtubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjth]hvoid *p}(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.chMhjtubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hAvoid eth_commit_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@void eth_commit_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hvoidh]hvoid}(hj8uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4uhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjGuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4uhhhjFuhMubj3)}(heth_commit_mac_addr_changeh]j9)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjYuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4uhhhjFuhMubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjuuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjquubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjquubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j[usbc.eth_commit_mac_addr_changeasbuh1hhjquubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjquubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjquubj9)}(hdevh]hdev}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjquubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmuubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hj h]hp}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4uhhhjFuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0uhhhjFuhMubah}(h]j+uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFuhMhj-uhhubjg)}(hhh]jl)}(hcommit mac changeh]hcommit mac change}(hj9vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj6vhhubah}(h]h ]h"]h$]h&]uh1jfhj-uhhhjFuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQvjjQvjjjuh1hhhhjhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jl)}(h**Parameters**h]j)}(hj[vh]h Parameters}(hj]vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYvubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM!hjUvubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjzvh]hstruct net_device *dev}(hj|vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjtvubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjtvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjqvubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjvh]hvoid *p}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjvubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjqvubeh}(h]h ]h"]h$]h&]uh1jhjUvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h2int eth_mac_addr (struct net_device *dev, void *p)h]j )}(h1int eth_mac_addr(struct net_device *dev, void *p)h](jM )}(hinth]hint}(hj whhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj whhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj whhhjwhM*ubj3)}(h eth_mac_addrh]j9)}(h eth_mac_addrh]h eth_mac_addr}(hj.whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*wubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj whhhjwhM*ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjJwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFwubj")}(h h]h }(hjWwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFwubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjewubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjwmodnameN classnameNj j )}j ]j )}j j0wsbc.eth_mac_addrasbuh1hhjFwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFwubj9)}(hdevh]hdev}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBwubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hj h]hp}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBwubeh}(h]h ]h"]h$]h&]jPjQuh1j hj whhhjwhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjwhM*ubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhM*hjwhhubjg)}(hhh]jl)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*hj xhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjwhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&xjj&xjjjuh1hhhhjhNhNubj)}(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)}(hj0xh]h Parameters}(hj2xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.xubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hj*xubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjOxh]hstruct net_device *dev}(hjQxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM+hjIxubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdxhM+hjexubah}(h]h ]h"]h$]h&]uh1jhjIxubeh}(h]h ]h"]h$]h&]uh1jhjdxhM+hjFxubj)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjxh]hvoid *p}(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.chM,hjxubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhM,hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM,hjFxubeh}(h]h ]h"]h$]h&]uh1jhj*xubjl)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hj*xubjl)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hj*xubjl)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM/hj*xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void ether_setup (struct net_device *dev)h]j )}(h(void ether_setup(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQubj")}(h h]h }(hj&yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhj%yhMQubj3)}(h ether_setuph]j9)}(h ether_setuph]h ether_setup}(hj8yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4yubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhj%yhMQubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjTyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPyubj")}(h h]h }(hjayhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPyubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjryhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtymodnameN classnameNj j )}j ]j )}j j:ysb c.ether_setupasbuh1hhjPyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPyubj9)}(hdevh]hdev}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLyubah}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhj%yhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhj%yhMQubah}(h]j yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%yhMQhj yhhubjg)}(hhh]jl)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQhjyhhubah}(h]h ]h"]h$]h&]uh1jfhj yhhhj%yhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjhNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjyubj)}(hhh]j)}(h*``struct net_device *dev`` 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.chMRhjzubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj1zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-zhMRhj.zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj-zhMRhjzubah}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjSzh]h Description}(hjUzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQzubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThjyubjl)}(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.}(hjizhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMShjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhjhhhNhNubh)}(hhh](j)}(h^struct net_device * alloc_etherdev_mqs (int sizeof_priv, unsigned int txqs, unsigned int rxqs)h]j )}(h\struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjzhMjubh)}(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 ]j )}j alloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjzhhhjzhMjubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjzhMjubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzhhhjzhMjubj3)}(halloc_etherdev_mqsh]j9)}(hjzh]halloc_etherdev_mqs}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjzhMjubj )}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j )}(hint sizeof_privh](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)}(h sizeof_privh]h sizeof_priv}(hj.{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj {ubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hjG{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC{ubj")}(h h]h }(hjU{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC{ubjM )}(hinth]hint}(hjc{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC{ubj")}(h h]h }(hjq{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC{ubj9)}(htxqsh]htxqs}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj {ubj )}(hunsigned int rxqsh](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)}(hrxqsh]hrxqs}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj {ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjzhMjubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjzhMjubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhMjhjzhhubjg)}(hhh]jl)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjzhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjhNhNubj)}(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)}(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.chMnhj|ubj)}(hhh](j)}(hi``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device h](j)}(h``int sizeof_priv``h]j)}(hj;|h]hint sizeof_priv}(hj=|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMlhj5|ubj)}(hhh]jl)}(hTSize of additional driver-private structure to be allocated for this Ethernet deviceh]hTSize of additional driver-private structure to be allocated for this Ethernet device}(hjT|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMkhjQ|ubah}(h]h ]h"]h$]h&]uh1jhj5|ubeh}(h]h ]h"]h$]h&]uh1jhjP|hMlhj2|ubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hju|h]hunsigned int txqs}(hjw|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjo|ubj)}(hhh]jl)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMmhj|ubah}(h]h ]h"]h$]h&]uh1jhjo|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMmhj2|ubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hj|h]hunsigned int rxqs}(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.chMnhj|ubj)}(hhh]jl)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMnhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMnhj2|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.chMphj|ubjl)}(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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohj|ubjl)}(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.chMrhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hOint platform_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hNint platform_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hj=}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9}hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjL}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9}hhhjK}hMubj3)}(hplatform_get_ethdev_addressh]j9)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hj^}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9}hhhjK}hMubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct device *devh](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)}(hdeviceh]hdevice}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j j`}sbc.platform_get_ethdev_addressasbuh1hhjv}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)}(hdevh]hdev}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr}ubj )}(hstruct net_device *netdevh](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.platform_get_ethdev_addressasbuh1hhj}ubj")}(h h]h }(hj(~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj6~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hnetdevh]hnetdev}(hjC~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9}hhhjK}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5}hhhjK}hMubah}(h]j0}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjK}hMhj2}hhubjg)}(hhh]jl)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjm~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjj~hhubah}(h]h ]h"]h$]h&]uh1jfhj2}hhhjK}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]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)}(hj~h]hstruct 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)}(hPointer to the deviceh]hPointer to the 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)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hj~h]hstruct net_device *netdev}(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)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjhhhNhNubah}(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: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.}(hj8hhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hEint fwnode_get_mac_address (struct fwnode_handle *fwnode, char *addr)h]j )}(hDint fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr)h](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhM>ubj3)}(hfwnode_get_mac_addressh]j9)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhM>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 jsbc.fwnode_get_mac_addressasbuh1hhjubj")}(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 hjubj )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj2hhhNhNubah}(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 hjchhhjuhM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhM>ubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhM>hj\hhubjg)}(hhh]jl)}(h"Get the MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>hjfhhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX7**Parameters** ``struct fwnode_handle *fwnode`` Pointer to the firmware node ``char *addr`` Address of buffer to store the MAC in **Description** Search the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree. Note that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address. All-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(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}(hjÀhhhNhNubah}(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)}(hjh]h char *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM@hj݀ubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhj݀ubeh}(h]h ]h"]h$]h&]uh1jhjhM@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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjubjl)}(hXgSearch the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree.h]hX}Search the firmware node for the best MAC address to use. ‘mac-address’ is checked first, because that is supposed to contain to “most recent” MAC address. If that isn’t set, then ‘local-mac-address’ is checked next, because that is the default address. If that isn’t set, then the obsolete ‘address’ is checked, just in case we’re using an old device tree.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhjubjl)}(hNote that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.h]hNote that the ‘address’ property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMGhjubjl)}(hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h]hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define ‘mac-address’ and ‘local-mac-address’, with zero MAC addresses. Some older U-Boots only initialized ‘local-mac-address’. In this case, the real MAC is in ‘local-mac-address’, and ‘mac-address’ exists but is all zeros.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(h;int device_get_mac_address (struct device *dev, char *addr)h]j )}(h:int device_get_mac_address(struct device *dev, char *addr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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&]uh1jhjubj")}(h h]h }(hjˁhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hj܁hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjفubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjށmodnameN classnameNj j )}j ]j )}j jsbc.device_get_mac_addressasbuh1hhjubj")}(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 )}(h char *addrh](jM )}(hcharh]hchar}(hj0hhhNhNubah}(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*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(haddrh]haddr}(hjYhhhNhNubah}(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 jYjZhjyhhhjhM_ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM_hjvhhubjg)}(hhh]jl)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjĂh]hstruct 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.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`hjubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjh]h char *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhjubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hMint device_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hLint device_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehMmubj3)}(hdevice_get_ethdev_addressh]j9)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehMmubj )}(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 jzsbc.device_get_ethdev_addressasbuh1hhjubj")}(h h]h }(hj҃hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *netdevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j΃c.device_get_ethdev_addressasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnetdevh]hnetdev}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjehMmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehMmubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMmhjLhhubjg)}(hhh]jl)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjehMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjȄh]hstruct 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.chMnhj„ubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj݄hMnhjބubah}(h]h ]h"]h$]h&]uh1jhj„ubeh}(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)}(hjh]hstruct net_device *netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(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&]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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_carrier_on (struct net_device *dev)h]j )}(h-void netif_carrier_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chM]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhM]ubj3)}(hnetif_carrier_onh]j9)}(hnetif_carrier_onh]hnetif_carrier_on}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhM]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 }(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.netif_carrier_onasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhjhM]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhM]ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM]hjvhhubjg)}(hhh]jl)}(h set carrierh]h set carrier}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chM]hj>hhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMahj]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&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chM^hj|ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjyubah}(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&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chM`hj]ubjl)}(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.chM_hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_carrier_off (struct net_device *dev)h]j )}(h.void netif_carrier_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMpubj3)}(hnetif_carrier_offh]j9)}(hnetif_carrier_offh]hnetif_carrier_off}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMpubj )}(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 }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.netif_carrier_offasbuh1hhj;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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubah}(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)}(h clear carrierh]h clear carrier}(hj‡hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMphjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڇjjڇjjjuh1hhhhjhNhNubj)}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss 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.chMthjއ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&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMqhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubah}(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&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMshjއubjl)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrhjއubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_carrier_event (struct net_device *dev)h]j )}(h0void netif_carrier_event(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetif_carrier_eventh]j9)}(hnetif_carrier_eventh]hnetif_carrier_event}(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 }(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.netif_carrier_eventasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{hhhjhMubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjxhhubjg)}(hhh]jl)}(hreport carrier state eventh]hreport carrier state event}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjhNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.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&]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&]uh1jhj_ubjl)}(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.chMhj_ubjl)}(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.chMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.bool is_link_local_ether_addr (const u8 *addr)h]j )}(h-bool is_link_local_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKRubj3)}(his_link_local_ether_addrh]j9)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKRubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(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 reftargetj`modnameN classnameNj j )}j ]j )}j j&sbc.is_link_local_ether_addrasbuh1hhj<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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKRubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKRhjhhubjg)}(hhh]jl)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjÊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjۊjjۊjjjuh1hhhhjhNhNubj)}(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)}(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.hhKVhjߊ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.hhKShjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjߊubjl)}(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.hhKUhjߊubjl)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjߊubjl)}(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.hhKXhjߊubjl)}(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.hhKWhjߊubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h(bool is_zero_ether_addr (const u8 *addr)h]j )}(h'bool is_zero_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKiubj3)}(his_zero_ether_addrh]j9)}(his_zero_ether_addrh]his_zero_ether_addr}(hjˋhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKiubj )}(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 j͋sbc.is_zero_ether_addrasbuh1hhjubj")}(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)}(haddrh]haddr}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjߋubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKihjhhubjg)}(hhh]jl)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjghhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is all zeroes. **Description** Please note: addr must be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(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}(hjČhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKjhjubah}(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:101: ./include/linux/etherdevice.hhKlhjubjl)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubjl)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKnhjubjl)}(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.hhKmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool is_multicast_ether_addr (const u8 *addr)h]j )}(h,bool is_multicast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj_hK|ubj3)}(his_multicast_ether_addrh]j9)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj_hK|ubj )}(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 jtsbc.is_multicast_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 hjNhhhj_hK|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj_hK|ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hK|hjGhhubjg)}(hhh]jl)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj_hK|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a multicast address. By definition the broadcast address is also a multicast address.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.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)}(hjRh]hconst u8 *addr}(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.hhK}hjLubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghK}hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghK}hjIubah}(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)}(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.hhKhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h)bool is_local_ether_addr (const u8 *addr)h]j )}(h(bool is_local_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΎhhhjߎhKubj3)}(his_local_ether_addrh]j9)}(his_local_ether_addrh]his_local_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjΎhhhjߎhKubj )}(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}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j jsbc.is_local_ether_addrasbuh1hhj 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)}(haddrh]haddr}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(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]jŎah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjߎhKhjǎhhubjg)}(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&]uh1jfhjǎhhhjߎhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a 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.hhKhj̏ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj̏ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjɏubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(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 a local address.h]h'true if the address is a local address.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool is_broadcast_ether_addr (const u8 *addr)h]j )}(h,bool is_broadcast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhh\/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!hjNhhhj_hKubj3)}(his_broadcast_ether_addrh]j9)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jtsbc.is_broadcast_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 hjNhhhj_hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj_hKubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hKhjGhhubjg)}(hhh]jl)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj_hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is the broadcast address. **Description** Please note: addr must be aligned to u16.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.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)}(hjRh]hconst u8 *addr}(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.hhKhjLubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghKhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghKhjIubah}(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 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.hhKhj-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)}(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.hhKhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h+bool is_unicast_ether_addr (const u8 *addr)h]j )}(h*bool is_unicast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(his_unicast_ether_addrh]j9)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hu8h]hu8}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jsbc.is_unicast_ether_addrasbuh1hhj1ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(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 unicasth]h,Determine if the Ethernet address is unicast}(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&]jjjjВjjВjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a 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)}(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&]uh1jhjԒubjl)}(h **Return**h]j)}(hj4h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjԒubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h)bool is_valid_ether_addr (const u8 *addr)h]j )}(h(bool is_valid_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhKubj3)}(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&]jPjQuh1j2hjuhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj“hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjӓhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjГubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjՓmodnameN classnameNj j )}j ]j )}j jsbc.is_valid_ether_addrasbuh1hhjubj")}(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 hjuhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhKubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjnhhubjg)}(hhh]jl)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjhNhNubj)}(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)}(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.hhKhjTubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjyh]hconst u8 *addr}(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;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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjpubah}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjTubjl)}(hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.h]hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.}(hjʔhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjTubjl)}(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.hhKhjTubjl)}(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.hhKhjTubjl)}(htrue if the address is valid.h]htrue if the address is valid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhjhhhNhNubh)}(hhh](j)}(h&bool eth_proto_is_802_3 (__be16 proto)h]j )}(h%bool eth_proto_is_802_3(__be16 proto)h](jM )}(hjh]hbool}(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)}(heth_proto_is_802_3h]j9)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj<hKubj )}(h(__be16 proto)h]j )}(h __be16 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 ]j )}j jQsbc.eth_proto_is_802_3asbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hprotoh]hproto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(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)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hjƕhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjÕhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj<hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjޕjjޕjjjuh1hhhhjhNhNubj)}(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)}(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)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjh]h __be16 proto}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(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)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h **Return**h]j)}(hjih]hReturn}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_random_addr (u8 *addr)h]j )}(hvoid eth_random_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(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&]uh1j8hj˖ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jіsbc.eth_random_addrasbuh1hhjubj")}(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}(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)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(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.hhKhjoubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h"void eth_broadcast_addr (u8 *addr)h]j )}(h!void eth_broadcast_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hKubj3)}(heth_broadcast_addrh]j9)}(heth_broadcast_addrh]heth_broadcast_addr}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j j7sbc.eth_broadcast_addrasbuh1hhjMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hKhj hhubjg)}(hhh]jl)}(hAssign broadcast addressh]hAssign broadcast 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&]uh1jfhj hhhj"hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjјjjјjjjuh1hhhhjhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the 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)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj՘ubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj՘ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_zero_addr (u8 *addr)h]j )}(hvoid eth_zero_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhMubj3)}(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&]jPjQuh1j2hjvhhhjhMubj )}(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_zero_addrasbuh1hhjubj")}(h h]h }(hjڙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjhMubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjohhubjg)}(hhh]jl)}(hAssign zero addressh]hAssign zero address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjhNhNubj)}(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)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj;ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj`h]hu8 *addr}(hjbhhhNhNubah}(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.hhMhjZubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj;ubjl)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void eth_hw_addr_random (struct net_device *dev)h]j )}(h/void eth_hw_addr_random(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܚhhhjhM ubj3)}(heth_hw_addr_randomh]j9)}(heth_hw_addr_randomh]heth_hw_addr_random}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjܚhhhjhM 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 }(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&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_randomasbuh1hhjubj")}(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)}(hdevh]hdev}(hjvhhhNhNubah}(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>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՚hhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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: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)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(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)}(hpointer to net_device structureh]hpointer to net_device structure}(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&]uh1jhjubah}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhjhhhNhNubh)}(hhh](j)}(h/u32 eth_hw_addr_crc (struct netdev_hw_addr *ha)h]j )}(h.u32 eth_hw_addr_crc(struct netdev_hw_addr *ha)h](h)}(hhh]j9)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j eth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhj]hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhjhMubj3)}(heth_hw_addr_crch]j9)}(hjh]heth_hw_addr_crc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjhMubj )}(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 ]jc.eth_hw_addr_crcasbuh1hhjubj")}(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}(hj hhhNhNubah}(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 jYjZhjYhhhjhMubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjVhhubjg)}(hhh]jl)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM!hjPubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjuh]hstruct netdev_hw_addr *ha}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjoubj)}(hhh]jl)}(hpointer to hardware addressh]hpointer to hardware address}(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**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 hjPubjl)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(hjƝhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void ether_addr_copy (u8 *dst, const u8 *src)h]j )}(h,void ether_addr_copy(u8 *dst, const u8 *src)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM(ubj3)}(hether_addr_copyh]j9)}(hether_addr_copyh]hether_addr_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM(ubj )}(h(u8 *dst, const u8 *src)h](j )}(hu8 *dsth](h)}(hhh]j9)}(hu8h]hu8}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.ether_addr_copyasbuh1hhj.ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hdsth]hdst}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(h const u8 *srch](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 ]jQc.ether_addr_copyasbuh1hhjubj")}(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)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM(ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM(hjhhubjg)}(hhh]jl)}(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(hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjhNhNubj)}(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}(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.hhM,hj&ubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjKh]hu8 *dst}(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.hhM)hjEubj)}(hhh]jl)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM)hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM)hjBubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hjh]h const u8 *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*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*hjBubeh}(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.hhM,hj&ubjl)}(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+hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhjhhhNhNubh)}(hhh](j)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]j )}(hubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM>ubj3)}(heth_hw_addr_seth]j9)}(heth_hw_addr_seth]heth_hw_addr_set}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM>ubj )}(h((struct net_device *dev, const u8 *addr)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.eth_hw_addr_setasbuh1hhj=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj 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 hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM>ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM>hjhhubjg)}(hhh]jl)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM>hj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMBhjPubj)}(hhh](j)}(h;``struct net_device *dev`` pointer to net_device structure 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&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM?hjoubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjlubj)}(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}(hjǡhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjáhM@hjġubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjáhM@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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMBhjPubjl)}(hHAssign given address to the net_device, addr_assign_type is not changed.h]hHAssign given address to the net_device, addr_assign_type is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhjhhhNhNubh)}(hhh](j)}(hIvoid eth_hw_addr_inherit (struct net_device *dst, struct net_device *src)h]j )}(hHvoid eth_hw_addr_inherit(struct net_device *dst, struct net_device *src)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMJubj3)}(heth_hw_addr_inherith]j9)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMJubj )}(h0(struct net_device *dst, struct net_device *src)h](j )}(hstruct net_device *dsth](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.eth_hw_addr_inheritasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdsth]hdst}(hjĢhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hstruct net_device *srch](j)}(hjh]hstruct}(hjݢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj٢ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj٢ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.eth_hw_addr_inheritasbuh1hhj٢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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj٢ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMJubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMJhj#hhubjg)}(hhh]jl)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJhj[hhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj<hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(hX!**Parameters** ``struct net_device *dst`` pointer to net_device to copy dev_addr to ``struct net_device *src`` pointer to net_device to copy dev_addr from **Description** Copy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMNhjzubj)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjңubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMNhjzubjl)}(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.hhMMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhjhhhNhNubh)}(hhh](j)}(h8bool ether_addr_equal (const u8 *addr1, const u8 *addr2)h]j )}(h7bool ether_addr_equal(const u8 *addr1, const u8 *addr2)h](jM )}(hjh]hbool}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjehMYubj3)}(hether_addr_equalh]j9)}(hether_addr_equalh]hether_addr_equal}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjehMYubj )}(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 jzsbc.ether_addr_equalasbuh1hhjubj")}(h h]h }(hjҤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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.ether_addr_equalasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr2h]haddr2}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjehMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjehMYubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMYhjMhhubjg)}(hhh]jl)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjehMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjȥh]hconst u8 *addr1}(hjʥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƥubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMZhj¥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&]uh1jkhjݥhMZhjޥubah}(h]h ]h"]h$]h&]uh1jhj¥ubeh}(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)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM[hjubj)}(hhh]jl)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM]hjubjl)}(h5Compare two Ethernet addresses, returns true if equalh]h5Compare two Ethernet addresses, returns true if equal}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM\hjubjl)}(h7Please note: addr1 & addr2 must both be aligned to u16.h]h7Please note: addr1 & addr2 must both be aligned to u16.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM^hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$ether_addr_equal_64bits (C function)c.ether_addr_equal_64bitshNtauh1hhjhhhNhNubh)}(hhh](j)}(h?bool ether_addr_equal_64bits (const u8 *addr1, const u8 *addr2)h]j )}(h>bool ether_addr_equal_64bits(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.hhMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMqubj3)}(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&]jPjQuh1j2hjhhhjhMqubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hj̦hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȦubj")}(h h]h }(hj٦hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȦubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equal_64bitsasbuh1hhjȦubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȦubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjȦubj9)}(haddr1h]haddr1}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȦubeh}(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 }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hu8h]hu8}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]jc.ether_addr_equal_64bitsasbuh1hhj: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)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĦubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMqhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjקjjקjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߧubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi: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)}(hjh]hconst u8 *addr1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhjubj)}(hhh]jl)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hj9h]hconst u8 *addr2}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMshj3ubj)}(hhh]jl)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMshjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMshjubeh}(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&]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.}(hjhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hBbool ether_addr_equal_unaligned (const u8 *addr1, const u8 *addr2)h]j )}(hAbool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2)h](jM )}(hjh]hbool}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjӨhhhjhMubj3)}(hether_addr_equal_unalignedh]j9)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjӨhhhjhMubj )}(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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equal_unalignedasbuh1hhjubj")}(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)}(haddr1h]haddr1}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 ]jMc.ether_addr_equal_unalignedasbuh1hhjubj")}(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)}(haddr2h]haddr2}(hjܩhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjӨhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjϨhhhjhMubah}(h]jʨah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj̨hhubjg)}(hhh]jl)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj̨hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: Use only when any Ethernet address may not be u16 aligned.h](jl)}(h**Parameters**h]j)}(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)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjGh]hconst u8 *addr1}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjzubj)}(hhh]jl)}(hubeh}(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.hhMhj"ubjl)}(h5Compare two Ethernet addresses, returns true if equalh]h5Compare two Ethernet addresses, returns true if equal}(hjѪhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj"ubjl)}(hGPlease note: Use only when any Ethernet address may not be u16 aligned.h]hGPlease note: Use only when any Ethernet address may not be u16 aligned.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$ether_addr_equal_masked (C function)c.ether_addr_equal_maskedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hObool ether_addr_equal_masked (const u8 *addr1, const u8 *addr2, const u8 *mask)h]j )}(hNbool ether_addr_equal_masked(const u8 *addr1, const u8 *addr2, const u8 *mask)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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hether_addr_equal_maskedh]j9)}(hether_addr_equal_maskedh]hether_addr_equal_masked}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h2(const u8 *addr1, const u8 *addr2, const u8 *mask)h](j )}(hconst u8 *addr1h](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)}(hu8h]hu8}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j j1sbc.ether_addr_equal_maskedasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjʫhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj۫hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjثubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݫmodnameN classnameNj j )}j ]jc.ether_addr_equal_maskedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hconst u8 *maskh](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}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jc.ether_addr_equal_maskedasbuh1hhj)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)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h*Compare two Ethernet addresses with a maskh]h*Compare two Ethernet addresses with a mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjƬjjƬjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the 1st Ethernet address ``const u8 *addr2`` Pointer to a six-byte array containing the 2nd Ethernet address ``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask **Description** Compare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.h](jl)}(h**Parameters**h]j)}(hjЬh]h Parameters}(hjҬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjάubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjʬubj)}(hhh](j)}(hT``const u8 *addr1`` Pointer to a six-byte array containing the 1st 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 1st Ethernet addressh]h?Pointer to a six-byte array containing the 1st Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``const u8 *addr2`` Pointer to a six-byte array containing the 2nd 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)}(h?Pointer to a six-byte array containing the 2nd Ethernet addressh]h?Pointer to a six-byte array containing the 2nd Ethernet address}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hW``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask h](j)}(h``const u8 *mask``h]j)}(hjah]hconst u8 *mask}(hjchhhNhNubah}(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)}(hCPointer to a six-byte array containing the Ethernet address bitmaskh]hCPointer to a six-byte array containing the Ethernet address bitmask}(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&]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.hhMhjʬubjl)}(hCompare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.h]hCompare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_to_u64 (C function)c.ether_addr_to_u64hNtauh1hhjhhhNhNubh)}(hhh](j)}(h&u64 ether_addr_to_u64 (const u8 *addr)h]j )}(h%u64 ether_addr_to_u64(const u8 *addr)h](h)}(hhh]j9)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j ether_addr_to_u64sbc.ether_addr_to_u64asbuh1hhjݭhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݭhhhjhMubj3)}(hether_addr_to_u64h]j9)}(hjh]hether_addr_to_u64}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݭhhhjhMubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hj3hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]jc.ether_addr_to_u64asbuh1hhj/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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(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)}(h-Convert an Ethernet address into a u64 value.h]h-Convert an Ethernet address into a u64 value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj֭hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̮jj̮jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** a u64 value of the 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)}(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.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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjЮubjl)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjЮubjl)}(ha u64 value of the addressh]ha u64 value of the address}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjЮubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hu64_to_ether_addr (C function)c.u64_to_ether_addrhNtauh1hhjhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjhMubj3)}(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&]jPjQuh1j2hjqhhhjhMubj )}(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 reftargetjmodnameN 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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ѯc.u64_to_ether_addrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhjhMubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjjhhubjg)}(hhh]jl)}(h%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet address.}(hjbhhhNhNubah}(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&]uh1jfhjjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjhNhNubj)}(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)}(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.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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](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.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}(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&]uh1jhjְubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_dec (C function)c.eth_addr_dechNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_addr_dec (u8 *addr)h]j )}(hvoid eth_addr_dec(u8 *addr)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhMubj3)}(h eth_addr_dech]j9)}(h eth_addr_dech]h eth_addr_dec}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j jYsbc.eth_addr_decasbuh1hhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhMubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhj+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+hhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](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)}(hQ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](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)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_inc (C function)c.eth_addr_inchNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_addr_inc (u8 *addr)h]j )}(hvoid eth_addr_inc(u8 *addr)h](jM )}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjhMubj3)}(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&]jPjQuh1j2hjrhhhjhMubj )}(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_incasbuh1hhjubj")}(h h]h }(hjֲhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjhMubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjkhhubjg)}(hhh]jl)}(h Increment the given MAC address.h]h Increment 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&]uh1jfhjkhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjhNhNubj)}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.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.hhMhj7ubj)}(hhh]j)}(hR``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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjVubj)}(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.}(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&]uh1jhjqhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_add (C function)c.eth_addr_addhNtauh1hhjhhhNhNubh)}(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 }(hjųhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjijhMubj3)}(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&]jPjQuh1j2hjhhhjijhMubj )}(h(u8 *addr, long offset)h](j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jٳsbc.eth_addr_addasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h long offseth](jM )}(hlongh]hlong}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hoffseth]hoffset}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjijhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjijhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjijhMhjhhubjg)}(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&]uh1jfhjhhhjijhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.hhMhj˴ubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj˴ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjȴubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjubj)}(hhh]jl)}(hOffset to add.h]hOffset to add.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjȴubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_etherdev_addr (C function)c.is_etherdev_addrhNtauh1hhjhhhNhNubh)}(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}(hjdhhhNhNubah}(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 }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjqhMubj3)}(his_etherdev_addrh]j9)}(his_etherdev_addrh]his_etherdev_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjqhMubj )}(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}(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.is_etherdev_addrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 addr[6 + 2]h](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}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jc.is_etherdev_addrasbuh1hhj)ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(haddrh]haddr}(hjwhhhNhNubah}(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 }(hjöhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj)}(h2h]h2}(hjѶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj )}(h]h]h]}(hj߶hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhjqhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhjqhMubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhMhjYhhubjg)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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}(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)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hjJh]hconst struct net_device *dev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjDubj)}(hhh]jl)}(hPointer to a device structureh]hPointer to a device structure}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.hhMhj}ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj%ubjl)}(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.hhMhj%ubjl)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hAunsigned long compare_ether_header (const void *a, const void *b)h]j )}(h@unsigned long compare_ether_header(const void *a, const void *b)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM.ubjM )}(hlongh]hlong}(hj/hhhNhNubah}(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)}(hcompare_ether_headerh]j9)}(hcompare_ether_headerh]hcompare_ether_header}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM.ubj )}(h(const void *a, const void *b)h](j )}(h const void *ah](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hj<h]ha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(h const void *bh](j)}(hj h]hconst}(hjǸhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjøubj")}(h h]h }(hjԸhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjøubjM )}(hvoidh]hvoid}(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)}(hj̈́h]hb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjøubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM.hjhhubjg)}(hhh]jl)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.hj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjPubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjuh]h const void *a}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM/hjoubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjlubj)}(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}(hjǹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjùhM0hjĹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjùhM0hjlubeh}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjPubjl)}(hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h]hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhjhhhNhNubh)}(hhh](j)}(hSvoid eth_hw_addr_gen (struct net_device *dev, const u8 *base_addr, unsigned int id)h]j )}(hRvoid eth_hw_addr_gen(struct net_device *dev, const u8 *base_addr, unsigned int id)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMSubj3)}(heth_hw_addr_genh]j9)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMSubj )}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.eth_hw_addr_genasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdevh]hdev}(hjĺhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hconst u8 *base_addrh](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.eth_hw_addr_genasbuh1hhjٺ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)}(h base_addrh]h base_addr}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٺubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hunsigned int idh](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)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMSubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMShj#hhubjg)}(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&]uh1jfhj#hhhj<hMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjǻjjǻjjjuh1hhhhjhNhNubj)}(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.hhMWhj˻ubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMThjubj)}(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&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhj#ubj)}(hhh]jl)}(hbase Ethernet addressh]hbase Ethernet address}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMUhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMUhjubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hjbh]hunsigned int id}(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.hhMVhj\ubj)}(hhh]jl)}(h!offset to add to the base addressh]h!offset to add to the base address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMVhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMVhjubeh}(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.hhMXhj˻ubjl)}(hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.h]hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhj˻ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhjhhhNhNubh)}(hhh](j)}(hIvoid eth_skb_pkt_type (struct sk_buff *skb, const struct net_device *dev)h]j )}(hHvoid eth_skb_pkt_type(struct sk_buff *skb, const struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj޼hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj޼hhhjhMhubj3)}(heth_skb_pkt_typeh]j9)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj޼hhhjhMhubj )}(h3(struct sk_buff *skb, const struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.eth_skb_pkt_typeasbuh1hhjubj")}(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)}(hskbh]hskb}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjʽhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǽubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̽modnameN classnameNj j )}j ]jYc.eth_skb_pkt_typeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj޼hhhjhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjڼhhhjhMhubah}(h]jռah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhhj׼hhubjg)}(hhh]jl)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hj-hhhNhNubah}(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׼hhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjhNhNubj)}(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)}(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.hhMlhjIubj)}(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)}(hjnh]hstruct sk_buff *skb}(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.hhMihjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMihjeubj)}(hW``const struct net_device *dev`` Network device used to compare packet address against 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.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ξhMjhjeubeh}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMlhjIubjl)}(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.hhMkhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%int eth_skb_pad (struct sk_buff *skb)h]j )}(h$int eth_skb_pad(struct sk_buff *skb)h](jM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhMubj3)}(h eth_skb_padh]j9)}(h eth_skb_padh]h eth_skb_pad}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(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.eth_skb_padasbuh1hhjrubj")}(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)}(hskbh]hskb}(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)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct sk_buff *skb`` Buffer to pad **Description** An Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hj:h]hstruct sk_buff *skb}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj4ubj)}(hhh]jl)}(h Buffer to padh]h Buffer to pad}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h]hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhjhhhNhNubh)}(hhh](j)}(hgro_nodeh]j )}(hstruct gro_nodeh](j)}(hjh]hstruct}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX"**Definition**:: struct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; }; **Members** ``bitmask`` bitmask to indicate used buckets in **hash** ``hash`` hashtable of pending aggregated skbs, separated by flows ``rx_list`` list of pending ``GRO_NORMAL`` skbs ``rx_count`` cached current length of **rx_list** ``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubj)}(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; };}hj9sbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubjl)}(h **Members**h]j)}(hjJh]hMembers}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjih]hbitmask}(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.hhMahjcubj)}(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&]uh1jkhj~hMahjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMahj`ubj)}(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.hhMbhjubj)}(hhh]jl)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj`ubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjh]hrx_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.hhMchjubj)}(hhh]jl)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjhhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh skbs}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchj`ubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hj4h]hrx_count}(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.hhMdhj.ubj)}(hhh]jl)}(h$cached current length of **rx_list**h](hcached current length of }(hjMhhhNhNubj)}(h **rx_list**h]hrx_list}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jkhjIhMdhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMdhj`ubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hj{h]hcached_napi_id}(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.hhMdhjuubj)}(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.hhMehjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj`ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.bool napi_is_scheduled (struct napi_struct *n)h]j )}(h-bool napi_is_scheduled(struct napi_struct *n)h](jM )}(hjh]hbool}(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_is_scheduledh]j9)}(hnapi_is_scheduledh]hnapi_is_scheduled}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.napi_is_scheduledasbuh1hhj 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)}(hjDh]hn}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(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'``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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hj%hhhNhNubah}(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.}(hj4hhhNhNubah}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(h **Return**h]j)}(hjTh]hReturn}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](j)}(h*bool napi_schedule (struct napi_struct *n)h]j )}(h)bool napi_schedule(struct napi_struct *n)h](jM )}(hjh]hbool}(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}(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*}(hj!hhhNhNubah}(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}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjThhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjhNhNubj)}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjsubj)}(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&]uh1jhjsubjl)}(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(hjsubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjsubjl)}(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*hjsubjl)}(htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h]htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void napi_schedule_irqoff (struct napi_struct *n)h]j )}(h0void napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjMhM9ubj3)}(hnapi_schedule_irqoffh]j9)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjMhM9ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jbsbc.napi_schedule_irqoffasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjMhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjMhM9ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhM9hj4hhubjg)}(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.hhM9hjhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjMhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj?h]hstruct napi_struct *n}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hj9ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM:hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM:hj6ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjubjl)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhjhhhNhNubh)}(hhh](j)}(h>bool napi_complete_done (struct napi_struct *n, int work_done)h]j )}(h=bool napi_complete_done(struct napi_struct *n, int work_done)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMEubj3)}(hnapi_complete_doneh]j9)}(hnapi_complete_doneh]hnapi_complete_done}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMEubj )}(h&(struct napi_struct *n, int work_done)h](j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_complete_doneasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int work_doneh](jM )}(hinth]hint}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(h work_doneh]h work_done}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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.hhMEhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMIhjubj)}(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.hhMFhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMFhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hj,h]h int work_done}(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.hhMGhj&ubj)}(hhh]jl)}(hnumber of packets processedh]hnumber of packets processed}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMGhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMGhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubjl)}(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().}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjubjl)}(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.hhMLhjubjl)}(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.hhMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void napi_synchronize (const struct napi_struct *n)h]j )}(h2void napi_synchronize(const struct napi_struct *n)h](jM )}(hvoidh]hvoid}(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_synchronizeh]j9)}(hnapi_synchronizeh]hnapi_synchronize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM`ubj )}(h(const struct napi_struct *n)h]j )}(hconst struct napi_struct *nh](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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc.napi_synchronizeasbuh1hhj 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)}(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)}(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.hhM`hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMdhjubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjh]hconst struct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubah}(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.hhMchjubjl)}(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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h:bool napi_if_scheduled_mark_missed (struct napi_struct *n)h]j )}(h9bool napi_if_scheduled_mark_missed(struct napi_struct *n)h](jM )}(hjh]hbool}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj{hMqubj3)}(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&]jPjQuh1j2hjjhhhj{hMqubj )}(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_if_scheduled_mark_missedasbuh1hhjubj")}(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 hjjhhhj{hMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj{hMqubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMqhjchhubjg)}(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.hhMqhj)hhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj{hMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjhNhNubj)}(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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjHubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjmh]hstruct napi_struct *n}(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.hhMshjgubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMshjdubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjHubjl)}(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.hhMthjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhjhhhNhNubh)}(hhh](j)}(hnetdev_priv_flagsh]j )}(henum netdev_priv_flagsh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMzubj3)}(hnetdev_priv_flagsh]j9)}(hjh]hnetdev_priv_flags}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMzubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMzubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMzhjhhubjg)}(hhh]jl)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hj5h]hstruct net_device}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j )}j jsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhj/ubh priv_flags}(hj/hhhNhNubeh}(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&]uh1jfhjhhhjhMzubeh}(h]h ](jenumeh"]h$]h&]jjjjnjjnjjjuh1hhhhjhNhNubj)}(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)}(hjxh]h Constants}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjrubj)}(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)}(hjh]h IFF_EBRIDGE}(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)}(hEthernet bridging deviceh]hEthernet bridging device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hbonding master or slaveh]hbonding master or slave}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjBh]h IFF_ISATAP}(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)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hj{h]h IFF_WAN_HDLC}(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)}(hWAN HDLC deviceh]hWAN HDLC device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(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)}(hjh]hIFF_DONT_BRIDGE}(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 disallow bridging this ether devh]h disallow bridging this ether dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hj'h]hIFF_DISABLE_NETPOLL}(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)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hj`h]hIFF_MACVLAN_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.hhMhjZubj)}(hhh]jl)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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)}(hjh]hIFF_OVS_DATAPATH}(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 used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjDh]hIFF_UNICAST_FLT}(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)}(hSupports unicast filteringh]hSupports unicast filtering}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hj}h]h IFF_TEAM_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjwubj)}(hhh]jl)}(hdevice used as team porth]hdevice used as team port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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}(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 supports sending custom FCSh]h"device supports sending custom FCS}(hjhhhNhNubah}(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)}(hjh]hIFF_LIVE_ADDR_CHANGE}(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)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hj)h]h IFF_MACVLAN}(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)}(hMacvlan deviceh]hMacvlan device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(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)}(hjbh]hIFF_XMIT_DST_RELEASE_PERM}(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)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(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)}(hjh]h IFF_NO_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)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjh]hIFF_OPENVSWITCH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hjGh]hIFF_L3MDEV_SLAVE}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAubj)}(hhh]jl)}(h)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hjh]hIFF_TEAM}(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)}(hdevice is a team deviceh]hdevice is a team device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(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)}(hjh]hIFF_PHONY_HEADROOM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h`the 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)}(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)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjh]h IFF_MACSEC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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 doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjeh]h IFF_FAILOVER}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ubj)}(hhh]jl)}(h"device is a failover master deviceh]h"device is a failover master device}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjh]hIFF_L3MDEV_RX_HANDLER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjh]hIFF_NO_ADDRCONF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(hx``IFF_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)}(hjIh]hIFF_TX_SKB_NO_LINEAR}(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_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)}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubjl)}(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&]uh1jkhjhMhjhhubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhjhhhNhNubh)}(hhh](j)}(h net_deviceh]j )}(hstruct net_deviceh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h net_deviceh]j9)}(hjh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hThe DEVICE structure.h]hThe DEVICE structure.}(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&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjUjjUjjjuh1hhhhjhNhNubj)}(hXe**Definition**:: struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:1; }; 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 rx_mode_node; netdevice_tracker rx_mode_tracker; struct netdev_hw_addr_list rx_mode_addr_cache; #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_ATALK); void *atalk_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; 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 support netmem_tx. ``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() ``rx_mode_node`` List entry for rx_mode work processing ``rx_mode_tracker`` Refcount tracker for rx_mode work ``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work ``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 ``atalk_ptr`` AppleTalk link ``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()) ``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** 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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh:}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jk7hZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjYubj)}(hX &struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:1; }; 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 rx_mode_node; netdevice_tracker rx_mode_tracker; struct netdev_hw_addr_list rx_mode_addr_cache; #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_ATALK); void *atalk_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; 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:1; }; 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 rx_mode_node; netdevice_tracker rx_mode_tracker; struct netdev_hw_addr_list rx_mode_addr_cache; #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_ATALK); void *atalk_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; 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[]; };}hjzsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjYubj)}(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)}(hjh]h priv_flags}(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\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitionsh]h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels h](j)}(h``lltx``h]j)}(hjh]hlltx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h(``netmem_tx`` device support netmem_tx. h](j)}(h ``netmem_tx``h]j)}(hjWh]h netmem_tx}(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)}(hdevice support netmem_tx.h]hdevice support netmem_tx.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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.hhMLhjubj)}(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.hhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(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.hhMVhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hjh]h_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hArray of TX queuesh]hArray of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hj=h]hgso_partial_features}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hj7ubj)}(hhh]jl)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM8hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM8hjubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjvh]hreal_num_tx_queues}(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)}(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&]uh1jhjpubeh}(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)}(hjh]hgso_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.hhMhjubj)}(hhh]jl)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj"h]h gso_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.hhMhjubj)}(hhh]jl)}(h@Maximum number of segments that can be passed to the NIC for GSOh]h@Maximum number of segments that can be passed to the NIC for GSO}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hj\h]hnum_tc}(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)}(h+Number of traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(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.hhMahjubj)}(hhh]jl)}(hInterface MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(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)}(hjh]hneeded_headroom}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjh]h tc_to_txq}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjAh]hxps_maps}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjzh]hnf_hooks_egress}(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.hhMhjtubj)}(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&]uh1jhjtubeh}(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)}(hjh]h{unnamed_union}}(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)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hj%h]hlstats}(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#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hj^h]htstats}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjXubj)}(hhh]jl)}(h-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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)}(hjh]hstate}(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)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hj h]hflags}(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.hhMXhjubj)}(hhh]jl)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjBh]hhard_header_len}(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.hhMehj<ubj)}(hhh]jl)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMehjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMehjubj)}(h``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. h](j)}(h``pcpu_stat_type``h]j)}(hj{h]hpcpu_stat_type}(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)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjh]hfeatures}(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 Currently active device featuresh]h Currently active device features}(hjhhhNhNubah}(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)}(hjh]hip6_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)}(hIPv6 specific datah]hIPv6 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hj'h]hxdp_prog}(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"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(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``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hj`h]hptype_specific}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjZubj)}(hhh]jl)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM)hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM)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.hhM<hjubj)}(hhh]jl)}(hinterface indexh]hinterface index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hjh]hreal_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)}(h.Number of RX queues currently active in deviceh]h.Number of RX 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``_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.hhMhjubj)}(hhh]jl)}(hArray of RX queuesh]hArray of RX queues}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjDh]h gro_max_size}(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)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(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)}(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)}(hj~h]hgro_ipv4_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjxubj)}(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.hhM(hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hjh]h rx_handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hhandler for received packetsh]hhandler for received packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(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)}(hjh]hrx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj$ubj)}(hhh]jl)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjChhhNhNubj)}(h**lock**h]hlock}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjrh]hnpinfo}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(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)}(hjh]hname}(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)}(hThis is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface.h]hThis is the first field of the “visible” part of this structure (i.e. as seen by users in the “Space.c” file). It is the name of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjh]h name_node}(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)}(hName hashlist nodeh]hName hashlist node}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjWh]hifalias}(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 SNMP aliash]h SNMP alias}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hShared memory endh]hShared memory end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hShared memory starth]hShared memory start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjh]h base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDevice I/O addressh]hDevice I/O address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hj;h]hdev_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.hhM#hj5ubj)}(hhh]jl)}(h"The global list of network devicesh]h"The global list of network devices}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhM#hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM#hjubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjth]h napi_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.hhM$hjnubj)}(hhh]jl)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(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.hhM%hjubah}(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)}(hjh]h close_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubj)}(hhh]jl)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hj h]h ptype_all}(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)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hM(hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM(hjubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjYh]hadj_list}(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.hhM+hjSubj)}(hhh]jl)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM+hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM+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.hhMYhjubj)}(hhh]jl)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(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.hhMMhjubj)}(hhh]jl)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjh]hxsk_tx_metadata_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhjubj)}(hhh]jl)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hj=h]hgflags}(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.hhMZhj7ubj)}(hhh]jl)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMZhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMZhjubj)}(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)}(hjvh]hneeded_tailroom}(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.hhMlhjpubj)}(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.hhMjhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(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.hhM-hjubj)}(hhh]jl)}(hUser-changeable featuresh]hUser-changeable features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hjh]hwanted_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubj)}(hhh]jl)}(hUser-requested featuresh]hUser-requested features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hj"h]h vlan_features}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjubj)}(hhh]jl)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM0hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM0hjubj)}(h``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. h](j)}(h``hw_enc_features``h]j)}(hj[h]hhw_enc_features}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjUubj)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM5hjubj)}(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.hhM7hjubj)}(hhh]jl)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(hf``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. h](j)}(h``mangleid_features``h]j)}(hjh]hmangleid_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jl)}(hOMask of features requiring MANGLEID, will be disabled together with the latter.h]hOMask of features requiring MANGLEID, will be disabled together with the latter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjh]hmin_mtu}(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.hhMbhjubj)}(hhh]jl)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hjAh]hmax_mtu}(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.hhMchj;ubj)}(hhh]jl)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMchjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMchjubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjzh]htype}(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.hhMdhjtubj)}(hhh]jl)}(hInterface hardware typeh]hInterface hardware type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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.hhMfhjubj)}(hhh]jl)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjh]hname_assign_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjubj)}(hhh]jl)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hj%h]hgroup}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubj)}(hhh]jl)}(hThe group the device belongs toh]hThe group the device belongs to}(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)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hj^h]hstats}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjXubj)}(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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM@hjubj)}(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.hhMChjubj)}(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.hhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hjh]hcarrier_up_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh]jl)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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.hhMEhjubj)}(hhh]jl)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMEhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMEhjubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hjDh]hwireless_handlers}(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.hhMIhj>ubj)}(hhh]jl)}(hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.h]hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMIhjubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hj~h]h ethtool_ops}(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.hhMOhjxubj)}(hhh]jl)}(hManagement operationsh]hManagement operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hjh]h l3mdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhjubj)}(hhh]jl)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjh]h ndisc_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjubj)}(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.hhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(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&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShj$ubj)}(hhh]jl)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMShj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMShjubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjch]h tlsdev_ops}(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.hhMThj]ubj)}(hhh]jl)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMThjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMThjubj)}(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.hhM]hjubj)}(hhh]jl)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hjh]h link_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjubj)}(hhh]jl)}(hMapping policy to operstateh]hMapping policy to operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjh]hif_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjubj)}(hhh]jl)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(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``dma`` DMA channel h](j)}(h``dma``h]j)}(hjGh]hdma}(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.hhM`hjAubj)}(hhh]jl)}(h DMA channelh]h DMA channel}(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#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjh]h perm_addr}(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.hhMphjzubj)}(hhh]jl)}(hPermanent hw addressh]hPermanent hw address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hjh]haddr_assign_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjubj)}(hhh]jl)}(hHw address assignment typeh]hHw address assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hjh]haddr_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjubj)}(hhh]jl)}(hHardware address lengthh]hHardware address length}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hj+h]h upper_level}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshj%ubj)}(hhh]jl)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMshjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMshjubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjdh]h lower_level}(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.hhMthj^ubj)}(hhh]jl)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMthjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMthjubj)}(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.hhMuhjubj)}(hhh]jl)}(hnapi threaded state.h]hnapi threaded state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hjh]hneigh_priv_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubj)}(hhh]jl)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjh]hdev_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhj 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}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMxhjubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hjIh]hdev_port}(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.hhMzhjCubj)}(hhh]jl)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMzhjubj)}(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.hhM hj}ubj)}(hhh]jl)}(hDevice IRQ numberh]hDevice IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hjh]hpriv_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjubj)}(hhh]jl)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hjh]haddr_list_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(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``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hj.h]huc}(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)}(hunicast mac addressesh]hunicast mac addresses}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjgh]hmc}(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)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjubj)}(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}(hjhhhNhNubah}(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)}(hjh]h queues_kset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hi``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. h](j)}(h``unlink_list``h]j)}(hjh]h unlink_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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$hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM%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)}(hjLh]h promiscuity}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjFubj)}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()h]hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``rx_mode_node`` List entry for rx_mode work processing h](j)}(h``rx_mode_node``h]j)}(hjh]h rx_mode_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&List entry for rx_mode work processingh]h&List entry for rx_mode work processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``rx_mode_tracker`` Refcount tracker for rx_mode work h](j)}(h``rx_mode_tracker``h]j)}(hj2h]hrx_mode_tracker}(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)}(h!Refcount tracker for rx_mode workh]h!Refcount tracker for rx_mode work}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(hB``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work h](j)}(h``rx_mode_addr_cache``h]j)}(hjkh]hrx_mode_addr_cache}(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*Recycled snapshot entries for rx_mode workh]h*Recycled snapshot entries for rx_mode work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjh]h fib_nh_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hM hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM hjubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hjPh]h vlan_info}(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 VLAN infoh]h VLAN info}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubj)}(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)}(h``atalk_ptr`` AppleTalk link h](j)}(h ``atalk_ptr``h]j)}(hjh]h atalk_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)}(hAppleTalk linkh]hAppleTalk link}(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)}(hj4h]h ieee80211_ptr}(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.hhMhj.ubj)}(hhh]jl)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjmh]hieee802154_ptr}(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.hhMhjgubj)}(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&]uh1jhjgubeh}(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}(hj2hhhNhNubah}(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)}(hjRh]hdev_addr}(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)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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.hhM+hjubj)}(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.hhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(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)}(hj9h]hnf_hooks_ingress}(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)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hjrh]h broadcast}(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)}(hhw bcast addressh]hhw bcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(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}(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)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjWh]hqdisc}(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'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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)}(hj;h]h qdisc_hash}(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)}(hqdisc hash tableh]hqdisc hash table}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hjth]hwatchdog_timer}(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)}(hList of timersh]hList of timers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(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=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjh]hproto_down_reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hj h]h todo_list}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDelayed register/unregisterh]hDelayed register/unregister}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjYh]h pcpu_refcnt}(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#Number of references to this deviceh]h#Number of references to this device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(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)}(hjh]hrefcnt_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjh]hlink_watch_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hj=h]h reg_state}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubj)}(hhh]jl)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hjvh]h dismantle}(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)}(hDevice is going to be freedh]hDevice is going to be freed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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}(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.hhMn hjubj)}(hhh]jl)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMn hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMn hjubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hjh]hrtnl_link_initializing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMp hjubj)}(hhh]jl)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMp hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMp hjubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hj/h]hneeds_free_netdev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)ubj)}(hhh]jl)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjhh]hpriv_destructor}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubj)}(hhh]jl)}(hCalled from unregisterh]hCalled from unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hMid-layer privateh]hMid-layer private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjh]h ml_priv_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)}(hMid-layer private typeh]hMid-layer private type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjLh]hmrp_port}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjFubj)}(hhh]jl)}(hMRPh]hMRP}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hjh]hdev}(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)}(hClass/net/name entryh]hClass/net/name entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hjh]h sysfs_groups}(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 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&]uh1jhjubeh}(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)}(hj1h]hsysfs_rx_queue_group}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+ubj)}(hhh]jl)}(h*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjjh]h rtnl_link_ops}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]jl)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hjh]hstat_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'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hjh]hqueue_mgmt_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!Optional ops for queue managementh]h!Optional ops for queue management}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``tso_max_size`` Device (as in HW) limit on the max TSO request size h](j)}(h``tso_max_size``h]j)}(hjh]h tso_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)}(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&]uh1jhjubeh}(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)}(hjNh]h tso_max_segs}(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.hhMhjHubj)}(hhh]jl)}(h4Device (as in HW) limit on the max TSO segment counth]h4Device (as in HW) limit on the max TSO segment count}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hjh]h dcbnl_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 Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hjh]h prio_tc_map}(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)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hjh]h fcoe_ddp_xid}(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#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hj2h]hpriomap}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjkh]h link_topo}(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-Physical link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hjh]hphydev}(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;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(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)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hjh]hsfp_bus}(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)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jl)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(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)}(hjsh]h proto_down}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(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.}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). h](j)}(h``irq_affinity_auto``h]j)}(hjh]hirq_affinity_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).h]hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hjh]hrx_cpu_rmap_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().h]hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(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.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUubj)}(hhh]jl)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hjh]hnetns_immutable}(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)interface can't change network namespacesh]h+interface can’t change network namespaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hjh]hfcoe_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. h](j)}(h``net_notifier_list``h]j)}(hjh]hnet_notifier_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.h]hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``macsec_ops`` MACsec offloading ops h](j)}(h``macsec_ops``h]j)}(hj@h]h macsec_ops}(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)}(hMACsec offloading opsh]hMACsec offloading ops}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(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)}(hjyh]hudp_tunnel_nic_info}(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)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hjh]hudp_tunnel_nic}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjh]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hj%h]h cfg_pending}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]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 }(hjEhhhNhNubj)}(h**cfg**h]hcfg}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh" but when device is being actively}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjAubj)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjeubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj:hM hj>ubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hjh]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hethtool related stateh]hethtool related state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hjh]h xdp_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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.hhM-hjubj)}(hhh]jl)}(h,Copy of **dev_addr** to catch direct writes.h](hCopy of }(hj&hhhNhNubj)}(h **dev_addr**h]hdev_addr}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh to catch direct writes.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj"hM-hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM-hjubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjXh]hlinkwatch_dev_tracker}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjRubj)}(hhh]jl)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM.hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM.hjubj)}(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.hhM/hjubj)}(hhh]jl)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjh]hdev_registered_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjubj)}(hhh]jl)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjh]hoffload_xstats_l3}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjubj)}(hhh]jl)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. h](j)}(h``devlink_port``h]j)}(hj=h]h devlink_port}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hj7ubj)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM7hjubj)}(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)}(hjwh]hdpll_pin}(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.hhM:hjqubj)}(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.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hjh]h page_pools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjh]h irq_moder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hj#h]hmax_pacing_offload_horizon}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjubj)}(hhh]jl)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM<hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM<hjubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hj\h]h napi_config}(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@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM>hjubj)}(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.hhM@hjubj)}(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.hhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(hq``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. h](j)}(h``napi_defer_hard_irqs``h]j)}(hjh]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubj)}(hhh]jl)}(hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.h]hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hj h]hgro_flush_timeout}(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.hhMAhjubj)}(hhh]jl)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(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)}(hjCh]hup}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj=ubj)}(hhh]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 }(hjchhhNhNubj)}(h **state**h]hstate}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh(’s IFF_UP, but safe to read with just }(hjchhhNhNubj)}(h**lock**h]hlock}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjXhM hj_ubj)}(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&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjXhM hj\ubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM 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)}(hjh]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh under the }(hjhhhNhNubj)}(h**lock**h]hlock}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hXQ``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** 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)}(hjMh]hlock}(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)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubjl)}(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 }(hjuhhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubjl)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubjK)}(hhh](jK)}(h+simply protected by the instance **lock**; h]jl)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(hAdouble protected - writers hold both locks, readers hold either; h]jl)}(h@double protected - writers hold both locks, readers hold either;h]h@double protected - writers hold both locks, readers hold either;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; h]jl)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;h]hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(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&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjhM hjcubj)}(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:}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj5ubj)}(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}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }(hjKhhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }hjKsbj)}(h **napi_list**h]h napi_list}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }(hjKhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }hjKsbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }hjKsbj)}(h **threaded**h]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjHubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hj2ubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **nd_net**h]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops 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)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, }(hjPhhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hjfhhhNhNubah}(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 hj2ubj)}(h^Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue h](j)}(hAlso protects some fields in:h]hAlso protects some fields in:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubeh}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h Ordering:h]h Ordering:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjcubjK)}(hhh](jK)}(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.hhM hjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(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.hhM hjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjhM hjcubeh}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM 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.hhM$ 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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-hM$ hj4ubj)}(hhh]jl)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hM$ hjFubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj-hM$ hj1ubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM$ 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.hhMFhjuubj)}(hhh]jl)}(hRList heads pointing to this device's neighbours' dev_list, one per address-family.h]hVList heads pointing to this device’s neighbours’ dev_list, one per address-family.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(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.hhMGhjubj)}(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&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(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.hhM[hjubj)}(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.hhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(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_hjhhubj)}(hXActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module. interface address info: FIXME: cleanup struct net_device such that network protocol info moves out. h](jl)}(hActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module.h]hActually, this whole structure is a big mistake. It mixes I/O data with strictly “high-level” data, and it has to know about almost every data structure used in the INET module.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjGubjl)}(hinterface address info:h]hinterface address info:}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjGubjl)}(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.hhMhjGubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void * netdev_priv (const struct net_device *dev)h]j )}(h/void *netdev_priv(const struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h netdev_privh]j9)}(h netdev_privh]h netdev_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(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 ]j )}j jsb c.netdev_privasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h"access network device private datah]h"access network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj|hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Get network device private datah](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(hGet network device private datah]hGet network device private data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_from_priv (C function)c.netdev_from_privhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7struct net_device * netdev_from_priv (const void *priv)h]j )}(h5struct net_device *netdev_from_priv(const void *priv)h](j)}(hjh]hstruct}(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 }(hjN hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj< hhhjM 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 reftargetja modnameN classnameNj j )}j ]j )}j netdev_from_privsbc.netdev_from_privasbuh1hhj< hhhjM hM ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj< hhhjM hM ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj< hhhjM hM ubj3)}(hnetdev_from_privh]j9)}(hj} h]hnetdev_from_priv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj< hhhjM hM ubj )}(h(const void *priv)h]j )}(hconst void *privh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hvoidh]hvoid}(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)}(hprivh]hpriv}(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 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)}(hget network device from privh]hget network device from priv}(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&]uh1jfhj5 hhhjM hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@ jj@ jjjuh1hhhhjhNhNubj)}(ht**Parameters** ``const void *priv`` network device private data **Return** net_device to which **priv** belongsh](jl)}(h**Parameters**h]j)}(hjJ h]h Parameters}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjD ubj)}(hhh]j)}(h1``const void *priv`` network device private data h](j)}(h``const void *priv``h]j)}(hji h]hconst void *priv}(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.hhM hjc ubj)}(hhh]jl)}(hnetwork device private datah]hnetwork device private data}(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` ubah}(h]h ]h"]h$]h&]uh1jhjD 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:104: ./include/linux/netdevice.hhM hjD ubjl)}(h$net_device to which **priv** belongsh](hnet_device to which }(hj hhhNhNubj)}(h**priv**h]hpriv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh belongs}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjD ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhjhhhNhNubh)}(hhh](j)}(hnvoid netif_napi_add (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]j )}(hlvoid netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](jM )}(hvoidh]hvoid}(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_addh]j9)}(hnetif_napi_addh]hnetif_napi_add}(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}(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)}(h net_deviceh]h net_device}(hjV hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX modnameN classnameNj j )}j ]j )}j j sbc.netif_napi_addasbuh1hhj4 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)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0 ubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jr c.netif_napi_addasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hnapih]hnapi}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0 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 )}(hj h]h(}(hj6 hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hj h]h*}(hjC hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hpollh]hpoll}(hjP hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubj )}(hj< h]h)}(hj^ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hj h]h(}(hjk hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj)}(hjh]hstruct}(hjx 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 ]jr c.netif_napi_addasbuh1hhj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hjNjh]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 )}(hj< h]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0 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)}(hinitialize a NAPI contexth]hinitialize 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+ jjjuh1hhhhjhNhNubj)}(hX0**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** netif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](jl)}(h**Parameters**h]j)}(hj5 h]h Parameters}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 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)}(hjT h]hstruct net_device *dev}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM) hjN ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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) hjK ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj h]hstruct napi_struct *napi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM* hj ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM* hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM* hjK 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+ hjK ubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM- hj/ ubjl)}(hvnetif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](hLnetif_napi_add() must be used to initialize a NAPI context prior to calling }(hjhhhNhNubj )}(h*any*h]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% 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.hhM, hj/ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid netif_napi_add_config (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int index)h]j )}(h~void netif_napi_add_config(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](jM )}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMR ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhMR 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&]jPjQuh1j2hjThhhjfhMR 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j{sbc.netif_napi_add_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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.netif_napi_add_configasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubj )}(hj< h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj )}(hj h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netif_napi_add_configasbuh1hhjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj )}(hjNjh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj )}(hj< h]h)}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int indexh](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)}(hindexh]hindex}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjfhMR ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjfhMR ubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhMR hjMhhubjg)}(hhh]jl)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMR hjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjfhMR ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMV 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMS hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMS hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMS hjubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(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.hhMT hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMT hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMT hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjXh]h&int (*poll)(struct napi_struct *, int)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMU hjRubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMU hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMU hjubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjh]h int index}(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.hhMW hjubj)}(hhh]jl)}(hthe NAPI indexh]hthe NAPI index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMV hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhjhhhNhNubh)}(hhh](j)}(hqvoid netif_napi_add_tx (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]j )}(hovoid netif_napi_add_tx(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMb ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMb ubj3)}(hnetif_napi_add_txh]j9)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMb 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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jsbc.netif_napi_add_txasbuh1hhj$ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 ]jbc.netif_napi_add_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)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 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 hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpollh]hpoll}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hj< h]h)}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h(}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjuhhhNhNubah}(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 ]jbc.netif_napi_add_txasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjNjh]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 )}(hj< h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMb ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMb ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMb hjhhubjg)}(hhh]jl)}(h0initialize a NAPI context to be used for Tx onlyh]h0initialize a NAPI context to be used for Tx only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMb hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMb ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.hhMf hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjDh]hstruct net_device *dev}(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.hhMc hj>ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMc hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMc hj;ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj}h]hstruct napi_struct *napi}(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.hhMd hjwubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMd 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.hhMe hjubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMe hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMe 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.hhMg hjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMf hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void __netif_napi_del (struct napi_struct *napi)h]j )}(h/void __netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMu ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhMu ubj3)}(h__netif_napi_delh]j9)}(h__netif_napi_delh]h__netif_napi_del}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhMu ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jYsbc.__netif_napi_delasbuh1hhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhMu ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhMu ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMu hj+hhubjg)}(hhh]jl)}(hremove a NAPI contexth]hremove a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMu hjhhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhjDhMu ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMy hjubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj7h]hstruct napi_struct *napi}(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.hhMv hj1ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMv hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMv hj.ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjrh]h Description}(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.hhMx hjubjl)}(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 }(hjhhhNhNubj)}(h**napi**h]hnapi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMw hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_napi_del (struct napi_struct *napi)h]j )}(h-void netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(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)}(hnetif_napi_delh]j9)}(hnetif_napi_delh]hnetif_napi_del}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsbc.netif_napi_delasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(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)}(hremove a NAPI contexth]hremove a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *napi`` NAPI context **Description** netif_napi_del() removes a NAPI context from the network device NAPI listh](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 *napi`` NAPI context 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&]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)}(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 hjubj)}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jl)}(hjh]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(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&]uh1jhj,hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_start_queue (struct net_device *dev)h]j )}(h.void netif_start_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOhhhZ/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!hjOhhhjahM]ubj3)}(hnetif_start_queueh]j9)}(hnetif_start_queueh]hnetif_start_queue}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjahM]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 jvsbc.netif_start_queueasbuh1hhjubj")}(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 hjOhhhjahM]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjahM]ubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahM]hjHhhubjg)}(hhh]jl)}(hallow transmith]hallow transmit}(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&]uh1jfhjHhhhjahM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine.h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahj/ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjTh]hstruct net_device *dev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjNubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM^hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM^hjKubah}(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)}(h>Allow upper layers to call the device hard_start_xmit routine.h]jl)}(hjh]h>Allow upper layers to call the device hard_start_xmit routine.}(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&]uh1jhjhM_hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_wake_queue (struct net_device *dev)h]j )}(h-void netif_wake_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMtubj3)}(hnetif_wake_queueh]j9)}(hnetif_wake_queueh]hnetif_wake_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMtubj )}(h(struct net_device *dev)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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.netif_wake_queueasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(hrestart transmith]hrestart transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMxhjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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.hhMwhjubj)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj/ubah}(h]h ]h"]h$]h&]uh1jhjAhMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_stop_queue (struct net_device *dev)h]j )}(h-void netif_stop_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjvhMubj3)}(hnetif_stop_queueh]j9)}(hnetif_stop_queueh]hnetif_stop_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjvhMubj )}(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_stop_queueasbuh1hhjubj")}(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 hjdhhhjvhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjvhMubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhMhj]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]hhhjvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjhNhNubj)}(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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjDubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjih]hstruct net_device *dev}(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)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjDubj)}(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.}(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&]uh1jhjhMhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_queue_stopped (C function)c.netif_queue_stoppedhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetif_queue_stoppedh]j9)}(hnetif_queue_stoppedh]hnetif_queue_stopped}(hjhhhNhNubah}(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 }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j jsbc.netif_queue_stoppedasbuh1hhj+ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'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%test if transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMhjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(h=Test if transmit queue on device is currently unable to send.h]jl)}(hjah]h=Test if transmit queue on device is currently unable to send.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ubah}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhjhhhNhNubh)}(hhh](j)}(h\void netdev_queue_set_dql_min_limit (struct netdev_queue *dev_queue, unsigned int min_limit)h]j )}(h[void netdev_queue_set_dql_min_limit(struct netdev_queue *dev_queue, unsigned int min_limit)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetdev_queue_set_dql_min_limith]j9)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j )}(hstruct netdev_queue *dev_queueh](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 netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.netdev_queue_set_dql_min_limitasbuh1hhjubj")}(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 dev_queueh]h dev_queue}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int min_limith](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)}(h min_limith]h min_limit}(hj~hhhNhNubah}(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)}(hset dql minimum limith]hset dql minimum limit}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.hhMhjubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjh]hstruct netdev_queue *dev_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)}(hpointer to transmit queueh]hpointer to transmit queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned int min_limit`` dql minimum limit h](j)}(h``unsigned int min_limit``h]j)}(hj" h]hunsigned int min_limit}(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)}(hdql minimum limith]hdql minimum limit}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7 hMhj8 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj7 hMhjubeh}(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.hhMhjubjl)}(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 }(hjs hhhNhNubj)}(h **min_limit**h]h min_limit}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hjs hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFvoid netdev_txq_bql_enqueue_prefetchw (struct netdev_queue *dev_queue)h]j )}(hEvoid netdev_txq_bql_enqueue_prefetchw(struct netdev_queue *dev_queue)h](jM )}(hvoidh]hvoid}(hj 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)}(h netdev_txq_bql_enqueue_prefetchwh]j9)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h (struct netdev_queue *dev_queue)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_txq_bql_enqueue_prefetchwasbuh1hhj 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}(hjJ!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)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjt!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjq!hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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)}(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 netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj!h]hstruct netdev_queue *dev_queue}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!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)}(hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.h]hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netdev_txq_bql_complete_prefetchw (struct netdev_queue *dev_queue)h]j )}(hFvoid netdev_txq_bql_complete_prefetchw(struct netdev_queue *dev_queue)h](jM )}(hvoidh]hvoid}(hj5"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1"hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjD"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1"hhhjC"hMubj3)}(h!netdev_txq_bql_complete_prefetchwh]j9)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hjV"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1"hhhjC"hMubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](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 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 jX"sb#c.netdev_txq_bql_complete_prefetchwasbuh1hhjn"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)}(h dev_queueh]h dev_queue}(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"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-"hhhjC"hMubah}(h]j("ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjC"hMhj*"hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(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*"hhhjC"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj #jj #jjjuh1hhhhjhNhNubj)}(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)}(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 netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj6#h]hstruct netdev_queue *dev_queue}(hj8#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0#ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hjO#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK#hMhjL#ubah}(h]h ]h"]h$]h&]uh1jhj0#ubeh}(h]h ]h"]h$]h&]uh1jhjK#hMhj-#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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubjl)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hNvoid netdev_tx_sent_queue (struct netdev_queue *dev_queue, unsigned int bytes)h]j )}(hMvoid netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj#hMubj3)}(hnetdev_tx_sent_queueh]j9)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj#hMubj )}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j j#sbc.netdev_tx_sent_queueasbuh1hhj#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)}(h dev_queueh]h dev_queue}(hjL$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hje$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hja$ubj")}(h h]h }(hjs$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja$ubjM )}(hinth]hint}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hja$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja$ubj9)}(hbytesh]hbytes}(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)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx 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#hhhj#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(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)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj$ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj%h]hstruct netdev_queue *dev_queue}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hj!%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hjA%h]hunsigned int bytes}(hjC%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;%ubj)}(hhh]jl)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hjZ%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjV%hMhjW%ubah}(h]h ]h"]h$]h&]uh1jhj;%ubeh}(h]h ]h"]h$]h&]uh1jhjV%hMhj$ubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj$ubj)}(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. }(hj%hhhNhNubj)}(h **bytes**h]hbytes}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj%hhhNhNubj)}(h **bytes**h]hbytes}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hCvoid netdev_sent_queue (struct net_device *dev, unsigned int bytes)h]j )}(hBvoid netdev_sent_queue(struct net_device *dev, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj%hM9ubj3)}(hnetdev_sent_queueh]j9)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj &ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj%hM9ubj )}(h,(struct net_device *dev, unsigned int bytes)h](j )}(hstruct net_device *devh](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)}(h net_deviceh]h net_device}(hjJ&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL&modnameN classnameNj j )}j ]j )}j j&sbc.netdev_sent_queueasbuh1hhj(&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)}(hdevh]hdev}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$&ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hinth]hint}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(hbytesh]hbytes}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj%hM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj%hM9ubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hM9hj%hhubjg)}(hhh]jl)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hj&hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj%hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int bytes`` number of bytes queued to the hardware device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jl)}(h**Parameters**h]j)}(hj"'h]h Parameters}(hj$'hhhNhNubah}(h]h ]h"]h$]h&]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)}(hjA'h]hstruct net_device *dev}(hjC'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}(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:hj8'ubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hjz'h]hunsigned int bytes}(hj|'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjt'ubj)}(hhh]jl)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM;hj'ubah}(h]h ]h"]h$]h&]uh1jhjt'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM;hj8'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'ubj)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jl)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](haReport the number of bytes queued for sending/completion to the network device hardware queue#0. }(hj'hhhNhNubj)}(h **bytes**h]hbytes}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj'hhhNhNubj)}(h **bytes**h]hbytes}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hj'ubah}(h]h ]h"]h$]h&]uh1jhj(hM<hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hfvoid netdev_tx_completed_queue (struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h]j )}(hevoid netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj((hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$(hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPubj")}(h h]h }(hj7(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$(hhhj6(hMPubj3)}(hnetdev_tx_completed_queueh]j9)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hjI(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$(hhhj6(hMPubj )}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](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 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 jK(sbc.netdev_tx_completed_queueasbuh1hhja(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja(ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hja(ubj9)}(h dev_queueh]h dev_queue}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj](ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubjM )}(hinth]hint}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hpktsh]hpkts}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj](ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj()hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$)ubj")}(h h]h }(hj6)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$)ubjM )}(hinth]hint}(hjD)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$)ubj")}(h h]h }(hjR)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$(hhhj6(hMPubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj (hhhj6(hMPubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6(hMPhj(hhubjg)}(hhh]jl)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhj)hhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj6(hMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjhNhNubj)}(hXs**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int pkts`` number of packets (currently ignored) ``unsigned int bytes`` number of bytes dequeued from the device queue **Description** Must be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThj)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.hhMQhj)ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(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<``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.hhMRhj)ubj)}(hhh]jl)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMRhj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj*hMRhj)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.hhMShj7*ubj)}(hhh]jl)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hjV*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR*hMShjS*ubah}(h]h ]h"]h$]h&]uh1jhj7*ubeh}(h]h ]h"]h$]h&]uh1jhjR*hMShj)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.hhMUhj)ubj)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]jl)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThj*ubah}(h]h ]h"]h$]h&]uh1jhj*hMThj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h[void netdev_completed_queue (struct net_device *dev, unsigned int pkts, unsigned int bytes)h]j )}(hZvoid netdev_completed_queue(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj*hMqubj3)}(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*hMqubj )}(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 }(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)}(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 }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjr+ubjM )}(hinth]hint}(hj+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*hMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj*hMqubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMqhj*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.hhMqhj&,hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj*hMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjA,jjA,jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int pkts`` actual number of packets sent over the medium ``unsigned int bytes`` actual number of bytes sent over the medium **Description** Report the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](jl)}(h**Parameters**h]j)}(hjK,h]h Parameters}(hjM,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI,ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjE,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.hhMrhjd,ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMrhj,ubah}(h]h ]h"]h$]h&]uh1jhjd,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMrhja,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.hhMshj,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,hMshj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMshja,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.hhMthj,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,hMthj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMthja,ubeh}(h]h ]h"]h$]h&]uh1jhjE,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.hhMvhjE,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, }(hj1-hhhNhNubj)}(h **bytes**h]hbytes}(hj9-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1-ubh must exactly match the }(hj1-hhhNhNubj)}(h **bytes**h]hbytes}(hjK-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1-ubh% amount passed to netdev_sent_queue()}(hj1-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhj--ubah}(h]h ]h"]h$]h&]uh1jhjc-hMuhjE,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hEvoid netdev_tx_reset_subqueue (const struct net_device *dev, u32 qid)h]j )}(hDvoid netdev_tx_reset_subqueue(const struct net_device *dev, u32 qid)h](jM )}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj-hMubj3)}(hnetdev_tx_reset_subqueueh]j9)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj-hMubj )}(h'(const struct net_device *dev, u32 qid)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj-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}(hjW.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY.modnameN classnameNj j )}j ]j.c.netdev_tx_reset_subqueueasbuh1hhjP.ubj")}(h h]h }(hju.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP.ubj9)}(hqidh]hqid}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP.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/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-hhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjhNhNubj)}(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&]uh1jhj0hhubah}(h]h ]h"]h$]h&]uh1jfhjv/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjY0jjY0jjjuh1hhhhjhNhNubj)}(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)}(hjc0h]h Parameters}(hje0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj]0ubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hj0h]hstruct net_device *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.hhMhj|0ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj|0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjy0ubah}(h]h ]h"]h$]h&]uh1jhj]0ubjl)}(h**Description**h]j)}(hj0h]h Description}(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.hhMhj]0ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0hMhj]0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h@u16 netdev_cap_txqueue (struct net_device *dev, u16 queue_index)h]j )}(h?u16 netdev_cap_txqueue(struct net_device *dev, u16 queue_index)h](h)}(hhh]j9)}(hu16h]hu16}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j netdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj11hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj01hMubj3)}(hnetdev_cap_txqueueh]j9)}(hj-1h]hnetdev_cap_txqueue}(hjC1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj01hMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj^1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ1ubj")}(h h]h }(hjk1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ1ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj|1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~1modnameN classnameNj j )}j ]j+1c.netdev_cap_txqueueasbuh1hhjZ1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZ1ubj9)}(hdevh]hdev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjV1ubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j+1c.netdev_cap_txqueueasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(h queue_indexh]h queue_index}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjV1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj01hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj01hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj01hMhj1hhubjg)}(hhh]jl)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(hj'2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj$2hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj01hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?2jj?2jjjuh1hhhhjhNhNubj)}(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)}(hjI2h]h Parameters}(hjK2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjC2ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh2h]hstruct net_device *dev}(hjj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjb2ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}2hMhj~2ubah}(h]h ]h"]h$]h&]uh1jhjb2ubeh}(h]h ]h"]h$]h&]uh1jhj}2hMhj_2ubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hj2h]hu16 queue_index}(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)}(hgiven tx queue indexh]hgiven tx queue index}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj_2ubeh}(h]h ]h"]h$]h&]uh1jhjC2ubjl)}(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.hhMhjC2ubj)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubah}(h]h ]h"]h$]h&]uh1jhj3hMhjC2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhjhhhNhNubh)}(hhh](j)}(h1bool netif_running (const struct net_device *dev)h]j )}(h0bool netif_running(const struct net_device *dev)h](jM )}(hjh]hbool}(hj+3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj93hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'3hhhj83hMubj3)}(h netif_runningh]j9)}(h netif_runningh]h netif_running}(hjK3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'3hhhj83hMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjg3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc3ubj")}(h h]h }(hjt3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc3ubj)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc3ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jM3sbc.netif_runningasbuh1hhjc3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc3ubj9)}(hdevh]hdev}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'3hhhj83hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#3hhhj83hMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj83hMhj 3hhubjg)}(hhh]jl)}(h test if uph]h test if up}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhj 3hhhj83hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if the device has been brought up.h](jl)}(h**Parameters**h]j)}(hj'4h]h Parameters}(hj)4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!4ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjF4h]hconst struct net_device *dev}(hjH4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@4ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj_4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[4hMhj\4ubah}(h]h ]h"]h$]h&]uh1jhj@4ubeh}(h]h ]h"]h$]h&]uh1jhj[4hMhj=4ubah}(h]h ]h"]h$]h&]uh1jhj!4ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!4ubj)}(h'Test if the device has been brought up.h]jl)}(hj4h]h'Test if the device has been brought up.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4hMhj!4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_start_subqueue (C function)c.netif_start_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hCvoid netif_start_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hBvoid netif_start_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(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)}(hnetif_start_subqueueh]j9)}(hnetif_start_subqueueh]hnetif_start_subqueue}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj 5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,5modnameN classnameNj j )}j ]j )}j j4sbc.netif_start_subqueueasbuh1hhj5ubj")}(h h]h }(hjJ5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjX5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hdevh]hdev}(hje5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]jF5c.netif_start_subqueueasbuh1hhjz5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz5ubj9)}(h queue_indexh]h queue_index}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(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)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(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&]jjjj5jj5jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Start individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(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)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj6h]hstruct net_device *dev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj16hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-6hMhj.6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj-6hMhj6ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjQ6h]hu16 queue_index}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjK6ubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf6hMhjg6ubah}(h]h ]h"]h$]h&]uh1jhjK6ubeh}(h]h ]h"]h$]h&]uh1jhjf6hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubjl)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_stop_subqueue (C function)c.netif_stop_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid netif_stop_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hAvoid netif_stop_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hMubj3)}(hnetif_stop_subqueueh]j9)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 7ubh)}(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.netif_stop_subqueueasbuh1hhj 7ubj")}(h h]h }(hjL7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 7ubj )}(hj h]h*}(hjZ7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 7ubj9)}(hdevh]hdev}(hjg7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jH7c.netif_stop_subqueueasbuh1hhj|7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|7ubj9)}(h queue_indexh]h queue_index}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj6hMubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhj6hhubjg)}(hhh]jl)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Stop individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj38hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/8hMhj08ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj/8hMhj8ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjS8h]hu16 queue_index}(hjU8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjM8ubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjl8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh8hMhji8ubah}(h]h ]h"]h$]h&]uh1jhjM8ubeh}(h]h ]h"]h$]h&]uh1jhjh8hMhj8ubeh}(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.hhMhj7ubjl)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__netif_subqueue_stopped (C function)c.__netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hMbool __netif_subqueue_stopped (const struct net_device *dev, u16 queue_index)h]j )}(hLbool __netif_subqueue_stopped(const struct net_device *dev, u16 queue_index)h](jM )}(hjh]hbool}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hMubj3)}(h__netif_subqueue_stoppedh]j9)}(h__netif_subqueue_stoppedh]h__netif_subqueue_stopped}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hMubj )}(h/(const struct net_device *dev, u16 queue_index)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 9ubj)}(hjh]hstruct}(hj*9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj")}(h h]h }(hj79hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 9ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjH9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ9modnameN classnameNj j )}j ]j )}j j8sbc.__netif_subqueue_stoppedasbuh1hhj 9ubj")}(h h]h }(hjh9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 9ubj )}(hj h]h*}(hjv9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 9ubj9)}(hdevh]hdev}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jd9c.__netif_subqueue_stoppedasbuh1hhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(h queue_indexh]h queue_index}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hMubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhj8hhubjg)}(hhh]jl)}(htest status of subqueueh]htest status of subqueue}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj :jj :jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Check individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(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)}(hj6:h]hconst struct net_device *dev}(hj8:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0:ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjO:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK:hMhjL:ubah}(h]h ]h"]h$]h&]uh1jhj0:ubeh}(h]h ]h"]h$]h&]uh1jhjK:hMhj-:ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjo:h]hu16 queue_index}(hjq:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhji:ubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhji:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj-:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_subqueue_stopped (C function)c.netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hObool netif_subqueue_stopped (const struct net_device *dev, struct sk_buff *skb)h]j )}(hNbool netif_subqueue_stopped(const struct net_device *dev, struct sk_buff *skb)h](jM )}(hjh]hbool}(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_subqueue_stoppedh]j9)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hMubj )}(h3(const struct net_device *dev, struct sk_buff *skb)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj+;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj';ubj")}(h h]h }(hj8;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj';ubj)}(hjh]hstruct}(hjF;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj';ubj")}(h h]h }(hjS;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj';ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjd;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjf;modnameN classnameNj j )}j ]j )}j j;sbc.netif_subqueue_stoppedasbuh1hhj';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 ]j;c.netif_subqueue_stoppedasbuh1hhj;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#;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)}(htest status of subqueueh]htest status of subqueue}(hj9<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6<hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQ<jjQ<jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device ``struct sk_buff *skb`` sub queue buffer pointer **Description** Check individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hj[<h]h Parameters}(hj]<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY<ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjU<ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjz<h]hconst struct net_device *dev}(hj|<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjt<ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhjt<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjq<ubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]jl)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjq<ubeh}(h]h ]h"]h$]h&]uh1jhjU<ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjU<ubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjU<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_wake_subqueue (C function)c.netif_wake_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid netif_wake_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hAvoid netif_wake_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(hj3=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 }(hjB=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/=hhhjA=hMubj3)}(hnetif_wake_subqueueh]j9)}(hnetif_wake_subqueueh]hnetif_wake_subqueue}(hjT=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/=hhhjA=hMubj )}(h)(struct net_device *dev, u16 queue_index)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_wake_subqueueasbuh1hhjl=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=ubj )}(hu16 queue_indexh](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.netif_wake_subqueueasbuh1hhj=ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj9)}(h queue_indexh]h queue_index}(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=hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+=hhhjA=hMubah}(h]j&=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjA=hMhj(=hhubjg)}(hhh]jl)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hj;>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8>hhubah}(h]h ]h"]h$]h&]uh1jfhj(=hhhjA=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS>jjS>jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Resume individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(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.hhMhjW>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&]uh1jhjz>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjv>ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hj>h]hu16 queue_index}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj>ubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjW>ubjl)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume individual transmit queue of a device with multiple transmit queues.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjW>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_attr_test_mask (C function)c.netif_attr_test_maskhNtauh1hhjhhhNhNubh)}(hhh](j)}(h\bool netif_attr_test_mask (unsigned long j, const unsigned long *mask, unsigned int nr_bits)h]j )}(h[bool netif_attr_test_mask(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](jM )}(hjh]hbool}(hj5?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjC?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1?hhhjB?hMubj3)}(hnetif_attr_test_maskh]j9)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hjU?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1?hhhjB?hMubj )}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hjq?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm?ubjM )}(hlongh]hlong}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm?ubj9)}(hjh]hj}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjm?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hji?ubj )}(hconst unsigned long *maskh](j)}(hj h]hconst}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubjM )}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubjM )}(hlongh]hlong}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hmaskh]hmask}(hj"@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hji?ubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hj;@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7@ubj")}(h h]h }(hjI@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7@ubjM )}(hinth]hint}(hjW@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7@ubj")}(h h]h }(hje@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7@ubj9)}(hnr_bitsh]hnr_bits}(hjs@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hji?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1?hhhjB?hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-?hhhjB?hMubah}(h]j(?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjB?hMhj*?hhubjg)}(hhh]jl)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(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*?hhhjB?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjhNhNubj)}(hX **Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *mask`` bitmask of all cpus/rx queues ``unsigned int nr_bits`` number of bits in the bitmask **Description** Test if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h](jl)}(h**Parameters**h]j)}(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'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj@h]hunsigned long j}(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)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(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 unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hjAh]hconst unsigned long *mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAubj)}(hhh]jl)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hj0AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,AhMhj-Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj,AhMhj@ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjPAh]hunsigned int nr_bits}(hjRAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJAubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjiAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjeAhMhjfAubah}(h]h ]h"]h$]h&]uh1jhjJAubeh}(h]h ]h"]h$]h&]uh1jhjeAhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h]hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_attr_test_online (C function)c.netif_attr_test_onlinehNtauh1hhjhhhNhNubh)}(hhh](j)}(hebool netif_attr_test_online (unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h]j )}(hdbool netif_attr_test_online(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](jM )}(hjh]hbool}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhM!ubj3)}(hnetif_attr_test_onlineh]j9)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhM!ubj )}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hj BhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubjM )}(hlongh]hlong}(hj(BhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hj6BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hj?h]hj}(hjDBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(h const unsigned long *online_maskh](j)}(hj h]hconst}(hj\BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXBubj")}(h h]h }(hjiBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXBubjM )}(hunsignedh]hunsigned}(hjwBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXBubjM )}(hlongh]hlong}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXBubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXBubj9)}(h online_maskh]h online_mask}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubjM )}(hinth]hint}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hnr_bitsh]hnr_bits}(hj ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjAhM!ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjAhM!ubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhM!hjAhhubjg)}(hhh]jl)}(hTest for online CPU/Rx queueh]hTest for online CPU/Rx queue}(hj7ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hj4Chhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOCjjOCjjjuh1hhhhjhNhNubj)}(h**Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online ``unsigned int nr_bits`` number of bits in the bitmask **Return** true if a CPU/Rx queue is online.h](jl)}(h**Parameters**h]j)}(hjYCh]h Parameters}(hj[ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWCubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjSCubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hjxCh]hunsigned long j}(hjzChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjrCubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM"hjCubah}(h]h ]h"]h$]h&]uh1jhjrCubeh}(h]h ]h"]h$]h&]uh1jhjChM"hjoCubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjCh]h const unsigned long *online_mask}(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)}(h*bitmask for CPUs/Rx queues that are onlineh]h*bitmask for CPUs/Rx queues that are online}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM#hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM#hjoCubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjCh]hunsigned int nr_bits}(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)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM$hjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM$hjoCubeh}(h]h ]h"]h$]h&]uh1jhjSCubjl)}(h **Return**h]j)}(hj%Dh]hReturn}(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.hhM&hjSCubjl)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(hj;DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hjSCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_attrmask_next (C function)c.netif_attrmask_nexthNtauh1hhjhhhNhNubh)}(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}(hjjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5ubj")}(h h]h }(hjyDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfDhhhjxDhM5ubjM )}(hinth]hint}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfDhhhjxDhM5ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfDhhhjxDhM5ubj3)}(hnetif_attrmask_nexth]j9)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfDhhhjxDhM5ubj )}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hjDh]hn}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(hconst unsigned long *srcph](j)}(hj h]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubjM )}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hj EhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubjM )}(hlongh]hlong}(hj.EhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hj= nr_bits if no further CPUs/Rx queues set.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjEubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjFh]hint n}(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.hhM6hj Fubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj,FhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(FhM6hj)Fubah}(h]h ]h"]h$]h&]uh1jhj Fubeh}(h]h ]h"]h$]h&]uh1jhj(FhM6hj Fubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hjLFh]hconst unsigned long *srcp}(hjNFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjFFubj)}(hhh]jl)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hjeFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjaFhM7hjbFubah}(h]h ]h"]h$]h&]uh1jhjFFubeh}(h]h ]h"]h$]h&]uh1jhjaFhM7hj Fubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjFh]hunsigned int nr_bits}(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.hhM8hjFubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhM8hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM8hj Fubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h **Return**h]j)}(hjFh]hReturn}(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:hjEubjl)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhjhhhNhNubh)}(hhh](j)}(hqint netif_attrmask_next_and (int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h]j )}(hpint netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjGhMKubj3)}(hnetif_attrmask_next_andh]j9)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hj&GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"Gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjGhMKubj )}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hjBGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>Gubj")}(h h]h }(hjPGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>Gubj9)}(hjDh]hn}(hj^GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Gubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:Gubj )}(hconst unsigned long *src1ph](j)}(hj h]hconst}(hjvGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrGubjM )}(hunsignedh]hunsigned}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrGubjM )}(hlongh]hlong}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrGubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrGubj9)}(hsrc1ph]hsrc1p}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:Gubj )}(hconst unsigned long *src2ph](j)}(hj h]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubjM )}(hunsignedh]hunsigned}(hj HhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubjM )}(hlongh]hlong}(hj&HhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hj4HhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjBHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hsrc2ph]hsrc2p}(hjOHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:Gubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjhHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdHubj")}(h h]h }(hjvHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdHubjM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdHubj9)}(hnr_bitsh]hnr_bits}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:Gubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjGhMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhjGhMKubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMKhjFhhubjg)}(hhh]jl)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhjGhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjhNhNubj)}(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)}(hjHh]h Parameters}(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.hhMOhjHubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj Ih]hint n}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Iubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjIubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj$IhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj IhMLhj!Iubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj IhMLhjIubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hjDIh]hconst unsigned long *src1p}(hjFIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhj>Iubj)}(hhh]jl)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj]IhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYIhMMhjZIubah}(h]h ]h"]h$]h&]uh1jhj>Iubeh}(h]h ]h"]h$]h&]uh1jhjYIhMMhjIubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj}Ih]hconst unsigned long *src2p}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Iubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhjwIubj)}(hhh]jl)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMNhjIubah}(h]h ]h"]h$]h&]uh1jhjwIubeh}(h]h ]h"]h$]h&]uh1jhjIhMNhjIubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjIh]hunsigned int nr_bits}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjIubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMOhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMOhjIubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(h **Return**h]j)}(hjIh]hReturn}(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.hhMQhjHubjl)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h7bool netif_is_multiqueue (const struct net_device *dev)h]j )}(h6bool netif_is_multiqueue(const struct net_device *dev)h](jM )}(hjh]hbool}(hj6JhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2JhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvubj")}(h h]h }(hjDJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2JhhhjCJhMvubj3)}(hnetif_is_multiqueueh]j9)}(hnetif_is_multiqueueh]hnetif_is_multiqueue}(hjVJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2JhhhjCJhMvubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjrJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnJubj)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnJubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jXJsbc.netif_is_multiqueueasbuh1hhjnJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnJubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnJubj9)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjJubah}(h]h ]h"]h$]h&]jPjQuh1j hj2JhhhjCJhMvubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.JhhhjCJhMvubah}(h]j)Jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjCJhMvhj+Jhhubjg)}(hhh]jl)}(h+test if device has multiple transmit queuesh]h+test if device has multiple transmit queues}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj Khhubah}(h]h ]h"]h$]h&]uh1jfhj+JhhhjCJhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Kjj(Kjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has multiple transmit queuesh](jl)}(h**Parameters**h]j)}(hj2Kh]h Parameters}(hj4KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Kubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzhj,Kubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjQKh]hconst struct net_device *dev}(hjSKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjKKubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfKhMwhjgKubah}(h]h ]h"]h$]h&]uh1jhjKKubeh}(h]h ]h"]h$]h&]uh1jhjfKhMwhjHKubah}(h]h ]h"]h$]h&]uh1jhj,Kubjl)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj,Kubjl)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhj,Kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_hold (C function) c.dev_holdhNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void dev_hold (struct net_device *dev)h]j )}(h%void dev_hold(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMubj3)}(hdev_holdh]j9)}(hdev_holdh]hdev_hold}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Lubj")}(h h]h }(hjLhhhNhNubah}(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 reftargetj.LmodnameN classnameNj j )}j ]j )}j jKsb c.dev_holdasbuh1hhj Lubj")}(h h]h }(hjLLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Lubj )}(hj h]h*}(hjZLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Lubj9)}(hdevh]hdev}(hjgLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Lubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhMubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhMhjKhhubjg)}(hhh]jl)}(hget reference to deviceh]hget reference to device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjLh]hstruct net_device *dev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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)}(hj Mh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubjl)}(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#MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_put (C function) c.dev_puthNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void dev_put (struct net_device *dev)h]j )}(h$void dev_put(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjRMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjaMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNMhhhj`MhMubj3)}(hdev_puth]j9)}(hdev_puth]hdev_put}(hjsMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNMhhhj`MhMubj )}(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 juMsb c.dev_putasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjNMhhhj`MhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJMhhhj`MhMubah}(h]jEMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`MhMhjGMhhubjg)}(hhh]jl)}(hrelease reference to deviceh]hrelease reference to device}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjGMhhhj`MhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*Njj*Njjjuh1hhhhjhNhNubj)}(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)}(hj4Nh]h Parameters}(hj6NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Nubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.Nubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjSNh]hstruct net_device *dev}(hjUNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMNubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjlNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhNhMhjiNubah}(h]h ]h"]h$]h&]uh1jhjMNubeh}(h]h ]h"]h$]h&]uh1jhjhNhMhjJNubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.Nubjl)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlinkwatch_sync_dev (C function)c.linkwatch_sync_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void linkwatch_sync_dev (struct net_device *dev)h]j )}(h/void linkwatch_sync_dev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhjNhMubj3)}(hlinkwatch_sync_devh]j9)}(hlinkwatch_sync_devh]hlinkwatch_sync_dev}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhjNhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj.OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0OmodnameN classnameNj j )}j ]j )}j jNsbc.linkwatch_sync_devasbuh1hhj Oubj")}(h h]h }(hjNOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubj )}(hj h]h*}(hj\OhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Oubj9)}(hdevh]hdev}(hjiOhhhNhNubah}(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)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjhNhNubj)}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hjOh]hstruct net_device *dev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubj)}(hhh]jl)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(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)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubjl)}(hXSync linkwatch for the given device, removing it from the pending work list (if queued).h]hXSync linkwatch for the given device, removing it from the pending work list (if queued).}(hj%PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_ok (C function)c.netif_carrier_okhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4bool netif_carrier_ok (const struct net_device *dev)h]j )}(h3bool netif_carrier_ok(const struct net_device *dev)h](jM )}(hjh]hbool}(hjTPhhhNhNubah}(h]h ]jY ah"]h$]h&g]uh1jL hjPPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjbPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPPhhhjaPhMubj3)}(hnetif_carrier_okh]j9)}(hnetif_carrier_okh]hnetif_carrier_ok}(hjtPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPPhhhjaPhMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jvPsbc.netif_carrier_okasbuh1hhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjPPhhhjaPhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLPhhhjaPhMubah}(h]jGPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjaPhMhjIPhhubjg)}(hhh]jl)}(htest if carrier presenth]htest if carrier present}(hj.QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+Qhhubah}(h]h ]h"]h$]h&]uh1jfhjIPhhhjaPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFQjjFQjjjuh1hhhhjhNhNubj)}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](jl)}(h**Parameters**h]j)}(hjPQh]h Parameters}(hjRQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJQubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjoQh]hconst struct net_device *dev}(hjqQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjiQubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjiQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjfQubah}(h]h ]h"]h$]h&]uh1jhjJQubjl)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJQubjl)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_dormant_on (struct net_device *dev)h]j )}(h-void netif_dormant_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhMubj3)}(hnetif_dormant_onh]j9)}(hnetif_dormant_onh]hnetif_dormant_on}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Rubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjQhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj,RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(Rubj")}(h h]h }(hj9RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Rubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjJRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLRmodnameN classnameNj j )}j ]j )}j jRsbc.netif_dormant_onasbuh1hhj(Rubj")}(h h]h }(hjjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Rubj )}(hj h]h*}(hjxRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(Rubj9)}(hdevh]hdev}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$Rubah}(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)}(hmark device as dormant.h]hmark device as dormant.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(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)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjRh]hstruct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hj+Sh]h Description}(hj-ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Subah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubjl)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hjAShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubjl)}(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.}(hjPShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_dormant_off (struct net_device *dev)h]j )}(h.void netif_dormant_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{ShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ShhhjShMubj3)}(hnetif_dormant_offh]j9)}(hnetif_dormant_offh]hnetif_dormant_off}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{ShhhjShMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jSsbc.netif_dormant_offasbuh1hhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hdevh]hdev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubah}(h]h ]h"]h$]h&]jPjQuh1j hj{ShhhjShMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwShhhjShMubah}(h]jrSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMhjtShhubjg)}(hhh]jl)}(hset device as not dormant.h]hset device as not dormant.}(hj?ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjQghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ghhhjPghMubj3)}(h __dev_mc_synch]j9)}(h __dev_mc_synch]h __dev_mc_sync}(hjcghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>ghhhjPghMubj )}(h(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{gubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{gubh)}(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 jegsbc.__dev_mc_syncasbuh1hhj{gubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{gubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{gubj9)}(hdevh]hdev}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{gubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwgubj )}(h5int (*sync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h(}(hj hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hsynch]hsync}(hj'hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubj )}(hj< h]h)}(hj5hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj h]h(}(hjBhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj)}(hjh]hstruct}(hjOhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hj\hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjmhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjohmodnameN classnameNj j )}j ]jgc.__dev_mc_syncasbuh1hhjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hjNjh]h,}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj)}(hj h]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj< h]h)}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwgubj )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hj+ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h(}(hj9ihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj h]h*}(hjFihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hunsynch]hunsync}(hjSihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubj )}(hj< h]h)}(hjaihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj h]h(}(hjnihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj)}(hjh]hstruct}(hj{ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]jgc.__dev_mc_syncasbuh1hhjiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hjNjh]h,}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj)}(hj h]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubjM )}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubjM )}(hcharh]hchar}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj )}(hj h]h*}(hj$jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj )}(hj< h]h)}(hj1jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>ghhhjPghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:ghhhjPghMubah}(h]j5gah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPghMhj7ghhubjg)}(hhh]jl)}(h#Synchronize device's multicast listh]h%Synchronize device’s multicast list}(hjZjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWjhhubah}(h]h ]h"]h$]h&]uh1jfhj7ghhhjPghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjjrjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Add newly added addresses to the interface, and release addresses that have been deleted.h](jl)}(h**Parameters**h]j)}(hj|jh]h Parameters}(hj~jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjvjubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjjh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubj)}(hhh]jl)}(hdevice to synch]hdevice to sync}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubj)}(hh``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added h](j)}(h;``int (*sync)(struct net_device *, const unsigned char *)``h]j)}(hjjh]h7int (*sync)(struct net_device *, const unsigned char *)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubj)}(hhh]jl)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubj)}(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 kh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj kubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjkubj)}(hhh]jl)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hj&khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"khMhj#kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj"khMhjjubeh}(h]h ]h"]h$]h&]uh1jhjvjubjl)}(h**Description**h]j)}(hjHkh]h Description}(hjJkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFkubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjvjubj)}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]jl)}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]hYAdd newly added addresses to the interface, and release addresses that have been deleted.}(hjbkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^kubah}(h]h ]h"]h$]h&]uh1jhjpkhMhjvjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_unsync (C function)c.__dev_mc_unsynchNtauh1hhjhhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhjkhMubj3)}(h__dev_mc_unsynch]j9)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhjkhMubj )}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j jksbc.__dev_mc_unsyncasbuh1hhjkubj")}(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)}(hdevh]hdev}(hj-lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjFlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBlubj")}(h h]h }(hjTlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBlubj )}(hj h]h(}(hjblhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj )}(hj h]h*}(hjolhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj9)}(hunsynch]hunsync}(hj|lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBlubj )}(hj< h]h)}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj )}(hj h]h(}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBlubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]jlc.__dev_mc_unsyncasbuh1hhjBlubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj )}(hjNjh]h,}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBlubj)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBlubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBlubjM )}(hunsignedh]hunsigned}(hj#mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBlubj")}(h h]h }(hj1mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBlubjM )}(hcharh]hchar}(hj?mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBlubj )}(hj h]h*}(hjMmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubj )}(hj< h]h)}(hjZmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhjkhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjkhMubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMhjkhhubjg)}(hhh]jl)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjmubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjmh]hstruct net_device *dev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(hhh]jl)}(hdevice to synch]hdevice to sync}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubj)}(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)}(hjmh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(hhh]jl)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hj8nh]h Description}(hj:nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6nubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjmubj)}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jl)}(hjPnh]hDRemove all addresses that were added to the device by dev_mc_sync().}(hjRnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjNnubah}(h]h ]h"]h$]h&]uh1jhj_nhM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper (C struct) c.net_shaperhNtauh1hhjhhhY/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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhKubj3)}(h net_shaperh]j9)}(hjnh]h net_shaper}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjnhKubah}(h]jynah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhKhj|nhhubjg)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK!hjnhhubah}(h]h ]h"]h$]h&]uh1jfhj|nhhhjnhKubeh}(h]h ](jstructeh"]h$]h&]jjjjnjjnjjjuh1hhhhjhj{nhNubj)}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh:}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjnubj)}(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; };}hjosbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjnubjl)}(h **Members**h]j)}(hjoh]hMembers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hjnubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hj6oh]hparent}(hj8ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4oubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hj0oubj)}(hhh]jl)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjOohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKohK$hjLoubah}(h]h ]h"]h$]h&]uh1jhj0oubeh}(h]h ]h"]h$]h&]uh1jhjKohK$hj-oubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hjooh]hhandle}(hjqohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmoubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjioubj)}(hhh]jl)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohK%hjoubah}(h]h ]h"]h$]h&]uh1jhjioubeh}(h]h ]h"]h$]h&]uh1jhjohK%hj-oubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hjoh]hmetric}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hjoubj)}(hhh]jl)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohK&hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohK&hj-oubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hjoh]hbw_min}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjoubj)}(hhh]jl)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohK'hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohK'hj-oubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjph]hbw_max}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hjpubj)}(hhh]jl)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hj3phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/phK(hj0pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj/phK(hj-oubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hjSph]hburst}(hjUphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQpubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjMpubj)}(hhh]jl)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hjlphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhphK)hjipubah}(h]h ]h"]h$]h&]uh1jhjMpubeh}(h]h ]h"]h$]h&]uh1jhjhphK)hj-oubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjph]hpriority}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjpubj)}(hhh]jl)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphK*hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphK*hj-oubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hjph]hweight}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjpubj)}(hhh]jl)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphK*hj-oubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhj{nhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhjhhhj{nhNubh)}(hhh](j)}(hnet_shaper_opsh]j )}(hstruct net_shaper_opsh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj")}(h h]h }(hj-qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhj,qhK1ubj3)}(hnet_shaper_opsh]j9)}(hjqh]hnet_shaper_ops}(hj?qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;qubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhj,qhK1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhj,qhK1ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,qhK1hjqhhubjg)}(hhh]jl)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjaqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj;yhhubah}(h]h ]h"]h$]h&]uh1jfhjsxhhhjxhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVyjjVyjjjuh1hhhhjRthNhNubj)}(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`yh]h Parameters}(hjbyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^yubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZyubj)}(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&]uh1jhj}yubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjyyubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKhjyubah}(h]h ]h"]h$]h&]uh1jhjyyubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjvyubah}(h]h ]h"]h$]h&]uh1jhjZyubjl)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(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.chKhjZyubjl)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hjyhhhNhNubj)}(h **phydev**h]hphydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh6. Returns >= 0 on success or negative errno on error.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhjRthhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj zhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hj zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj zhhhjzhKubj3)}(h phy_aneg_doneh]j9)}(h phy_aneg_doneh]h phy_aneg_done}(hj2zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.zubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj zhhhjzhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjNzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJzubj")}(h h]h }(hj[zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJzubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjlzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjizubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnzmodnameN classnameNj j )}j ]j )}j j4zsbc.phy_aneg_doneasbuh1hhjJzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJzubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJzubj9)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFzubah}(h]h ]h"]h$]h&]jPjQuh1j hj zhhhjzhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj zhhhjzhKubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhKhjzhhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjzhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjRthNhNubj)}(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)}(hjzh]h Parameters}(hjzhhhNhNubah}(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.chKhjzubj)}(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.chKhj {ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(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&]uh1jhjzubjl)}(h**Description**h]j)}(hjM{h]h Description}(hjO{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK{ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjzubjl)}(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 }(hjc{hhhNhNubj)}(h **phydev**h]hphydev}(hjk{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc{ubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjc{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhjRthhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhV/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!hj{hhhj{hKubj3)}(hphy_check_validh]j9)}(hphy_check_validh]hphy_check_valid}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhj{hKubj )}(h0(int speed, int duplex, unsigned long *features)h](j )}(h int speedh](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)}(hspeedh]hspeed}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(h int duplexh](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)}(hduplexh]hduplex}(hj1|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hunsigned long *featuresh](jM )}(hunsignedh]hunsigned}(hjJ|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjF|ubj")}(h h]h }(hjX|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF|ubjM )}(hlongh]hlong}(hjf|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjF|ubj")}(h h]h }(hjt|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjF|ubj9)}(hfeaturesh]hfeatures}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhj{hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{hhhj{hKubah}(h]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hKhj{hhubjg)}(hhh]jl)}(hScheck if there is a valid PHY setting which matches speed, duplex, and feature maskh]hScheck if there is a valid PHY setting which matches speed, duplex, and feature mask}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj|hhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhj{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjRthNhNubj)}(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)}(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)}(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}(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``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hj3}h]h int duplex}(hj5}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1}ubah}(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}(hjL}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjH}hKhjI}ubah}(h]h ]h"]h$]h&]uh1jhj-}ubeh}(h]h ]h"]h$]h&]uh1jhjH}hKhj|ubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hjl}h]hunsigned long *features}(hjn}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjf}ubj)}(hhh]jl)}(hA mask of the valid settingsh]hA mask of the valid settings}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjf}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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj|ubjl)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhjRthhhNhNubh)}(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}(hj ~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ~ubah}(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&]uh1jhj%~ubj")}(h h]h }(hj6~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%~ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjG~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjI~modnameN classnameNj j )}j ]j )}j j~sbc.phy_mii_ioctlasbuh1hhj%~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)}(hphydevh]hphydev}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!~ubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]jc~c.phy_mii_ioctlasbuh1hhj~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)}(hifrh]hifr}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!~ubj )}(hint cmdh](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)}(hcmdh]hcmd}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhj}hM-ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hM-ubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hM-hj}hhubjg)}(hhh]jl)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjNhhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(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)}(hjh]h struct ifreq}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjhM/hjubh for socket ioctl’s}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj#h]hint cmd}(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.chM0hjubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM0hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM0hjubeh}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhjRthhhNhNubh)}(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}(hjĀhhhNhNubah}(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&]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.phy_do_ioctlasbuh1hhj܀ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj܀ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj܀ubj9)}(hdevh]hdev}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj܀ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj؀ubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jc.phy_do_ioctlasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj؀ubj )}(hint cmdh](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)}(hcmdh]hcmd}(hjށhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj؀ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct net_device *dev`` the net_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to executeh](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj$ubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjIh]hstruct net_device *dev}(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.chMhjCubj)}(hhh]jl)}(hthe net_device structh]hthe net_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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)}(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.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 jjifrequh1hhjhMhjubh for socket ioctl’s}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@ubj)}(h ``int cmd`` ioctl cmd to executeh](j)}(h ``int cmd``h]j)}(hjڂh]hint cmd}(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)}(hioctl cmd to executeh]hioctl cmd to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjԂubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhjRthhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhV/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!hj0hhhjBhMubj3)}(hphy_do_ioctl_runningh]j9)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jWsbc.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}(hjʃhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hstruct ifreq *ifrh](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)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_do_ioctl_runningasbuh1hhj߃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)}(hifrh]hifr}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߃ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hint cmdh](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj9)}(hcmdh]hcmd}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjBhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhj)hhubjg)}(hhh]jl)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԄubeh}(h]h ]h"]h$]h&]uh1jhjhMhjфubj)}(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.chMhj ubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hj2h]h struct ifreq}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhj(hMhj,ubh for socket ioctl’s}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjфubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjфubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h4void phy_trigger_machine (struct phy_device *phydev)h]j )}(h3void phy_trigger_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hphy_trigger_machineh]j9)}(hphy_trigger_machineh]hphy_trigger_machine}(hj hhhNhNubah}(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}(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_trigger_machineasbuh1hhj$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 hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jޅah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM 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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÆjjÆjjjuh1hhhhjRthNhNubj)}(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.chMhjdžubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdžubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhjRthhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThM 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&]jPjQuh1j2hjBhhhjThM ubj )}(h%(struct phy_device *phydev, u8 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisbc.phy_ethtool_get_stringsasbuh1hhjubj")}(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 hj{ubj )}(hu8 *datah](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_get_stringsasbuh1hhjubj")}(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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjThM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjThM ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM hj;hhubjg)}(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 hjXhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjRthNhNubj)}(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}(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.chM$hjwubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h%``u8 *data`` Where to put the stringsh](j)}(h ``u8 *data``h]j)}(hjՈh]hu8 *data}(hj׈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӈubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM$hjψubj)}(hhh]jl)}(hWhere to put the stringsh]hWhere to put the strings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM#hjubah}(h]h ]h"]h$]h&]uh1jhjψubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhjRthhhNhNubh)}(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}(hj/hhhNhNubah}(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 }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj=hM3ubj3)}(hphy_ethtool_get_sset_counth]j9)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj=hM3ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jRsbc.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}(hjʼnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj=hM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj=hM3ubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM3hj$hhubjg)}(hhh]jl)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj=hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.chM7hj ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](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.chM9hj*ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM5hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM9hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhjRthhhNhNubh)}(hhh](j)}(h]int phy_ethtool_get_stats (struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h]j )}(h\int phy_ethtool_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMMubj3)}(hphy_ethtool_get_statsh]j9)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMMubj )}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjNJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjÊubj")}(h h]h }(hjԊhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjÊubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_statsasbuh1hhjÊubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjÊubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjÊubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÊubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_stats *statsh](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 ethtool_statsh]h ethtool_stats}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.phy_ethtool_get_statsasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hstatsh]hstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(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 }(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 hjhhhjhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMMhjhhubjg)}(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.chMMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjRthNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.chMQhj+ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjPh]hstruct phy_device *phydev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjJubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMOhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMOhjGubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjh]hstruct ethtool_stats *stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjubj)}(hhh]jl)}(hWhat counters to geth]hWhat counters to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjGubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjŒh]h u64 *data}(hjČhhhNhNubah}(h]h ]h"]h$]h&]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}(hjیhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhj،ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׌hMRhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhjRthhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(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}(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_start_cable_testasbuh1hhjUubj")}(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 )}(hstruct netlink_ext_ack *extackh](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)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_testasbuh1hhjǍubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǍubj )}(hj h]h*}(hjhhhNhNubah}(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 hjQubeh}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj*hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjƎh]hstruct netlink_ext_ack *extack}(hjȎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĎubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjߎhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhj܎ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjێhMQhjubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMubj3)}(hphy_start_cable_test_tdrh]j9)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMubj )}(h`(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j jCsbc.phy_start_cable_test_tdrasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hstruct netlink_ext_ack *extackh](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)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_test_tdrasbuh1hhjˏubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjˏubj )}(hj h]h*}(hjhhhNhNubah}(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 hjUubj )}(h#const struct phy_tdr_config *configh](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 }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(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 ]jc.phy_start_cable_test_tdrasbuh1hhj;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 hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhjhhubjg)}(hhh]jl)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(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&]uh1jfhjhhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct netlink_ext_ack *extack`` extack for reporting useful error messages ``const struct phy_tdr_config *config`` Configuration of the test to runh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjUh]hstruct netlink_ext_ack *extack}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjOubj)}(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&]uh1jhjOubeh}(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)}(hjh]h#const struct phy_tdr_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h Configuration of the test to runh]h Configuration of the test to run}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhjRthhhNhNubh)}(hhh](j)}(hSunsigned int phy_inband_caps (struct phy_device *phydev, phy_interface_t interface)h]j )}(hRunsigned int phy_inband_caps(struct phy_device *phydev, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(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_inband_capsh]j9)}(hphy_inband_capsh]hphy_inband_caps}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct phy_device *phydev, phy_interface_t interface)h](j )}(hstruct phy_device *phydevh](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 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 j'sbc.phy_inband_capsasbuh1hhj=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 hj9ubj )}(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 }(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 hj9ubeh}(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)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(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&]jjjj$jj$jjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``phy_interface_t interface`` the interface mode for the PHY **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj(ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(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.chMhjGubj)}(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&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(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&]uh1jhjhMhjDubeh}(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:113: ./drivers/net/phy/phy.chMhj(ubjl)}(hXXReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](hReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn’t implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from }(hjhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjh]henum link_inband_signalling}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhjRthhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjVhM'ubj3)}(hphy_config_inbandh]j9)}(hphy_config_inbandh]hphy_config_inband}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjVhM'ubj )}(h/(struct phy_device *phydev, unsigned int modes)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jksbc.phy_config_inbandasbuh1hhjubj")}(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 hj}ubj )}(hunsigned int modesh](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)}(hmodesh]hmodes}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjVhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjVhM'ubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhM'hj=hhubjg)}(hhh]jl)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjVhhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhjVhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hjӕh]hunsigned int modes}(hjՕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѕubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM)hj͕ubj)}(hhh]jl)}(hin-band modes to configureh]hin-band modes to configure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhj͕ubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubeh}(h]h ]h"]h$]h&]uh1jhjuubjl)}(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.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,hj'ubj)}(hhh]jl)}(h between the PHY and host system.h]h between the PHY and host system.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM,hj:ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj9hM,hj$ubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhjRthhhNhNubh)}(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}(hjŖhhhNhNubah}(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&]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 jǖsbc._phy_start_anegasbuh1hhjݖubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݖubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjݖubj9)}(hphydevh]hphydev}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݖubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjٖubah}(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*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&]uh1jfhjhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjRthNhNubj)}(hX>**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޗubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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.chMGhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhjRthhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhV/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!hjLhhhj^hMcubj3)}(hphy_start_anegh]j9)}(hphy_start_anegh]hphy_start_aneg}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj^hMcubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jssbc.phy_start_anegasbuh1hhjubj")}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj^hMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj^hMcubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMchjEhhubjg)}(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.chMchj hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj^hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjRthNhNubj)}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjKubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMdhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMdhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMfhj,ubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhhjubj)}(hhh]jl)}(hthem), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h]hthem), and then calls the driver’s config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h9int phy_speed_down (struct phy_device *phydev, bool sync)h]j )}(h8int phy_speed_down(struct phy_device *phydev, bool sync)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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_speed_downh]j9)}(hphy_speed_downh]hphy_speed_down}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h&(struct phy_device *phydev, bool sync)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_speed_downasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h 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}(hjƚhhhNhNubah}(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)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.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&]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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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:113: ./drivers/net/phy/phy.chMhj ubjl)}(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.chMhj ubjl)}(hX2WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h]hX6WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you’re sure it’s safe with the respective network chip.}(hjʛhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhjRthhhNhNubh)}(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}(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_speed_uph]j9)}(h phy_speed_uph]h phy_speed_up}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsbc.phy_speed_upasbuh1hhj2ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjќjjќjjjuh1hhhhjRthNhNubj)}(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)}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj՜ubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj՜ubjl)}(h+Used to revert the effect of phy_speed_downh]h+Used to revert the effect of phy_speed_down}(hjKhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhMubj3)}(hphy_start_machineh]j9)}(hphy_start_machineh]hphy_start_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjhMubj )}(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 reftargetjםmodnameN classnameNj j )}j ]j )}j jsbc.phy_start_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 hjvhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjhMubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjohhubjg)}(hhh]jl)}(h start PHY state machine trackingh]h start PHY state machine tracking}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjVubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjVubj)}(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}(hjӞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjϞubj)}(hhh]jl)}(hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h]hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjϞubeh}(h]h ]h"]h$]h&]uh1jhjhMhj̞ubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h*void phy_error (struct phy_device *phydev)h]j )}(h)void phy_error(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.chMMubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj4hMMubj3)}(h phy_errorh]j9)}(h phy_errorh]h phy_error}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj4hMMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jIsb 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 hj"hhhj4hMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMMhjhhubjg)}(hhh]jl)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj4hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(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.chMQhjubj)}(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.chMNhj!ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMNhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMNhjubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhjRthhhNhNubh)}(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}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jʠsbc.phy_request_interruptasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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-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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Request and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hRequest and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](j)}(h3Request and enable the interrupt for the given PHY.h]h3Request and enable the interrupt for the given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h]h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhjRthhhNhNubh)}(hhh](j)}(h3void phy_free_interrupt (struct phy_device *phydev)h]j )}(h2void phy_free_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/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!hjNhhhj`hMubj3)}(hphy_free_interrupth]j9)}(hphy_free_interrupth]hphy_free_interrupt}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.phy_free_interruptasbuh1hhjubj")}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hMubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhjGhhubjg)}(hhh]jl)}(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&]uh1jfhjGhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjRthNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hstruct phy_device *phydev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjMubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj.ubj)}(hhh]j)}(heDisable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](j)}(h1Disable and free the interrupt for the given PHY.h]h1Disable and free the interrupt for the given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(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&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhjRthhhNhNubh)}(hhh](j)}(h)void phy_stop (struct phy_device *phydev)h]j )}(h(void phy_stop(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM{ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM{ubj3)}(hphy_stoph]j9)}(hphy_stoph]hphy_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM{ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j!sb c.phy_stopasbuh1hhj7ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(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)}(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&]uh1jfhjhhhj hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj֤jj֤jjjuh1hhhhjRthNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޤubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjڤubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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:113: ./drivers/net/phy/phy.chM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڤubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhjRthhhNhNubh)}(hhh](j)}(h*void phy_start (struct phy_device *phydev)h]j )}(h)void phy_start(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhV/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!hjUhhhjghMubj3)}(h phy_starth]j9)}(h phy_starth]h phy_start}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMubj )}(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|sb c.phy_startasbuh1hhjubj")}(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 hjUhhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjNhhubjg)}(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&]uh1jfhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjRthNhNubj)}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj5ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjZh]hstruct phy_device *phydev}(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.chMhjTubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj5ubj)}(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.}(hjĦhhhNhNubah}(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&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhjRthhhNhNubh)}(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}(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_mac_interruptasbuh1hhj>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)}(hMAC says the link has changedh]hMAC says the link has changed}(hjŧhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj§hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݧjjݧjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` phy_device struct with changed link **Description** The MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` phy_device struct with changed link h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(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: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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hDint phy_loopback (struct phy_device *phydev, bool enable, int speed)h]j )}(hCint phy_loopback(struct phy_device *phydev, bool enable, int speed)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_loopbackh]j9)}(h phy_loopbackh]h phy_loopback}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h3(struct phy_device *phydev, bool enable, int speed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjèhhhNhNubah}(h]h ]jah"]h$]h&]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_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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(henableh]henable}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj{hhubjg)}(hhh]jl)}(hConfigure 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{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjǩjjǩjjjuh1hhhhjRthNhNubj)}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hj)h]h bool enable}(hj+hhhNhNubah}(h]h ]h"]h$]h&]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 or disable loopback modeh]henable or disable loopback mode}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(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&]uh1jhjwhMhjubeh}(h]h ]h"]h$]h&]uh1jhj˩ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj˩ubjl)}(hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.h]hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj˩ubjl)}(h **Return**h]j)}(hjĪh]hReturn}(hjƪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjªubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj˩ubjl)}(h-0 on success, negative error code on failure.h]h-0 on success, negative error code on failure.}(hjڪhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj˩ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]j )}(hubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM.hjhhubjg)}(hhh]jl)}(h*indicate whether the MAC can stop tx clockh]h*indicate whether the MAC can stop tx clock}(hjɫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjƫhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]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.chM/hjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjubjl)}(hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h]hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhjRthhhNhNubh)}(hhh](j)}(hKint phy_eee_rx_clock_stop (struct phy_device *phydev, bool clk_stop_enable)h]j )}(hJint phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMBubj3)}(hphy_eee_rx_clock_stoph]j9)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMBubj )}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjǬhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjìubj")}(h h]h }(hjԬhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjìubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_eee_rx_clock_stopasbuh1hhjìubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjìubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjìubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjìubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hclk_stop_enableh]hclk_stop_enable}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMBubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMBhjhhubjg)}(hhh]jl)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hXP**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` flag to indicate whether the clock can be stopped **Description** Configure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4. **Return** 0 or negative error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjحhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԭhMChjխubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԭhMChjubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hjh]hbool clk_stop_enable}(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)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMDhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubjl)}(hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.h]hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjubjl)}(h **Return**h]j)}(hjZh]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMHhjubjl)}(h0 or negative error.h]h0 or negative error.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhjRthhhNhNubh)}(hhh](j)}(hBint phy_init_eee (struct phy_device *phydev, bool clk_stop_enable)h]j )}(hAint phy_init_eee(struct phy_device *phydev, bool clk_stop_enable)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMWubj3)}(h phy_init_eeeh]j9)}(h phy_init_eeeh]h phy_init_eee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMWubj )}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjܮhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjخubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjخubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j®sbc.phy_init_eeeasbuh1hhjخubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjخubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjخubj9)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjخubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjԮubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(hclk_stop_enableh]hclk_stop_enable}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjԮubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMWubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMWubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMWhjhhubjg)}(hhh]jl)}(hinit and check the EEE featureh]hinit and check the EEE feature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX]**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` PHY may stop the clock during LPI **Description** it checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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.chMXhjίubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjίubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj˯ubj)}(h;``bool clk_stop_enable`` PHY may stop the clock during LPI h](j)}(h``bool clk_stop_enable``h]j)}(hj h]hbool clk_stop_enable}(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.chMYhjubj)}(hhh]jl)}(h!PHY may stop the clock during LPIh]h!PHY may stop the clock during LPI}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMYhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMYhj˯ubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjubjl)}(hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h]hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the “Clock stop enable” bit if required.}(hj^hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h/int phy_get_eee_err (struct phy_device *phydev)h]j )}(h.int phy_get_eee_err(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubj3)}(hphy_get_eee_errh]j9)}(hphy_get_eee_errh]hphy_get_eee_err}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMuubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjʰhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjưubj")}(h h]h }(hjװhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjưubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_get_eee_errasbuh1hhjưubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjưubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjưubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjưubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj°ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMuubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjhhubjg)}(hhh]jl)}(hreport the EEE wake error counth]hreport the EEE wake error count}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuhjJhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMvhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hjɱh]h Description}(hj˱hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDZubah}(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.}(hj߱hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhjRthhhNhNubh)}(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 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_ethtool_get_eeeh]j9)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j j1sbc.phy_ethtool_get_eeeasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hstruct ethtool_keee *datah](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_keeeh]h ethtool_keee}(hj۲hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjزubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݲmodnameN classnameNj j )}j ]jc.phy_ethtool_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 hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjRthNhNubj)}(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.chMhjZubj)}(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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(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}(hjѳhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjͳhMhjγubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͳhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(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.chMhjZubjl)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hj hhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhjRthhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhMubj3)}(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&]jPjQuh1j2hjFhhhjXhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jmsbc.phy_ethtool_set_eeeasbuh1hhjubj")}(h h]h }(hjŴhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjӴhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjXhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhMubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMhj?hhubjg)}(hhh]jl)}(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&]uh1jfhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it is to program the Advertisement EEE register.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjԵhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjеhMhjѵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjеhMhjubj)}(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}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hjEhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhMubj3)}(hphy_ethtool_set_wolh]j9)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhMubj )}(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}(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_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN 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 hjphhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhMubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjihhubjg)}(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&]uh1jfhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Configuration requestedh](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)}(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.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)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(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)}(hConfiguration requestedh]hConfiguration requested}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjܷubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjhMubj3)}(hphy_ethtool_get_wolh]j9)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjhMubj )}(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 }(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_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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.phy_ethtool_get_wolasbuh1hhj#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)}(hwolh]hwol}(hj~hhhNhNubah}(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)}(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&]uh1jfhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Store the current configuration hereh](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)}(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)}(hj"h]hstruct ethtool_wolinfo *wol}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h$Store the current configuration hereh]h$Store the current configuration here}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubeh}(h]h ]h"]h$]h&]uh1jhjĹubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhM&ubj3)}(hphy_ethtool_nway_reseth]j9)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhM&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 }(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_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 hjxhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhM&ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjqhhubjg)}(hhh]jl)}(hRestart auto negotiationh]hRestart auto negotiation}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&hj9hhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjRthNhNubj)}(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*hjXubj)}(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}(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.chM,hjwubj)}(hhh]jl)}(h%Network device to restart autoneg forh]h%Network device to restart autoneg for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhjRthhhNhNubh)}(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}(hj׻hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjӻhhhV/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!hjӻhhhjhKubj3)}(hphy_config_interrupth]j9)}(hphy_config_interrupth]hphy_config_interrupt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjӻhhhjhKubj )}(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 }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jsbc.phy_config_interruptasbuh1hhjubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hbool interruptsh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interruptsh]h interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(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&]uh1jfhj̻hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hj h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hjEh]hbool interrupts}(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.chKhj?ubj)}(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&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubjl)}(h%Returns 0 on success or < 0 on error.h]h%Returns 0 on success or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhjRthhhNhNubh)}(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}(hjӽhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϽhhhV/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!hjϽhhhjhKubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϽhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϽhhhjhKubj3)}(hphy_supported_speedsh]j9)}(hphy_supported_speedsh]hphy_supported_speeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϽhhhjhKubj )}(hA(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(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 jsbc.phy_supported_speedsasbuh1hhj(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)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hunsigned int *speedsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjȾhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj־hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(hj4hhhNhNubah}(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)}(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&]uh1jfhjȽhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phy`` The phy device to return supported speeds of. ``unsigned int *speeds`` buffer to store supported speeds in. ``unsigned int size`` size of speeds buffer. **Description** Returns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hjؿh]hunsigned int *speeds}(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.chKhjҿubj)}(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&]uh1jhjҿubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.chKhj ubj)}(hhh]jl)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hKhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhjubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhjRthhhNhNubh)}(hhh](j)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]j )}(h5void phy_sanitize_settings(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_sanitize_settingsh]j9)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_sanitize_settingsasbuh1hhjubj")}(h h]h }(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hthe target phy_device structh]hthe target phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhjRthhhNhNubh)}(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}(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)}(h__phy_hwtstamp_geth]j9)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhMubj )}(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 }(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_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.__phy_hwtstamp_getasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjBhhhNhNubah}(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)}(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&]uh1jfhj1hhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration **Description** Query the PHY device for its current hardware timestamping configuration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjh]h%struct kernel_hwtstamp_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hj7hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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 jsbc.__phy_hwtstamp_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%struct kernel_hwtstamp_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]jc.__phy_hwtstamp_setasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_hwtstamp_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjthMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjthMubah}(h]jYah ](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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration ``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]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)}(h7``struct phy_device *phydev`` the PHY device structure h](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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(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&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhjRthhhNhNubh)}(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 }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMubj3)}(hphy_queue_state_machineh]j9)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMubj )}(h2(struct phy_device *phydev, unsigned long jiffies)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_queue_state_machineasbuh1hhjLubj")}(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 hjHubj )}(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 hjHubeh}(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%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjRthNhNubj)}(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)}(hjFh]h Parameters}(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.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)}(hjh]hunsigned long jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhjRthhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jsbc.__phy_ethtool_get_phy_statsasbuh1hhj1ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-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 }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_phy_statsh]hethtool_phy_stats}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]joc.__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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.chMdhj ubj)}(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&]uh1jkhj'hMdhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMdhjubj)}(hR``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure h](j)}(h*``struct ethtool_phy_stats *phydev_stats``h]j)}(hjKh]h&struct ethtool_phy_stats *phydev_stats}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMehjEubj)}(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&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMehjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMghjubjl)}(hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h]hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhjRthhhNhNubh)}(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}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj")}(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 hjubj )}(h)struct ethtool_link_ext_stats *link_statsh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jB"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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.chMyhj6ubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMyhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMyhj3ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj3ubeh}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhjRthhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_plca_cfgasbuh1hhj.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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(hstruct phy_plca_cfg *plca_cfgh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]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}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj"hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjRthNhNubj)}(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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjAubj)}(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}(hjhhhNhNubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*where to store the retrieved configurationh]h*where to store the retrieved configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjAubjl)}(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.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhjRthhhNhNubh)}(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 }(hj.hhhNhNubah}(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&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj-hMubj )}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j )}j jBsbc.plca_check_validasbuh1hhjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_cfgh]hplca_cfg}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj-hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj-hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hMhjhhubjg)}(hhh]jl)}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjTh]h#const struct phy_plca_cfg *plca_cfg}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjNubj)}(hhh]jl)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hphy_ethtool_set_plca_cfgh]j9)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j j0sbc.phy_ethtool_set_plca_cfgasbuh1hhjFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_set_plca_cfgasbuh1hhjubj")}(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)}(hplca_cfgh]hplca_cfg}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(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 ]jc.phy_ethtool_set_plca_cfgasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(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)}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj"hhhNhNubah}(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)}(hjBh]h#const struct phy_plca_cfg *plca_cfg}(hjDhhhNhNubah}(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)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h]heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhjRthhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM.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&]jPjQuh1j2hjhhhj hM.ubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)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_ethtool_get_plca_statusasbuh1hhj4ubj")}(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 hj0ubj )}(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 hj0ubeh}(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 PLCA RS status informationh]hGet PLCA RS status information}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.hj(hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjRthNhNubj)}(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)}(hjMh]h Parameters}(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.chM2hjGubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM/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&]uh1jhjGubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM2hjGubjl)}(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.chM1hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhjRthhhNhNubh)}(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}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj3hMubj3)}(hphy_check_link_statush]j9)}(hphy_check_link_statush]hphy_check_link_status}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj3hMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jHsbc.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 hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj3hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj3hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMhjhhubjg)}(hhh]jl)}(h+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&]uh1jfhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(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)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(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&]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhjRthhhNhNubh)}(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 }(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM)ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM)hjhhubjg)}(hhh]jl)}(h#stop the PHY state machine trackingh]h#stop the PHY state machine tracking}(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&]uh1jfhjhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Stops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hjubj)}(hhh]j)}(hStops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](j)}(h3Stops the state machine delayed workqueue, sets theh]h3Stops the state machine delayed workqueue, sets the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-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&]uh1jkhj hM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_barrier (C function)c.phy_write_barrierhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h2void phy_write_barrier (struct phy_device *phydev)h]j )}(h1void phy_write_barrier(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.chM\ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj_hM\ubj3)}(hphy_write_barrierh]j9)}(hphy_write_barrierh]hphy_write_barrier}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj_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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jtsbc.phy_write_barrierasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj_hM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj_hM\ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hM\hjFhhubjg)}(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&]uh1jfhjFhhhj_hM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjRthNhNubj)}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hj-ubj)}(hhh]j)}(h7``struct phy_device *phydev`` 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.chM]hjLubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM]hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM]hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM_hj-ubjl)}(hMDIO bus controllers are not required to wait for write transactions to complete before returning. Calling this function ensures that the previous write has completed.h]hMDIO bus controllers are not required to wait for write transactions to complete before returning. Calling this function ensures that the previous write has completed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhjRthhhNhNubh)}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jsbc.phy_disable_interruptsasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMlubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMlhjhhubjg)}(hhh]jl)}(h,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhjRthhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN 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 }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhjQhM}ubj3)}(h phy_interrupth]j9)}(hjNh]h phy_interrupt}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhjQhM}ubj )}(h(int irq, void *phy_dat)h](j )}(hint irqh](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)}(hirqh]hirq}(hjhhhNhNubah}(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)hhhjQhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhjQhM}ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhM}hj"hhubjg)}(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&]uh1jfhj"hhhjQhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]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)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hjHh]hint irq}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM~hjBubj)}(hhh]jl)}(hinterrupt lineh]hinterrupt line}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hM~hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM~hj?ubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjh]h void *phy_dat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj{ubj)}(hhh]jl)}(hphy_device pointerh]hphy_device pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(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)}(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.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhjRthhhNhNubh)}(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}(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 }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.phy_enable_interruptsasbuh1hhj: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 hj6ubah}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhjRthhhNhNubh)}(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 hjXhhhV/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!hjXhhhjjhMubj3)}(hphy_update_statsh]j9)}(hphy_update_statsh]hphy_update_stats}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_update_statsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMhjQhhubjg)}(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&]uh1jfhjQhhhjjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjRthNhNubj)}(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)}(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.chMhj8ubj)}(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.chMhjWubj)}(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&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj8ubjl)}(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.chMhj8ubjl)}(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.chMhj8ubjl)}(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.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhjRthhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_get_next_update_timeh]j9)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hjAhhhNhNubah}(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&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j jCsbc.phy_get_next_update_timeasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubah}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hj!h]hstruct phy_device *phydev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h#Pointer to the phy_device structureh]h#Pointer to the phy_device structure}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubah}(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&]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)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhjRthhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jsbc.phy_state_machineasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhjRthhhNhNubh)}(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}(hj#hhhNhNubah}(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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubj3)}(hphy_ethtool_set_eee_nonegh]j9)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMubj )}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.phy_ethtool_set_eee_nonegasbuh1hhj\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 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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.phy_ethtool_set_eee_nonegasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hold_cfgh]hold_cfg}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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)}(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&]uh1jfhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` pointer to the target PHY device structure ``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings **Description** This function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(hI``struct phy_device *phydev`` pointer to the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*pointer to the target PHY device structureh]h*pointer to the target PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hi``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings h](j)}(h$``const struct eee_config *old_cfg``h]j)}(hjh]h const struct eee_config *old_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hCpointer to the eee_config structure containing the old EEE settingsh]hCpointer to the eee_config structure containing the old EEE settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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)}(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.}(hj9hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhjuhKubj")}(h h]h }(hjhhhNhNubah}(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+jjjuh1hhhhjRthNhNubj)}(h1**Parameters** ``int speed`` Speed of the linkh](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(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.chKhj/ubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hjTh]h int speed}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjNubj)}(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&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhjRthhhNhNubh)}(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 }(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hduplexh]hduplex}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKLhjubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKNhjubj)}(hhh]jl)}(hDuplex setting to describeh]hDuplex setting to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhjRthhhNhNubh)}(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&]uh1jhj hhh[/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!hj hhhjhKYubjM )}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhjhKYubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhKYubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhKYubj3)}(hphy_rate_matching_to_strh]j9)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhKYubj )}(h(int rate_matching)h]j )}(hint rate_matchingh](jM )}(hinth]hint}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhKYubeh}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(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_delayshNtauh1hhjRthhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(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_delaysasbuh1hhjRhhh[/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!hjRhhhjzhKnubj3)}(hphy_fix_phy_mode_for_mac_delaysh]j9)}(hjwh]hphy_fix_phy_mode_for_mac_delays}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjzhKnubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool mac_rxidh](jM )}(hjh]hbool}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmac_rxidh]hmac_rxid}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjzhKnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjzhKnubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhKnhjKhhubjg)}(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&]uh1jfhjKhhhjzhKnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX6**Parameters** ``phy_interface_t interface`` The current interface mode of the port ``bool mac_txid`` True if the mac adds internal tx delay ``bool mac_rxid`` True if the mac adds internal rx delay **Return** fixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKrhjubj)}(hhh](j)}(hE``phy_interface_t interface`` The current interface mode of the port h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKqhjubj)}(hhh]jl)}(h&The current interface mode of the porth]h&The current interface mode of the port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjubj)}(h9``bool mac_txid`` True if the mac adds internal tx delay h](j)}(h``bool mac_txid``h]j)}(hjh]h bool mac_txid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKrhjubj)}(hhh]jl)}(h&True if the mac adds internal tx delayh]h&True if the mac adds internal tx delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hKshj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKshjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjWh]hReturn}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhjubjl)}(hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh]hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delay}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhjRthhhNhNubh)}(hhh](j)}(h7int phy_interface_num_ports (phy_interface_t interface)h]j )}(h6int phy_interface_num_ports(phy_interface_t interface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_interface_num_portsh]j9)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_interface_num_portsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(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)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjRthNhNubj)}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjPubj)}(hhh]j)}(hS``phy_interface_t interface`` The interface mode we want to get the number of portsh](j)}(h``phy_interface_t interface``h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhjRthhhNhNubh)}(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}(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_set_max_speedasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jFc.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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hKhj.ubah}(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)}(hjQh]h u32 max_speed}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjKubj)}(hhh]jl)}(h Maximum speedh]h Maximum speed}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubjl)}(hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h]hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhjRthhhNhNubh)}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j jsbc.phy_resolve_aneg_pauseasbuh1hhj 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}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM9ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM9hjhhubjg)}(hhh]jl)}(hDetermine pause autoneg resultsh]hDetermine pause autoneg results}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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.}(hj#hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhjRthhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhh[/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!hjNhhhj`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&]jPjQuh1j2hjNhhhj`hMOubj )}(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 jusbc.phy_resolve_aneg_linkmodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hMOubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMOhjGhhubjg)}(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&]uh1jfhjGhhhj`hMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjRthNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(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.chMShj.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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhjMubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMPhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMPhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhj.ubjl)}(hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h]hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhjRthhhNhNubh)}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j jsbc.__phy_read_mmdasbuh1hhj 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}(hjihhhNhNubah}(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 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 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 ]jJc.__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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjRthNhNubj)}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(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.chMhj,ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjQh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjKubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h+``int devad`` The MMD to read from (0..31) 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 from (0..31)h]hThe MMD to read from (0..31)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(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&]uh1jhjhMhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhjRthhhNhNubh)}(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}(hjChhhNhNubah}(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 }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhjQhMubj3)}(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&]jPjQuh1j2hj?hhhjQhMubj )}(h2(struct phy_device *phydev, int devad, u32 regnum)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 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 }(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?hhhjQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhjQhMubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhMhj8hhubjg)}(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.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(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:119: ./drivers/net/phy/phy-core.chMhj-ubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]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.chMhjubjl)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__phy_write_mmdh]j9)}(h__phy_write_mmdh]h__phy_write_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_write_mmdasbuh1hhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j*c.__phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjRthNhNubj)}(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)}(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:119: ./drivers/net/phy/phy-core.chMhjTubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyh]hstruct phy_device *phydev}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjsubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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&]uh1jhjhMhjpubj)}(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&]uh1jhjhMhjpubj)}(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.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj=hhhNhNubj)}(h **regnum**h]hregnum}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjTubjl)}(h Same rules as for __phy_write();h]h Same rules as for __phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hMint phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hLint phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_write_mmdh]j9)}(h phy_write_mmdh]h phy_write_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_write_mmdasbuh1hhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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 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 hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j)c.phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j)c.phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(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)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjRthNhNubj)}(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)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjSubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjxh]hstruct phy_device *phydev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(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)}(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.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj<hhhNhNubj)}(h **regnum**h]hregnum}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubjl)}(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.chMhjSubjl)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(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*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]j(c.phy_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 hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j(c.phy_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j(c.phy_modify_changedasbuh1hhjubj")}(h h]h }(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM$hjFhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjRthNhNubj)}(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)}(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)}(hj5h]hu16 set}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM(hj/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 }(hjNhhhNhNubj)}(h **regnum**h]hregnum}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(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&]uh1jhjeubjl)}(h**NOTE**h]j)}(hj~h]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.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.}(hjhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhjRthhhNhNubh)}(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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jsbc.__phy_modifyasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hjhhhhNhNubah}(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 ]jIc.__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 ]jIc.__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 ]jIc.__phy_modifyasbuh1hhj ubj")}(h h]h }(hj2hhhNhNubah}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hXo**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMAhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM>hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM?hjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM@hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM@hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjVh]hu16 set}(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.chMAhjPubj)}(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&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhjRthhhNhNubh)}(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}(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 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[ c.phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[ c.phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j[ c.phy_modifyasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hXn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMVhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMShjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(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&]uh1jkhj hMThj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMThjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj/h]hu16 mask}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMUhj)ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMUhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMUhjubj)}(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 }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhjRthhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMiubj3)}(h__phy_modify_mmd_changedh]j9)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMiubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj3 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ ubj")}(h h]h }(hj@ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS modnameN classnameNj j )}j ]j )}j j sbc.__phy_modify_mmd_changedasbuh1hhj/ ubj")}(h h]h }(hjq hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ ubj9)}(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 ]jm c.__phy_modify_mmd_changedasbuh1hhj 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 ]jm c.__phy_modify_mmd_changedasbuh1hhj ubj")}(h h]h }(hjC hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmaskh]hmask}(hjQ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjm hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo modnameN classnameNj j )}j ]jm c.__phy_modify_mmd_changedasbuh1hhjf ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf ubj9)}(hseth]hset}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMihjhhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(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.chMihj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRthNhNubj)}(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)}(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.chMmhj 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.chMjhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMjhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMjhj 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.chMkhj7 ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR hMkhjS ubah}(h]h ]h"]h$]h&]uh1jhj7 ubeh}(h]h ]h"]h$]h&]uh1jhjR hMkhj ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjv h]h u32 regnum}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMlhjp ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMlhj ubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj hMlhj 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.chMmhj ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMmhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMmhj ubj)}(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.chMnhj 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 hMnhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMnhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj1 h]h Description}(hj3 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.chMphj ubjl)}(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}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohj 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}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMrhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h`int phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(h_int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hphy_modify_mmd_changedh]j9)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.phy_modify_mmd_changedasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int devadh](jM )}(hinth]hint}(hj4 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0 ubj")}(h h]h }(hjB hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0 ubj9)}(hdevadh]hdevad}(hjP hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjl hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn modnameN classnameNj j )}j ]j c.phy_modify_mmd_changedasbuh1hhje ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje ubj9)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.phy_modify_mmd_changedasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmaskh]hmask}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.phy_modify_mmd_changedasbuh1hhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hseth]hset}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj} hhhj hMubah}(h]jx ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjz hhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjz hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi: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&]uh1jhjhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj>h]hu16 mask}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj8ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjwh]hu16 set}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjqubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjnubjl)}(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.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.}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhjRthhhNhNubh)}(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}(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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hMubj3)}(h__phy_modify_mmdh]j9)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.__phy_modify_mmdasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(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 hjIubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_modify_mmdasbuh1hhjubj")}(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 hjIubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]jc.__phy_modify_mmdasbuh1hhj<ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hmaskh]hmask}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(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_mmdasbuh1hhjubj")}(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 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)}(h4Convenience function for modifying a register on MMDh]h4Convenience 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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjUubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(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}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjOh]hNOTE}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhjRthhhNhNubh)}(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}(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)}(hphy_modify_mmdh]j9)}(hphy_modify_mmdh]hphy_modify_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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_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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hjQhhhNhNubah}(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}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j c.phy_modify_mmdasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(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_mmdasbuh1hhjubj")}(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_mmdasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj7hhhNhNubah}(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)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj^hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjRthNhNubj)}(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)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjMh]hu16 mask}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjGubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjubj)}(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.chMhjubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj}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: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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhjRthhhNhNubh)}(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}(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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hMubj3)}(h phy_save_pageh]j9)}(h phy_save_pageh]h phy_save_page}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.phy_save_pageasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhj hhubjg)}(hhh]jl)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj.hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj8h]hstruct phy_device}(hj:hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6ubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhjRthhhNhNubh)}(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}(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)}(hphy_select_pageh]j9)}(hphy_select_pageh]hphy_select_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h%(struct phy_device *phydev, int page)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_select_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)}(hphydevh]hphydev}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint pageh](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)}(hpageh]hpage}(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)}(h8take the bus lock, save the current page, and set a pageh]h8take the bus lock, save the current page, and set a page}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj h]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(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``int page`` desired page h](j)}(h ``int page``h]j)}(hjBh]hint page}(hjDhhhNhNubah}(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&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhjRthhhNhNubh)}(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}(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)}(hphy_restore_pageh]j9)}(hphy_restore_pageh]hphy_restore_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h1(struct phy_device *phydev, int oldpage, int ret)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_restore_pageasbuh1hhjubj")}(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 int oldpageh](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(holdpageh]holdpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint reth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreth]hret}(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)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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&]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 }(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)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hjh]h int oldpage}(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)}(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()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hjh]hint ret}(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)}(hoperation's return codeh]hoperation’s return code}(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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjl)}(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 }(hjhhhNhNubj)}(h **oldpage**h]holdpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjl)}(h **Return**h]j)}(hj2h]hReturn}(hj4hhhNhNubah}(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.chMhjubjl)}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh' if it was a negative value, otherwise }(hjHhhhNhNubj)}(h**ret**h]hret}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hjHhhhNhNubj)}(h**ret**h]hret}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM7ubj3)}(hphy_read_pagedh]j9)}(hphy_read_pagedh]hphy_read_paged}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM7ubj )}(h1(struct phy_device *phydev, int page, 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 jsbc.phy_read_pagedasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint pageh](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(hpageh]hpage}(hjthhhNhNubah}(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.phy_read_pagedasbuh1hhjubj")}(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 hjhhhjhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM7ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM7hjhhubjg)}(hhh]jl)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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:119: ./drivers/net/phy/phy-core.chM;hjubj)}(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.chM8hj!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)}(hjJh]hstruct phy_device}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj<hM8hj@ubeh}(h]h ]h"]h$]h&]uh1jkhj<hM8hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM8hjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjh]hint page}(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.chM9hjyubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM:hjubj)}(hhh]jl)}(hregister numberh]hregister number}(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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM<hjubjl)}(hSame rules as for phy_read().h]hSame rules as for phy_read().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhjRthhhNhNubh)}(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}(hj8 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4 hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKubj")}(h h]h }(hjG hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4 hhhjF hMKubj3)}(hphy_write_pagedh]j9)}(hphy_write_pagedh]hphy_write_paged}(hjY hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4 hhhjF hMKubj )}(h:(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hju hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq 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_pagedasbuh1hhjq 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 ubj )}(hint pageh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hpageh]hpage}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjm ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!!modnameN classnameNj j )}j ]j c.phy_write_pagedasbuh1hhj!ubj")}(h h]h }(hj=!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hregnumh]hregnum}(hjK!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjm ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjg!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji!modnameN classnameNj j )}j ]j c.phy_write_pagedasbuh1hhj`!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 hjm ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4 hhhjF hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0 hhhjF hMKubah}(h]j+ ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjF hMKhj- hhubjg)}(hhh]jl)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing 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.chMKhj!hhubah}(h]h ]h"]h$]h&]uh1jfhj- hhhjF hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjRthNhNubj)}(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)}(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.chMOhj!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.chMLhj!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"hMLhj"ubeh}(h]h ]h"]h$]h&]uh1jkhj"hMLhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMLhj!ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjV"h]hint page}(hjX"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT"ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMMhjP"ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjo"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjk"hMMhjl"ubah}(h]h ]h"]h$]h&]uh1jhjP"ubeh}(h]h ]h"]h$]h&]uh1jhjk"hMMhj!ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj"h]h u32 regnum}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMNhj"ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMNhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMNhj!ubj)}(h``u16 val`` value to write 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.chMOhj"ubj)}(hhh]jl)}(hvalue to writeh]hvalue to write}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMOhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMOhj!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.chMQhj!ubjl)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhjRthhhNhNubh)}(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}(hjH#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD#hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`ubj")}(h h]h }(hjW#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD#hhhjV#hM`ubj3)}(hphy_modify_paged_changedh]j9)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hji#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjD#hhhjV#hM`ubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(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 jk#sbc.phy_modify_paged_changedasbuh1hhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}#ubj )}(hint pageh](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj9)}(hpageh]hpage}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}#ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj/$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1$modnameN classnameNj j )}j ]j#c.phy_modify_paged_changedasbuh1hhj($ubj")}(h h]h }(hjM$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}(hjw$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjy$modnameN classnameNj j )}j ]j#c.phy_modify_paged_changedasbuh1hhjp$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjp$ubj9)}(hmaskh]hmask}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp$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_paged_changedasbuh1hhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hseth]hset}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}#ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjD#hhhjV#hM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@#hhhjV#hM`ubah}(h]j;#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjV#hM`hj=#hhubjg)}(hhh]jl)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`hj%hhubah}(h]h ]h"]h$]h&]uh1jfhj=#hhhjV#hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-%jj-%jjjuh1hhhhjRthNhNubj)}(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)}(hj7%h]h Parameters}(hj9%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5%ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhj1%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)}(hjV%h]hstruct phy_device *phydev}(hjX%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT%ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMahjP%ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjo%hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjy%h]hstruct phy_device}(hj{%hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjw%ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjk%hMahjo%ubeh}(h]h ]h"]h$]h&]uh1jkhjk%hMahjl%ubah}(h]h ]h"]h$]h&]uh1jhjP%ubeh}(h]h ]h"]h$]h&]uh1jhjk%hMahjM%ubj)}(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.chMbhj%ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(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``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj%h]h u32 regnum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMchj%ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMchj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMchjM%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.chMdhj&ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5&hMdhj6&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj5&hMdhjM%ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjY&h]hu16 set}(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.chMehjS&ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjr&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn&hMehjo&ubah}(h]h ]h"]h$]h&]uh1jhjS&ubeh}(h]h ]h"]h$]h&]uh1jhjn&hMehjM%ubeh}(h]h ]h"]h$]h&]uh1jhj1%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.chMghj1%ubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfhj1%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hYint phy_modify_paged (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]j )}(hXint phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj&hMwubj3)}(hphy_modify_pagedh]j9)}(hphy_modify_pagedh]hphy_modify_paged}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj&hMwubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj#'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj4'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6'modnameN classnameNj j )}j ]j )}j j&sbc.phy_modify_pagedasbuh1hhj'ubj")}(h h]h }(hjT'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjb'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hphydevh]hphydev}(hjo'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hint pageh](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hpageh]hpage}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jP'c.phy_modify_pagedasbuh1hhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hregnumh]hregnum}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj (modnameN classnameNj j )}j ]jP'c.phy_modify_pagedasbuh1hhj(ubj")}(h h]h }(hj&(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hmaskh]hmask}(hj4(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjP(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjR(modnameN classnameNj j )}j ]jP'c.phy_modify_pagedasbuh1hhjI(ubj")}(h h]h }(hjn(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI(ubj9)}(hseth]hset}(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&hMwubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj&hMwubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hMwhj&hhubjg)}(hhh]jl)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwhj(hhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj&hMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjRthNhNubj)}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Same rules as for phy_read() and phy_write().h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj(ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj(h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMxhj(ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj)hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj )h]hstruct phy_device}(hj )hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj(hMxhj)ubeh}(h]h ]h"]h$]h&]uh1jkhj(hMxhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMxhj(ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj?)h]hint page}(hjA)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMyhj9)ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjX)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjT)hMyhjU)ubah}(h]h ]h"]h$]h&]uh1jhj9)ubeh}(h]h ]h"]h$]h&]uh1jhjT)hMyhj(ubj)}(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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMzhj)ubah}(h]h ]h"]h$]h&]uh1jhjr)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMzhj(ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj)h]hu16 mask}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj)ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM{hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM{hj(ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj)h]hu16 set}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM|hj)ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM|hj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM|hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(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~hj(ubjl)}(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}hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhjRthhhNhNubh)}(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}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*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 j*sbc.genphy_c45_pma_resumeasbuh1hhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hphydevh]hphydev}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubah}(h]h ]h"]h$]h&]jPjQuh1j 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&]jjjjB+jjB+jjjuh1hhhhjRthNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjL+h]h Parameters}(hjN+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK6hjF+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}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK3hj+ubah}(h]h ]h"]h$]h&]uh1jhje+ubeh}(h]h ]h"]h$]h&]uh1jhj+hK8hjb+ubah}(h]h ]h"]h$]h&]uh1jhjF+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhjRthhhNhNubh)}(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*}(hjN,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hphydevh]hphydev}(hj[,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hK@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hK@ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hK@hj+hhubjg)}(hhh]jl)}(hsuspends the PMA moduleh]hsuspends the PMA module}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hj,hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hK@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhjRthhhNhNubh)}(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}(hjA-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&]uh1jhjY-ubj")}(h h]h }(hjj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY-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 jC-sb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhjY-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)}(hphydevh]hphydev}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU-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-jjjuh1hhhhjRthNhNubj)}(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.chKPhj7.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj6.hKThj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhjRthhhNhNubh)}(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 }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw.hhhj.hKlubj3)}(hgenphy_c45_pma_setup_forcedh]j9)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjw.hhhj.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.hhhj.hKlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjs.hhhj.hKlubah}(h]jn.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.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.chKlhj8/hhubah}(h]h ]h"]h$]h&]uh1jfhjp.hhhj.hKlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS/jjS/jjjuh1hhhhjRthNhNubj)}(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.chKphjW/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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKmhj/ubah}(h]h ]h"]h$]h&]uh1jhjv/ubeh}(h]h ]h"]h$]h&]uh1jhj/hKrhjs/ubah}(h]h ]h"]h$]h&]uh1jhjW/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhjRthhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj 0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj10hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj30modnameN classnameNj j )}j ]j )}j j/sbc.genphy_c45_an_config_anegasbuh1hhj0ubj")}(h h]h }(hjQ0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hj_0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hphydevh]hphydev}(hjl0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj 0ubah}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjRthNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hj0ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj0h]hstruct phy_device *phydev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubah}(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:122: ./drivers/net/phy/phy-c45.chMhj0ubjl)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubjl)}(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.}(hj71hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhjRthhhNhNubh)}(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}(hjf1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjb1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj")}(h h]h }(hju1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb1hhhjt1hM9ubj3)}(hgenphy_c45_an_disable_anegh]j9)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjb1hhhjt1hM9ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j1sbc.genphy_c45_an_disable_anegasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubah}(h]h ]h"]h$]h&]jPjQuh1j hjb1hhhjt1hM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^1hhhjt1hM9ubah}(h]jY1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjt1hM9hj[1hhubjg)}(hhh]jl)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hj&2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj#2hhubah}(h]h ]h"]h$]h&]uh1jfhj[1hhhjt1hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>2jj>2jjjuh1hhhhjRthNhNubj)}(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)}(hjH2h]h Parameters}(hjJ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hjB2ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjg2h]hstruct phy_device *phydev}(hji2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hja2ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|2hM:hj}2ubah}(h]h ]h"]h$]h&]uh1jhja2ubeh}(h]h ]h"]h$]h&]uh1jhj|2hM:hj^2ubah}(h]h ]h"]h$]h&]uh1jhjB2ubjl)}(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:122: ./drivers/net/phy/phy-c45.chM<hjB2ubjl)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hjB2ubjl)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hjB2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhjRthhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj3hMNubj3)}(hgenphy_c45_restart_anegh]j9)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj3hMNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj33hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/3ubj")}(h h]h }(hj@3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/3ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQ3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS3modnameN classnameNj j )}j ]j )}j j3sbc.genphy_c45_restart_anegasbuh1hhj/3ubj")}(h h]h }(hjq3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/3ubj9)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj3hMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj3hMNubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMNhj2hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj3hMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjRthNhNubj)}(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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhj3ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhj3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 4hMOhj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj 4hMOhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj24h]h Description}(hj44hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj04ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhj3ubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjH4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhj3ubjl)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hjW4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhjRthhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMbubj3)}(h!genphy_c45_check_and_restart_anegh]j9)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMbubj )}(h)(struct phy_device *phydev, bool restart)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j4sb#c.genphy_c45_check_and_restart_anegasbuh1hhj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h bool restarth](jM )}(hjh]hbool}(hj55hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj15ubj")}(h h]h }(hjB5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj15ubj9)}(hrestarth]hrestart}(hjP5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj15ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~4hhhj4hMbubah}(h]jy4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMbhj{4hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjz5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjw5hhubah}(h]h ]h"]h$]h&]uh1jfhj{4hhhj4hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjRthNhNubj)}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhj5ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj5h]hstruct phy_device *phydev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchj5ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMchj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMchj5ubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hj5h]h bool restart}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhj5ubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 6hMdhj 6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj 6hMdhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj/6h]h Description}(hj16hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhj5ubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjE6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehj5ubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjT6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhjRthhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hMubj3)}(hgenphy_c45_aneg_doneh]j9)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j j6sbc.genphy_c45_aneg_doneasbuh1hhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj 7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hphydevh]hphydev}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{6hhhj6hMubah}(h]jv6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhjx6hhubjg)}(hhh]jl)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hjC7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj@7hhubah}(h]h ]h"]h$]h&]uh1jfhjx6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[7jj[7jjjuh1hhhhjRthNhNubj)}(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)}(hje7h]h Parameters}(hjg7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_7ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj7h]hstruct phy_device *phydev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj~7ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj~7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj{7ubah}(h]h ]h"]h$]h&]uh1jhj_7ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_7ubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_7ubjl)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhjRthhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj"8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj!8hMubj3)}(hgenphy_c45_read_linkh]j9)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hj48hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj08ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj!8hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjP8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL8ubj")}(h h]h }(hj]8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL8ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjn8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp8modnameN classnameNj j )}j ]j )}j j68sbc.genphy_c45_read_linkasbuh1hhjL8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL8ubj9)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjH8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj!8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 8hhhj!8hMubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!8hMhj8hhubjg)}(hhh]jl)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj!8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjRthNhNubj)}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj-9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)9hMhj*9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj)9hMhj 9ubah}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hjO9h]h Description}(hjQ9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM9ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubjl)}(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.}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhjRthhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMubj3)}(hgenphy_c45_read_lpah]j9)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMubj )}(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_c45_read_lpaasbuh1hhj9ubj")}(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 hj9hhhj9hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMhj9hhubjg)}(hhh]jl)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hjT:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQ:hhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl:jjl:jjjuh1hhhhjRthNhNubj)}(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)}(hjv:h]h Parameters}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjp: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:ubah}(h]h ]h"]h$]h&]uh1jhjp:ubjl)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjp:ubjl)}(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 }(hj:hhhNhNubj)}(h **phydev**h]hphydev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh. 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.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjp:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhjRthhhNhNubh)}(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}(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 }(hj6;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#;hhhj5;hM: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}(hjH;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#;hhhj5;hM:ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjd;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`;ubj")}(h h]h }(hjq;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`;ubh)}(hhh]j9)}(h 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;sb)c.genphy_c45_pma_baset1_read_master_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)}(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#;hhhj5;hM:ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhj5;hM:ubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5;hM:hj;hhubjg)}(hhh]jl)}(h&read forced master/slave configurationh]h&read forced master/slave configuration}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hj;hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj5;hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjRthNhNubj)}(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.chM>hj<ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj(<h]hstruct phy_device *phydev}(hj*<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM@hj"<ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjA<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@hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhjRthhhNhNubh)}(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}(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.chMVubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~<hhhj<hMVubj3)}(hgenphy_c45_read_pmah]j9)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~<hhhj<hMVubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j j<sbc.genphy_c45_read_pmaasbuh1hhj<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<hMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjz<hhhj<hMVubah}(h]ju<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMVhjw<hhubjg)}(hhh]jl)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hjB=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhj?=hhubah}(h]h ]h"]h$]h&]uh1jfhjw<hhhj<hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZ=jjZ=jjjuh1hhhhjRthNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjd=h]h Parameters}(hjf=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb=ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMZhj^=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.chM\hj}=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.chMWhj=ubah}(h]h ]h"]h$]h&]uh1jhj}=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM\hjz=ubah}(h]h ]h"]h$]h&]uh1jhj^=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhjRthhhNhNubh)}(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}(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_read_mdixh]j9)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(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}(hj8>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:>modnameN classnameNj j )}j ]j )}j j>sbc.genphy_c45_read_mdixasbuh1hhj>ubj")}(h h]h }(hjX>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjf>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hphydevh]hphydev}(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)}(hread mdix status from PMAh]hread mdix status from PMA}(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>jjjuh1hhhhjRthNhNubj)}(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.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&]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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhjRthhhNhNubh)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhjRthhhNhNubh)}(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}(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 }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjHhMubj3)}(hgenphy_c45_config_anegh]j9)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjHhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj/HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+Hubj")}(h h]h }(hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCUmodnameN classnameNj j )}j ]j )}j j Usbc.genphy_c45_ethtool_get_eeeasbuh1hhjUubj")}(h h]h }(hjaUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjoUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hphydevh]hphydev}(hj|UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j]Uc.genphy_c45_ethtool_get_eeeasbuh1hhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hdatah]hdata}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjThMubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMhjThhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.Vjj.Vjjjuh1hhhhjRthNhNubj)}(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)}(hj8Vh]h Parameters}(hj:VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Vubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2Vubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjWVh]hstruct phy_device *phydev}(hjYVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQVubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjpVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlVhMhjmVubah}(h]h ]h"]h$]h&]uh1jhjQVubeh}(h]h ]h"]h$]h&]uh1jhjlVhMhjNVubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjVh]hstruct ethtool_keee *data}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjVubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjNVubeh}(h]h ]h"]h$]h&]uh1jhj2Vubjl)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2Vubjl)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2Vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhjRthhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj WhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj WhhhjWhMubj3)}(hgenphy_c45_ethtool_set_eeeh]j9)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hj1WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Wubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj WhhhjWhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjMWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIWubj")}(h h]h }(hjZWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIWubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjkWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmWmodnameN classnameNj j )}j ]j )}j j3Wsbc.genphy_c45_ethtool_set_eeeasbuh1hhjIWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIWubj9)}(hphydevh]hphydev}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEWubj )}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jWc.genphy_c45_ethtool_set_eeeasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hj XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hdatah]hdata}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEWubeh}(h]h ]h"]h$]h&]jPjQuh1j hj WhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjWhMubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhjWhhubjg)}(hhh]jl)}(hset EEE supported and statush]hset EEE supported and status}(hj@XhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj=Xhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXXjjXXjjjuh1hhhhjRthNhNubj)}(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)}(hjbXh]h Parameters}(hjdXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Xubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\Xubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjXh]hstruct phy_device *phydev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj{Xubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhj{Xubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjxXubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjXh]hstruct ethtool_keee *data}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjXubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjxXubeh}(h]h ]h"]h$]h&]uh1jhj\Xubjl)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\Xubjl)}(hXfsets 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]hXfsets 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.}(hj YhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_oatc14_cable_test_get_status (C function))c.genphy_c45_oatc14_cable_test_get_statushNtauh1hhjRthhhNhNubh)}(hhh](j)}(hWint genphy_c45_oatc14_cable_test_get_status (struct phy_device *phydev, bool *finished)h]j )}(hVint genphy_c45_oatc14_cable_test_get_status(struct phy_device *phydev, bool *finished)h](jM )}(hinth]hint}(hj:YhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6YhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMJubj")}(h h]h }(hjIYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6YhhhjHYhMJubj3)}(h'genphy_c45_oatc14_cable_test_get_statush]j9)}(h'genphy_c45_oatc14_cable_test_get_statush]h'genphy_c45_oatc14_cable_test_get_status}(hj[YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6YhhhjHYhMJubj )}(h+(struct phy_device *phydev, bool *finished)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjwYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsYubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j j]Ysb)c.genphy_c45_oatc14_cable_test_get_statusasbuh1hhjsYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsYubj9)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoYubj )}(hbool *finishedh](jM )}(hjh]hbool}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hfinishedh]hfinished}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoYubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6YhhhjHYhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2YhhhjHYhMJubah}(h]j-Yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHYhMJhj/Yhhubjg)}(hhh]jl)}(h/Get status of OATC14 10Base-T1S PHY cable test.h]h/Get status of OATC14 10Base-T1S PHY cable test.}(hj;ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMJhj8Zhhubah}(h]h ]h"]h$]h&]uh1jfhj/YhhhjHYhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSZjjSZjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` pointer to the PHY device structure ``bool *finished`` pointer to a boolean set true if the test is complete **Description** Retrieves the current status of the OATC14 10Base-T1S PHY cable test. This function reads the OATC14 HDD register to determine whether the test results are valid and whether the test has finished. If the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result(), and then clears the test control bit in the PHY register to reset the test state. **Return** 0 on success, or a negative error code on failure (e.g. register read/write error).h](jl)}(h**Parameters**h]j)}(hj]Zh]h Parameters}(hj_ZhhhNhNubah}(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.chMNhjWZubj)}(hhh](j)}(hB``struct phy_device *phydev`` pointer to the PHY device structure 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMLhjvZubj)}(hhh]jl)}(h#pointer to the PHY device structureh]h#pointer to the PHY device structure}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMLhjZubah}(h]h ]h"]h$]h&]uh1jhjvZubeh}(h]h ]h"]h$]h&]uh1jhjZhMLhjsZubj)}(hI``bool *finished`` pointer to a boolean set true if the test is complete h](j)}(h``bool *finished``h]j)}(hjZh]hbool *finished}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMhjZubj)}(hhh]jl)}(h5pointer to a boolean set true if the test is completeh]h5pointer to a boolean set true if the test is complete}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMMhjsZubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhjWZubjl)}(hRetrieves the current status of the OATC14 10Base-T1S PHY cable test. This function reads the OATC14 HDD register to determine whether the test results are valid and whether the test has finished.h]hRetrieves the current status of the OATC14 10Base-T1S PHY cable test. This function reads the OATC14 HDD register to determine whether the test results are valid and whether the test has finished.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjWZubjl)}(hIf the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result(), and then clears the test control bit in the PHY register to reset the test state.h]hIf the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result(), and then clears the test control bit in the PHY register to reset the test state.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjWZubjl)}(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:122: ./drivers/net/phy/phy-c45.chMVhjWZubjl)}(hS0 on success, or a negative error code on failure (e.g. register read/write error).h]hS0 on success, or a negative error code on failure (e.g. register read/write error).}(hj<[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhjWZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/genphy_c45_oatc14_cable_test_start (C function)$c.genphy_c45_oatc14_cable_test_starthNtauh1hhjRthhhNhNubh)}(hhh](j)}(hBint genphy_c45_oatc14_cable_test_start (struct phy_device *phydev)h]j )}(hAint genphy_c45_oatc14_cable_test_start(struct phy_device *phydev)h](jM )}(hinth]hint}(hjk[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjg[hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMxubj")}(h h]h }(hjz[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjg[hhhjy[hMxubj3)}(h"genphy_c45_oatc14_cable_test_starth]j9)}(h"genphy_c45_oatc14_cable_test_starth]h"genphy_c45_oatc14_cable_test_start}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjg[hhhjy[hMxubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j[sb$c.genphy_c45_oatc14_cable_test_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)}(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 hjg[hhhjy[hMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjc[hhhjy[hMxubah}(h]j^[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjy[hMxhj`[hhubjg)}(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+\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMxhj(\hhubah}(h]h ]h"]h$]h&]uh1jfhj`[hhhjy[hMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjC\jjC\jjjuh1hhhhjRthNhNubj)}(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)}(hjM\h]h Parameters}(hjO\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK\ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM|hjG\ubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjl\h]hstruct phy_device *phydev}(hjn\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMzhjf\ubj)}(hhh]jl)}(h#Pointer to the PHY device structureh]h#Pointer to the PHY device structure}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMzhj\ubah}(h]h ]h"]h$]h&]uh1jhjf\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMzhjc\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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM|hjG\ubjl)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM{hjG\ubjl)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjG\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:122: ./drivers/net/phy/phy-c45.chMhjG\ubjK)}(hhh](jK)}(h 0 on successh]jl)}(hj\h]h 0 on success}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\ubah}(h]h ]h"]h$]h&]uh1jKhj\ubjK)}(h6-EOPNOTSUPP if the PHY does not support HDD capabilityh]jl)}(hj]h]h6-EOPNOTSUPP if the PHY does not support HDD capability}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]ubah}(h]h ]h"]h$]h&]uh1jKhj\ubjK)}(h8A negative error code on I/O or register access failuresh]jl)}(hj(]h]h8A negative error code on I/O or register access failures}(hj*]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj&]ubah}(h]h ]h"]h$]h&]uh1jKhj\ubeh}(h]h ]h"]h$]h&]jLj uh1jKhj]hMhjG\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_oatc14_get_sqi_max (C function)c.genphy_c45_oatc14_get_sqi_maxhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h=int genphy_c45_oatc14_get_sqi_max (struct phy_device *phydev)h]j )}(hnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhj:nubj)}(hhh]jl)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hjYnhhhNhNubj)}(h **writes**h]hwrites}(hjanhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYnubh + }(hjYnhhhNhNubj)}(h **reads**h]hreads}(hjsnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYnubeh}(h]h ]h"]h$]h&]uh1jkhjUnhMRhjVnubah}(h]h ]h"]h$]h&]uh1jhj:nubeh}(h]h ]h"]h$]h&]uh1jhjUnhMRhj7nubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hjnh]herrors}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjnubj)}(hhh]jl)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMShjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMShj7nubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hjnh]hwrites}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjnubj)}(hhh]jl)}(hNumber of write transfersh]hNumber of write transfers}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMThjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMThj7nubj)}(h#``reads`` Number of read transfers h](j)}(h ``reads``h]j)}(hj oh]hreads}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj oubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjoubj)}(hhh]jl)}(hNumber of read transfersh]hNumber of read transfers}(hj$ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj ohMUhj!oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj ohMUhj7nubj)}(h5``syncp`` Synchronisation for incrementing statisticsh](j)}(h ``syncp``h]j)}(hjDoh]hsyncp}(hjFohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj>oubj)}(hhh]jl)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hj]ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjZoubah}(h]h ]h"]h$]h&]uh1jhj>oubeh}(h]h ]h"]h$]h&]uh1jhjYohMUhj7nubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhjRthhhNhNubh)}(hhh](j)}(hmii_bush]j )}(hstruct mii_bush](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohM\ubj3)}(hmii_bush]j9)}(hjoh]hmii_bus}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjohM\ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohM\hjohhubjg)}(hhh]jl)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjohhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohM\ubeh}(h]h ](jstructeh"]h$]h&]jjjjojjojjjuh1hhhhjRthNhNubj)}(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}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh:}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjoubj)}(hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };h]hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };}hjpsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjoubjl)}(h **Members**h]j)}(hj.ph]hMembers}(hj0phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,pubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(hhh](j)}(h``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hjMph]howner}(hjOphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjGpubj)}(hhh]jl)}(hWho owns this deviceh]hWho owns this device}(hjfphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbphMdhjcpubah}(h]h ]h"]h$]h&]uh1jhjGpubeh}(h]h ]h"]h$]h&]uh1jhjbphMdhjDpubj)}(hA``name`` User friendly name for this MDIO device, or driver name h](j)}(h``name``h]j)}(hjph]hname}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjpubj)}(hhh]jl)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMehjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMehjDpubj)}(hB``id`` Unique identifier for this bus, typical from bus hierarchy h](j)}(h``id``h]j)}(hjph]hid}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhjpubj)}(hhh]jl)}(h:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMfhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMfhjDpubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hjph]hpriv}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjpubj)}(hhh]jl)}(hDriver private datah]hDriver private data}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj qhMghjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj qhMghjDpubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hj1qh]hread}(hj3qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/qubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhj+qubj)}(hhh]jl)}(h"Perform a read transfer on the bush]h"Perform a read transfer on the bus}(hjJqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFqhMqhjGqubah}(h]h ]h"]h$]h&]uh1jhj+qubeh}(h]h ]h"]h$]h&]uh1jhjFqhMqhjDpubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjjqh]hwrite}(hjlqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjdqubj)}(hhh]jl)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMshjqubah}(h]h ]h"]h$]h&]uh1jhjdqubeh}(h]h ]h"]h$]h&]uh1jhjqhMshjDpubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hjqh]hread_c45}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjqubj)}(hhh]jl)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMuhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMuhjDpubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hjqh]h write_c45}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjqubj)}(hhh]jl)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMwhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMwhjDpubj)}(h%``reset`` Perform a reset of the bus h](j)}(h ``reset``h]j)}(hjrh]hreset}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjrubj)}(hhh]jl)}(hPerform a reset of the bush]hPerform a reset of the bus}(hj.rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*rhMzhj+rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj*rhMzhjDpubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hjNrh]hstats}(hjPrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjHrubj)}(hhh]jl)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(hjgrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcrhM}hjdrubah}(h]h ]h"]h$]h&]uh1jhjHrubeh}(h]h ]h"]h$]h&]uh1jhjcrhM}hjDpubj)}(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)}(hjrh]h mdio_lock}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjDpubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjrh]hparent}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(hhh]jl)}(hParent device of this bush]hParent device of this bus}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjDpubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hjrh]hstate}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(hhh]jl)}(hState of bus structureh]hState of bus structure}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjshMhjDpubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hj3sh]hdev}(hj5shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1subah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-subj)}(hhh]jl)}(hKernel device representationh]hKernel device representation}(hjLshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHshMhjIsubah}(h]h ]h"]h$]h&]uh1jhj-subeh}(h]h ]h"]h$]h&]uh1jhjHshMhjDpubj)}(h-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjlsh]hmdio_map}(hjnshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfsubj)}(hhh]jl)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjfsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjDpubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hjsh]hphy_mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubj)}(hhh]jl)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjDpubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjsh]hphy_ignore_ta_mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubj)}(hhh]jl)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjDpubj)}(hW``irq`` An array of interrupts, each PHY's interrupt at the index matching its address h](j)}(h``irq``h]j)}(hjth]hirq}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(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}(hj0thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj,thMhjDpubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hjQth]hreset_delay_us}(hjSthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKtubj)}(hhh]jl)}(h&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfthMhjgtubah}(h]h ]h"]h$]h&]uh1jhjKtubeh}(h]h ]h"]h$]h&]uh1jhjfthMhjDpubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjth]hreset_post_delay_us}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(hhh]jl)}(h)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjDpubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjth]h reset_gpiod}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(hhh]jl)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjDpubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hjth]h shared_lock}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(hhh]jl)}(h$protect access to the shared elementh]h$protect access to the shared element}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjDpubj)}(h-``shared`` shared state across different PHYsh](j)}(h ``shared``h]j)}(hj5uh]hshared}(hj7uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3uubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/uubj)}(hhh]jl)}(h"shared state across different PHYsh]h"shared state across different PHYs}(hjNuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKuubah}(h]h ]h"]h$]h&]uh1jhj/uubeh}(h]h ]h"]h$]h&]uh1jhjJuhMhjDpubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(h**Description**h]j)}(hjxuh]h Description}(hjzuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvuubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubjl)}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhjRthhhNhNubh)}(hhh](j)}(h%struct mii_bus * mdiobus_alloc (void)h]j )}(h#struct mii_bus *mdiobus_alloc(void)h](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjuhMubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j mdiobus_allocsbc.mdiobus_allocasbuh1hhjuhhhjuhMubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjuhMubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuhhhjuhMubj3)}(h mdiobus_alloch]j9)}(hjuh]h mdiobus_alloc}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjuhMubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hj0vhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,vubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(vubah}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjuhMubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhjuhhubjg)}(hhh]jl)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hjZvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjWvhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrvjjrvjjjuh1hhhhjRthNhNubj)}(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|vh]h Parameters}(hj~vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzvubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvvubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjvh]hvoid}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjvubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhKhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjvubah}(h]h ]h"]h$]h&]uh1jhjvvubjl)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjvvubjl)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h phy_stateh]j )}(henum phy_stateh](j)}(hjh]henum}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj)whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhj(whMubj3)}(h phy_stateh]j9)}(hjwh]h phy_state}(hj;whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7wubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhj(whMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhj(whMubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(whMhjwhhubjg)}(hhh]jl)}(hPHY state machine states:h]hPHY state machine states:}(hj]whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZwhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhj(whMubeh}(h]h ](jenumeh"]h$]h&]jjjjuwjjuwjjjuh1hhhhjRthNhNubj)}(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)}(hjwh]h Constants}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}wubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjywubj)}(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)}(hjwh]hPHY_DOWN}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(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 }(hjwhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubj)}(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)}(hjwh]h PHY_READY}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubj)}(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)}(hj xh]h PHY_HALTED}(hj"xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubj)}(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 }(hj9xhhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hjAxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9xubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj5xhMhjwubj)}(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)}(hjhxh]h PHY_ERROR}(hjjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbxubj)}(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 }(hjxhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~xubah}(h]h ]h"]h$]h&]uh1jhjbxubeh}(h]h ]h"]h$]h&]uh1jhj}xhMhjwubj)}(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)}(hjxh]hPHY_UP}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubj)}(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 }(hjxhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh or }(hjxhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjwubj)}(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)}(hj yh]h PHY_RUNNING}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(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 }(hj#yhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hj+yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#yubh' if link goes down - phy_stop moves to }(hj#yhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj=yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#yubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjwubj)}(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)}(hjdyh]h PHY_NOLINK}(hjfyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj^yubj)}(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}yhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}yubh( if link comes back - phy_stop moves to }(hj}yhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}yubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzyubah}(h]h ]h"]h$]h&]uh1jhj^yubeh}(h]h ]h"]h$]h&]uh1jhjyyhMhjwubj)}(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)}(hjyh]h PHY_CABLETEST}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(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 }(hjyhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjwubeh}(h]h ]h"]h$]h&]uh1jhjywubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_c45_device_idsh]j )}(hstruct phy_c45_device_idsh](j)}(hjh]hstruct}(hj&zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"zhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubj")}(h h]h }(hj4zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"zhhhj3zhM ubj3)}(hphy_c45_device_idsh]j9)}(hj zh]hphy_c45_device_ids}(hjFzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"zhhhj3zhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhj3zhM ubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3zhM hjzhhubjg)}(hhh]jl)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(hjhzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjezhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhj3zhM ubeh}(h]h ](jstructeh"]h$]h&]jjjjzjjzjjjuh1hhhhjRthNhNubj)}(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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh:}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjzubj)}(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]; };}hjzsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubjl)}(h **Members**h]j)}(hjzh]hMembers}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hjzh]hdevices_in_package}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjzubj)}(hhh]jl)}(h-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM hjzubj)}(h-``mmds_present`` bit vector of MMDs present. h](j)}(h``mmds_present``h]j)}(hj{h]h mmds_present}(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)}(hbit vector of MMDs present.h]hbit vector of MMDs present.}(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 hjzubj)}(h=``device_ids`` The device identifier for each present device.h](j)}(h``device_ids``h]j)}(hjG{h]h device_ids}(hjI{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjA{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&]uh1jhjA{ubeh}(h]h ]h"]h$]h&]uh1jhj\{hM hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_oatc14_sqi_capability (C struct)c.phy_oatc14_sqi_capabilityhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_oatc14_sqi_capabilityh]j )}(h struct phy_oatc14_sqi_capabilityh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hMubj3)}(hphy_oatc14_sqi_capabilityh]j9)}(hj{h]hphy_oatc14_sqi_capability}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(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)}(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{hhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhj{hMubeh}(h]h ](jstructeh"]h$]h&]jjjj{jj{jjjuh1hhhhjRthNhNubj)}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh:}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(h]struct phy_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; };}hj |sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubjl)}(h **Members**h]j)}(hj1|h]hMembers}(hj3|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)}(hK``updated`` Indicates whether the SQI capability fields have been updated. h](j)}(h ``updated``h]j)}(hjP|h]hupdated}(hjR|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJ|ubj)}(hhh]jl)}(h>Indicates whether the SQI capability fields have been updated.h]h>Indicates whether the SQI capability fields have been updated.}(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)}(hX``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. h](j)}(h ``sqi_max``h]j)}(hj|h]hsqi_max}(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)}(hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.h]hKMaximum supported Signal Quality Indicator (SQI) level reported by the 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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjG|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)}(hj|h]h sqiplus_bits}(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)}(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)}(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|hM#hjG|ubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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'hjRthhubjl)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h phy_deviceh]j )}(hstruct phy_deviceh](j)}(hjh]hstruct}(hjD}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 }(hjR}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@}hhhjQ}hM*ubj3)}(h phy_deviceh]j9)}(hj>}h]h phy_device}(hjd}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@}hhhjQ}hM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<}hhhjQ}hM*ubah}(h]j7}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQ}hM*hj9}hhubjg)}(hhh]jl)}(hAn instance of a PHYh]hAn instance of a PHY}(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&]uh1jfhj9}hhhjQ}KhM*ubeh}(h]h ](jstructeh"]h$]h&]jjjj}jj}jjjuh1hhhhjRthNhNubj)}(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}(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.hhM3hj}ubj)}(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; };}hj}sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hj}ubjl)}(h **Members**h]j)}(hj}h]hMembers}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj}ubj)}(hhh](j)}(h!``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}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hM2hj ~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hM2hj}ubj)}(h4``drv`` Pointer to the driver for this PHY instance h](j)}(h``drv``h]j)}(hj,~h]hdrv}(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.hhM3hj&~ubj)}(hhh]jl)}(h+Pointer to the driver for this PHY instanceh]h+Pointer to the driver for this PHY instance}(hjE~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjA~hM3hjB~ubah}(h]h ]h"]h$]h&]uh1jhj&~ubeh}(h]h ]h"]h$]h&]uh1jhjA~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)}(hje~h]hdevlink}(hjg~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc~ubah}(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&]uh1jhjz~hM5hj}ubj)}(h``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. h](j)}(h ``phyindex``h]j)}(hj~h]hphyindex}(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.hhM8hj~ubj)}(hhh]jl)}(hUnique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet.h]hUnique id across the phy’s parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn’t assigned an id yet.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM8hj}ubj)}(h6``phy_id`` UID for this device found during discovery h](j)}(h ``phy_id``h]j)}(hj~h]hphy_id}(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.hhM9hj~ubj)}(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&]uh1jhj~ubeh}(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:hj ubj)}(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&]uh1jkhj'hM:hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM:hj}ubj)}(h>``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjKh]his_c45}(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.hhM;hjEubj)}(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&]uh1jhjEubeh}(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)}(hjh]h is_internal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM<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)}(hjh]his_gigabit_capable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubj)}(hhh]jl)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM>hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM>hj}ubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hj/h]h has_fixups}(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.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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhM?hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM?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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hM@hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM@hj}ubj)}(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.hhMAhjubj)}(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&]uh1jhjubeh}(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)}(hjڀh]h sysfs_links}(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.hhMBhjԀubj)}(hhh]jl)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjԀubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj}ubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hjh]hloopback_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChj ubj)}(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&]uh1jkhj(hMChj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMChj}ubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjLh]hdownshifted_rate}(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.hhMDhjFubj)}(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&]uh1jhjFubeh}(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)}(hjh]his_on_sfp_module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjubj)}(hhh]jl)}(h,Set true if PHY is located on an SFP module.h]h,Set true if PHY is located on an SFP module.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj}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}(hjׁhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjӁhMFhjԁubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӁhMFhj}ubj)}(hU``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. h](j)}(h``wol_enabled``h]j)}(hjh]h wol_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubj)}(hhh]jl)}(hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.h]hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMHhj}ubj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hj1h]his_genphy_driven}(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.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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMIhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMIhj}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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMnhj}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.hhMphjubj)}(hhh]jl)}(hCurrent link stateh]hCurrent link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj܂h]hautoneg_complete}(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.hhMqhjւubj)}(hhh]jl)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjւubeh}(h]h ]h"]h$]h&]uh1jhjhMqhj}ubj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hjh]hpause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubj)}(hhh]jl)}(h Current pauseh]h Current pause}(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(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hjNh]h asym_pause}(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.hhM`hjHubj)}(hhh]jl)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchM`hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM`hj}ubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjh]h interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubj)}(hhh]jl)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj}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}(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)}(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}(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&]uh1jhjՃhMwhj}ubj)}(h``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume h](j)}(h ``irq_rerun``h]j)}(hjh]h irq_rerun}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjubj)}(hhh]jl)}(htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resumeh]htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj}ubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hj4h]hdefault_timestamp}(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.hhM{hj.ubj)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM{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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMohj}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}(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.hhMKhjڄubj)}(hhh]jl)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjڄubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj}ubj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hjh]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM|hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM|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)}(hjRh]hpossible_interfaces}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM~hjLubj)}(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&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM~hj}ubj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjh]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubj)}(hhh]jl)}(hCurrent link speedh]hCurrent link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj}ubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjŅh]hduplex}(hjDžhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÅubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubj)}(hhh]jl)}(hCurrent duplexh]hCurrent duplex}(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``port`` Current port h](j)}(h``port``h]j)}(hjh]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjubj)}(hhh]jl)}(h Current porth]h Current port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj}ubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hj7h]hmaster_slave_get}(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)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj}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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}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}(hj†hhhNhNubah}(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)}(hjh]h supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj܆ubj)}(hhh]jl)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhj܆ubeh}(h]h ]h"]h$]h&]uh1jhjhMahj}ubj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hjh]h advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubj)}(hhh]jl)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMbhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMbhj}ubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjTh]hlp_advertising}(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)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMkhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMkhj}ubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hjh]hadv_old}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjubj)}(hhh]jl)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchj}ubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjƇh]h supported_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.hhMdhjubj)}(hhh]jl)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hj߇hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjۇhMdhj܇ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۇhMdhj}ubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hjh]hadvertising_eee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubj)}(hhh]jl)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj}ubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hj8h]heee_disabled_modes}(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.hhMmhj2ubj)}(hhh]jl)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMmhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMmhj}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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj}ubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(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}(hjÈhhhNhNubah}(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)}(hjh]hautonomous_eee_disabled}(hjhhhNhNubah}(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)}(hPSet when autonomous EEE has been disabled, used to re-apply after PHY soft reseth]hPSet when autonomous EEE has been disabled, used to re-apply after PHY soft reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjubah}(h]h ]h"]h$]h&]uh1jhj݈ubeh}(h]h ]h"]h$]h&]uh1jhjhMihj}ubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjh]heee_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubj)}(hhh]jl)}(hUser configuration of EEEh]hUser configuration of EEE}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMjhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMjhj}ubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hjVh]hhost_interfaces}(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.hhMlhjPubj)}(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&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMlhj}ubj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hjh]hphy_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)}(hArray of LED triggersh]hArray of LED triggers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjȉh]hphy_num_led_triggers}(hjʉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƉubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj‰ubj)}(hhh]jl)}(h*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hjhhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhj݉hMhjމubah}(h]h ]h"]h$]h&]uh1jhj‰ubeh}(h]h ]h"]h$]h&]uh1jhj݉hMhj}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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jl)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(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``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hjHh]hled_link_trigger}(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)}(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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj}ubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjh]hleds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(hhh]jl)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}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)}(hjӊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϊhMRhjЊubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϊhMRhj}ubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPointer to driver private datah]hPointer to driver private data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(hA``shared`` Pointer to private data shared by phys in one package h](j)}(h ``shared``h]j)}(hj,h]hshared}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj&ubj)}(hhh]jl)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj}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)}(hjh]hehdr}(hjhhhNhNubah}(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$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hj׋h]hnest}(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'Netlink nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjыubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hjh]h state_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jl)}(hWork queue for state machineh]hWork queue for state machine}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj}ubj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hjIh]hlock}(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)}(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&]uh1jhjCubeh}(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)}(hjh]hsfp_bus_attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj|ubj)}(hhh]jl)}(h5Flag indicating whether the SFP bus has been attachedh]h5Flag indicating whether the SFP bus has been attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMThj}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}(hjԌhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjЌhMUhjьubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЌhMUhj}ubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubj)}(hhh]jl)}(h(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMShj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMShj}ubj)}(h@``attached_dev`` The attached enet driver's device instance ptr h](j)}(h``attached_dev``h]j)}(hj-h]h attached_dev}(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.hhMVhj'ubj)}(hhh]jl)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMVhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMVhj}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}(hjhhhNhNubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h'``ports`` List of PHY ports structures h](j)}(h ``ports``h]j)}(hj؍h]hports}(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)}(hList of PHY ports structuresh]hList of PHY ports structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjҍubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h:``n_ports`` Number of ports currently attached to the PHY h](j)}(h ``n_ports``h]j)}(hjh]hn_ports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(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&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj}ubj)}(h8``max_n_ports`` Max number of ports this PHY can expose h](j)}(h``max_n_ports``h]j)}(hjJh]h max_n_ports}(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'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&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj}ubj)}(h``mdix`` Current crossover h](j)}(h``mdix``h]j)}(hjh]hmdix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhj}ubj)}(hhh]jl)}(hCurrent crossoverh]hCurrent crossover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMrhj}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}(hjՎhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjюhMshjҎubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjюhMshj}ubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hjh]h pma_extable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjubj)}(hhh]jl)}(h3Cached value of PMA/PMD Extended Abilities Registerh]h3Cached value of PMA/PMD Extended Abilities Register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMthj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMthj}ubj)}(h3``link_down_events`` Number of times link was lost h](j)}(h``link_down_events``h]j)}(hj.h]hlink_down_events}(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.hhMhj(ubj)}(hhh]jl)}(hNumber of times link was losth]hNumber of times link was lost}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj}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}(hjhhhNhNubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj}ubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjԏubj)}(hhh]jl)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjԏubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj}ubj)}(hN``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYh](j)}(h``oatc14_sqi_capability``h]j)}(hjh]hoatc14_sqi_capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubj)}(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]jK)}(hhh](jK)}(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&]uh1jKhjpubjK)}(h3Bits [23:16] are currently reserved for future use.h]jl)}(hjh]h3Bits [23:16] are currently reserved for future use.}(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&]uh1jKhjpubjK)}(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&]uh1jKhjpubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjhMKhjlubah}(h]h ]h"]h$]h&]uh1jhjhMKhjRthhubjl)}(hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interruptsh]hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interrupts}(hjɐhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjRthhubjl)}(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}(hjؐhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_tdr_configh]j )}(hstruct phy_tdr_configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM[ubj3)}(hphy_tdr_configh]j9)}(hjh]hphy_tdr_config}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hj?hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM[ubeh}(h]h ](jstructeh"]h$]h&]jjjjZjjZjjjuh1hhhhjRthNhNubj)}(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; };}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.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}(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)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hjh]hlast}(hjhhhNhNubah}(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 last data collection pointh]h'Distance for last data collection point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hj!h]hstep}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(hhh]jl)}(h#Step between data collection pointsh]h#Step between data collection points}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM?hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM?hjubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hjZh]hpair}(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.hhM?hjTubj)}(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&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM?hjubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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.hhMChjRthhubjl)}(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@hjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhjRthhhNhNubh)}(hhh](j)}(hlink_inband_signallingh]j )}(henum link_inband_signallingh](j)}(hjh]henum}(hjےhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjגhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjגhhhjhMHubj3)}(hlink_inband_signallingh]j9)}(hjՒh]hlink_inband_signalling}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjגhhhjhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjӒhhhjhMHubah}(h]jΒah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMHhjВhhubjg)}(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&]uh1jfhjВhhhjhMHubeh}(h]h ](jenumeh"]h$]h&]jjjj5jj5jjjuh1hhhhjRthNhNubj)}(h**Constants** ``LINK_INBAND_DISABLE`` in-band signalling can be disabled ``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass ``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](jl)}(h **Constants**h]j)}(hj?h]h Constants}(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.hhMShj9ubj)}(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.hhMVhjXubj)}(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&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMVhjUubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjh]hLINK_INBAND_ENABLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjubj)}(hhh]jl)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjUubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hjГh]hLINK_INBAND_BYPASS}(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-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(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[hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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^hjRthhubjl)}(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.hhMThjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhjRthhhNhNubh)}(hhh](j)}(h phy_plca_cfgh]j )}(hstruct phy_plca_cfgh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhT/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!hjMhhhj^hM\ubj3)}(h phy_plca_cfgh]j9)}(hjKh]h phy_plca_cfg}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj^hM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj^hM\ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hM\hjFhhubjg)}(hhh]jl)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration 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.hhMahjhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhj^hM\ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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; };}hjДsbah}(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}(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.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjubj)}(hhh]jl)}(hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.h]hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hj:h]henabled}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihj4ubj)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMihjubj)}(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.}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. h](j)}(h ``node_cnt``h]j)}(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].}(hjǕhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjĕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÕhMnhjubj)}(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)}(hjh]hto_tmr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjubj)}(hhh]jl)}(hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255].h]hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(hX.``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``burst_cnt``h]j)}(hj"h]h burst_cnt}(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.hhMwhjubj)}(hhh]jl)}(hXcontrols how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255].h]hX!controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don’t set. Allowed values [0 .. 255].}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMwhjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjVubj)}(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&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMzhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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~hjRthhubjl)}(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{hjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_plca_statush]j )}(hstruct phy_plca_statush](j)}(hjh]hstruct}(hjݖhhhNhNubah}(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_plca_statush]j9)}(hjזh]hphy_plca_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjٖhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjՖhhhjhMubah}(h]jЖah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjҖhhubjg)}(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&]uh1jfhjҖhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjj7jj7jjjuh1hhhhjRthNhNubj)}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh:}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;ubj)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hj\sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;ubjl)}(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.hhMhj;ubj)}(hhh]j)}(ht``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](j)}(h``pst``h]j)}(hjh]hpst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h]hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.}(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;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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.hhMhjRthhubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_ledh]j )}(hstruct phy_ledh](j)}(hjh]hstruct}(hj hhhNhNubah}(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&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjfjjfjjjuh1hhhhjRthNhNubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubjl)}(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.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}(hjԘhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjИhMhjјubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjИhMhjubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hj-h]hled_cdev}(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)}(hStandard LED class structureh]hStandard LED class structure}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_capability (C struct)c.phy_mse_capabilityhNtauh1hhjRthhhNhNubh)}(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 }(hjΙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj͙hMubj3)}(hphy_mse_capabilityh]j9)}(hjh]hphy_mse_capability}(hjhhhNhNubah}(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)}(h=Capabilities of Mean Square Error (MSE) measurement interfaceh]h=Capabilities of Mean Square Error (MSE) measurement interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj͙hMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(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.hhMhjubj)}(hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };h]hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };}hj?sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(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.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).}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM 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).}(hjšhhhNhNubah}(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)}(hjh]hrefresh_rate_ps}(hjhhhNhNubah}(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)}(hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).h]hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjubah}(h]h ]h"]h$]h&]uh1jhjݚubeh}(h]h ]h"]h$]h&]uh1jhjhM&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).}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM(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)}(hjWh]hsupported_caps}(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.hhM*hjQubj)}(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&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM*hjfubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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.hjRthhubjl)}(hStandardization notes:h]hStandardization notes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubjK)}(hhh](jK)}(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.*)}(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&]uh1jKhjubjK)}(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.}(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&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjԛhMhjRthhubjl)}(hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.h]hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjRthhubjl)}(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 }(hj hhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh bitmask. If }(hj hhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhi is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubjl)}(hSnapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding **max_average_mse** or **max_peak_mse** value.h](h}Snapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding }(hj<hhhNhNubj)}(h**max_average_mse**h]hmax_average_mse}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh or }(hj<hhhNhNubj)}(h**max_peak_mse**h]h max_peak_mse}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh value.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_snapshot (C struct)c.phy_mse_snapshothNtauh1hhjRthhhNhNubh)}(hhh](j)}(hphy_mse_snapshoth]j )}(hstruct phy_mse_snapshoth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_mse_snapshoth]j9)}(hjh]hphy_mse_snapshot}(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)}(h1A snapshot of Mean Square Error (MSE) diagnosticsh]h1A snapshot of Mean Square Error (MSE) diagnostics}(hjʜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjǜhhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX**Definition**:: struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; }; **Members** ``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). ``peak_mse`` The peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE"). ``worst_peak_mse`` A latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjubj)}(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;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:125: ./include/linux/phy.hhMAhjubj)}(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)}(hj7h]h average_mse}(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.hhMAhj1ubj)}(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).}(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&]uh1jhjLhMAhj.ubj)}(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”).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj.ubj)}(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.)}(hjĝhhhNhNubah}(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&]uh1jhjhMKhj.ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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.hhMOhjRthhubjl)}(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.hhM6hjRthhubjl)}(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.hhM9hjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h phy_driverh]j )}(hstruct phy_driverh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjHhM?ubj3)}(h phy_driverh]j9)}(hj5h]h phy_driver}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjHhM?ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjHhM?ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM?hj0hhubjg)}(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&]uh1jfhj0hhhjHhM?ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhjubj)}(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.hhMZhjubjl)}(h **Members**h]j)}(hj˞h]hMembers}(hj͞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɞubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hjh]hmdiodrv}(hjhhhNhNubah}(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)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(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)}(hj#h]hphy_id}(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.hhMZhjubj)}(hhh]jl)}(hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this fieldh]hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMZhjubj)}(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[hjWubj)}(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&]uh1jhjWubeh}(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)}(hjh]h phy_id_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubj)}(hhh]jl)}(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&]uh1jhjubeh}(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)}(hjϟh]hfeatures}(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)}(hGA mandatory list of features (speed, duplex, etc) supported by this PHYh]hGA mandatory list of features (speed, duplex, etc) supported by this PHY}(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)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hj h]hflags}(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)}(hNA bitfield defining certain other features this PHY supports (like interrupts)h]hNA bitfield defining certain other features this PHY supports (like interrupts)}(hj"hhhNhNubah}(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)}(hjCh]h driver_data}(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.hhMahj=ubj)}(hhh]jl)}(hStatic driver datah]hStatic driver data}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMahjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMahjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(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}(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{hjubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjh]hprobe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjubeh}(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&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj#ubj)}(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.}(hjBhhhNhNubah}(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>hMhjubj)}(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)}(hjh]h config_inband}(hjhhhNhNubah}(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"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&]uh1jhjubeh}(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)}(hj֡h]hget_rate_matching}(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)}(hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``.h](hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface’s rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return }(hjhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjСubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``suspend`` Suspend the hardware, saving state if needed h](j)}(h ``suspend``h]j)}(hj"h]hsuspend}(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)}(h,Suspend the hardware, saving state if neededh]h,Suspend the hardware, saving state if needed}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubj)}(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&]uh1jhjUubeh}(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)}(hjh]h config_aneg}(hjhhhNhNubah}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hj΢h]h aneg_done}(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&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȢubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjh]h read_status}(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)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hj hhhNhNubah}(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}(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)}(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.}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj̣hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjȣhMhjɣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȣhMhjubj)}(h``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. h](j)}(h``match_phy_device``h]j)}(hjh]hmatch_phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hj&h]hset_wol}(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)}(hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function.h]hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver’s set_wol function.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(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.hhMhjZubj)}(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&]uh1jhjZubeh}(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)}(hjh]hlink_change_notify}(hjhhhNhNubah}(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*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&]uh1jhjubeh}(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)}(hjԤh]hread_mmd}(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)}(hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.h]hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjΤubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj ubah}(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.}(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)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hjHh]h read_page}(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+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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjh]h write_page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(hhh]jl)}(h(Set the current PHY register page numberh]h(Set the current PHY register page number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjh]h module_eeprom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hj.h]hcable_test_start}(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.hhMhj(ubj)}(hhh]jl)}(hStart a cable testh]hStart a cable test}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(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}(hjhhhNhNubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hjڦh]h get_phy_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.hhM)hjԦubj)}(hhh](jl)}(hRetrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored.h](hRetrieve PHY statistics. }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9: The PHY device for which the statistics are retrieved. }(hjhhhNhNubj)}(h **eth_stats**h]h eth_stats}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5: structure where Ethernet PHY stats will be stored. }(hjhhhNhNubj)}(h **stats**h]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?: structure where additional PHY-specific stats will be stored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubjl)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hj8hhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj8hhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh' and will not be returned to userspace.}(hj8hhhNhNubeh}(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&]uh1jhjԦubeh}(h]h ]h"]h$]h&]uh1jhjhM)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}(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.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. }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9: The PHY device for which the statistics are retrieved. }(hjhhhNhNubj)}(h**link_stats**h]h link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5: structure where link-specific stats will be stored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hjubjl)}(hX2Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](hhRetrieves link-related statistics for the given PHY device. The input structure is pre-initialized with }(hjɧhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjѧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɧubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjɧhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɧubh' and will not be returned to userspace.}(hjɧhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(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&]uh1jhj ubah}(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. }(hj'hhhNhNubj)}(h**dev**h]hdev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh<: The PHY device for which statistics updates are triggered.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hj$ubjl)}(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 }(hjHhhhNhNubj)}(h`get_phy_stats`h]h get_phy_stats}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh and }(hjHhhhNhNubj)}(h`get_link_stats`h]hget_link_stats}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh interfaces.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhj$ubjl)}(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&]uh1jkhj#hMJhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMJhjubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hjh]hget_sset_count}(hjhhhNhNubah}(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)}(hNumber of statistic countersh]hNumber of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h0``get_strings`` Names of the statistic counters h](j)}(h``get_strings``h]j)}(hjԨh]h get_strings}(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.hhMPhjΨubj)}(hhh]jl)}(hNames of the statistic countersh]hNames of the statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjΨubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hj h]h get_stats}(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.hhMRhjubj)}(hhh]jl)}(h#Return the statistic counter valuesh]h#Return the statistic counter values}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMRhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMRhjubj)}(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)}(hjFh]hdisable_autonomous_eee}(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.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)}(hjh]h get_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.hhMbhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hj֩h]h set_tunable}(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.hhMehjЩubj)}(hhh]jl)}(hSet the value of a tunableh]hSet the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjЩubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphj ubj)}(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.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMphjubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjIh]hget_sqi}(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.hhMshjCubj)}(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&]uh1jhjCubeh}(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)}(hjh]h get_sqi_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhj|ubj)}(hhh]jl)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(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 }(hjԪhhhNhNubj)}(h**dev**h]hdev}(hjܪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԪubh: PHY device }(hjԪhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԪubh: Output (filled on success)}(hjԪhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjѪubjl)}(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}hjѪubjl)}(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.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjѪubjl)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjѪubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЪhMhjubj)}(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)}(hjXh]hget_mse_snapshot}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRubj)}(hhh](jl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh*: Channel identifier (PHY_MSE_CHANNEL_*) }(hjqhhhNhNubj)}(h **snapshot**h]hsnapshot}(hjhhhNhNubah}(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 }(hj׫hhhNhNubj)}(h **channel**h]hchannel}(hj߫hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׫ubhR against supported_caps returned by get_mse_capability(). Drivers must not coerce }(hj׫hhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׫ubhk; if the requested selector is not implemented by the device or current link mode, the operation must fail.}(hj׫hhhNhNubeh}(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.}(hj hhhNhNubah}(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&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hj:h]h get_plca_cfg}(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)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjŬhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj¬ubah}(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)}(hjh]hled_brightness_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.hhMhj߬ubj)}(hhh]jl)}(hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.h]hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj߬ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(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)}(hjYh]hled_hw_is_supported}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSubj)}(hhh](jl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh: Which LED of the PHY device }(hjrhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(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&]uh1jhjSubeh}(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)}(hj׭h]hled_hw_control_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.hhMhjѭubj)}(hhh](jl)}(hSet the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LEDh](hSet the HW to control the LED }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" The rules used to control the LED}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjѭubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjUh]hled_hw_control_get}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjOubj)}(hhh](jl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: Which LED of the PHY device }(hjnhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(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&]uh1jhjOubeh}(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)}(hjh]hled_polarity_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 LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modesh](hSet the LED polarity modes }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **modes**h]hmodes}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: bitmap of LED polarity modes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hdConfigure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF.h](h6Configure LED with all the required polarity modes in }(hjDhhhNhNubj)}(h **modes**h]hmodes}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh% to make it correctly turn ON or OFF.}(hjDhhhNhNubeh}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hXY``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event. h](j)}(h``get_next_update_time``h]j)}(hjh]hget_next_update_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hmediums and port->lanes fields must be set, possibly according to strapping information. The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port. Returns 0, or an error code. h](j)}(h``attach_mii_port``h]j)}(hjh]hattach_mii_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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}(hj!hhhNhNubah}(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.}(hj:hhhNhNubah}(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.}(hjIhhhNhNubah}(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.}(hjXhhhNhNubah}(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)}(hjh]hattach_mdi_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.hhM(hjubj)}(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}(hjɰhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubjl)}(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.hhM,hjRthhubjl)}(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).}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjRthhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_id_compare (C function)c.phy_id_comparehNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjhM8ubj3)}(hphy_id_compareh]j9)}(hphy_id_compareh]hphy_id_compare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhM8ubj )}(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 jsbc.phy_id_compareasbuh1hhjubj")}(h h]h }(hjֱhhhNhNubah}(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 ]jұc.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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jұc.phy_id_compareasbuh1hhjAubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hmaskh]hmask}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjhM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhM8ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM8hjlhhubjg)}(hhh]jl)}(h7compare **id1** with **id2** taking account of **mask**h](hcompare }(hjhhhNhNubj)}(h**id1**h]hid1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with }(hjhhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh taking account of }(hjhhhNhNubj)}(h**mask**h]hmask}(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.hhM8hjhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhM9hj ubj)}(hhh]jl)}(h first PHY IDh]h first PHY ID}(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``u32 id2`` second PHY ID h](j)}(h ``u32 id2``h]j)}(hjJh]hu32 id2}(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.hhM:hjDubj)}(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&]uh1jhjDubeh}(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)}(hjh]hu32 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hj}ubj)}(hhh]jl)}(h5the PHY ID mask, set bits are significant in matchingh]h5the PHY ID mask, set bits are significant in matching}(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)}(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 }(hjԳhhhNhNubj)}(h**id1**h]hid1}(hjܳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh and }(hjԳhhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh specified by }(hjԳhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh) match. This uses an equivalent test to (}(hjԳhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh & }(hjԳhhhNhNubj)}(h**mask**h]hmask}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh) == (}(hjԳhhhNhNubj)}(h **phy_id**h]hphy_id}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubh & }hjԳsbj)}(h**mask**h]hmask}(hjHhhhNhNubah}(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.hhM<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_id_compare_vendor (C function)c.phy_id_compare_vendorhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h4bool phy_id_compare_vendor (u32 id, u32 vendor_mask)h]j )}(h3bool phy_id_compare_vendor(u32 id, u32 vendor_mask)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMFubj3)}(hphy_id_compare_vendorh]j9)}(hphy_id_compare_vendorh]hphy_id_compare_vendor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMFubj )}(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 reftargetj´modnameN 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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jܴc.phy_id_compare_vendorasbuh1hhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h vendor_maskh]h vendor_mask}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhjhMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMFubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMFhjvhhubjg)}(hhh]jl)}(h#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&]uh1jfhjvhhhjhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hjŵh]hu32 id}(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.hhMGhjubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hj޵hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڵhMGhj۵ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڵhMGhjubj)}(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)}(hj9h]hReturn}(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.hhMJhjubjl)}(hPtrue if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](htrue if the bits from }(hjOhhhNhNubj)}(h**id**h]hid}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh match }(hjOhhhNhNubj)}(h **vendor**h]hvendor}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh# using the generic PHY Vendor mask.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_id_compare_model (C function)c.phy_id_compare_modelhNtauh1hhjRthhhNhNubh)}(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 hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMSubj3)}(hphy_id_compare_modelh]j9)}(hphy_id_compare_modelh]hphy_id_compare_model}(hj¶hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMSubj )}(h(u32 id, u32 model_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj޶ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jĶsbc.phy_id_compare_modelasbuh1hhjڶubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjڶubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڶubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjֶubj )}(hu32 model_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_compare_modelasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(h model_maskh]h model_mask}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjֶubeh}(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"compare **id** with **model** maskh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with }(hjhhhNhNubj)}(h **model**h]hmodel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mask}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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&]uh1jhjhMThjݷubj)}(h"``u32 model_mask`` PHY Model mask h](j)}(h``u32 model_mask``h]j)}(hjh]hu32 model_mask}(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.hhMUhjubj)}(hhh]jl)}(hPHY Model maskh]hPHY Model mask}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMUhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMUhjݷubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjZh]hReturn}(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.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}(hjhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphydev_id_compare (C function)c.phydev_id_comparehNtauh1hhjRthhhNhNubh)}(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}(hjøhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`ubj")}(h h]h }(hjѸhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjиhM`ubj3)}(hphydev_id_compareh]j9)}(hphydev_id_compareh]hphydev_id_compare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߸ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjиhM`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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phydev_id_compareasbuh1hhjubj")}(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 )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j9c.phydev_id_compareasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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*compare **id** with the PHY's Clause 22 IDh](hcompare }(hjʹhhhNhNubj)}(h**id**h]hid}(hjҹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʹubh with the PHY’s Clause 22 ID}(hjʹhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjǹhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjиhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMahj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMahjubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjVh]hu32 id}(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.hhMbhjPubj)}(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&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMbhjubeh}(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.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}(hjӺhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(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&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.phy_is_startedasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(hj˻hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjȻhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.hhMzhjubj)}(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.hhMuhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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&]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_driver_is_genphyasbuh1hhjubj")}(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 hjbhhhjshM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshM}ubah}(h]jYah ](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}(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[hhhjshM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjRthNhNubj)}(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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(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}(hjhhhNhNubah}(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&]uh1jhjAubjl)}(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.hhMhjAubjl)}(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.hhMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhjRthhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(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 sbc.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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j]c.phy_disable_eee_modeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h link_modeh]h link_mode}(hjľhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj޽hhhjhMubah}(h]jٽah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj۽hhubjg)}(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&]uh1jfhj۽hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhMhj 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}(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)}(hThe phy_device structh]hThe phy_device struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(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}(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&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_can_wakeup (C function)c.phy_can_wakeuphNtauh1hhjRthhhNhNubh)}(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}(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 }(hjпhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϿhMubj3)}(hphy_can_wakeuph]j9)}(hphy_can_wakeuph]hphy_can_wakeup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj޿ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjϿhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_can_wakeupasbuh1hhjubj")}(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 hjhhhjϿhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjϿhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjϿhMhjhhubjg)}(hhh]jl)}(h9indicate whether PHY has driver model wakeup capabilitiesh]h9indicate whether PHY has driver model wakeup capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjϿhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_may_wakeup (C function)c.phy_may_wakeuphNtauh1hhjRthhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhMubj3)}(hphy_may_wakeuph]j9)}(hphy_may_wakeuph]hphy_may_wakeup}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjOhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jdsbc.phy_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 hj>hhhjOhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjOhMubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMhj7hhubjg)}(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&]uh1jfhj7hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(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&]uh1jhjWhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj}h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhjRthhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.phy_readasbuh1hhjubj")}(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}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j9 c.phy_readasbuh1hhjmubj")}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjDh]h u32 regnum}(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)}(hregister number to readh]hregister number to read}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(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.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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhjRthhhNhNubh)}(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 reftargetj!modnameN classnameNj j )}j ]j )}j jsb c.__phy_readasbuh1hhjubj")}(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_readasbuh1hhjoubj")}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.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"hMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjFh]h u32 regnum}(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)}(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)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhjRthhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsb c.phy_writeasbuh1hhjubj")}(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 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 }(hjhhhNhNubah}(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&]jjjj.jj.jjjuh1hhhhjRthNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjWh]hstruct phy_device *phydev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(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.hhMhj2ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhjRthhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehMubj3)}(h __phy_writeh]j9)}(h __phy_writeh]h __phy_write}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehMubj )}(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 jzsb c.__phy_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.__phy_writeasbuh1hhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j c.__phy_writeasbuh1hhjJubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(hvalh]hval}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjLhhubjg)}(hhh]jl)}(h5Convenience function for 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&]uh1jfhjLhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.hhMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjZh]hu16 val}(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)}(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&]uh1jhjTubeh}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j j sbc.__phy_modify_changedasbuh1hhj!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)}(hphydevh]hphydev}(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_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}(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&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j_c.__phy_modify_changedasbuh1hhj#ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj9)}(hseth]hset}(hjVhhhNhNubah}(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)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhMhjubj)}(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}(hj2hhhNhNubah}(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)}(hjRh]hu16 mask}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubj)}(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&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h~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.hhMhjubjl)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhjRthhhNhNubh)}(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 jYjZhjhhhj1hM ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM hjhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjhhhj1hM ubeh}(h]h ](jmacroeh"]h$]h&]jjjjJjjJjjjuh1hhhhjRthNhNubjl)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hjPh]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(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.hhM hjRthhubj)}(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 hjRthhubj)}(hX**Parameters** ``phydev`` The phy_device struct ``devaddr`` The MMD to read from ``regnum`` The register on the MMD to read ``val`` Variable to read the register into ``cond`` Break condition (usually involving **val**) ``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. ``timeout_us`` Timeout in us, 0 means never timeout ``sleep_before_read`` if it is true, sleep **sleep_us** before read. **Return** 0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(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!``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&]uh1jhjhMhjubj)}(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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hjOh]hval}(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)}(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&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjh]hcond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hjhhhNhNubj)}(h**val**h]hval}(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``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&]uh1jhjhMhjubj)}(h4``timeout_us`` Timeout in us, 0 means never timeout h](j)}(h``timeout_us``h]j)}(hj h]h timeout_us}(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$Timeout in us, 0 means never timeouth]h$Timeout in us, 0 means never timeout}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hjFh]hsleep_before_read}(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.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[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhjRthhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMOubj3)}(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&]jPjQuh1j2hjhhhj hMOubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bitsasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h 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 hj1ubj )}(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}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMOubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMOhjhhubjg)}(hhh]jl)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjRthNhNubj)}(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)}(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.hhMPhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(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&]uh1jhjhMQhjubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h**Description**h]j)}(hj:h]h Description}(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.hhMThjhubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhjRthhhNhNubh)}(hhh](j)}(hEint __phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(hDint __phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhM\ubj3)}(h__phy_clear_bitsh]j9)}(h__phy_clear_bitsh]h__phy_clear_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhM\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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhj*ubj")}(h h]h }(hjOhhhNhNubah}(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 }(hjhhhNhNubah}(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{hhhjhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhM\ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM\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&]uh1jfhjthhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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]hj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM]hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM]hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjIh]h u32 regnum}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjCubj)}(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&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM^hjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hj|ubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(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)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhjRthhhNhNubh)}(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}(hj#hhhNhNubah}(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}(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 reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.phy_set_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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jyc.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 hj7ubj )}(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}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(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}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.hhMkhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(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&]uh1jhjhMlhjubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(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}(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[hhhjmhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhMuubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMuhjThhubjg)}(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&]uh1jfhjThhhjmhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj hhhNhNubah}(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&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhj#ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMwhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMwhjubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhjRthhhNhNubh)}(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 }(hj7hhhNhNubah}(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 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}(hjhhhNhNubah}(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 ]j3c.__phy_set_bits_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 ]j3c.__phy_set_bits_mmdasbuh1hhjubj")}(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 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}(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&]jjjjYjjYjjjuh1hhhhjRthNhNubj)}(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)}(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.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&]uh1jhjhMhjyubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubj)}(h``u16 val`` bits to set 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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj'ubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjyubeh}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhjRthhhNhNubh)}(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 reftargetj modnameN classnameNj j )}j ]j )}j jsbc.__phy_clear_bits_mmdasbuh1hhjubj")}(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)}(hphydevh]hphydev}(hjChhhNhNubah}(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 hjXubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(hdevadh]hdevad}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(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_clear_bits_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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_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}(hj2hhhNhNubah}(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&]jjjjJjjJjjjuh1hhhhjRthNhNubj)}(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)}(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.hhMhjNubj)}(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}(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&]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}(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)}(h bits to clearh]h bits to clear}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjjubeh}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubjl)}(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.hhMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhjRthhhNhNubh)}(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}(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_set_bits_mmdh]j9)}(hphy_set_bits_mmdh]hphy_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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](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)}(hdevadh]hdevad}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(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.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjRthNhNubj)}(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)}(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)}(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)}(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&]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&]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 bits to seth]h bits to set}(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$hMhj[ubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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 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}(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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jc.phy_clear_bits_mmdasbuh1hhjIubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj9)}(hregnumh]hregnum}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhMhj 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}(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)}(hthe phy_device structh]hthe phy_device struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&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 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&]uh1jhjhMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhjRthhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjAhMubj3)}(hphy_interrupt_is_validh]j9)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjAhMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jVsbc.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 hj0hhhjAhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjAhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMhj)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)hhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRthNhNubj)}(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)}(hj4h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj.ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+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}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhjRthhhNhNubh)}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_polling_modeasbuh1hhjubj")}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhjRthhhNhNubh)}(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 hj 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_has_hwtstamph]j9)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(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_has_hwtstampasbuh1hhjFubj")}(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 hhhjhMubeh}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]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&]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#hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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 jsbc.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 hjubah}(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.}(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&]uh1jfhj]hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjRthNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubj)}(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}(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&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhjRthhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_has_tsinfoasbuh1hhjubj")}(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)}(hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.h]hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhjRthhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj)hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j j>sbc.phy_has_txtstampasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj)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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjhMubj3)}(hphy_is_default_hwtstamph]j9)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjhMubj )}(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_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjhMubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjkhhubjg)}(hhh]jl)}(h)Is the PHY hwtstamp the default timestamph]h)Is the PHY hwtstamp the default timestamp}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjRthNhNubj)}(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)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubjl)}(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.hhMhjQubjl)}(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.hhMhjQubjl)}(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.hhMhjQubjl)}(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.hhMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhjRthhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj*hM&ubj )}(h(struct phy_device *phydev)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?sb c.phy_on_sfpasbuh1hhjUubj")}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhjRthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjhM/ubj3)}(hphy_interface_mode_is_rgmiih]j9)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhM/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_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 hjshhhjhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhM/ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM/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/hj hhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjRthNhNubj)}(hM**Parameters** ``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(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.hhM3hj*ubj)}(hhh]j)}(h;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hjOh]hphy_interface_t mode}(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.hhM5hjIubj)}(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&]uh1jkhjhM1hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM5hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN 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}(hj9hhhNhNubah}(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{jjjuh1hhhhjRthNhNubj)}(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)}(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)}(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<hjubj)}(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&]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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubjl)}(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=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhjRthhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhjPhMHubj3)}(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&]jPjQuh1j2hj?hhhjPhMHubj )}(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 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 hj?hhhjPhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhjPhMHubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMHhj8hhubjg)}(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&]uh1jfhj8hhhjPhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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.hhMLhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj=ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMNhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMRubj3)}(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&]jPjQuh1j2hjhhhjhMRubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMRubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMRhjhhubjg)}(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.hhMRhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjRthNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]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)}(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.hhMXhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhjRthhhNhNubh)}(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'jjjuh1hhhhjRthNhNubjl)}(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 hjRthhubj)}(h)Helper macro for registering PHY drivers h]jl)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjCubah}(h]h ]h"]h$]h&]uh1jhjUhM hjRthhubj)}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj\ubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hjh]h __phy_drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj{ubj)}(hhh]jl)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjxubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hjh]h__count}(hjhhhNhNubah}(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)}(hNumbers of members in arrayh]hNumbers of members in array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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&]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhjRthhhNhNubh)}(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 hj6hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhMubj3)}(hgenphy_match_phy_deviceh]j9)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjHhMubj )}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h 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.genphy_match_phy_deviceasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hconst struct phy_driver *phydrvh](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_driverh]h phy_driver}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]jc.genphy_match_phy_deviceasbuh1hhjubj")}(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)}(hphydrvh]hphydrv}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjHhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjHhMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMhj/hhubjg)}(hhh]jl)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjh]hconst struct phy_driver *phydrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(htarget phy_driver structh]htarget phy_driver struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(h **Return**h]j)}(hjah]hReturn}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhjRthhhNhNubh)}(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}(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 get_phy_devicesbc.get_phy_deviceasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hget_phy_deviceh]j9)}(hjh]hget_phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]jc.get_phy_deviceasbuh1hhjubj")}(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 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 bool is_c45h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(his_c45h]his_c45}(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)}(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}(hjhhhNhNubah}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjRthNhNubj)}(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)}(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!hj8ubj)}(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.chMhjWubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(h(``int addr`` PHY address on the MII bus 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:128: ./drivers/net/phy/phy_device.chM hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjTubj)}(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!hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(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:128: ./drivers/net/phy/phy_device.chM#hj8ubjl)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hj hhhNhNubj)}(h**addr**h]haddr}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on }(hj hhhNhNubj)}(h**bus**h]hbus}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM"hj8ubjl)}(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 }(hjShhhNhNubh)}(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$hjSubh.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjzhM$hj8ubjl)}(hWhen probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `.h](hWhen probing for a clause 45 PHY, read the “devices in package” registers. If the “devices in package” appears valid, read the ID registers for each MMD, allocate and return a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'hj8ubjl)}(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+hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhjRthhhNhNubh)}(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 }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj;hMRubj3)}(hphy_device_registerh]j9)}(hphy_device_registerh]hphy_device_register}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj;hMRubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jPsbc.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)hhhj;hMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj;hMRubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hMRhj"hhubjg)}(hhh]jl)}(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&]uh1jfhj"hhhj;hMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMVhj ubj)}(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)}(hj.h]hstruct phy_device *phydev}(hj0hhhNhNubah}(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.chMXhj(ubj)}(hhh]jl)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMXhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h2void phy_device_remove (struct phy_device *phydev)h]j )}(h1void phy_device_remove(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubj3)}(hphy_device_removeh]j9)}(hphy_device_removeh]hphy_device_remove}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(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 hjhhhjhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMyubah}(h]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMyhj}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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyhjEhhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjRthNhNubj)}(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)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMzhjubj)}(hhh]jl)}(hphy_device structure to removeh]hphy_device structure to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(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&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 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_idsasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(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"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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi: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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_next (C function)c.phy_find_nexthNtauh1hhjRthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h-(struct mii_bus *bus, struct phy_device *pos)h](j )}(hstruct mii_bus *bush](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)}(hmii_bush]hmii_bus}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jc.phy_find_nextasbuh1hhj$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)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct phy_device *posh](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 ]jc.phy_find_nextasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hposh]hpos}(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$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&]jjjj1jj1jjjuh1hhhhjRthNhNubj)}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(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.chMhj5ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjZh]hstruct mii_bus *bus}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjTubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(h"``struct phy_device *pos`` cursor h](j)}(h``struct phy_device *pos``h]j)}(hjh]hstruct phy_device *pos}(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)}(hcursorh]hcursor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h **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.chMhj5ubjl)}(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.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhjRthhhNhNubh)}(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 }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMubj3)}(hphy_connect_directh]j9)}(hphy_connect_directh]hphy_connect_direct}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMubj )}(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}(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.phy_connect_directasbuh1hhjLubj")}(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 hjHubj )}(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 ]jc.phy_connect_directasbuh1hhjubj")}(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 hjHubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hj2hhhNhNubah}(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(}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hhandlerh]hhandler}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubj )}(hj< 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)}(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 ]jc.phy_connect_directasbuh1hhj.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.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(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)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjRthNhNubj)}(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)}(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.chMhjubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hj6 h]hphy_interface_t interface}(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.chMhj0 ubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhjRthhhNhNubh)}(hhh](j)}(hstruct phy_device * phy_connect (struct net_device *dev, const char *bus_id, void (*handler)(struct net_device *), phy_interface_t interface)h]j )}(hstruct phy_device *phy_connect(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]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 phy_connectsb c.phy_connectasbuh1hhj 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)}(h phy_connecth]j9)}(hj h]h phy_connect}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj 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}(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.phy_connectasbuh1hhj 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 )}(hconst char *bus_idh](j)}(hj h]hconst}(hjz hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv ubjM )}(hcharh]hchar}(hj 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)}(hbus_idh]hbus_id}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h(}(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)}(hhandlerh]hhandler}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 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 ubj)}(hjh]hstruct}(hj5 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjB hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjS hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU modnameN classnameNj j )}j ]j  c.phy_connectasbuh1hhj ubj )}(hj h]h*}(hjq hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hj< h]h)}(hj~ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j  c.phy_connectasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h interfaceh]h interface}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j 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 an ethernet device to a PHY deviceh]h*connect an ethernet device to a PHY device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct net_device *dev`` the network device to connect ``const char *bus_id`` the id string of the PHY device to connect ``void (*handler)(struct net_device *)`` callback function for state change notifications ``phy_interface_t interface`` PHY device's interface **Description** Convenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hj0 h]hstruct net_device *dev}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj* ubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjE hMhjF ubah}(h]h ]h"]h$]h&]uh1jhj* ubeh}(h]h ]h"]h$]h&]uh1jhjE hMhj' ubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hji h]hconst char *bus_id}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjc ubj)}(hhh]jl)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~ hMhj ubah}(h]h ]h"]h$]h&]uh1jhjc ubeh}(h]h ]h"]h$]h&]uh1jhj~ hMhj' ubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj h]h$void (*handler)(struct net_device *)}(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)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(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)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hj h]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(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 ubj)}(hhh]j)}(hXkConvenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](j)}(h,Convenience function for connecting etherneth]h,Convenience function for connecting ethernet}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ ubj)}(hhh]jl)}(hX>devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h]hXBdevices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don’t want, or can’t use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjB ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjA hMhj, ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhjRthhhNhNubh)}(hhh](j)}(h/void phy_disconnect (struct phy_device *phydev)h]j )}(h.void phy_disconnect(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM ubj3)}(hphy_disconnecth]j9)}(hphy_disconnecth]hphy_disconnect}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]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_disconnectasbuh1hhj 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 hj hhhj hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~ hhhj hM ubah}(h]jy ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM hj{ hhubjg)}(hhh]jl)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjChhubah}(h]h ]h"]h$]h&]uh1jfhj{ hhhj hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjRthNhNubj)}(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)}(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)}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhjRthhhNhNubh)}(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&]uh1j8hj9ubah}(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*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jXc.phy_attach_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 hjubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jXc.phy_attach_directasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jXc.phy_attach_directasbuh1hhjDubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(h interfaceh]h interface}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(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}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(h4``struct net_device *dev`` network device to attach 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.chMhjubj)}(hhh]jl)}(hnetwork device to attachh]hnetwork device to attach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach 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)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hjTh]h u32 flags}(hjVhhhNhNubah}(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.chMhjNubj)}(hhh]jl)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h+void phy_detach (struct phy_device *phydev)h]j )}(h*void phy_detach(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMsubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMsubj3)}(h phy_detachh]j9)}(h phy_detachh]h phy_detach}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjFhMsubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j[sb c.phy_detachasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjFhMsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjFhMsubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMshj-hhubjg)}(hhh]jl)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMshjhhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhjFhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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.chMwhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMthj3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMthjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMthj0ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvhjubjl?)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhjRthhhNhNubh)}(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}(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_reset_after_clk_enableh]j9)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(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_reset_after_clk_enableasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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&]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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h3int genphy_setup_forced (struct phy_device *phydev)h]j )}(h2int genphy_setup_forced(struct phy_device *phydev)h](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjshMhubj3)}(hgenphy_setup_forcedh]j9)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjshMhubj )}(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.genphy_setup_forcedasbuh1hhjubj")}(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 hjahhhjshMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjshMhubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhhjZhhubjg)}(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.chMhhj"hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjshMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjRthNhNubj)}(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)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMlhjOubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjth]hstruct phy_device *phydev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMihjnubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMihjkubah}(h]h ]h"]h$]h&]uh1jhjOubjl)}(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.chMkhjOubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMlhjubj)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhjRthhhNhNubh)}(hhh](j)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]j )}(h2int genphy_restart_aneg(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 }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,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&]jPjQuh1j2hjhhhj,hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j jAsbc.genphy_restart_anegasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhjhhubjg)}(hhh]jl)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(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&]uh1jfhjhhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhjRthhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhh]/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!hjuhhhjhMubj3)}(hgenphy_check_and_restart_anegh]j9)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjhMubj )}(h)(struct phy_device *phydev, bool restart)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.genphy_check_and_restart_anegasbuh1hhjubj")}(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 restarth](jM )}(hjh]hbool}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hrestarth]hrestart}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhMubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjnhhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjh]h bool restart}(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!whether aneg restart is requestedh]h!whether aneg restart is requested}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hj8hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhjRthhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhMubj3)}(h__genphy_config_anegh]j9)}(h__genphy_config_anegh]h__genphy_config_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhMubj )}(h)(struct phy_device *phydev, bool changed)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.__genphy_config_anegasbuh1hhjubj")}(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 changedh](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)}(hchangedh]hchanged}(hj1hhhNhNubah}(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)}(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.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjRthNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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)}(h.``bool changed`` whether autoneg is requested h](j)}(h``bool changed``h]j)}(hjh]h bool changed}(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)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(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:128: ./drivers/net/phy/phy_device.chMhjwubj)}(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.chMhj)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;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhM0 ubj3)}(hgenphy_c37_config_anegh]j9)}(hgenphy_c37_config_anegh]hgenphy_c37_config_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhM0 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.genphy_c37_config_anegasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhM0 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhM0 ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM0 hjthhubjg)}(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.chM0 hj<hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhM0 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1hhhhjRthNhNubj)}(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)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM4 hj[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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1 hjzubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM1 hjwubah}(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:128: ./drivers/net/phy/phy_device.chM3 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5 hjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM4 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5 hjubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhjRthhhNhNubh)}(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.chM` ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj9hM` ubj3)}(hgenphy_aneg_doneh]j9)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj9hM` ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jNsbc.genphy_aneg_doneasbuh1hhjdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj9hM` ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#hhhj9hM` ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hM` hj hhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM` hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj9hM` ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMd hjubj)}(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.chMa hj&ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMa hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMa hj#ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMc hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMd hjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMd hj}ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h2int genphy_update_link (struct phy_device *phydev)h]j )}(h1int genphy_update_link(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.chMp ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMp ubj3)}(hgenphy_update_linkh]j9)}(hgenphy_update_linkh]hgenphy_update_link}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMp 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}(hj1 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj. ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3 modnameN classnameNj j )}j ]j )}j jsbc.genphy_update_linkasbuh1hhj ubj")}(h h]h }(hjQ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj_ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(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 hjhhhjhMp ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMp ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMp hjhhubjg)}(hhh]jl)}(h update link status in **phydev**h](hupdate link status in }(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.chMp hj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMp ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRthNhNubj)}(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)}(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.chMt 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.chMq hj ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(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 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.chMs hj ubj)}(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}(hj=!hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMt hj9!ubj)}(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.}(hjO!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK!hMt hjL!ubah}(h]h ]h"]h$]h&]uh1jhj9!ubeh}(h]h ]h"]h$]h&]uh1jhjK!hMt hj6!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h8int genphy_read_status_fixed (struct phy_device *phydev)h]j )}(h7int genphy_read_status_fixed(struct phy_device *phydev)h](jM )}(hinth]hint}(hj!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)}(hgenphy_read_status_fixedh]j9)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j j!sbc.genphy_read_status_fixedasbuh1hhj!ubj")}(h h]h }(hj "hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hphydevh]hphydev}(hj%"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubah}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj!hM ubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hM hj!hhubjg)}(hhh]jl)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hjO"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjL"hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg"jjg"jjjuh1hhhhjRthNhNubj)}(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)}(hjq"h]h Parameters}(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 hjk"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&]uh1jhjk"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 hjk"ubjl)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjk"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhjRthhhNhNubh)}(hhh](j)}(h2int genphy_read_status (struct phy_device *phydev)h]j )}(h1int genphy_read_status(struct phy_device *phydev)h](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj #hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj #hhhj#hM ubj3)}(hgenphy_read_statush]j9)}(hgenphy_read_statush]hgenphy_read_status}(hj1#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}(hjM#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI#ubj")}(h h]h }(hjZ#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI#ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjk#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm#modnameN classnameNj j )}j ]j )}j j3#sbc.genphy_read_statusasbuh1hhjI#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjI#ubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjI#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjE#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)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#hhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj#hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjRthNhNubj)}(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)}(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)}(hjL$h]h Description}(hjN$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ$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)}(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}(hji$hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hje$ubj)}(hhh]jl)}(hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h]hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.}(hj{$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjx$ubah}(h]h ]h"]h$]h&]uh1jhje$ubeh}(h]h ]h"]h$]h&]uh1jhjw$hM hjb$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhjRthhhNhNubh)}(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}(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)}(hgenphy_c37_read_statush]j9)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hM% ubj )}(h*(struct phy_device *phydev, bool *changed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j j$sbc.genphy_c37_read_statusasbuh1hhj$ubj")}(h h]h }(hj7%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjE%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hphydevh]hphydev}(hjR%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h bool *changedh](jM )}(hjh]hbool}(hjk%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjg%ubj")}(h h]h }(hjx%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjg%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjg%ubj9)}(hchangedh]hchanged}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg%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)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% hj%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hM% ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjRthNhNubj)}(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)}(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%ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hj7&h]h bool *changed}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM' hj1&ubj)}(hhh]jl)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hjP&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjL&hM' hjM&ubah}(h]h ]h"]h$]h&]uh1jhj1&ubeh}(h]h ]h"]h$]h&]uh1jhjL&hM' hj%ubeh}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM) hj%ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hj&ubj)}(hhh](jl)}(huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.h]huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM* hj&ubjl)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hj&hhhNhNubj)}(h **changed**h]hchanged}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh! is set to true, false otherwise.}(hj&hhhNhNubeh}(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 ]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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhjRthhhNhNubh)}(hhh](j)}(h1int genphy_soft_reset (struct phy_device *phydev)h]j )}(h0int genphy_soft_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj'hMe ubj3)}(hgenphy_soft_reseth]j9)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hj$'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj'hMe 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 }(hjM'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<'ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj^'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj['ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`'modnameN classnameNj j )}j ]j )}j j&'sbc.genphy_soft_resetasbuh1hhj<'ubj")}(h h]h }(hj~'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<'ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<'ubj9)}(hphydevh]hphydev}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8'ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj'hMe ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj'hMe ubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMe hj&hhubjg)}(hhh]jl)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe hj'hhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj'hMe ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjRthNhNubj)}(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)}(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.chMi 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.chMf hj'ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMf hj(ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMf hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hj?(h]h Description}(hjA(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.chMh hj'ubjl)}(hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.h]hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.}(hjU(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMh hj'ubjl)}(h **Return**h]j)}(hjf(h]hReturn}(hjh(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd(ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hj'ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj|(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhjRthhhNhNubh)}(hhh](j)}(h5int genphy_read_abilities (struct phy_device *phydev)h]j )}(h4int genphy_read_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj(hM ubj3)}(hgenphy_read_abilitiesh]j9)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj(hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j j(sbc.genphy_read_abilitiesasbuh1hhj(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)}(hphydevh]hphydev}(hjA)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubah}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhj(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 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&]uh1jfhj(hhhj(hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the PHY's abilities and populates phydev->supported accordingly. **Return** 0 on success, < 0 on failureh](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj)h]hstruct phy_device *phydev}(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)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubjl)}(h **Return**h]j)}(hj*h]hReturn}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj *ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj$*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhjRthhhNhNubh)}(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}(hjS*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjO*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!hjO*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&]jPjQuh1j2hjO*hhhja*hM ubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(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_remove_link_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)}(hphydevh]hphydev}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(h u32 link_modeh](h)}(hhh]j9)}(hu32h]hu32}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j*c.phy_remove_link_modeasbuh1hhj*ubj")}(h h]h }(hj#+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj9)}(h link_modeh]h link_mode}(hj1+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjO*hhhja*hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjK*hhhja*hM ubah}(h]jF*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhja*hM hjH*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 hjX+hhubah}(h]h ]h"]h$]h&]uh1jfhjH*hhhja*hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjs+jjs+jjjuh1hhhhjRthNhNubj)}(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&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj+ubj)}(hhh]jl)}(h-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&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM hj+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 hj+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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h8void phy_advertise_supported (struct phy_device *phydev)h]j )}(h7void phy_advertise_supported(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjU,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ,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!hjQ,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&]jPjQuh1j2hjQ,hhhjc,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 jx,sbc.phy_advertise_supportedasbuh1hhj,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 hjQ,hhhjc,hM$ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM,hhhjc,hM$ ubah}(h]jH,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjc,hM$ hjJ,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&]uh1jfhjJ,hhhjc,hM$ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj--jj--jjjuh1hhhhjRthNhNubj)}(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)}(hj7-h]h Parameters}(hj9-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5-ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM( hj1-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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% hjP-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&]uh1jhjP-ubeh}(h]h ]h"]h$]h&]uh1jhjk-hM% hjM-ubah}(h]h ]h"]h$]h&]uh1jhj1-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' hj1-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' hj1-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhjRthhhNhNubh)}(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.chM5 ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj-hM5 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-hM5 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}(hj1.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj..ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3.modnameN classnameNj j )}j ]j )}j j-sbc.phy_advertise_eee_allasbuh1hhj.ubj")}(h h]h }(hjQ.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj_.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(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-hM5 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhj-hM5 ubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hM5 hj-hhubjg)}(hhh]jl)}(h!Advertise all supported EEE modesh]h!Advertise all supported EEE modes}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5 hj.hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjRthNhNubj)}(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.chM9 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.chM6 hj.ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM6 hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM6 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.chM8 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.chM8 hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhjRthhhNhNubh)}(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}(hjW/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS/hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chME ubj")}(h h]h }(hjf/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS/hhhje/hME 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&]jPjQuh1j2hjS/hhhje/hME 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 jz/sbc.phy_support_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)}(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 hjS/hhhje/hME ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjO/hhhje/hME ubah}(h]jJ/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhje/hME hjL/hhubjg)}(hhh]jl)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chME hj0hhubah}(h]h ]h"]h$]h&]uh1jfhjL/hhhje/hME ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/0jj/0jjjuh1hhhhjRthNhNubj)}(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)}(hj90h]h Parameters}(hj;0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj70ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMI hj30ubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjX0h]hstruct phy_device *phydev}(hjZ0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV0ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMF hjR0ubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hjq0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjm0hMF hjn0ubah}(h]h ]h"]h$]h&]uh1jhjR0ubeh}(h]h ]h"]h$]h&]uh1jhjm0hMF hjO0ubah}(h]h ]h"]h$]h&]uh1jhj30ubjl)}(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:128: ./drivers/net/phy/phy_device.chMH hj30ubjl)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMG hj30ubjl)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hj30ubjl)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMQ hj30ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhjRthhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj1hMo ubj3)}(hphy_disable_eeeh]j9)}(hphy_disable_eeeh]hphy_disable_eee}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj1hMo ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj31hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/1ubj")}(h h]h }(hj@1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQ1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS1modnameN classnameNj j )}j ]j )}j j1sbc.phy_disable_eeeasbuh1hhj/1ubj")}(h h]h }(hjq1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/1ubj9)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj1hMo ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj1hMo ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMo hj0hhubjg)}(hhh]jl)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj1hMo ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjRthNhNubj)}(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)}(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.chMs 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.chMp hj1ubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 2hMp hj 2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj 2hMp hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hj22h]h Description}(hj42hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj02ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMr hj1ubjl)}(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.}(hjH2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhjRthhhNhNubh)}(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}(hjw2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjs2hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs2hhhj2hM ubj3)}(hphy_support_sym_pauseh]j9)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs2hhhj2hM 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.phy_support_sym_pauseasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hphydevh]hphydev}(hj 3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hjs2hhhj2hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo2hhhj2hM ubah}(h]jj2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM hjl2hhubjg)}(hhh]jl)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hj73hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj43hhubah}(h]h ]h"]h$]h&]uh1jfhjl2hhhj2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO3jjO3jjjuh1hhhhjRthNhNubj)}(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)}(hjY3h]h Parameters}(hj[3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW3ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjS3ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjx3h]hstruct phy_device *phydev}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjr3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjr3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjo3ubah}(h]h ]h"]h$]h&]uh1jhjS3ubjl)}(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 hjS3ubjl)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjS3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhjRthhhNhNubh)}(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}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj4hM ubj3)}(hphy_support_asym_pauseh]j9)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj4hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj54hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj14ubj")}(h h]h }(hjB4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj14ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjS4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU4modnameN classnameNj j )}j ]j )}j j4sbc.phy_support_asym_pauseasbuh1hhj14ubj")}(h h]h }(hjs4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj14ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj14ubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj14ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-4ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj4hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj4hM ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hM hj3hhubjg)}(hhh]jl)}(hEnable support of asym pauseh]hEnable support of asym pause}(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&]uh1jfhj3hhhj4hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjRthNhNubj)}(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)}(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}(hj5hhhNhNubah}(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)}(hj45h]h Description}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj25ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj4ubjl)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hjJ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhjRthhhNhNubh)}(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}(hjy5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hju5hhh]/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!hju5hhhj5hM ubj3)}(hphy_set_sym_pauseh]j9)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hju5hhhj5hM ubj )}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)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.phy_set_sym_pauseasbuh1hhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hbool rxh](jM )}(hjh]hbool}(hj(6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$6ubj")}(h h]h }(hj56hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$6ubj9)}(hrxh]hrx}(hjC6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hbool txh](jM )}(hjh]hbool}(hj\6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjX6ubj")}(h h]h }(hji6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX6ubj9)}(htxh]htx}(hjw6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(h bool autonegh](jM )}(hjh]hbool}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hautonegh]hautoneg}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hju5hhhj5hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjq5hhhj5hM ubah}(h]jl5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM hjn5hhubjg)}(hhh]jl)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(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&]uh1jfhjn5hhhj5hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjRthNhNubj)}(hXn**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported ``bool autoneg`` Auto neg should be used **Description** Configure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h](jl)}(h**Parameters**h]j)}(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)}(hj7h]hstruct phy_device *phydev}(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)}(htarget phy_device structh]htarget phy_device struct}(hj/7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+7hM hj,7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj+7hM hj 7ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjO7h]hbool rx}(hjQ7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM7ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjI7ubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjh7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd7hM hje7ubah}(h]h ]h"]h$]h&]uh1jhjI7ubeh}(h]h ]h"]h$]h&]uh1jhjd7hM hj 7ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hj7h]hbool tx}(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)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hj 7ubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hj7h]h bool autoneg}(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)}(hAuto neg should be usedh]hAuto neg should be used}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hj 7ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj6ubjl)}(hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhjRthhhNhNubh)}(hhh](j)}(hEvoid phy_set_asym_pause (struct phy_device *phydev, bool rx, bool tx)h]j )}(hDvoid phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx)h](jM )}(hvoidh]hvoid}(hjA8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=8hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjP8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=8hhhjO8hM ubj3)}(hphy_set_asym_pauseh]j9)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hjb8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=8hhhjO8hM ubj )}(h-(struct phy_device *phydev, bool rx, bool tx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj~8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz8ubh)}(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 jd8sbc.phy_set_asym_pauseasbuh1hhjz8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz8ubj9)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv8ubj )}(hbool rxh](jM )}(hjh]hbool}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hrxh]hrx}(hj 9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv8ubj )}(hbool txh](jM )}(hjh]hbool}(hj$9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 9ubj")}(h h]h }(hj19hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 9ubj9)}(htxh]htx}(hj?9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=8hhhjO8hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj98hhhjO8hM ubah}(h]j48ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjO8hM hj68hhubjg)}(hhh]jl)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hji9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjf9hhubah}(h]h ]h"]h$]h&]uh1jfhj68hhhjO8hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjRthNhNubj)}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj9ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hj9h]hbool rx}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj9ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hj:h]hbool tx}(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)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj5:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1:hM hj2:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj1:hM hj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hjW:h]h Description}(hjY:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU:ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubjl)}(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.}(hjm:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhjRthhhNhNubh)}(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: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_validate_pauseh]j9)}(hphy_validate_pauseh]hphy_validate_pause}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hM ubj )}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)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_validate_pauseasbuh1hhj: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}(hj1;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(hstruct ethtool_pauseparam *pph](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)}(hethtool_pauseparamh]hethtool_pauseparam}(hjh;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj;modnameN classnameNj j )}j ]j;c.phy_validate_pauseasbuh1hhjF;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)}(hpph]hpp}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF;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)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj:hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjRthNhNubj)}(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)}(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)}(h0``struct phy_device *phydev`` 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)}(hphy_device structh]hphy_device struct}(hj%<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!<hM hj"<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj!<hM hj<ubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hjE<h]hstruct ethtool_pauseparam *pp}(hjG<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC<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)}(hrequested pause configurationh]hrequested pause configuration}(hj^<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ<hM hj[<ubah}(h]h ]h"]h$]h&]uh1jhj?<ubeh}(h]h ]h"]h$]h&]uh1jhjZ<hM hj<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.chM hj;ubjl)}(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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhjRthhhNhNubh)}(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}(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)}(h phy_get_pauseh]j9)}(h phy_get_pauseh]h phy_get_pause}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhj<hM ubj )}(h;(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)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_get_pauseasbuh1hhj<ubj")}(h h]h }(hj@=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hjN=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(hphydevh]hphydev}(hj[=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hbool *tx_pauseh](jM )}(hjh]hbool}(hjt=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjp=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)}(htx_pauseh]htx_pause}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hbool *rx_pauseh](jM )}(hjh]hbool}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hrx_pauseh]hrx_pause}(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)}(hresolve negotiated pause modesh]hresolve negotiated pause 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<hhhj<hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjRthNhNubj)}(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)>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)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjH>h]hstruct phy_device *phydev}(hjJ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjB>ubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hja>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]>hM hj^>ubah}(h]h ]h"]h$]h&]uh1jhjB>ubeh}(h]h ]h"]h$]h&]uh1jhj]>hM hj?>ubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hj>h]hbool *tx_pause}(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)}(hEpointer to bool to indicate whether transmit pause should be enabled.h]hEpointer to bool to indicate whether transmit pause should be enabled.}(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?>ubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hj>h]hbool *rx_pause}(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)}(hDpointer to bool to indicate whether receive pause should be enabled.h]hDpointer to bool to indicate whether receive pause should be enabled.}(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?>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.chM hj#>ubjl)}(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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhjRthhhNhNubh)}(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}(hj??hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjstruct phy_port * phy_get_sfp_port (struct phy_device *phydev)h]j )}(h``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjtPh]hstruct phy_device *phydev}(hjvPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrPubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnPubj)}(hhh]jl)}(hthe target PHY device structureh]hthe target PHY device structure}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjnPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjkPubah}(h]h ]h"]h$]h&]uh1jhjOPubjl)}(h**Description**h]j)}(hjPh]h Description}(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.chMhjOPubjl)}(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().}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjOPubjl)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjOPubjl)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjOPubjl)}(h **Return**h]j)}(hjPh]hReturn}(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.chM"hjOPubjl)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hjOPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhjRthhhNhNubh)}(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}(hj9QhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5Qhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjHQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5QhhhjGQhMubj3)}(hphy_register_fixuph]j9)}(hphy_register_fixuph]hphy_register_fixup}(hjZQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5QhhhjGQhMubj )}(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}(hjvQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrQubjM )}(hcharh]hchar}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrQubj9)}(hbus_idh]hbus_id}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnQubj )}(h u32 phy_uidh](h)}(hhh]j9)}(hu32h]hu32}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j j\Qsbc.phy_register_fixupasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hphy_uidh]hphy_uid}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnQubj )}(hu32 phy_uid_maskh](h)}(hhh]j9)}(hu32h]hu32}(hj RhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"RmodnameN classnameNj j )}j ]jQc.phy_register_fixupasbuh1hhjRubj")}(h h]h }(hj>RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(h phy_uid_maskh]h phy_uid_mask}(hjLRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnQubj )}(hint (*run)(struct phy_device*)h](jM )}(hinth]hint}(hjeRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaRubj")}(h h]h }(hjsRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaRubj )}(hj h]h(}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubj9)}(hrunh]hrun}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaRubj )}(hj< h]h)}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubj )}(hj h]h(}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaRubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jQc.phy_register_fixupasbuh1hhjaRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubj )}(hj< h]h)}(hj ShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnQubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5QhhhjGQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1QhhhjGQhMubah}(h]j,Qah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGQhMhj.Qhhubjg)}(hhh]jl)}(h/creates a new phy_fixup and adds it to the listh]h/creates a new phy_fixup and adds it to the list}(hj5ShhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj2Shhubah}(h]h ]h"]h$]h&]uh1jfhj.QhhhjGQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMSjjMSjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``const char *bus_id`` A string which matches phydev->mdio.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)}(hjWSh]h Parameters}(hjYShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUSubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjQSubj)}(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)}(hjvSh]hconst char *bus_id}(hjxShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtSubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpSubj)}(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)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjpSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjmSubj)}(hJ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) h](j)}(h``u32 phy_uid``h]j)}(hjSh]h u32 phy_uid}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjSubj)}(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)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjmSubj)}(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)}(hjSh]hu32 phy_uid_mask}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjSubj)}(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)}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjmSubj)}(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)}(hj"Th]hint (*run)(struct phy_device *)}(hj$ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Tubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjTubj)}(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}(hj;ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj8Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj7ThMhjmSubeh}(h]h ]h"]h$]h&]uh1jhjQSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhjRthhhNhNubh)}(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|ThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxThhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxThhhjThM~ubj3)}(hget_phy_c45_idsh]j9)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxThhhjThM~ubj )}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j jTsbc.get_phy_c45_idsasbuh1hhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hbush]hbus}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hint addrh](jM )}(hinth]hint}(hj+UhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'Uubj")}(h h]h }(hj9UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'Uubj9)}(haddrh]haddr}(hjGUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h"struct phy_c45_device_ids *c45_idsh](j)}(hjh]hstruct}(hj`UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\Uubj")}(h h]h }(hjmUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\Uubh)}(hhh]j9)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hj~UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jTc.get_phy_c45_idsasbuh1hhj\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)}(hc45_idsh]hc45_ids}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxThhhjThM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjtThhhjThM~ubah}(h]joTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM~hjqThhubjg)}(hhh]jl)}(h/reads the specified addr for its 802.3-c45 IDs.h]h/reads the specified addr for its 802.3-c45 IDs.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~hjUhhubah}(h]h ]h"]h$]h&]uh1jfhjqThhhjThM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. **Description** Read the PHY "devices in package". If this appears to be valid, read the PHY identifiers for each device. Return the "devices in package" and identifiers in **c45_ids**. Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid or no device responds.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjUubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hj"Vh]hstruct mii_bus *bus}(hj$VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Vubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjVubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hj;VhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7VhMhj8Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj7VhMhjVubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj[Vh]hint addr}(hj]VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjUVubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjtVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjpVhMhjqVubah}(h]h ]h"]h$]h&]uh1jhjUVubeh}(h]h ]h"]h$]h&]uh1jhjpVhMhjVubj)}(hN``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. h](j)}(h&``struct phy_c45_device_ids *c45_ids``h]j)}(hjVh]h"struct phy_c45_device_ids *c45_ids}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjVubj)}(hhh]jl)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubeh}(h]h ]h"]h$]h&]uh1jhjUubjl)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjUubjl)}(hRead the PHY "devices in package". If this appears to be valid, read the PHY identifiers for each device. Return the "devices in package" and identifiers in **c45_ids**.h](hRead the PHY “devices in package”. If this appears to be valid, read the PHY identifiers for each device. Return the “devices in package” and identifiers in }(hjVhhhNhNubj)}(h **c45_ids**h]hc45_ids}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjUubjl)}(hReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid or no device responds.h](hReturns zero on success, }(hjWhhhNhNubj)}(h``-EIO``h]h-EIO}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh on bus access error, or }(hjWhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhB if the “devices in package” is invalid or no device responds.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h?int get_phy_c22_id (struct mii_bus *bus, int addr, u32 *phy_id)h]j )}(h>int get_phy_c22_id(struct mii_bus *bus, int addr, u32 *phy_id)h](jM )}(hinth]hint}(hjYWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUWhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUWhhhjgWhMubj3)}(hget_phy_c22_idh]j9)}(hget_phy_c22_idh]hget_phy_c22_id}(hjzWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUWhhhjgWhMubj )}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j j|Wsbc.get_phy_c22_idasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hbush]hbus}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(hint addrh](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(haddrh]haddr}(hj$XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(h u32 *phy_idh](h)}(hhh]j9)}(hu32h]hu32}(hj@XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBXmodnameN classnameNj j )}j ]jWc.get_phy_c22_idasbuh1hhj9Xubj")}(h h]h }(hj^XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9Xubj )}(hj h]h*}(hjlXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9Xubj9)}(hphy_idh]hphy_id}(hjyXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUWhhhjgWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQWhhhjgWhMubah}(h]jLWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjgWhMhjNWhhubjg)}(hhh]jl)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjNWhhhjgWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjRthNhNubj)}(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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjXubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjXh]hstruct mii_bus *bus}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjXubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjYh]hint addr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjYubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj6YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2YhMhj3Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj2YhMhjXubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hjVYh]h u32 *phy_id}(hjXYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTYubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPYubj)}(hhh]jl)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hjoYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkYhMhjlYubah}(h]h ]h"]h$]h&]uh1jhjPYubeh}(h]h ]h"]h$]h&]uh1jhjkYhMhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjXubjl)}(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 }(hjYhhhNhNubj)}(h**addr**h]haddr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh on the }(hjYhhhNhNubj)}(h**bus**h]hbus}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh, placing it in }(hjYhhhNhNubj)}(h **phy_id**h]hphy_id}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh6. Return zero on successful read and the ID is valid, }(hjYhhhNhNubj)}(h``-EIO``h]h-EIO}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh on bus access error, or }(hjYhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh% if no device responds or invalid ID.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhjRthhhNhNubh)}(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}(hj0ZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,Zhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj?ZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,Zhhhj>ZhMubj3)}(hphy_prepare_linkh]j9)}(hphy_prepare_linkh]hphy_prepare_link}(hjQZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,Zhhhj>ZhMubj )}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjmZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiZubj")}(h h]h }(hjzZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiZubh)}(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 jSZsbc.phy_prepare_linkasbuh1hhjiZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiZubj9)}(hphydevh]hphydev}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeZubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h(}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hhandlerh]hhandler}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubj )}(hj< h]h)}(hj#[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj )}(hj h]h(}(hj0[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj)}(hjh]hstruct}(hj=[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjJ[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj[[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj][modnameN classnameNj j )}j ]jZc.phy_prepare_linkasbuh1hhjZubj )}(hj h]h*}(hjy[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj )}(hj< h]h)}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeZubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,Zhhhj>ZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(Zhhhj>ZhMubah}(h]j#Zah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>ZhMhj%Zhhubjg)}(hhh]jl)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhj%Zhhhj>ZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjRthNhNubj)}(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)}(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.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:131: ./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```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj)\h]h$void (*handler)(struct net_device *)}(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.chMhj#\ubj)}(hhh]jl)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hjB\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)}(hjd\h]h Description}(hjf\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb\ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj[ubj)}(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}(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)}(hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h]hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don’t call this function.}(hj\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\hMhjz\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhjRthhhNhNubh)}(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}(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_poll_reseth]j9)}(hphy_poll_reseth]hphy_poll_reset}(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 reftargetj1]modnameN classnameNj j )}j ]j )}j j\sbc.phy_poll_resetasbuh1hhj ]ubj")}(h h]h }(hjO]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ]ubj )}(hj h]h*}(hj]]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ]ubj9)}(hphydevh]hphydev}(hjj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ]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)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjRthNhNubj)}(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)}(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.chM hj]ubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll 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:131: ./drivers/net/phy/phy_device.chMhj]ubj)}(hhh]jl)}(hThe PHY device to pollh]hThe PHY device to poll}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj]ubj)}(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-^hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM*hj)^ubj)}(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.}(hj?^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj<^ubjl)}(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.}(hjN^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hj<^ubjl)}(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]^hhhNhNubj )}(h *REQUIRE*h]hREQUIRE}(hje^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]^ubhX 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]^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM&hj<^ubeh}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhjRthhhNhNubh)}(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}(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_sfp_connect_phyh]j9)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj^hMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hj _hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hupstreamh]hupstream}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubj )}(hstruct phy_device *phyh](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}(hjM_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO_modnameN classnameNj j )}j ]j )}j j^sbc.phy_sfp_connect_phyasbuh1hhj+_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)}(hphyh]hphy}(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)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjRthNhNubj)}(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)}(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.chMhj_ubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj_h]hvoid *upstream}(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.chMhj_ubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy 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)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hj,`h]hstruct phy_device *phy}(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.chMhj&`ubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjE`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjA`hMhjB`ubah}(h]h ]h"]h$]h&]uh1jhj&`ubeh}(h]h ]h"]h$]h&]uh1jhjA`hMhj_ubeh}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj_ubjl)}(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}`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.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:131: ./drivers/net/phy/phy_device.chMhj_ubjl)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhjRthhhNhNubh)}(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}(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_sfp_disconnect_phyh]j9)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj aubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj aubj )}(hj h]h*}(hj,ahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj aubj9)}(hupstreamh]hupstream}(hj9ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjRahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNaubj")}(h h]h }(hj_ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNaubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjpahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjramodnameN classnameNj j )}j ]j )}j j`sbc.phy_sfp_disconnect_phyasbuh1hhjNaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNaubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNaubj9)}(hphyh]hphy}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhj`hMubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhj`hhubjg)}(hhh]jl)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(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&]uh1jfhj`hhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjRthNhNubj)}(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)}(hjah]h Parameters}(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.chMhjaubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjbh]hvoid *upstream}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hj/bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+bhMhj,bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj+bhMhj bubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjObh]hstruct phy_device *phy}(hjQbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMbubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjIbubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjhbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdbhMhjebubah}(h]h ]h"]h$]h&]uh1jhjIbubeh}(h]h ]h"]h$]h&]uh1jhjdbhMhj bubeh}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjaubjl)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhjRthhhNhNubh)}(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}(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 }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(hphy_sfp_attachh]j9)}(hphy_sfp_attachh]hphy_sfp_attach}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(h%(void *upstream, struct sfp_bus *bus)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hj chhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hj(chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hupstreamh]hupstream}(hj5chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjNchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJcubj")}(h h]h }(hj[chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJcubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjlchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjicubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjncmodnameN classnameNj j )}j ]j )}j jbsbc.phy_sfp_attachasbuh1hhjJcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJcubj9)}(hbush]hbus}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(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)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjchhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjRthNhNubj)}(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)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjcubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjdh]hvoid *upstream}(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.chMhj dubj)}(hhh]jl)}(hpointer to the phy deviceh]hpointer to the phy device}(hj+dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'dhMhj(dubah}(h]h ]h"]h$]h&]uh1jhj dubeh}(h]h ]h"]h$]h&]uh1jhj'dhMhj dubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjKdh]hstruct sfp_bus *bus}(hjMdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjEdubj)}(hhh]jl)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjddhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`dhMhjadubah}(h]h ]h"]h$]h&]uh1jhjEdubeh}(h]h ]h"]h$]h&]uh1jhj`dhMhj 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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjcubjl)}(h 0 if it has changed.h](jl)}(h**Parameters**h]j)}(hj}ih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{iubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwiubj)}(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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hjih]hconst unsigned long *advert}(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)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubeh}(h]h ]h"]h$]h&]uh1jhjwiubjl)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwiubj)}(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-jhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj)jubj)}(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?jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](jl)}(h**Parameters**h]j)}(hjbkh]h Parameters}(hjdkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`kubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMJhj\kubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjkh]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMGhj{kubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMGhjkubah}(h]h ]h"]h$]h&]uh1jhj{kubeh}(h]h ]h"]h$]h&]uh1jhjkhMGhjxkubah}(h]h ]h"]h$]h&]uh1jhj\kubjl)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMIhj\kubj)}(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,}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMLhjkubj)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMJhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMLhjkubah}(h]h ]h"]h$]h&]uh1jhj\kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhjRthhhNhNubh)}(hhh](j)}(h"int phy_probe (struct device *dev)h]j )}(h!int phy_probe(struct device *dev)h](jM )}(hinth]hint}(hj,lhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(lhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM9ubj")}(h h]h }(hj;lhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(lhhhj:lhM9ubj3)}(h phy_probeh]j9)}(h phy_probeh]h phy_probe}(hjMlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(lhhhj:lhM9ubj )}(h(struct device *dev)h]j )}(hstruct device *devh](j)}(hjh]hstruct}(hjilhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjelubj")}(h h]h }(hjvlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjelubh)}(hhh]j9)}(hdeviceh]hdevice}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j jOlsb c.phy_probeasbuh1hhjelubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjelubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjelubj9)}(hdevh]hdev}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjelubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjalubah}(h]h ]h"]h$]h&]jPjQuh1j hj(lhhhj:lhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$lhhhj:lhM9ubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:lhM9hj!lhhubjg)}(hhh]jl)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM9hjlhhubah}(h]h ]h"]h$]h&]uh1jfhj!lhhhj:lhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjRthNhNubj)}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj mubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM=hjmubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj-mh]hstruct device *dev}(hj/mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+mubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM:hj'mubj)}(hhh]jl)}(hdevice to probe and inith]hdevice to probe and init}(hjFmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBmhM:hjCmubah}(h]h ]h"]h$]h&]uh1jhj'mubeh}(h]h ]h"]h$]h&]uh1jhjBmhM:hj$mubah}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hjhmh]h Description}(hjjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfmubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM<hjmubjl)}(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~mhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM;hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhjRthhhNhNubh)}(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}(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_driver_registerh]j9)}(hphy_driver_registerh]hphy_driver_register}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjmhMubj )}(h5(struct phy_driver *new_driver, struct module *owner)h](j )}(hstruct phy_driver *new_driverh](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_driverh]h phy_driver}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj nmodnameN classnameNj j )}j ]j )}j jmsbc.phy_driver_registerasbuh1hhjmubj")}(h h]h }(hj(nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hj6nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(h new_driverh]h new_driver}(hjCnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubj )}(hstruct module *ownerh](j)}(hjh]hstruct}(hj\nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXnubj")}(h h]h }(hjinhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXnubh)}(hhh]j9)}(hmoduleh]hmodule}(hjznhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|nmodnameN classnameNj j )}j ]j$nc.phy_driver_registerasbuh1hhjXnubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXnubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXnubj9)}(hownerh]howner}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubeh}(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)}(h(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjRthNhNubj)}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjohhhNhNubah}(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)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hjoh]hstruct phy_driver *new_driver}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjoubj)}(hhh]jl)}(hnew phy_driver to registerh]hnew phy_driver to register}(hj7ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3ohMhj4oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj3ohMhjoubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjWoh]hstruct module *owner}(hjYohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUoubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjQoubj)}(hhh]jl)}(hmodule owning this PHYh]hmodule owning this PHY}(hjpohhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmoubah}(h]h ]h"]h$]h&]uh1jhjQoubeh}(h]h ]h"]h$]h&]uh1jhjlohMhjoubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhjRthhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohKRubj3)}(h__mdiobus_readh]j9)}(h__mdiobus_readh]h__mdiobus_read}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohKRubj )}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j josbc.__mdiobus_readasbuh1hhjoubj")}(h h]h }(hj,phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hj:phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hbush]hbus}(hjGphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hint addrh](jM )}(hinth]hint}(hj`phhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\pubj")}(h h]h }(hjnphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\pubj9)}(haddrh]haddr}(hj|phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\pubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j(pc.__mdiobus_readasbuh1hhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(hregnumh]hregnum}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjohKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjohKRubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohKRhjohhubjg)}(hhh]jl)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRhjphhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjRthNhNubj)}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(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.chKVhj qubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj/qh]hstruct mii_bus *bus}(hj1qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-qubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKShj)qubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjHqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDqhKShjEqubah}(h]h ]h"]h$]h&]uh1jhj)qubeh}(h]h ]h"]h$]h&]uh1jhjDqhKShj&qubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjhqh]hint addr}(hjjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKThjbqubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}qhKThj~qubah}(h]h ]h"]h$]h&]uh1jhjbqubeh}(h]h ]h"]h$]h&]uh1jhj}qhKThj&qubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjqh]h u32 regnum}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKUhjqubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhKUhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhKUhj&qubeh}(h]h ]h"]h$]h&]uh1jhj qubjl)}(h **Return**h]j)}(hjqh]hReturn}(hjqhhhNhNubah}(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.chKWhj qubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKWhj qubjl)}(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:134: ./drivers/net/phy/mdio_bus.chKYhj qubjl)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKXhj qubjl)}(h**NOTE**h]j)}(hj*rh]hNOTE}(hj,rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(rubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKZhj qubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj@rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK[hj qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhjRthhhNhNubh)}(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}(hjorhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkrhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKsubj")}(h h]h }(hj~rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkrhhhj}rhKsubj3)}(h__mdiobus_writeh]j9)}(h__mdiobus_writeh]h__mdiobus_write}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkrhhhj}rhKsubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j jrsbc.__mdiobus_writeasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hbush]hbus}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hint addrh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hj,shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(haddrh]haddr}(hj:shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjVshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXsmodnameN classnameNj j )}j ]jrc.__mdiobus_writeasbuh1hhjOsubj")}(h h]h }(hjtshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOsubj9)}(hregnumh]hregnum}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jrc.__mdiobus_writeasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hvalh]hval}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkrhhhj}rhKsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjgrhhhj}rhKsubah}(h]jbrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}rhKshjdrhhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKshjshhubah}(h]h ]h"]h$]h&]uh1jfhjdrhhhj}rhKsubeh}(h]h ](jfunctioneh"]h$]h&]jjjj tjj tjjjuh1hhhhjRthNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKwhjtubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj5th]hstruct mii_bus *bus}(hj7thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3tubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKthj/tubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjNthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJthKthjKtubah}(h]h ]h"]h$]h&]uh1jhj/tubeh}(h]h ]h"]h$]h&]uh1jhjJthKthj,tubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjnth]hint addr}(hjpthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjltubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKuhjhtubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthKuhjtubah}(h]h ]h"]h$]h&]uh1jhjhtubeh}(h]h ]h"]h$]h&]uh1jhjthKuhj,tubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjth]h u32 regnum}(hjthhhNhNubah}(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.chKvhjtubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthKvhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKvhj,tubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjth]hu16 val}(hjthhhNhNubah}(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.chKwhjtubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjthhhNhNubj)}(h **regnum**h]hregnum}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jkhjthKwhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKwhj,tubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(h **Return**h]j)}(hj)uh]hReturn}(hj+uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'uubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjtubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj?uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjtubjl)}(h**Description**h]j)}(hjPuh]h Description}(hjRuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNuubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK{hjtubjl)}(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.}(hjfuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKzhjtubjl)}(h**NOTE**h]j)}(hjwuh]hNOTE}(hjyuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuuubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK|hjtubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK}hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhjRthhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjuhKubj3)}(h__mdiobus_modify_changedh]j9)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjuhKubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j jusbc.__mdiobus_modify_changedasbuh1hhjuubj")}(h h]h }(hj7vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjEvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hbush]hbus}(hjRvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hint addrh](jM )}(hinth]hint}(hjkvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgvubj")}(h h]h }(hjyvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgvubj9)}(haddrh]haddr}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j3vc.__mdiobus_modify_changedasbuh1hhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hregnumh]hregnum}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j3vc.__mdiobus_modify_changedasbuh1hhjvubj")}(h h]h }(hj whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hmaskh]hmask}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj3whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5wmodnameN classnameNj j )}j ]j3vc.__mdiobus_modify_changedasbuh1hhj,wubj")}(h h]h }(hjQwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,wubj9)}(hseth]hset}(hj_whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjuhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjuhKubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhKhjuhhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjuhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjRthNhNubj)}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjwh]hstruct mii_bus *bus}(hjwhhhNhNubah}(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.chKhjwubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjwubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjxh]hint addr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjwubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:xubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj6xubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjUxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQxhKhjRxubah}(h]h ]h"]h$]h&]uh1jhj6xubeh}(h]h ]h"]h$]h&]uh1jhjQxhKhjwubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjuxh]hu16 mask}(hjwxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjoxubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjoxubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjwubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjxh]hu16 set}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjxubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h **Return**h]j)}(hjxh]hReturn}(hjxhhhNhNubah}(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.chKhjwubjl)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubjl)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubjl)}(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.}(hj&yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubjl)}(h**NOTE**h]j)}(hj7yh]hNOTE}(hj9yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5yubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjMyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhjRthhhNhNubh)}(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|yhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxyhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxyhhhjyhKubj3)}(h__mdiobus_c45_readh]j9)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxyhhhjyhKubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j jysbc.__mdiobus_c45_readasbuh1hhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hbush]hbus}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint addrh](jM )}(hinth]hint}(hj+zhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'zubj")}(h h]h }(hj9zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'zubj9)}(haddrh]haddr}(hjGzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(h int devadh](jM )}(hinth]hint}(hj`zhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\zubj")}(h h]h }(hjnzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\zubj9)}(hdevadh]hdevad}(hj|zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jyc.__mdiobus_c45_readasbuh1hhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj9)}(hregnumh]hregnum}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxyhhhjyhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjtyhhhjyhKubah}(h]joyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhKhjqyhhubjg)}(hhh]jl)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjqyhhhjyhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjRthNhNubj)}(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)}(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.chKhj {ubj)}(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}(hj1{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj){ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjH{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjD{hKhjE{ubah}(h]h ]h"]h$]h&]uh1jhj){ubeh}(h]h ]h"]h$]h&]uh1jhjD{hKhj&{ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh{h]hint addr}(hjj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjb{ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}{hKhj~{ubah}(h]h ]h"]h$]h&]uh1jhjb{ubeh}(h]h ]h"]h$]h&]uh1jhj}{hKhj&{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.chKhj{ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(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'``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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj{ubj)}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj&{ubeh}(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&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj {ubjl)}(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.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=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.}(hjR|hhhNhNubah}(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)}(hjc|h]hNOTE}(hje|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja|ubah}(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.}(hjy|hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhjRthhhNhNubh)}(hhh](j)}(hWint __mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(hVint __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhj|hKubj3)}(h__mdiobus_c45_writeh]j9)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhj|hKubj )}(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 }(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 )}j j|sbc.__mdiobus_c45_writeasbuh1hhj|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)}(hbush]hbus}(hj>}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hint addrh](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}ubj9)}(haddrh]haddr}(hjs}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h int devadh](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj9)}(hdevadh]hdevad}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j}c.__mdiobus_c45_writeasbuh1hhj}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 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.__mdiobus_c45_writeasbuh1hhj~ubj")}(h h]h }(hj*~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(hvalh]hval}(hj8~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhj|hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhj|hKubah}(h]j|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hKhj|hhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjb~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&]uh1jfhj|hhhj|hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjz~jjz~jjjuh1hhhhjRthNhNubj)}(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)}(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.chKhj~~ubj)}(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.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~hKhj~ubj)}(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.chKhj~ubj)}(hhh]jl)}(hthe phy addressh]hthe phy 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%``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}(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(``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.chKhjHubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhj~ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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 **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}(hjhhhNhNubah}(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)}(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.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.}(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**NOTE**h]j)}(hjh]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.chKhj~~ubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj4hhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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&]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_read_nestedasbuh1hhjubj")}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jڀc.mdiobus_read_nestedasbuh1hhjCubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj9)}(hregnumh]hregnum}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjqhM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjqhM"ubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhM"hjXhhubjg)}(hhh]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"hjhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjqhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(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#hjہubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(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 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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hM$hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM$hj؁ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjSh]h u32 regnum}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hjMubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhM%hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM%hj؁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.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().}(hj˂hhhNhNubah}(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)}(hj܂h]hNOTE}(hjނhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڂubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM+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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hM=ubj )}(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&]uh1jhjZubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(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 jDsbc.mdiobus_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)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hint addrh](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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̃ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.mdiobus_readasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj4hhhNhNubah}(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)}(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&]uh1jfhjhhhj/hM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjRthNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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&]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'``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@hj ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM@hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM@hjubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h **Return**h]j)}(hjLh]hReturn}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(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.}(hjhhhNhNubah}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhjRthhhNhNubh)}(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 }(hjDžhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjƅhMUubj3)}(hmdiobus_c45_readh]j9)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjمhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՅubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjƅhMUubj )}(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 jۅsbc.mdiobus_c45_readasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjԆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjцubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjֆmodnameN classnameNj j )}j ]j/c.mdiobus_c45_readasbuh1hhj͆ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͆ubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͆ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjƅhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjƅhMUubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjƅhMUhjhhubjg)}(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.chMUhj'hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjƅhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjRthNhNubj)}(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)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjFubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjbubj)}(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.chMWhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjbubj)}(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.chMXhjׇubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjׇubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjbubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMYhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMYhjbubeh}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjFubjl)}(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[hjFubjl)}(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]hjFubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhjRthhhNhNubh)}(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 }(hj̈hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjˈhMnubj3)}(hmdiobus_c45_read_nestedh]j9)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hjވhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڈubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjˈhMnubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_c45_read_nestedasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjىhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj։ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjۉmodnameN classnameNj j )}j ]j4c.mdiobus_c45_read_nestedasbuh1hhj҉ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj҉ubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj҉ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjˈhMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjˈhMnubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjˈhMnhjhhubjg)}(hhh]jl)}(h/Nested version of the mdiobus_c45_read functionh]h/Nested version of the mdiobus_c45_read function}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMnhj,hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjˈhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjRthNhNubj)}(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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhjKubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjgubj)}(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}(hjŠhhhNhNubah}(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)}(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.chMqhj܊ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhj܊ubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjgubj)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMrhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMrhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h **Return**h]j)}(hjVh]hReturn}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjKubjl)}(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.chMthjKubjl)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjKubjl)}(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.chMuhjKubjl)}(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.chMxhjKubjl)}(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.chMyhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhjRthhhNhNubh)}(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}(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_write_nestedh]j9)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.mdiobus_write_nestedasbuh1hhj"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)}(hbush]hbus}(hjhhhNhNubah}(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 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}(hjЌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͌ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjҌmodnameN classnameNj j )}j ]j`c.mdiobus_write_nestedasbuh1hhjɌubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɌubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɌubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j`c.mdiobus_write_nestedasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjDhhhNhNubah}(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)jehuh1jhjhMhjދhhubjg)}(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&]uh1jfhjދhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(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}(hjȍhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjčhMhjōubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjčhMhjubj)}(h``int 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&]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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjZh]hu16 val}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjTubj)}(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&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(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)}(hjʎh]h Description}(hj̎hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȎubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(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.}(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&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhjRthhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhMubj3)}(h mdiobus_writeh]j9)}(h mdiobus_writeh]h mdiobus_write}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhMubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(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 jYsbc.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}(hj̏hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(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 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 }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjIhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhMubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhj+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+hhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӐjjӐjjjuh1hhhhjRthNhNubj)}(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)}(hjݐh]h Parameters}(hjߐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjېubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjאubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj5h]hint addr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjאubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjאubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjאubjl)}(h**NOTE**h]j)}(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.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:134: ./drivers/net/phy/mdio_bus.chMhjאubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhjRthhhNhNubh)}(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 hjXhhh[/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!hjXhhhjjhMubj3)}(hmdiobus_c45_writeh]j9)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_writeasbuh1hhjubj")}(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_writeasbuh1hhjqubj")}(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 hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj“modnameN classnameNj j )}j ]jӒc.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 hjXhhhjjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMhjQhhubjg)}(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&]uh1jfhjQhhhjjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjRthNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj2ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjWh]hstruct mii_bus *bus}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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.chMhjÔubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjޔhMhjߔubah}(h]h ]h"]h$]h&]uh1jhjÔubeh}(h]h ]h"]h$]h&]uh1jhjޔhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj5ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjThhhNhNubj)}(h **regnum**h]hregnum}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(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.chMhj2ubjl)}(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.chMhj2ubjl)}(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.chMhj2ubjl)}(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.chMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(h\int mdiobus_c45_write_nested (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(h[int mdiobus_c45_write_nested(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hmdiobus_c45_write_nestedh]j9)}(hmdiobus_c45_write_nestedh]hmdiobus_c45_write_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(h int devadh](jM )}(hinth]hint}(hjԖhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjЖubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjЖubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjЖubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jgc.mdiobus_c45_write_nestedasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj—jj—jjjuh1hhhhjRthNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj̗h]h Parameters}(hjΗhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʗubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjƗubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj$h]hint addr}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(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.chMhjWubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjϘh]hu16 val}(hjјhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͘ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjɘubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɘubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjƗubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjƗubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjƗubjl)}(h**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:134: ./drivers/net/phy/mdio_bus.chMhjƗ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().}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjƗubjl)}(h**NOTE**h]j)}(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.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:134: ./drivers/net/phy/mdio_bus.chMhjƗubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhjRthhhNhNubh)}(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}(hj̙hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjșubah}(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}(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 jΙsbc.mdiobus_modifyasbuh1hhjubj")}(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)}(hbush]hbus}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(haddrh]haddr}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(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_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjښhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjךubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjܚmodnameN classnameNj j )}j ]j"c.mdiobus_modifyasbuh1hhjӚ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 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.mdiobus_modifyasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjNhhhNhNubah}(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 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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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)}(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}(hjқhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjΛhMhjϛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΛhMhjubj)}(h``int 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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj+h]h u32 regnum}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(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)}(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.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&]uh1jhjhMhjubeh}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhjRthhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(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_modifyasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hint addrh](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)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȝubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(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 hjRubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jc.mdiobus_c45_modifyasbuh1hhj2ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hregnumh]hregnum}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.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 hjRubj )}(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_modifyasbuh1hhjž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 hjRubeh}(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&]jjjj7jj7jjjuh1hhhhjRthNhNubj)}(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)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM*hj;ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(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(hjZubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM(hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM(hjWubj)}(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)hjWubj)}(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.chM*hj̟ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhj̟ubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjWubj)}(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+hjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM+hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM+hjWubj)}(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.chM,hj>ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM,hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM,hjWubj)}(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.chM-hjwubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM/hj;ubjl)}(h-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.chM/hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhjRthhhNhNubh)}(hhh](j)}(hYint mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hXint mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM@ubj3)}(hmdiobus_modify_changedh]j9)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM@ubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]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_modify_changedasbuh1hhj6ubj")}(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 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_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 hj2ubj )}(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 ]jtc.mdiobus_modify_changedasbuh1hhj%ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hmaskh]hmask}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(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 register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hjʢhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@hjǢhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRthNhNubj)}(hX@**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error conditionh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjubj)}(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.chMBhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMBhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMBhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjDh]hint addr}(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.chMChj>ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMChjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMChjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj}h]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjwubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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}(hjϣhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjˣhMEhj̣ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˣhMEhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMFhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubeh}(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.chMHhjubjl)}(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.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhjRthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(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}(hjʤhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǤubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̤modnameN classnameNj j )}j ]j )}j jsbc.mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj9)}(hdevadh]hdevad}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_c45_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 reftargetjեmodnameN classnameNj j )}j ]jc.mdiobus_c45_modify_changedasbuh1hhj̥ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̥ubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̥ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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_c45_modify_changedasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjGhhhNhNubah}(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&]jjjjjjjjjuh1hhhhjRthNhNubj)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj˦hhhNhNubah}(h]h ]h"]h$]h&]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%``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.chM]hjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM]hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM]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^hjWubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM^hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM^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:134: ./drivers/net/phy/mdio_bus.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)}(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`hjɧubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(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 **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.chMbhjubjl)}(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.chMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhjRthhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhh[/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!hjKhhhj]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&]jPjQuh1j2hjKhhhj]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}(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]hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hKubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hKhjDhhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjRthNhNubj)}(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)}(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:137: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(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)}(hj˪h]hint addr}(hjͪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɪubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.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%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(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:137: ./drivers/net/phy/mdio_bus.chMhj7ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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&]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: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.}(hj'hhhNhNubah}(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)}(hj8h]hNOTE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(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.}(hjNhhhNhNubah}(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&]uh1jhjRthhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjަhhhhhKoubh)}(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.}(hjhhhNhNubah}(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}(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)}(hlink state structureh]hlink state structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKihjhhubah}(h]h ]h"]h$]h&]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.hhKmhj ubj)}(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.hhKohj ubjl)}(h **Members**h]j)}(hj>h]hMembers}(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.hhK{hj ubj)}(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.hhKkhjWubj)}(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&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKkhjTubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hjh]hlp_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.hhKmhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKmhjTubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjЭh]h 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.hhKnhjʭubj)}(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_tuh1hhjhKnhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjʭubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjTubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hj,h]hspeed}(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.hhKohj&ubj)}(hhh]jl)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhKohjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhKohjTubj)}(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&]uh1jhjzhKphjTubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hjh]hpause}(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.hhKqhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjTubj)}(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)}(hj׮h]h rate_matching}(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.hhKuhjѮubj)}(hhh]jl)}(hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different.h](hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (}(hjhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2) and the speed/duplex of the phy interface mode (}(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) are different.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKrhjubah}(h]h ]h"]h$]h&]uh1jhjѮubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjTubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hjGh]hlink}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKvhjTubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjh]h an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKwhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjTubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(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}(hjگhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֯hhhX/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!hj֯hhhjhK}ubj3)}(hphylink_configh]j9)}(hjԯh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj֯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)}(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&]uh1jfhjϯhhhjhK}ubeh}(h]h ](jstructeh"]h$]h&]jjjj4jj4jjjuh1hhhhjlhNhNubj)}(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&]uh1jhj<ubh:}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj8ubj)}(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; };}hjYsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj8ubjl)}(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.hhKhj8ubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hj°h]htype}(hjİhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hj۰hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjװhKhjذubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjװhKhjubj)}(hY``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``poll_fixed_state``h]j)}(hjh]hpoll_fixed_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hCif true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode.h](h-if true, starts link_poll, if MAC link is at }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hjGh]hmac_managed_pm}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjAubj)}(hhh]jl)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKhjubj)}(h``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. h](j)}(h``mac_requires_rxc``h]j)}(hjh]hmac_requires_rxc}(hjhhhNhNubah}(h]h ]h"]h$]h&]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.}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.}(hjӱhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjбubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϱhKhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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}(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_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 }(hjFhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh mode.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjubj)}(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.}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.}(hj̲hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjɲubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȲhKhjubj)}(h:``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&]uh1jhjhKhjubj)}(hA``lpi_capabilities`` MAC speeds which can support LPI signalling h](j)}(h``lpi_capabilities``h]j)}(hj&h]hlpi_capabilities}(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+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(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``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.hhKhjYubj)}(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&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjubj)}(hP``eee_enabled_default`` If set, EEE will be enabled by phylink at creation time h](j)}(h``eee_enabled_default``h]j)}(hjh]heee_enabled_default}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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)}(hjѳh]hwol_phy_legacy}(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: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&]uh1jhj˳ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h?``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume h](j)}(h``wol_phy_speed_ctrl``h]j)}(hj h]hwol_phy_speed_ctrl}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h'Use phy speed control on suspend/resumeh]h'Use phy speed control on suspend/resume}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h?``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](j)}(h``wol_mac_support``h]j)}(hjCh]hwol_mac_support}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj=ubj)}(hhh]jl)}(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.hhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(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}(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)}(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&]jjjj jj jjjuh1hhhhjlhNhNubj)}(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.hhKhj ubj)}(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); };}hj.sbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj ubjl)}(h **Members**h]j)}(hj?h]hMembers}(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.hhKhj ubj)}(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.hhKhjXubj)}(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&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKhjUubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hjh]hmac_select_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.hhKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjUubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjеh]h mac_prepare}(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)}(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&]uh1jhjʵubeh}(h]h ]h"]h$]h&]uh1jhjhKhjUubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hj h]h mac_config}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h2configure the MAC for the selected mode and state.h]h2configure the MAC for the selected mode and state.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjUubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hjBh]h mac_finish}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj<ubj)}(hhh]jl)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhKhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhKhjUubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjUubj)}(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.}(hjͶhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɶhKhjʶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɶhKhjUubj)}(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&]uh1jhjhKhjUubj)}(h0``mac_enable_tx_lpi`` enable and configure LPI. h](j)}(h``mac_enable_tx_lpi``h]j)}(hj&h]hmac_enable_tx_lpi}(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)}(henable and configure LPI.h]henable and configure LPI.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhjUubj)}(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.hhKhjYubj)}(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&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjUubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(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 hjܷhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܷhhhjhKubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjܷhhhjhKubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܷhhhjhKubj3)}(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&]jPjQuh1j2hjܷhhhjhKubj )}(h:(struct phylink_config *config, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.mac_get_capsasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(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 }(hj̸hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjڸhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(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(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&]uh1jfhjշhhhjhKubeh}(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)}(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.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)}(hjEh]hstruct phylink_config *config}(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.hhKhj?ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj^hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjhh]hstruct phylink_config}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjZhKhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhj<ubj)}(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.hhKhjubj)}(hhh]jl)}(hPHY interface mode.h]hPHY interface mode.}(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)}(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.hhKhj ubjl)}(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.hhKhj ubeh}(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}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hKubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j mac_select_pcssbc.mac_select_pcsasbuh1hhjhhhj.hKubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hKubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj.hKubj3)}(hmac_select_pcsh]j9)}(hj^h]hmac_select_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hKubj )}(h:(struct phylink_config *config, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j\c.mac_select_pcsasbuh1hhjubj")}(h h]h }(hj׺hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(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&]uh1j8hj ubah}(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}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hKhjhhubjg)}(hhh]jl)}(h$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&]uh1jfhjhhhj.hKubeh}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjȻh]hstruct phylink_config}(hjʻhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjƻubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhjhKhjubeh}(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.hhKhjubjl)}(hReturn the :c:type:`struct phylink_pcs ` for the specified interface mode, or NULL if none is required, or an error pointer on error.h](h Return the }(hjRhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj\h]hstruct phylink_pcs}(hj^hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjRubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjyhKhjubjl)}(hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.h]hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]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 }(hj¼hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h mac_prepareh]j9)}(h mac_prepareh]h mac_prepare}(hjԼhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjмubah}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jּsb c.mac_prepareasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjIhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j* c.mac_prepareasbuh1hhjubj")}(h h]h }(hjԽhhhNhNubah}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjlhNhNubj)}(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)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj(ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjMh]hstruct phylink_config *config}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjGubj)}(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&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(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 }(hj¾hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjʾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¾ubh, }(hj¾hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjܾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¾ubh, }hj¾sbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¾ubh.}(hj¾hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj(ubjl)}(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.hhMhj(ubjl)}(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 hj(ubjl)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj(ubeh}(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 }(hjſhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjĿhMubj3)}(h mac_configh]j9)}(h mac_configh]h mac_config}(hj׿hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӿubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjĿhMubj )}(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 jٿsb c.mac_configasbuh1hhjubj")}(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 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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj9)}(hmodeh]hmode}(hjhhhNhNubah}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(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)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(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&]uh1jfhjhhhjĿhMubeh}(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)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(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}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj4hhhNhNubah}(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)}(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.hhMhjXubj)}(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)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjshMhjwubh.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(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 }(hj8hhhNhNubj)}(h**mode**h]hmode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh, }(hj8hhhNhNubj)}(h**state->pause**h]h state->pause}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhE indicates the pause settings which should be applied as follows. If }(hj8hhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh is not set, }(hj8hhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh and }(hj8hhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh 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.}(hj8hhhNhNubeh}(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&]uh1jhj ubh" may be used, but is not required.}(hj hhhNhNubeh}(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 }(hj'hhhNhNubj)}(h**state->speed**h]h state->speed}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh, }(hj'hhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh and }(hj'hhhNhNubj)}(h**state->pause**h]h state->pause}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubhe to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().}(hj'hhhNhNubeh}(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.}(hjhhhNhNubah}(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.}(hj/hhhNhNubah}(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.}(hj>hhhNhNubah}(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^hhhNhNubj )}(h *without*h]hwithout}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^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 hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMgubj3)}(h mac_finishh]j9)}(h mac_finishh]h mac_finish}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMgubj )}(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*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](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}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(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_finishasbuh1hhjubj")}(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 hjhhhjhMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMgubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMghjhhubjg)}(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&]uh1jfhjhhhjhMgubeh}(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)}(hj9h]hstruct phylink_config *config}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhj3ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjRhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj\h]hstruct phylink_config}(hj^hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjNhMhhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjNhMhhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhhj0ubj)}(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.hhMihjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihj0ubj)}(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&]uh1jhjhMjhj0ubeh}(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&]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 }(hjUhhhNhNubj)}(h**mode**h]hmode}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh and }(hjUhhhNhNubj)}(h **iface**h]hiface}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMkhjubjl)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubeh}(h]h ] kernelindentah"]h$]h&]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 }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjMhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hmodeh]hmode}(hjhhhNhNubah}(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 ]j.c.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.hhMxhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjlhNhNubj)}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstruct phylink_config *config}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjKubj)}(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&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMyhjHubj)}(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&]uh1jhjhMzhjHubj)}(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)}(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_tuh1hhjhM{hjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(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: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.}(hjZhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh is }(hjxhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(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}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsb c.mac_link_upasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(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 ]jB 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}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]jB c.mac_link_upasbuh1hhj7ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj9)}(h interfaceh]h interface}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(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}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrx_pauseh]hrx_pause}(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¬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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hj<h]hunsigned int mode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj6ubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(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]jlj)}(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&]uh1jhjoubeh}(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)}(hj h]h int duplex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link duplexh]h link duplex}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hjCh]h bool tx_pause}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubj)}(hhh]jl)}(h%link transmit pause enablement statush]h%link transmit pause enablement status}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.hhMhjubjl)}(hX6**speed**, **duplex**, **tx_pause** and **rx_pause** indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(**mode**)) is disabled.h](j)}(h **speed**h]hspeed}(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}(hj(hhhNhNubah}(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.hhMhjubjl)}(hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.h]hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hUOnce configured, the MAC may begin to process packets for transmission and reception.h]hUOnce configured, the MAC may begin to process packets for transmission and reception.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hmac_disable_tx_lpih]j9)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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!disable LPI generation at the MACh]h!disable 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&]uh1jfhjhhhjhMubeh}(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)}(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&]uh1jhjhMhjubah}(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}(hj2hhhNhNubah}(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 }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMubj3)}(hmac_enable_tx_lpih]j9)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.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 hj%ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(h tx_clk_stoph]h tx_clk_stop}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj'hhubjg)}(hhh]jl)}(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&]uh1jfhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``u32 timer`` LPI timeout in microseconds. h](j)}(h ``u32 timer``h]j)}(hj h]h u32 timer}(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)}(hLPI timeout in microseconds.h]hLPI timeout in microseconds.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hjDh]hbool tx_clk_stop}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj>ubj)}(hhh]jl)}(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&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.h]h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.hhMhjubjl)}(h@0 on success. Please consult with rmk before returning an error.h]h@0 on success. Please consult with rmk before returning an error.}(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](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 }(hj hhhNhNubah}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jsb c.mac_wol_setasbuh1hhj3ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(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 hj/ubj )}(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&]uh1j8hj ubah}(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*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsopassh]hsopass}(hjHhhhNhNubah}(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$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&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]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:Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes.h](h Bitmask of }(hj(hhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh% flags for enabled Wake-On-Lan modes.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(hU``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` h](j)}(h``const u8 *sopass``h]j)}(hjZh]hconst u8 *sopass}(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.hhMhjTubj)}(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&]uh1jhjTubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubjl)}(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.hhMhjubeh}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,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 phylink_pcsh]j9)}(hj*h]h phylink_pcs}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(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)}(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&]uh1jfhj%hhhj=hMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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}(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)}(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.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.hhMhjubj)}(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 }(hj2hhhNhNubh)}(h2:c:type:`struct phylink_pcs_ops `h]j)}(hj<h]hstruct phylink_pcs_ops}(hj>hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_pcs_opsuh1hhj.hMhj2ubh structure}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(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 }(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubjl)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(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&]uh1jfhjhhhjhMubeh}(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&]uh1jhj ubh:}(hj hhhNhNubeh}(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); };}hj'sbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h **Members**h]j)}(hj8h]hMembers}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(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)}(hjWh]h pcs_validate}(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.hhMhjQubj)}(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&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(h=``pcs_inband_caps`` query inband support for interface mode. h](j)}(h``pcs_inband_caps``h]j)}(hjh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubj)}(h6``pcs_pre_config`` pre-mac_config method (for errata) h](j)}(h``pcs_pre_config``h]j)}(hj;h]hpcs_pre_config}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(hhh]jl)}(h"pre-mac_config method (for errata)h]h"pre-mac_config method (for errata)}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjNubj)}(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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hjh]hpcs_an_restart}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjNubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hjXh]h pcs_link_up}(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.hhMhjRubj)}(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&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjNubj)}(hX``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. h](j)}(h``pcs_disable_eee``h]j)}(hjh]hpcs_disable_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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubj)}(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&]uh1jhjhMhjNubeh}(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}(hjhhhNhNubah}(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}(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_validateasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long *supportedh](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 )}(hlongh]hlong}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 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)}(h supportedh]h supported}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhNhNubah}(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 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 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&]uh1jfhjThhhjmhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjlhNhNubj)}(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&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hj$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)}(hjIh]hstruct phylink_pcs *pcs}(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.hhM&hjCubj)}(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&]uh1jhjCubeh}(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&]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)}(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 }(hjRhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj\h]hstruct phylink_mac_ops}(hj^hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjRubh validate() method.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjyhM)hj$ubjl)}(hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h]hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hj$ubeh}(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}(hj hhhNhNubah}(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&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j jsbc.pcs_inband_capsasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jFc.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 }(hj1hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj;h]hstruct phylink_pcs}(hj=hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj-hM7hj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj-hM7hj.ubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(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 }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj%hMDubj3)}(h pcs_enableh]j9)}(h pcs_enableh]h pcs_enable}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hMDubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j j:sb c.pcs_enableasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hMDubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hMDhj hhubjg)}(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&]uh1jfhj hhhj%hMDubeh}(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 }(hj1hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj;h]hstruct phylink_pcs}(hj=hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMEhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXhMEhj.ubah}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMJubj3)}(h pcs_disableh]j9)}(h pcs_disableh]h pcs_disable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMJubj )}(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 hjhhhjhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMJubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMJhjhhubjg)}(hhh]jl)}(hdisable the PCS.h]hdisable the PCS.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMJubeh}(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)}(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.hhMPhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubah}(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 }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMPubj3)}(h pcs_get_stateh]j9)}(h pcs_get_stateh]h pcs_get_state}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMPubj )}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.pcs_get_stateasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(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 hjHubj )}(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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]jc.pcs_get_stateasbuh1hhjubj")}(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)}(hstateh]hstate}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMPubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMPubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMPhjhhubjg)}(hhh]jl)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMPubeh}(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)}(hj1h]hunsigned int neg_mode}(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.hhMRhj+ubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMRhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMRhjubj)}(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 }(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_stateuh1hhjhMShjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubeh}(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}(hj hhhNhNubah}(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}(hj.hhhNhNubah}(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}(hjRhhhNhNubah}(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}(hjhhhNhNubah}(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 }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjhhhNhNubah}(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 ]j5 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}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjYhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj9)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hjhhhNhNubah}(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)}(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_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)}(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.hhMfhjubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj h]hbool permit_pause_to_mac}(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.hhMhhjubj)}(hhh]jl)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(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 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'hhhj9hMubj3)}(hpcs_an_restarth]j9)}(hpcs_an_restarth]hpcs_an_restart}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj9hMubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jNsbc.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 hj'hhhj9hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#hhhj9hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMhj hhubjg)}(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&]uh1jfhj hhhj9hMubeh}(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)}(hj h]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)}(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 }(hjEhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjOh]hstruct phylink_pcs}(hjQhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjAhMhjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi: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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j 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}(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 )}(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}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h int speedh](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)}(hspeedh]hspeed}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(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)}(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_pcsuh1hhj hMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjRh]hunsigned int neg_mode}(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)}(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&]uh1jhjLubeh}(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)}(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.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hj h]h int duplex}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link duplexh]h link duplex}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubeh}(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&]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 }(hjhhhNhNubj)}(h``mode``h]hmode}(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.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 }(hj hhhNhNubah}(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 }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(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)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hjhhhNhNubah}(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&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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.hhMhjubj)}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(hj2hhhNhNubah}(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_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}(hjhhhNhNubah}(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}(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_enable_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)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(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&]uh1jfhjVhhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjlhNhNubj)}(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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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)}(hjbh]hstruct phylink_pcs *pcs}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj\ubj)}(hhh]jl)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hj{hhhNhNubh)}(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_pcsuh1hhjwhMhj{ubeh}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubah}(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)}(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.}(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_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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h pcs_pre_inith]j9)}(h pcs_pre_inith]h pcs_pre_init}(hj"hhhNhNubah}(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}(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 phylink_pcsh]h phylink_pcs}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(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*}(hjhhhNhNubah}(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 hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(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 `. **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)}(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)}(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_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.h]hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(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.}(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](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}(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)}(hphylink_get_link_timer_nsh]j9)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_get_link_timer_nsasbuh1hhj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h interfaceh]h interface}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(hreturn the PCS link timer valueh]hreturn the PCS link timer value}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjghhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(h**Parameters** ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode **Description** Return the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(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.hhMhjubj)}(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&]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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hoReturn the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](h=Return the PCS link timer setting in nanoseconds for the PHY }(hjhhhNhNubj)}(h **interface**h]h interface}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% mode, or -EINVAL if not appropriate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]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 }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjmhM)ubj3)}(hphylink_mac_implements_lpih]j9)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjmhM)ubj )}(h#(const struct phylink_mac_ops *ops)h]j )}(h!const struct phylink_mac_ops *opsh](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_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_mac_implements_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)}(hopsh]hops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhjmhM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjmhM)ubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM)hjUhhubjg)}(hhh]jl)}(h#determine if MAC implements LPI opsh]h#determine if MAC implements LPI ops}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hj7hhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjmhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjlhNhNubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM-hjVubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjrubah}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjVubjl)}(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+hjVubeh}(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 }(hj hhhNhNubah}(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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK'hj:hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjUjjUjjjuh1hhhhjlhNhNubj)}(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+hjYubj)}(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-hjYubjl)}(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:150: ./drivers/net/phy/phylink.chK0hjYubeh}(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 }(hj hhhNhNubah}(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*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmaskh]hmask}(hjChhhNhNubah}(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&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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)}(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)}(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&]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.chKhjubjl)}(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.chKhjubeh}(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}(hj.hhhNhNubah}(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 }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hKubj3)}(hphylink_interface_max_speedh]j9)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hKubj )}(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 jQsbc.phylink_interface_max_speedasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(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(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&]uh1jfhj#hhhj<hKubeh}(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}(hj hhhNhNubah}(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 }(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_tuh1hhjhKhj ubeh}(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)}(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.chKhjubjl)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(h` ``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)}(hj%h]h u32 max_speed}(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.chMhjubj)}(hhh]jl)}(h maximum speedh]h maximum speed}(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}(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 hj ubj")}(h h]h }(hjhhhNhNubah}(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 hjubj )}(hunsigned int duplexh](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)}(hduplexh]hduplex}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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}(hj hhhNhNubah}(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)}(hj! h]hunsigned int duplex}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubj)}(hhh]jl)}(hthe duplex to search forh]hthe duplex to search for}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6 hMhj7 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj6 hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj\ h]h Description}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ 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.}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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 }(hj hhhNhNubj)}(h **speed**h]hspeed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h **duplex**h]hduplex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh , or 0 if there were no matches.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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}(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 hMubjM )}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhj hMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hphylink_get_capabilitiesh]j9)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hj) hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj% ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(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}(hjH hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ modnameN classnameNj j )}j ]j )}j j+ sbc.phylink_get_capabilitiesasbuh1hhjA ubj")}(h h]h }(hjh hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA ubj9)}(h interfaceh]h interface}(hjv hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj= ubj )}(hunsigned long mac_capabilitiesh](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)}(hmac_capabilitiesh]hmac_capabilities}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj= ubj )}(hint rate_matchingh](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)}(h rate_matchingh]h rate_matching}(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 get capabilities for a given MACh]h get capabilities for a given MAC}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj# hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj> jj> jjjuh1hhhhjlhNhNubj)}(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)}(hjH h]h Parameters}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjB 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)}(hjg h]hphy_interface_t interface}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhja ubj)}(hhh]jl)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hj hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj h]htypedef phy_interface_t}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj| hMhj ubeh}(h]h ]h"]h$]h&]uh1jkhj| hMhj} ubah}(h]h ]h"]h$]h&]uh1jhja ubeh}(h]h ]h"]h$]h&]uh1jhj| hMhj^ ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hj h]hunsigned long mac_capabilities}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(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 rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hj h]hint rate_matching}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubj)}(hhh]jl)}(h%type of rate matching being performedh]h%type of rate matching being performed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj^ ubeh}(h]h ]h"]h$]h&]uh1jhjB ubjl)}(h**Description**h]j)}(hj3 h]h Description}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjB 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 }(hjI hhhNhNubj)}(h **interface**h]h interface}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubh mode and }(hjI hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubh.}(hjI hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjB 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 hj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hphylink_validate_mask_capsh]j9)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j )}(hunsigned long *supportedh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(h supportedh]h supported}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hj7 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3 ubj")}(h h]h }(hjD hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3 ubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjU hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW modnameN classnameNj j )}j ]j )}j j sbc.phylink_validate_mask_capsasbuh1hhj3 ubj")}(h h]h }(hju hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3 ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3 ubj9)}(hstateh]hstate}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned long mac_capabilitiesh](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)}(hmac_capabilitiesh]hmac_capabilities}(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!Restrict link modes based on capsh]h!Restrict link modes based on caps}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``unsigned long *supported`` ethtool bitmask for supported link modes. ``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. ``unsigned long mac_capabilities`` bitmask of MAC capabilities **Description** Calculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj'ubj)}(hhh](j)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjLh]hunsigned long *supported}(hjNhhhNhNubah}(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.chMhjFubj)}(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&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(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)}(hjh]h struct phylink_link_state *state}(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)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h 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_stateuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubj)}(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&]uh1jhjhMhjCubeh}(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)}(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 }(hj2hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh, and restrict }(hj2hhhNhNubj)}(h **supported**h]h supported}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh and }(hj2hhhNhNubj)}(h **state**h]hstate}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(hj2hhhNhNubeh}(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_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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubj3)}(hphylink_pcs_neg_modeh]j9)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_pcs_neg_modeasbuh1hhjubj")}(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)}(hplh]hpl}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jc.phylink_pcs_neg_modeasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(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.phylink_pcs_neg_modeasbuh1hhjubj")}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h advertisingh]h advertising}(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#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hjhhhNhNubah}(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&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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)}(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.chM2hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(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 jjphylinkuh1hhjhM/hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(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.chM0hjubj)}(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)}(hjHh]hstruct phylink_pcs}(hjJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjFubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM0hjubj)}(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}(hjhhhNhNubah}(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.chM1hjwubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubeh}(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.chM4hjubjl)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hjubjK)}(hhh](jK)}(h@``PHYLINK_PCS_NEG_NONE``: interface mode does not support inbandh]jl)}(hjh](j)}(h``PHYLINK_PCS_NEG_NONE``h]hPHYLINK_PCS_NEG_NONE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(: interface mode does not support inband}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6hjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh:: an out of band mode (e.g. reading the PHY) will be used.}(hjChhhNhNubeh}(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&]uh1jKhjubjK)}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh+: inband mode selected but autoneg disabled}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9hjfubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh*: inband mode selected and autoneg enabled}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM;hjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhj8hM6hjubjl)}(h**Note**h]j)}(hjh]hNote}(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=hjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM>hjubeh}(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}(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!hjhhhjhMubj3)}(hphylink_set_fixed_linkh]j9)}(hphylink_set_fixed_linkh]hphylink_set_fixed_link}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hplh]hpl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(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 ]jxc.phylink_set_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)}(hstateh]hstate}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hset the fixed linkh]hset the fixed link}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjlhNhNubj)}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(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.chMhjhubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(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 jjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(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)}(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.chMhjhubjl)}(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.chMhjhubjl)}(h **Return**h]j)}(hjKh]hReturn}(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.chMhjhubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM)ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j phylink_createsbc.phylink_createasbuh1hhjhhhjhM)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)}(hphylink_createh]j9)}(hjh]hphylink_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM)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&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]jc.phylink_createasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(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 ]jc.phylink_createasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(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 reftargetj modnameN classnameNj j )}j ]jc.phylink_createasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifaceh]hiface}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%const struct phylink_mac_ops *mac_opsh](j)}(hj h]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phylink_createasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hmac_opsh]hmac_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(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)}(hcreate a phylink instanceh]hcreate a phylink instance}(hjhhhNhNubah}(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&]uh1jfhjhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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-hjubj)}(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 }(hjChhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjMh]hstruct phylink_config}(hjOhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj?hM*hjCubeh}(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)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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 }(hjhhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjh]hstruct fwnode_handle}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(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+hjubh! describing the network interface}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM,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)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hjubj)}(hhh]jl)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhM-hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-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)}(hj7h]h%const struct phylink_mac_ops *mac_ops}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj1ubj)}(hhh]jl)}(hNa pointer to a :c:type:`struct phylink_mac_ops ` for the MAC.h](ha pointer to a }(hjPhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjZh]hstruct phylink_mac_ops}(hj\hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhjLhM.hjPubh for the MAC.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjLhM.hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM.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:150: ./drivers/net/phy/phylink.chM0hjubjl)}(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 }(hjhhhNhNubj)}(h**np**h]hnp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjubjl)}(h**Note**h]j)}(hjh]hNote}(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.chM2hjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hjubjl)}(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 }(hjhhhNhNubh)}(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 jjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hjubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM5hjubeh}(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}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhZ/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!hjAhhhjShMubj3)}(hphylink_destroyh]j9)}(hphylink_destroyh]hphylink_destroy}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjShMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jhsbc.phylink_destroyasbuh1hhj~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)}(hplh]hpl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubah}(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)}(h(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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)}(hjFh]hstruct phylink *pl}(hjHhhhNhNubah}(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.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)}(hjih]hstruct phylink}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(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)}(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)}(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.}(hjhhhNhNubah}(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)}(hjh]hNote}(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:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hphylink_expects_phyh]j9)}(hphylink_expects_phyh]hphylink_expects_phy}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hphylinkh]hphylink}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j2sbc.phylink_expects_phyasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hplh]hpl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(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)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(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** ``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)}(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)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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)}(hj3h]hstruct phylink}(hj5hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(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%hMhjubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hjhhhNhNubah}(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_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}(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!hjhhhjhMubj3)}(hphylink_connect_phyh]j9)}(hphylink_connect_phyh]hphylink_connect_phy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h,(struct phylink *pl, struct phy_device *phy)h](j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_connect_phyasbuh1hhjubj")}(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)}(hplh]hpl}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phyh](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 phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j9c.phylink_connect_phyasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hphyh]hphy}(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)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(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&]jjjj jj jjjuh1hhhhjlhNhNubj)}(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)}(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)}(hj3 h]hstruct phylink *pl}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 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 }(hjL hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjV h]hstruct phylink}(hjX hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjT ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjH hMhjL ubh returned from phylink_create()}(hjL hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjH hMhjI ubah}(h]h ]h"]h$]h&]uh1jhj- ubeh}(h]h ]h"]h$]h&]uh1jhjH hMhj* ubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. h](j)}(h``struct phy_device *phy``h]j)}(hj h]hstruct phy_device *phy}(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)}(h8a 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 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* ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubjl)}(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 }(hj!hhhNhNubj)}(h**phy**h]hphy}(hj !hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh& to the phylink instance specified by }(hj!hhhNhNubj)}(h**pl**h]hpl}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh/ by calling phy_attach_direct(). Configure the }(hj!hhhNhNubj)}(h**phy**h]hphy}(hj/!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubjl)}(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.}(hjH!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjW!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_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}(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_of_phy_connecth]j9)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hMubj )}(h7(struct phylink *pl, struct device_node *dn, u32 flags)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_of_phy_connectasbuh1hhj!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 device_node *dnh](j)}(hjh]hstruct}(hj5"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1"ubj")}(h h]h }(hjB"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1"ubh)}(hhh]j9)}(h device_nodeh]h device_node}(hjS"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU"modnameN classnameNj j )}j ]j!c.phylink_of_phy_connectasbuh1hhj1"ubj")}(h h]h }(hjq"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1"ubj9)}(hdnh]hdn}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j!c.phylink_of_phy_connectasbuh1hhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hflagsh]hflags}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~!hhhj!hMubah}(h]jy!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhj{!hhubjg)}(hhh]jl)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(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() ``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)}(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}(hjA#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.chMhj9#ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjX#hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjb#h]hstruct phylink}(hjd#hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj`#ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjT#hMhjX#ubh returned from phylink_create()}(hjX#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjT#hMhjU#ubah}(h]h ]h"]h$]h&]uh1jhj9#ubeh}(h]h ]h"]h$]h&]uh1jhjT#hMhj6#ubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hj#h]hstruct device_node *dn}(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 device_node `.h](ha pointer to a }(hj#hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hj#h]hstruct device_node}(hj#hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj device_nodeuh1hhj#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#hMhj6#ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj#h]h u32 flags}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj $hMhj $ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj $hMhj6#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hj2$h]h Description}(hj4$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubjl)}(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 }(hjH$hhhNhNubj)}(h**dn**h]hdn}(hjP$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH$ubh& to the phylink instance specified by }(hjH$hhhNhNubj)}(h**pl**h]hpl}(hjb$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH$ubh?. Actions specified in phylink_connect_phy() will be performed.}(hjH$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(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_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}(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_fwnode_phy_connecth]j9)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hMubj )}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)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_fwnode_phy_connectasbuh1hhj$ubj")}(h h]h }(hj%%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hj3%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hplh]hpl}(hj@%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hjY%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU%ubj")}(h h]h }(hjf%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU%ubj)}(hjh]hstruct}(hjt%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU%ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j!%c.phylink_fwnode_phy_connectasbuh1hhjU%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjU%ubj9)}(hfwnodeh]hfwnode}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j!%c.phylink_fwnode_phy_connectasbuh1hhj%ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hflagsh]hflags}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj$hhubjg)}(hhh]jl)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hj=&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj:&hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hMubeh}(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() ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified **fwnode** to the phylink instance specified by **pl**. Returns 0 on success or a negative errno.h](jl)}(h**Parameters**h]j)}(hj_&h]h Parameters}(hja&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.chMhjY&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.chMhjx&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&]uh1jhjx&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhju&ubj)}(hf``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hj&h]h"const struct fwnode_handle *fwnode}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj&ubj)}(hhh]jl)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hj&hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj&h]hstruct fwnode_handle}(hj&hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhj&hMhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhju&ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj6'h]h u32 flags}(hj8'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0'ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjO'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjK'hMhjL'ubah}(h]h ]h"]h$]h&]uh1jhj0'ubeh}(h]h ]h"]h$]h&]uh1jhjK'hMhju&ubeh}(h]h ]h"]h$]h&]uh1jhjY&ubjl)}(h**Description**h]j)}(hjq'h]h Description}(hjs'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjY&ubjl)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hj'hhhNhNubj)}(h **fwnode**h]hfwnode}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh& to the phylink instance specified by }(hj'hhhNhNubj)}(h**pl**h]hpl}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjY&ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjY&ubeh}(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}(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_disconnect_phyh]j9)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj (hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj'hM# ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj&(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"(ubj")}(h h]h }(hj3(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"(ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjD(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF(modnameN classnameNj j )}j ]j )}j j (sbc.phylink_disconnect_phyasbuh1hhj"(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)}(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'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)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# 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() **Description** Disconnect any current PHY from the phylink instance described by **pl**.h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' 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.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(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' hj(ubjl)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hj^)hhhNhNubj)}(h**pl**h]hpl}(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& hj(ubeh}(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.chML ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj)hML 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)hML 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}(hj5*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hbool uph](jM )}(hjh]hbool}(hjN*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJ*ubj")}(h h]h }(hj[*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ*ubj9)}(huph]hup}(hji*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj)hML ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj)hML ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hML hj)hhubjg)}(hhh]jl)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chML hj*hhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhj)hML 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.chMP 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.chMM 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*hMM hj*ubh returned from phylink_create()}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj*hMM hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMM hj*ubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hj0+h]hbool up}(hj2+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)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjI+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjE+hMN hjF+ubah}(h]h ]h"]h$]h&]uh1jhj*+ubeh}(h]h ]h"]h$]h&]uh1jhjE+hMN 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.chMP 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.)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO 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.chMZ ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hMZ 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+hMZ 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*}(hj9,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hpcsh]hpcs}(hjF,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+hMZ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hMZ ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hMZ hj+hhubjg)}(hhh]jl)}(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.chMZ hj,hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hMZ 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\ hj7-ubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(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\ 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.}(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](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.chMw ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj-hMw 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-hMw 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 }(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-ubah}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj-hMw ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhj-hMw ubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hMw 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.chMw hjz.hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hMw ubeh}(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** 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{ 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.chMx 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.hMx hj.ubh returned from phylink_create()}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj.hMx hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMx 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:150: ./drivers/net/phy/phylink.chMz hj.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 }(hj2/hhhNhNubj)}(h**pl**h]hpl}(hj:/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2/ubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hj2/hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjN/h]hstruct net_device_ops}(hjP/hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjL/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.chMy hj2/ubh ndo_open() method.}(hj2/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjk/hMy hj.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}(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)}(h phylink_stoph]j9)}(h phylink_stoph]h phylink_stop}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj/hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hphylinkh]hphylink}(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 }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hplh]hpl}(hj,0hhhNhNubah}(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)}(hstop a phylink instanceh]hstop a phylink instance}(hjV0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjS0hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj/hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn0jjn0jjjuh1hhhhjlhNhNubj)}(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)}(hjx0h]h Parameters}(hjz0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjr0ubj)}(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)}(hj0h]hstruct phylink *pl}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj0ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj0hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj0h]hstruct phylink}(hj0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj0hM hj0ubh returned from phylink_create()}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjr0ubjl)}(h**Description**h]j)}(hj0h]h Description}(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.chM hjr0ubjl)}(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 }(hj 1hhhNhNubj)}(h**pl**h]hpl}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubh;. This should be called from the network device driver’s }(hj 1hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj'1h]hstruct net_device_ops}(hj)1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj%1ubah}(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 hj 1ubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hj 1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjD1hM hjr0ubjl)}(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.)}(hjO1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjr0ubeh}(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~1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz1hhhj1hM ubj3)}(hphylink_rx_clk_stop_blockh]j9)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjz1hhhj1hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j1sbc.phylink_rx_clk_stop_blockasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hplh]hpl}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubah}(h]h ]h"]h$]h&]jPjQuh1j hjz1hhhj1hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjv1hhhj1hM ubah}(h]jq1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM hjs1hhubjg)}(hhh]jl)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hj>2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj;2hhubah}(h]h ]h"]h$]h&]uh1jfhjs1hhhj1hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjV2jjV2jjjuh1hhhhjlhNhNubj)}(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`2h]h Parameters}(hjb2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjZ2ubj)}(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)}(hj2h]hstruct phylink *pl}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjy2ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj2hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj2h]hstruct phylink}(hj2hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj2hM hj2ubh returned from phylink_create()}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjy2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjv2ubah}(h]h ]h"]h$]h&]uh1jhjZ2ubjl)}(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:150: ./drivers/net/phy/phylink.chM hjZ2ubjl)}(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().}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjZ2ubeh}(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}(hj"3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj13hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj03hM ubj3)}(hphylink_rx_clk_stop_unblockh]j9)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hjC3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj03hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj_3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[3ubj")}(h h]h }(hjl3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[3ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj}3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jE3sbc.phylink_rx_clk_stop_unblockasbuh1hhj[3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[3ubj9)}(hplh]hpl}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjW3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj03hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj03hM ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj03hM hj3hhubjg)}(hhh]jl)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj03hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjlhNhNubj)}(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3ubj)}(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#4h]hstruct phylink *pl}(hj%4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj4ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj<4hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjF4h]hstruct phylink}(hjH4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjD4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj84hM hj<4ubh returned from phylink_create()}(hj<4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj84hM hj94ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj84hM hj4ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3ubjl)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3ubeh}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM& ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hM& ubj3)}(hphylink_suspendh]j9)}(hphylink_suspendh]hphylink_suspend}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hM& ubj )}(h"(struct phylink *pl, bool mac_wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj!5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#5modnameN classnameNj j )}j ]j )}j j4sbc.phylink_suspendasbuh1hhj4ubj")}(h h]h }(hjA5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjO5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hplh]hpl}(hj\5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h bool mac_wolh](jM )}(hjh]hbool}(hju5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjq5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq5ubj9)}(hmac_wolh]hmac_wol}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(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%handle a network device suspend eventh]h%handle a network device suspend event}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM& hj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hM& ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjlhNhNubj)}(hX **Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan **Description** Handle a network device suspend event. There are several cases: - If Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop(). - If Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY. - If Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down. **Note** when phylink managed Wake-on-Lan is in use, **mac_wol** is ignored. (struct phylink_mac_ops.mac_set_wol populated.)h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hj5ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj5h]hstruct phylink *pl}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' hj5ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj6hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj6h]hstruct phylink}(hj 6hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj6hM' hj6ubh returned from phylink_create()}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj6hM' hj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hM' hj5ubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hjW6h]h bool mac_wol}(hjY6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM( hjQ6ubj)}(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}(hjp6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl6hM( hjm6ubah}(h]h ]h"]h$]h&]uh1jhjQ6ubeh}(h]h ]h"]h$]h&]uh1jhjl6hM( hj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hj5ubjl)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hj5ubjK)}(hhh](jK)}(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().}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ hj6ubah}(h]h ]h"]h$]h&]uh1jKhj6ubjK)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hj6ubah}(h]h ]h"]h$]h&]uh1jKhj6ubjK)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/ hj6ubah}(h]h ]h"]h$]h&]uh1jKhj6ubeh}(h]h ]h"]h$]h&]jLj0uh1jKhj6hM+ hj5ubjl)}(h**Note**h]j)}(hj 7h]hNote}(hj7hhhNhNubah}(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.chM2 hj5ubjl)}(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, }(hj#7hhhNhNubj)}(h **mac_wol**h]hmac_wol}(hj+7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#7ubh< is ignored. (struct phylink_mac_ops.mac_set_wol populated.)}(hj#7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3 hj5ubeh}(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}(hjd7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM] ubj")}(h h]h }(hjs7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`7hhhjr7hM] ubj3)}(hphylink_prepare_resumeh]j9)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`7hhhjr7hM] ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j j7sbc.phylink_prepare_resumeasbuh1hhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hplh]hpl}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubah}(h]h ]h"]h$]h&]jPjQuh1j hj`7hhhjr7hM] ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\7hhhjr7hM] ubah}(h]jW7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjr7hM] hjY7hhubjg)}(hhh]jl)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hj$8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM] hj!8hhubah}(h]h ]h"]h$]h&]uh1jfhjY7hhhjr7hM] ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<8jj<8jjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Optional, but if called must be called prior to phylink_resume(). Prepare to resume a network device, preparing the PHY as necessary.h](jl)}(h**Parameters**h]j)}(hjF8h]h Parameters}(hjH8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hj@8ubj)}(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)}(hje8h]hstruct phylink *pl}(hjg8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hj_8ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj~8hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj8h]hstruct phylink}(hj8hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjz8hM^ hj~8ubh returned from phylink_create()}(hj~8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjz8hM^ hj{8ubah}(h]h ]h"]h$]h&]uh1jhj_8ubeh}(h]h ]h"]h$]h&]uh1jhjz8hM^ hj\8ubah}(h]h ]h"]h$]h&]uh1jhj@8ubjl)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` hj@8ubjl)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hj@8ubjl)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hj@8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhjlhhhNhNubh)}(hhh](j)}(h(void phylink_resume (struct phylink *pl)h]j )}(h'void phylink_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv ubj")}(h h]h }(hj&9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj%9hMv ubj3)}(hphylink_resumeh]j9)}(hphylink_resumeh]hphylink_resume}(hj89hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj49ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj%9hMv ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjT9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP9ubj")}(h h]h }(hja9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP9ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjr9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjt9modnameN classnameNj j )}j ]j )}j j:9sbc.phylink_resumeasbuh1hhjP9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP9ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjP9ubj9)}(hplh]hpl}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjL9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj%9hMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj%9hMv ubah}(h]j 9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%9hMv hj 9hhubjg)}(hhh]jl)}(h$handle a network device resume eventh]h$handle a network device resume event}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv hj9hhubah}(h]h ]h"]h$]h&]uh1jfhj 9hhhj%9hMv 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** Undo the effects of phylink_suspend(), returning the link to an operational state.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.chMz 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)}(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.chMw hj:ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj1:hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj;:h]hstruct phylink}(hj=:hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9:ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj-:hMw hj1:ubh returned from phylink_create()}(hj1:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj-:hMw hj.:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj-:hMw hj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hjv:h]h Description}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy hj9ubjl)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hj9ubeh}(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}(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_wolh]j9)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)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_wolasbuh1hhj:ubj")}(h h]h }(hj6;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjD;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hplh]hpl}(hjQ;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(hstruct ethtool_wolinfo *wolh](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)}(hethtool_wolinfoh]hethtool_wolinfo}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j2;c.phylink_ethtool_get_wolasbuh1hhjf;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)}(hwolh]hwol}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf;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 wake on lan parameters for the PHYh]h*get the wake on lan parameters for the PHY}(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 *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)}(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}(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 }(hjE<hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjO<h]hstruct phylink}(hjQ<hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjM<ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjA<hM hjE<ubh returned from phylink_create()}(hjE<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjA<hM hjB<ubah}(h]h ]h"]h$]h&]uh1jhj&<ubeh}(h]h ]h"]h$]h&]uh1jhjA<hM hj#<ubj)}(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)}(hj<h]hstruct ethtool_wolinfo *wol}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj<ubj)}(hhh]jl)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hj<hhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hj<h]hstruct ethtool_wolinfo}(hj<hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhj<hM hj<ubh to hold 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<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 hj<ubjl)}(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 }(hj<hhhNhNubj)}(h**pl**h]hpl}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubhE. If no PHY is currently attached, report no support for wake on lan.}(hj<hhhNhNubeh}(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_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}(hj==hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjL=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9=hhhjK=hM ubj3)}(hphylink_ethtool_set_wolh]j9)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hj^=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9=hhhjK=hM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjz=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv=ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j j`=sbc.phylink_ethtool_set_wolasbuh1hhjv=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjv=ubj9)}(hplh]hpl}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr=ubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(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_wolasbuh1hhj=ubj")}(h h]h }(hj(>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj6>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hwolh]hwol}(hjC>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9=hhhjK=hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5=hhhjK=hM ubah}(h]j0=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjK=hM hj2=hhubjg)}(hhh]jl)}(hset wake on lan parametersh]hset wake on lan parameters}(hjm>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjj>hhubah}(h]h ]h"]h$]h&]uh1jfhj2=hhhjK=hM ubeh}(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() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters **Description** Set the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error. Returns zero on success or negative errno code.h](jl)}(h**Parameters**h]j)}(hj>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}(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)}(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)}(hj ?h]hstruct ethtool_wolinfo *wol}(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)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hj#?hhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hj-?h]hstruct ethtool_wolinfo}(hj/?hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj+?ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhj?hM hj#?ubh for the desired 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>ubjl)}(h**Description**h]j)}(hjh?h]h Description}(hjj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf?ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj>ubjl)}(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~?hhhNhNubj)}(h**pl**h]hpl}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~?ubh!. If no PHY is attached, returns }(hj~?hhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~?ubh error.}(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/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno 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_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}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hMV ubj3)}(hphylink_ethtool_ksettings_geth]j9)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hMV ubj )}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)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&]uh1j8hj8@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=@modnameN classnameNj j )}j ]j )}j j@sbc.phylink_ethtool_ksettings_getasbuh1hhj@ubj")}(h h]h }(hj[@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hji@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hplh]hpl}(hjv@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h#struct ethtool_link_ksettings *kseth](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]jW@c.phylink_ethtool_ksettings_getasbuh1hhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hkseth]hkset}(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?hMV ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhj?hMV ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMV hj?hhubjg)}(hhh]jl)}(hget the current link settingsh]hget the current link settings}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV hj Ahhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Ajj(Ajjjuh1hhhhjlhNhNubj)}(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)}(hj2Ah]h Parameters}(hj4AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Aubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj,Aubj)}(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)}(hjQAh]hstruct phylink *pl}(hjSAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hjKAubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjjAhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjtAh]hstruct phylink}(hjvAhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjrAubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjfAhMW hjjAubh returned from phylink_create()}(hjjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjfAhMW hjgAubah}(h]h ]h"]h$]h&]uh1jhjKAubeh}(h]h ]h"]h$]h&]uh1jhjfAhMW hjHAubj)}(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)}(hjAh]h#struct ethtool_link_ksettings *kset}(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.chMX hjAubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjAhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjAh]hstruct ethtool_link_ksettings}(hjAhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_link_ksettingsuh1hhjAhMX hjAubh to hold link settings}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjAhMX hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMX hjHAubeh}(h]h ]h"]h$]h&]uh1jhj,Aubjl)}(h**Description**h]j)}(hj Bh]h Description}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj,Aubjl)}(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 }(hj!BhhhNhNubj)}(h**pl**h]hpl}(hj)BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Bubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hj!BhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMY hj,Aubeh}(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}(hjbBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^BhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjqBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^BhhhjpBhM ubj3)}(hphylink_ethtool_ksettings_seth]j9)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^BhhhjpBhM ubj )}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hphylinkh]hphylink}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsbc.phylink_ethtool_ksettings_setasbuh1hhjBubj")}(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 )}(h)const struct ethtool_link_ksettings *kseth](j)}(hj h]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Cubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Cubj)}(hjh]hstruct}(hj,ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Cubj")}(h h]h }(hj9ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Cubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjJChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLCmodnameN classnameNj j )}j ]jBc.phylink_ethtool_ksettings_setasbuh1hhj Cubj")}(h h]h }(hjhChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Cubj )}(hj h]h*}(hjvChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Cubj9)}(hkseth]hkset}(hjChhhNhNubah}(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)}(hset the link settingsh]hset the link settings}(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&]uh1jfhjWBhhhjpBhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjlhNhNubj)}(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)}(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 jjphylinkuh1hhjDhM hjDubh returned from phylink_create()}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjDhM hjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhM hjCubj)}(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)}(hjJDh]h)const struct ethtool_link_ksettings *kset}(hjLDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDDubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjcDhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjmDh]hstruct ethtool_link_ksettings}(hjoDhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkDubah}(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 hjcDubh for the desired modes}(hjcDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjDhM hj`Dubah}(h]h ]h"]h$]h&]uh1jhjDDubeh}(h]h ]h"]h$]h&]uh1jhj_DhM hjCubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(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}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjDhMJ ubj3)}(hphylink_ethtool_nway_reseth]j9)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjDhMJ ubj )}(h(struct phylink *pl)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}(hj"EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$EmodnameN classnameNj j )}j ]j )}j jDsbc.phylink_ethtool_nway_resetasbuh1hhjEubj")}(h h]h }(hjBEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjPEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hplh]hpl}(hj]EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjDhMJ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjDhMJ ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMJ hjDhhubjg)}(hhh]jl)}(hrestart negotiationh]hrestart negotiation}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ hjEhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhjDhMJ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjlhNhNubj)}(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)}(hjEh]h Parameters}(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.chMN hjEubj)}(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.chMK hjEubj)}(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)}(hjEh]hstruct phylink}(hjEhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjEhMK hjEubh returned from phylink_create()}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjEhMK hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMK hjEubah}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hj&Fh]h Description}(hj(FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Fubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjEubjl)}(hRestart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation.h](h:Restart negotiation for the phylink instance specified by }(hj` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMg hjGubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjGh]hstruct phylink *pl}(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.chMd hjGubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjHhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj Hh]hstruct phylink}(hj"HhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjHhMd hjHubh returned from phylink_create()}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjHhMd hjHubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjHhMd hjGubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjYHh]h struct ethtool_pauseparam *pause}(hj[HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMf hjSHubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjrHhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj|Hh]hstruct ethtool_pauseparam}(hj~HhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjzHubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMe hjrHubeh}(h]h ]h"]h$]h&]uh1jkhjHhMe hjoHubah}(h]h ]h"]h$]h&]uh1jhjSHubeh}(h]h ]h"]h$]h&]uh1jhjnHhMf hjGubeh}(h]h ]h"]h$]h&]uh1jhjGubeh}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhMs ubj3)}(hphylink_ethtool_set_pauseparamh]j9)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhMs ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Iubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Iubh)}(hhh]j9)}(hphylinkh]hphylink}(hj-IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/ImodnameN classnameNj j )}j ]j )}j jHsb c.phylink_ethtool_set_pauseparamasbuh1hhj Iubj")}(h h]h }(hjMIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Iubj )}(hj h]h*}(hj[IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Iubj9)}(hplh]hpl}(hjhIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(h struct ethtool_pauseparam *pauseh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}Iubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}Iubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jII c.phylink_ethtool_set_pauseparamasbuh1hhj}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)}(hpauseh]hpause}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhMs ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhMs ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMs hjHhhubjg)}(hhh]jl)}(h set the current pause parametersh]h set the current pause parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs hjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjlhNhNubj)}(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$Jh]h Parameters}(hj&JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Jubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw 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)}(hjCJh]hstruct phylink *pl}(hjEJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hj=Jubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj\JhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjfJh]hstruct phylink}(hjhJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjdJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjXJhMt hj\Jubh returned from phylink_create()}(hj\JhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXJhMt hjYJubah}(h]h ]h"]h$]h&]uh1jhj=Jubeh}(h]h ]h"]h$]h&]uh1jhjXJhMt hj:Jubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjJh]h struct ethtool_pauseparam *pause}(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.chMv hjJubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjJhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjJh]hstruct ethtool_pauseparam}(hjJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu hjJubeh}(h]h ]h"]h$]h&]uh1jkhjJhMu hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMv hj:Jubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(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}(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 }(hj'KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj&KhM ubj3)}(hphylink_get_eee_errh]j9)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hj9KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5Kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj&KhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjUKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQKubj")}(h h]h }(hjbKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQKubh)}(hhh]j9)}(hphylinkh]hphylink}(hjsKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuKmodnameN classnameNj j )}j ]j )}j j;Ksbc.phylink_get_eee_errasbuh1hhjQKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQKubj9)}(hplh]hpl}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMKubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj&KhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhj&KhM ubah}(h]j Kah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&KhM hj Khhubjg)}(hhh]jl)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKhhubah}(h]h ]h"]h$]h&]uh1jfhj Khhhj&KhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjlhNhNubj)}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKubj)}(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)}(hjLh]hstruct phylink *pl}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(hhh]jl)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hj2LhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj:Lubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj.LhM hj2Lubh returned from phylink_create().}(hj2LhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj.LhM hj/Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj.LhM hjLubah}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h**Description**h]j)}(hjwLh]h Description}(hjyLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKubjl)}(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 }(hjLhhhNhNubj)}(h**pl**h]hpl}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKubjl)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, or negative error code.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKubeh}(h]h ] kernelindentah"]h$]h&]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}(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 }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhM ubj3)}(hphylink_ethtool_get_eeeh]j9)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjLhM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj'MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hphylinkh]hphylink}(hj8MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:MmodnameN classnameNj j )}j ]j )}j jMsbc.phylink_ethtool_get_eeeasbuh1hhjMubj")}(h h]h }(hjXMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjfMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hplh]hpl}(hjsMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(hstruct ethtool_keee *eeeh](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 ethtool_keeeh]h ethtool_keee}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jTMc.phylink_ethtool_get_eeeasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(heeeh]heee}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhjLhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjLhM ubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhM hjLhhubjg)}(hhh]jl)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj Nhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%Njj%Njjjuh1hhhhjlhNhNubj)}(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/Nh]h Parameters}(hj1NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Nubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj)Nubj)}(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)}(hjNNh]hstruct phylink *pl}(hjPNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjHNubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjgNhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjqNh]hstruct phylink}(hjsNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjoNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjcNhM hjgNubh returned from phylink_create()}(hjgNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjcNhM hjdNubah}(h]h ]h"]h$]h&]uh1jhjHNubeh}(h]h ]h"]h$]h&]uh1jhjcNhM hjENubj)}(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)}(hjNh]hstruct ethtool_keee *eee}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjNubj)}(hhh]jl)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hjNhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjNh]hstruct ethtool_keee}(hjNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(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 hjNubh for the read parameters}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjNhM hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM hjENubeh}(h]h ]h"]h$]h&]uh1jhj)Nubeh}(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'OhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#OhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj6OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Ohhhj5OhM ubj3)}(hphylink_ethtool_set_eeeh]j9)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hjHOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#Ohhhj5OhM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjdOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`Oubj")}(h h]h }(hjqOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`Oubh)}(hhh]j9)}(hphylinkh]hphylink}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jJOsbc.phylink_ethtool_set_eeeasbuh1hhj`Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`Oubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`Oubj9)}(hplh]hpl}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`Oubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\Oubj )}(hstruct ethtool_keee *eeeh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jOc.phylink_ethtool_set_eeeasbuh1hhjOubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hj PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(heeeh]heee}(hj-PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\Oubeh}(h]h ]h"]h$]h&]jPjQuh1j hj#Ohhhj5OhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhj5OhM ubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5OhM hjOhhubjg)}(hhh]jl)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hjWPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTPhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhj5OhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjoPjjoPjjjuh1hhhhjlhNhNubj)}(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)}(hjyPh]h Parameters}(hj{PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjsPubj)}(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)}(hjPh]hstruct phylink *pl}(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)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjPhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjPh]hstruct phylink}(hjPhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjPhM hjPubh returned from phylink_create()}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjPhM hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjPubj)}(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)}(hjPh]hstruct ethtool_keee *eee}(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)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hj QhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjQh]hstruct ethtool_keee}(hjQhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjQubah}(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 Qubh for the desired parameters}(hj QhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4QhM hj Qubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj QhM hjPubeh}(h]h ]h"]h$]h&]uh1jhjsPubeh}(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}(hjqQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmQhhhjQhM ubj3)}(hphylink_mii_ioctlh]j9)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmQhhhjQhM ubj )}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hphylinkh]hphylink}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jQsbc.phylink_mii_ioctlasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hplh]hpl}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hj RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hj-RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(hifreqh]hifreq}(hj>RhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@RmodnameN classnameNj j )}j ]jQc.phylink_mii_ioctlasbuh1hhjRubj")}(h h]h }(hj\RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hifrh]hifr}(hjwRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubj )}(hint cmdh](jM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hcmdh]hcmd}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubeh}(h]h ]h"]h$]h&]jPjQuh1j hjmQhhhjQhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjiQhhhjQhM ubah}(h]jdQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhM hjfQhhubjg)}(hhh]jl)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRhhubah}(h]h ]h"]h$]h&]uh1jfhjfQhhhjQhM 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 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)}(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 hjRubj)}(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)}(hjSh]hstruct phylink *pl}(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.chM hjSubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj0ShhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj:Sh]hstruct phylink}(hj` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hjsSh]hstruct ifreq *ifr}(hjuShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjmSubj)}(hhh]jl)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hjShhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hjSh]h struct ifreq}(hjShhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjShM hjSubh for socket ioctls}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjmSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjSubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjSh]hint cmd}(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.chM hjSubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjSubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hj Th]h Description}(hj ThhhNhNubah}(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 hjRubjl)}(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 }(hj ThhhNhNubj)}(h**pl**h]hpl}(hj(ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Tubh9. If no PHY is attached, emulate the presence of the PHY.}(hj ThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hjLThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHTubh:}(hjHThhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjDTubj)}(hhh]jl)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hjhThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeTubah}(h]h ]h"]h$]h&]uh1jhjDTubeh}(h]h ]h"]h$]h&]uh1jhjdThM hjATubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh:}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubj)}(hhh]jl)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjATubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh:}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubj)}(hhh]jl)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjATubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h **Return**h]j)}(hjUh]hReturn}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubeh}(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}(hjMUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj\UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIUhhhj[UhMubj3)}(hphylink_speed_downh]j9)}(hphylink_speed_downh]hphylink_speed_down}(hjnUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIUhhhj[UhMubj )}(h(struct phylink *pl, bool sync)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hphylinkh]hphylink}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jpUsbc.phylink_speed_downasbuh1hhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hplh]hpl}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h bool synch](jM )}(hjh]hbool}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hj VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hsynch]hsync}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjIUhhhj[UhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEUhhhj[UhMubah}(h]j@Uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[UhMhjBUhhubjg)}(hhh]jl)}(hCset the non-SFP PHY to lowest speed supported by both link partnersh]hCset the non-SFP PHY to lowest speed supported by both link partners}(hjAVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj>Vhhubah}(h]h ]h"]h$]h&]uh1jfhjBUhhhj[UhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYVjjYVjjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool sync`` perform action synchronously **Description** If we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter. Returns zero if there is no PHY, otherwise as per phy_speed_down().h](jl)}(h**Parameters**h]j)}(hjcVh]h Parameters}(hjeVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaVubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj]Vubj)}(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.chMhj|Vubj)}(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 jjphylinkuh1hhjVhMhjVubh returned from phylink_create()}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhj|Vubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjyVubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjVh]h bool sync}(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.chMhjVubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjyVubeh}(h]h ]h"]h$]h&]uh1jhj]Vubjl)}(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.chM hj]Vubjl)}(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 }(hj/WhhhNhNubj)}(h**sync**h]hsync}(hj7WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Wubh parameter.}(hj/WhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj]Vubjl)}(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().}(hjPWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj]Vubeh}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{WhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{WhhhjWhMubj3)}(hphylink_speed_uph]j9)}(hphylink_speed_uph]hphylink_speed_up}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{WhhhjWhMubj )}(h(struct phylink *pl)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 jWsbc.phylink_speed_upasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hplh]hpl}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubah}(h]h ]h"]h$]h&]jPjQuh1j hj{WhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwWhhhjWhMubah}(h]jrWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhjtWhhubjg)}(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()}(hj?XhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj` 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)}(hjaXh]h Parameters}(hjcXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Xubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hj[Xubj)}(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&]uh1jhj~Xubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjzXubj)}(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)}(hjXh]hstruct phylink}(hjXhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjXhM hjXubh returned from phylink_create()}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXhM hjXubah}(h]h ]h"]h$]h&]uh1jhjzXubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjwXubah}(h]h ]h"]h$]h&]uh1jhj[Xubjl)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hj[Xubjl)}(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().}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM!hj[Xubjl)}(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().}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$hj[Xubeh}(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}(hj2YhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.YhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjAYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.Yhhhj@YhMubj3)}(hphylink_decode_usxgmii_wordh]j9)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hjSYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.Yhhhj@YhMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjoYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkYubj")}(h h]h }(hj|YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkYubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jUYsbc.phylink_decode_usxgmii_wordasbuh1hhjkYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkYubj9)}(hstateh]hstate}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgYubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jYc.phylink_decode_usxgmii_wordasbuh1hhjYubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hlpah]hlpa}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgYubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.Yhhhj@YhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*Yhhhj@YhMubah}(h]j%Yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@YhMhj'Yhhubjg)}(hhh]jl)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(hj:ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj7Zhhubah}(h]h ]h"]h$]h&]uh1jfhj'Yhhhj@YhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRZjjRZjjjuh1hhhhjlhNhNubj)}(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)}(hj\Zh]h Parameters}(hj^ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZZubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVZubj)}(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{Zh]h struct phylink_link_state *state}(hj}ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjuZubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjuZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjrZubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjZh]h uint16_t lpa}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjZubj)}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjrZubeh}(h]h ]h"]h$]h&]uh1jhjVZubjl)}(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.chMhjVZubjl)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVZubeh}(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}(hj4[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0[hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjC[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0[hhhjB[hMubj3)}(hphylink_decode_usgmii_wordh]j9)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hjU[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0[hhhjB[hMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](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)}(hphylink_link_stateh]hphylink_link_state}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j jW[sbc.phylink_decode_usgmii_wordasbuh1hhjm[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)}(hstateh]hstate}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjm[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hji[ubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j[c.phylink_decode_usgmii_wordasbuh1hhj[ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(hlpah]hlpa}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hji[ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0[hhhjB[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,[hhhjB[hMubah}(h]j'[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjB[hMhj)[hhubjg)}(hhh]jl)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hj<\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj9\hhubah}(h]h ]h"]h$]h&]uh1jfhj)[hhhjB[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT\jjT\jjjuh1hhhhjlhNhNubj)}(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^\h]h Parameters}(hj`\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\\ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjX\ubj)}(hhh](j)}(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}\h]h struct phylink_link_state *state}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjw\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\hM hj\ubah}(h]h ]h"]h$]h&]uh1jhjw\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM hjt\ubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hj\h]h uint16_t lpa}(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`. ``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)}(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)}(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)}(hj_h]h struct phylink_link_state *state}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hj_ubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj1_hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj;_h]hstruct phylink_link_state}(hj=_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9_ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj-_hM,hj1_ubh.}(hj1_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)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjt_h]hunsigned int neg_mode}(hjv_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hjn_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_hM-hj_ubah}(h]h ]h"]h$]h&]uh1jhjn_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM-hj_ubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hj_h]hu16 bmsr}(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&The value of the ``MII_BMSR`` registerh](hThe value of the }(hj_hhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh register}(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)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hj_h]hu16 lpa}(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%The value of the ``MII_LPA`` registerh](hThe value of the }(hj`hhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh register}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj `hM/hj`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj `hM/hj_ubeh}(h]h ]h"]h$]h&]uh1jhj^ubjl)}(h**Description**h]j)}(hjE`h]h Description}(hjG`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM1hj^ubjl)}(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[`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hj^ubjl)}(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 }(hjj`hhhNhNubj)}(h **state**h]hstate}(hjr`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj`ubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hjj`hhhNhNubj)}(h**bmsr**h]hbmsr}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj`ubh and }(hjj`hhhNhNubj)}(h**lpa**h]hlpa}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj`ubh# cannot be done with MDIO directly.}(hjj`hhhNhNubeh}(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&]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}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhj`hMkubj3)}(hphylink_mii_c22_pcs_get_stateh]j9)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hMkubj )}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct mdio_device *pcsh](j)}(hjh]hstruct}(hj ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h mdio_deviceh]h mdio_device}(hj*ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,amodnameN classnameNj j )}j ]j )}j j`sbc.phylink_mii_c22_pcs_get_stateasbuh1hhjaubj")}(h h]h }(hjJahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjXahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hpcsh]hpcs}(hjeahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hj~ahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzaubjM )}(hinth]hint}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzaubj9)}(hneg_modeh]hneg_mode}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]jFac.phylink_mii_c22_pcs_get_stateasbuh1hhjaubj")}(h h]h }(hj bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hstateh]hstate}(hj&bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhj`hMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhj`hMkubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMkhj`hhubjg)}(hhh]jl)}(hread the MAC PCS stateh]hread the MAC PCS state}(hjPbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkhjMbhhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhbjjhbjjjuh1hhhhjlhNhNubj)}(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)}(hjrbh]h Parameters}(hjtbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohjlbubj)}(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)}(hjbh]hstruct mdio_device *pcs}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlhjbubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjbhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjbh]hstruct mdio_device}(hjbhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjbhMlhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjbhMlhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMlhjbubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjbh]hunsigned int neg_mode}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjbubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMmhjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchMmhjbubj)}(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)}(hj&ch]h struct phylink_link_state *state}(hj(chhhNhNubah}(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.chMnhj cubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj?chhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjIch]hstruct phylink_link_state}(hjKchhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjGcubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj;chMnhj?cubh.}(hj?chhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj;chMnhjdmodnameN classnameNj j )}j ]j )}j jdsb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhj5dubj")}(h h]h }(hj\dhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5dubj9)}(h interfaceh]h interface}(hjjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1dubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubjM )}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubjM )}(hlongh]hlong}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(h advertisingh]h advertising}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1dubeh}(h]h ]h"]h$]h&]jPjQuh1j hjchhhj dhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhj dhMubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj dhMhjchhubjg)}(hhh]jl)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ehhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj dhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%ejj%ejjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``phy_interface_t interface`` the PHY interface mode being configured ``const unsigned long *advertising`` the ethtool advertisement mask **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Encode the clause 37 PCS advertisement as specified by **interface** and **advertising**. **Return** The new value for **adv**, or ``-EINVAL`` if it should not be changed.h](jl)}(h**Parameters**h]j)}(hj/eh]h Parameters}(hj1ehhhNhNubah}(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.chMhj)eubj)}(hhh](j)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjNeh]hphy_interface_t interface}(hjPehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjHeubj)}(hhh]jl)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjgehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcehMhjdeubah}(h]h ]h"]h$]h&]uh1jhjHeubeh}(h]h ]h"]h$]h&]uh1jhjcehMhjEeubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjeh]h const unsigned long *advertising}(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.chMhjeubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhjEeubeh}(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:150: ./drivers/net/phy/phylink.chMhj)eubjl)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)eubjl)}(hYEncode the clause 37 PCS advertisement as specified by **interface** and **advertising**.h](h7Encode the clause 37 PCS advertisement as specified by }(hjehhhNhNubj)}(h **interface**h]h interface}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh and }(hjehhhNhNubj)}(h**advertising**h]h advertising}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)eubjl)}(h **Return**h]j)}(hjfh]hReturn}(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.chMhj)eubjl)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hj2fhhhNhNubj)}(h**adv**h]hadv}(hj:fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2fubh, or }(hj2fhhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hjLfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2fubh if it should not be changed.}(hj2fhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhjlhhhNhNubh)}(hhh](j)}(hint phylink_mii_c22_pcs_config (struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h]j )}(hint phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](jM )}(hinth]hint}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjfhMubj3)}(hphylink_mii_c22_pcs_configh]j9)}(hphylink_mii_c22_pcs_configh]hphylink_mii_c22_pcs_config}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjfhMubj )}(hm(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](j )}(hstruct mdio_device *pcsh](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 mdio_deviceh]h mdio_device}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j jfsbc.phylink_mii_c22_pcs_configasbuh1hhjfubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hpcsh]hpcs}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj7ghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9gmodnameN classnameNj j )}j ]jfc.phylink_mii_c22_pcs_configasbuh1hhj0gubj")}(h h]h }(hjUghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0gubj9)}(h interfaceh]h interface}(hjcghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0gubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hj|ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxgubjM )}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxgubjM )}(hlongh]hlong}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxgubj9)}(h advertisingh]h advertising}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hinth]hint}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hneg_modeh]hneg_mode}(hj-hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubeh}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhjfhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}fhhhjfhMubah}(h]jxfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhMhjzfhhubjg)}(hhh]jl)}(hconfigure clause 22 PCSh]hconfigure clause 22 PCS}(hjWhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjThhhubah}(h]h ]h"]h$]h&]uh1jfhjzfhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjohjjohjjjuh1hhhhjlhNhNubj)}(hX=**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. ``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)}(hjyhh]h Parameters}(hj{hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjshubj)}(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)}(hjhh]hstruct mdio_device *pcs}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjhhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjhh]hstruct mdio_device}(hjhhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjhhMhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjhh]hphy_interface_t interface}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhubj)}(hhh]jl)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj ihMhj iubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj ihMhjhubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj-ih]h const unsigned long *advertising}(hj/ihhhNhNubah}(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.chMhj'iubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hjFihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBihMhjCiubah}(h]h ]h"]h$]h&]uh1jhj'iubeh}(h]h ]h"]h$]h&]uh1jhjBihMhjhubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hjfih]hunsigned int neg_mode}(hjhihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj`iubj)}(hhh]jl)}(hPCS negotiation modeh]hPCS negotiation mode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{ihMhj|iubah}(h]h ]h"]h$]h&]uh1jhj`iubeh}(h]h ]h"]h$]h&]uh1jhj{ihMhjhubeh}(h]h ]h"]h$]h&]uh1jhjshubjl)}(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.chMhjshubjl)}(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 }(hjihhhNhNubj)}(h**mode**h]hmode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh, }(hjihhhNhNubj)}(h **interface**h]h interface}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh and }(hjihhhNhNubj)}(h**advertising**h]h advertising}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjshubeh}(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)}(hjjh]h Parameters}(hjkhhhNhNubah}(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.chMhjjubj)}(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)}(hjkh]hstruct mdio_device *pcs}(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 pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj6khhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj@kh]hstruct mdio_device}(hjBkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj>kubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhj2khMhj6kubh.}(hj6khhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj2khMhj3kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj2khMhjkubah}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hj{kh]h Description}(hj}khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjykubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjjubjl)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjjubjl)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjjubeh}(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}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhjkhMubj3)}(hphylink_replay_link_beginh]j9)}(hphylink_replay_link_beginh]hphylink_replay_link_begin}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhjkhMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](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)}(hphylinkh]hphylink}(hj*lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,lmodnameN classnameNj j )}j ]j )}j jksbc.phylink_replay_link_beginasbuh1hhjlubj")}(h h]h }(hjJlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjXlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hplh]hpl}(hjelhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubah}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhjkhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjkhMubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMhjkhhubjg)}(hhh]jl)}(h;begin replay of link callbacks for driver which loses stateh]h;begin replay of link callbacks for driver which loses state}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjlhNhNubj)}(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)}(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.chMhjlubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjlh]hstruct phylink *pl}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjlhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjlh]hstruct phylink}(hjlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjlhMhjlubh returned from phylink_create()}(hjlhhhNhNubeh}(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)}(hj.mh]h Description}(hj0mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,mubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlubjl)}(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).}(hjDmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlubjl)}(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).}(hjSmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlubeh}(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}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~mhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM(ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~mhhhjmhM(ubj3)}(hphylink_replay_link_endh]j9)}(hphylink_replay_link_endh]hphylink_replay_link_end}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~mhhhjmhM(ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hphylinkh]hphylink}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j jmsbc.phylink_replay_link_endasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hj nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hplh]hpl}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hj~mhhhjmhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzmhhhjmhM(ubah}(h]jumah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM(hjwmhhubjg)}(hhh]jl)}(h8end replay of link callbacks for driver which lost stateh]h8end replay of link callbacks for driver which lost state}(hjBnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM(hj?nhhubah}(h]h ]h"]h$]h&]uh1jfhjwmhhhjmhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZnjjZnjjjuh1hhhhjlhNhNubj)}(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)}(hjdnh]h Parameters}(hjfnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hj^nubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjnh]hstruct phylink *pl}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hj}nubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjnhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjnh]hstruct phylink}(hjnhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjnhM*hjnubh returned from phylink_create()}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjnhM*hjnubah}(h]h ]h"]h$]h&]uh1jhj}nubeh}(h]h ]h"]h$]h&]uh1jhjnhM*hjznubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hj^nubjl)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hj^nubjl)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hj^nubjl)}(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().}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hj^nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjަhhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hj6ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ohhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhj3ohhhNhNubh)}(hhh](j)}(hsfp_bush]j )}(hstruct sfp_bush](j)}(hjh]hstruct}(hj]ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYohhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj")}(h h]h }(hjkohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYohhhjjohKubj3)}(hsfp_bush]j9)}(hjWoh]hsfp_bus}(hj}ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYohhhjjohKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUohhhjjohKubah}(h]jPoah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjohKhjRohhubjg)}(hhh]jl)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjohhubah}(h]h ]h"]h$]h&]uh1jfhjRohhhjjohKubeh}(h]h ](jstructeh"]h$]h&]jjjjojjojjjuh1hhhhj3ohNhNubj)}(h6**Definition**:: struct sfp_bus { }; **Members**h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjoubj)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hjosbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjoubjl)}(h **Members**h]j)}(hjoh]hMembers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhj3ohhhNhNubh)}(hhh](j)}(h sfp_eeprom_idh]j )}(hstruct sfp_eeprom_idh](j)}(hjh]hstruct}(hj#phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hj1phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhj0phKubj3)}(h sfp_eeprom_idh]j9)}(hjph]h sfp_eeprom_id}(hjCphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?pubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhj0phKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhj0phKubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0phKhjphhubjg)}(hhh]jl)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hjephhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjbphhubah}(h]h ]h"]h$]h&]uh1jfhjphhhj0phKubeh}(h]h ](jstructeh"]h$]h&]jjjj}pjj}pjjjuh1hhhhj3ohNhNubj)}(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}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh:}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjpubj)}(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; };}hjpsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjpubjl)}(h **Members**h]j)}(hjph]hMembers}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjpubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hjph]hbase}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjpubj)}(hhh]jl)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphKhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKhjpubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hj qh]hext}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj qubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjqubj)}(hhh]jl)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hj$qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj!qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj qhKhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubjl)}(h**Description**h]j)}(hjNqh]h Description}(hjPqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLqubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ohhubjl)}(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 }(hjdqhhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjnqhhhNhNubah}(h]h ]h"]h$]h&]refurijpquh1jlqhjdqubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ohhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhj3ohhhNhNubh)}(hhh](j)}(hsfp_module_capsh]j )}(hstruct sfp_module_capsh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjqhKubj3)}(hsfp_module_capsh]j9)}(hjqh]hsfp_module_caps}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjqhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjqhKubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhKhjqhhubjg)}(hhh]jl)}(hsfp module capabilitiesh]hsfp module capabilities}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjqhKubeh}(h]h ](jstructeh"]h$]h&]jjjjqjjqjjjuh1hhhhj3ohNhNubj)}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh:}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjqubj)}(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; };}hjrsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjqubjl)}(h **Members**h]j)}(hj-rh]hMembers}(hj/rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+rubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjqubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hjLrh]h interfaces}(hjNrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjFrubj)}(hhh]jl)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hjerhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjarhMhjbrubah}(h]h ]h"]h$]h&]uh1jhjFrubeh}(h]h ]h"]h$]h&]uh1jhjarhMhjCrubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hjrh]h link_modes}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjrubj)}(hhh]jl)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjCrubj)}(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)}(hjrh]h may_have_phy}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjrubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjCrubj)}(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)}(hjrh]hport}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjrubj)}(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 }(hjshhhNhNubj)}(h ``PORT_*``h]hPORT_*}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh0 definitions, parsed from the module EEPROM, or }(hjshhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj+shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh if the port type is not known.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj shMhjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj shMhjCrubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhj3ohhhNhNubh)}(hhh](j)}(hsfp_upstream_opsh]j )}(hstruct sfp_upstream_opsh](j)}(hjh]hstruct}(hjushhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqshhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqshhhjshM$ubj3)}(hsfp_upstream_opsh]j9)}(hjosh]hsfp_upstream_ops}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqshhhjshM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmshhhjshM$ubah}(h]jhsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshM$hjjshhubjg)}(hhh]jl)}(hupstream operations structureh]hupstream operations structure}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjshhubah}(h]h ]h"]h$]h&]uh1jfhjjshhhjshM$ubeh}(h]h ](jstructeh"]h$]h&]jjjjsjjsjjjuh1hhhhj3ohNhNubj)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh:}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjsubj)}(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 *); };}hjssbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjsubjl)}(h **Members**h]j)}(hjth]hMembers}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM6hjsubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hj$th]hattach}(hj&thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"tubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM&hjtubj)}(hhh]jl)}(hGcalled when the sfp socket driver is bound to the upstream (mandatory).h]hGcalled when the sfp socket driver is bound to the upstream (mandatory).}(hj=thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM%hj:tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj9thM&hjtubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hj^th]hdetach}(hj`thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\tubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM(hjXtubj)}(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).}(hjwthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjttubah}(h]h ]h"]h$]h&]uh1jhjXtubeh}(h]h ]h"]h$]h&]uh1jhjsthM(hjtubj)}(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)}(hjth]h module_insert}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hjtubj)}(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.}(hjthhhNhNubah}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM*hjtubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hjth]h module_remove}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM+hjtubj)}(hhh]jl)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthM+hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM+hjtubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hj uh]h module_start}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj uubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM,hjuubj)}(hhh]jl)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hj$uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj uhM,hj!uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj uhM,hjtubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hjDuh]h module_stop}(hjFuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM-hj>uubj)}(hhh]jl)}(h called before the PHY is removedh]h called before the PHY is removed}(hj]uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYuhM-hjZuubah}(h]h ]h"]h$]h&]uh1jhj>uubeh}(h]h ]h"]h$]h&]uh1jhjYuhM-hjtubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hj}uh]h link_down}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{uubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM/hjwuubj)}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(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.chMQhjwubj)}(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)}(hjxh]hstruct sfp_bus *bus}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhj xubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj)xhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj3xh]hstruct sfp_bus}(hj5xhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1xubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj%xhMNhj)xubh structure for the sfp module}(hj)xhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%xhMNhj&xubah}(h]h ]h"]h$]h&]uh1jhj xubeh}(h]h ]h"]h$]h&]uh1jhj%xhMNhjxubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjlxh]hconst unsigned long *link_modes}(hjnxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjfxubj)}(hhh]jl)}(hethtool link modes maskh]hethtool link modes mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMOhjxubah}(h]h ]h"]h$]h&]uh1jhjfxubeh}(h]h ]h"]h$]h&]uh1jhjxhMOhjxubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhjwubjl)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhj3ohhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjxhMubj3)}(h sfp_bus_puth]j9)}(h sfp_bus_puth]h sfp_bus_put}(hj yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj yubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjxhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj)yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%yubj")}(h h]h }(hj6yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%yubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjGyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIymodnameN classnameNj j )}j ]j )}j jysb c.sfp_bus_putasbuh1hhj%yubj")}(h h]h }(hjgyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%yubj )}(hj h]h*}(hjuyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%yubj9)}(hbush]hbus}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!yubah}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjxhMubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMhjxhhubjg)}(hhh]jl)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hjyhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjyh]hstruct sfp_bus}(hjyhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jcy c.sfp_bus_putasbjsfp_busuh1hhjvhMMhjyubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj3ohNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjyubj)}(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)}(hjzh]hstruct sfp_bus *bus}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj zubj)}(hhh]jl)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hj*zhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj4zh]hstruct sfp_bus}(hj6zhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2zubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj&zhMhj*zubh found via sfp_bus_find_fwnode()}(hj*zhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&zhMhj'zubah}(h]h ]h"]h$]h&]uh1jhj zubeh}(h]h ]h"]h$]h&]uh1jhj&zhMhjzubah}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjozh]h Description}(hjqzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmzubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjyubjl)}(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 }(hjzhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjzh]hstruct sfp_bus}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjzubhB and free the underlying structure if this was the last reference.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjzhMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhj3ohhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjzhMubj3)}(hsfp_get_module_infoh]j9)}(hsfp_get_module_infoh]hsfp_get_module_info}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjzhMubj )}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)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}(hj2{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4{modnameN classnameNj j )}j ]j )}j jzsbc.sfp_get_module_infoasbuh1hhj{ubj")}(h h]h }(hjR{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj`{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hbush]hbus}(hjm{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj {ubj )}(hstruct ethtool_modinfo *modinfoh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hethtool_modinfoh]hethtool_modinfo}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jN{c.sfp_get_module_infoasbuh1hhj{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)}(hmodinfoh]hmodinfo}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj {ubeh}(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)}(h(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(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&]uh1jfhjzhhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj3ohNhNubj)}(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&]uh1jhj'|ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj#|ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjH|h]hstruct sfp_bus *bus}(hjJ|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjB|ubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hja|hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjk|h]hstruct sfp_bus}(hjm|hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhji|ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj]|hMhja|ubh structure for the sfp module}(hja|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj]|hMhj^|ubah}(h]h ]h"]h$]h&]uh1jhjB|ubeh}(h]h ]h"]h$]h&]uh1jhj]|hMhj?|ubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hj|h]hstruct ethtool_modinfo *modinfo}(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)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hj|hhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hj|h]hstruct ethtool_modinfo}(hj|hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_modinfouh1hhj|hMhj|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**Description**h]j)}(hj|h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj#|ubjl)}(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 }(hj}hhhNhNubj)}(h **modinfo**h]hmodinfo}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh* for a module on the sfp bus specified by }(hj}hhhNhNubj)}(h**bus**h]hbus}(hj.}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj#|ubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjG}hhhNhNubah}(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&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhj3ohhhNhNubh)}(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}(hjv}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjr}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!hjr}hhhj}hMubj3)}(hsfp_get_module_eepromh]j9)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjr}hhhj}hMubj )}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)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}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j j}sbc.sfp_get_module_eepromasbuh1hhj}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 )}(hstruct ethtool_eeprom *eeh](j)}(hjh]hstruct}(hj%~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!~ubj")}(h h]h }(hj2~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!~ubh)}(hhh]j9)}(hethtool_eepromh]hethtool_eeprom}(hjC~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE~modnameN classnameNj j )}j ]j}c.sfp_get_module_eepromasbuh1hhj!~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)}(heeh]hee}(hj|~hhhNhNubah}(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 ]j}c.sfp_get_module_eepromasbuh1hhj~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)}(hdatah]hdata}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjr}hhhj}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjn}hhhj}hMubah}(h]ji}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hMhjk}hhubjg)}(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&]uh1jfhjk}hhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` ``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) **Description** Read the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read. Returns 0 on success or a negative errno number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj<h]hstruct sfp_bus *bus}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj6ubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjUhhhNhNubh)}(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_busuh1hhjQhMhjUubh structure for the sfp module}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hjh]hstruct ethtool_eeprom *ee}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjh]hu8 *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(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 }(hj hhhNhNubj)}(h **ee->len**h]hee->len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh bytes)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hRead the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read.h](h-Read the EEPROM as specified by the supplied }(hjShhhNhNubj)}(h**ee**h]hee}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh. See the documentation for }(hjShhhNhNubh)}(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.chMhjSubh for the region to be read.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjhhhNhNubah}(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&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhj3ohhhNhNubh)}(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}(hjƀhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj€hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjՀhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj€hhhjԀhMubj3)}(hsfp_get_module_eeprom_by_pageh]j9)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj€hhhjԀhMubj )}(h_(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(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 )}(h(const struct ethtool_module_eeprom *pageh](j)}(hj h]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(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 ]j=c.sfp_get_module_eeprom_by_pageasbuh1hhjqubj")}(h h]h }(hj́hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjځhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j=c.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hextackh]hextack}(hjWhhhNhNubah}(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&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjԀhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(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.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&]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)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(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ׂhMhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hj7hhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjAh]hstruct ethtool_module_eeprom}(hjChhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhj3hMhj7ubeh}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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 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 }(hjǃhhhNhNubj)}(h**page**h]hpage}(hjσhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǃubh. See the documentation for }(hjǃhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjh]hstruct ethtool_module_eeprom}(hjhhhNhNubah}(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.chMhjǃubh for the page to be read.}(hjǃhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(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}(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&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhj3ohhhNhNubh)}(hhh](j)}(h-void sfp_upstream_start (struct sfp_bus *bus)h]j )}(h,void sfp_upstream_start(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhMubj3)}(hsfp_upstream_starth]j9)}(hsfp_upstream_starth]hsfp_upstream_start}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjHhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(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_startasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjÄhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hbush]hbus}(hjЄhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjHhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjHhMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMhj/hhubjg)}(hhh]jl)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj;h]hstruct sfp_bus *bus}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj5ubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjThhhNhNubh)}(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_busuh1hhjPhMhjTubh structure for the sfp module}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubah}(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)}(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&]uh1jkhjօhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhj3ohhhNhNubh)}(hhh](j)}(h,void sfp_upstream_stop (struct sfp_bus *bus)h]j )}(h+void sfp_upstream_stop(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hsfp_upstream_stoph]j9)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.sfp_upstream_stopasbuh1hhj: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 hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(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نjjjuh1hhhhj3ohNhNubj)}(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)}(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.chM*hj݆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)}(hj%h]hstruct sfp_bus}(hj'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhM'hjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhj݆ubjl)}(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)hj݆ubjl)}(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)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(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&]uh1jkhjhM(hj݆ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhj3ohhhNhNubh)}(hhh](j)}(hNvoid sfp_upstream_set_signal_rate (struct sfp_bus *bus, unsigned int rate_kbd)h]j )}(hMvoid sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd)h](jM )}(hvoidh]hvoid}(hjȇhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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_upstream_set_signal_rateh]j9)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjćhhhjևhM=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}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_set_signal_rateasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(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 )}(hunsigned int rate_kbdh](jM )}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hinth]hint}(hjhhhNhNubah}(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 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)}(hset data signalling rateh]hset data signalling rate}(hjوhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=hjֈhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjևhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``unsigned int rate_kbd`` signalling rate in units of 1000 baud **Description** Configure the rate select settings on the SFP module for the signalling rate (not the same as the data rate). Locks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM>hjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj3hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj=h]hstruct sfp_bus}(hj?hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj/hM>hj3ubh structure for the sfp module}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj/hM>hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM>hjubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjubjl)}(hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).h]hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).}(hjljhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM@hjubj)}(hhh]j)}(hFLocks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](j)}(hLocks that may be held:h]hLocks that may be held:}(hj݉hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMEhjىubj)}(hhh]jl)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMDhjubah}(h]h ]h"]h$]h&]uh1jhjىubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj։ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhj3ohhhNhNubh)}(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}(hj0hhhNhNubah}(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 }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj=hMQubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j sfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhj,hhhj=hMQubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj=hMQubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,hhhj=hMQubj3)}(hsfp_bus_find_fwnodeh]j9)}(hjmh]hsfp_bus_find_fwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj=hMQubj )}(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}(hjŊhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjҊhhhNhNubah}(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 ]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,hhhj=hMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj=hMQubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMQhj%hhubjg)}(hhh]jl)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhjChhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj=hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhj3ohNhNubj)}(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)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjubj)}(hhh]jl)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hj‹h]h Description}(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.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.}(hj؋hhhNhNubah}(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]jK)}(hhh](jK)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jl)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jl)}(hj h](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(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.chMZhjubah}(h]h ]h"]h$]h&]uh1jKhjubjK)}(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.}(hj1hhhNhNubah}(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&]uh1jKhjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjhMXhjbubjl)}(h **Return**h]j)}(hjTh]hReturn}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM]hjbubjK)}(hhh](jK)}(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&]uh1jKhjjubjK)}(h ``NULL`` if no SFP is specified,h]jl)}(hjh](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if no SFP is specified,}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMYhjubah}(h]h ]h"]h$]h&]uh1jKhjjubjK)}(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&]uh1jKhjjubeh}(h]h ]h"]h$]h&]jLj0uh1jKhj~hMXhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhj3ohhhNhNubh)}(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}(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_bus_add_upstreamh]j9)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM~ubj )}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j )}(hstruct sfp_bus *bush](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)}(hsfp_bush]hsfp_bus}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.sfp_bus_add_upstreamasbuh1hhj"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)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *upstreamh](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)}(hupstreamh]hupstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h"const struct sfp_upstream_ops *opsh](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)}(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_upstreamasbuh1hhj֍ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj֍ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj֍ubj9)}(hopsh]hops}(hjLhhhNhNubah}(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]j܌ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM~hjތhhubjg)}(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&]uh1jfhjތhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(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 found via sfp_bus_find_fwnode()}(hjЎhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj̎hMhj͎ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̎hMhjubj)}(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.chMhj ubj)}(hhh]jl)}(hthe upstream private datah]hthe upstream private data}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(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)}(hjLh]h"const struct sfp_upstream_ops *ops}(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.chMhjFubj)}(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&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubeh}(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)}(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.chMhjubj)}(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]jK)}(hhh](jK)}(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.chMhjҏubah}(h]h ]h"]h$]h&]uh1jKhjϏubjK)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jKhjϏubjK)}(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&]uh1jKhjϏubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjhMhjˏubah}(h]h ]h"]h$]h&]uh1jhjhMhjubjl)}(h **Return**h]j)}(hj8h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjK)}(hhh](jK)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjSh]h/on success, a pointer to the sfp_bus structure,}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQubah}(h]h ]h"]h$]h&]uh1jKhjNubjK)}(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&]uh1jKhjNubjK)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jKhjNubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjbhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhj3ohhhNhNubh)}(hhh](j)}(h/void sfp_bus_del_upstream (struct sfp_bus *bus)h]j )}(h.void sfp_bus_del_upstream(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hj͐hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɐhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjܐhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɐhhhjېhMubj3)}(hsfp_bus_del_upstreamh]j9)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjɐhhhjېhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jsbc.sfp_bus_del_upstreamasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjɐhhhjېhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjŐhhhjېhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjېhMhjhhubjg)}(hhh]jl)}(hDelete a sfp bush]hDelete a sfp bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjېhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(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)}(hjΑh]hstruct sfp_bus *bus}(hjБhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̑ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjȑubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȑubeh}(h]h ]h"]h$]h&]uh1jhjhMhjőubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(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. }(hjBhhhNhNubj)}(h**bus**h]hbus}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh2 should have been added by sfp_bus_add_upstream().}(hjBhhhNhNubeh}(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&]uh1jhj3ohhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhj3ohhhNhNubh)}(hhh](j)}(h/const char * sfp_get_name (struct sfp_bus *bus)h]j )}(h-const char *sfp_get_name(struct sfp_bus *bus)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(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 sfp_get_nameh]j9)}(h sfp_get_nameh]h sfp_get_name}(hj̒hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȒubah}(h]h ](jKjLeh"]h$]h&]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 reftargetjmodnameN classnameNj j )}j ]j )}j jΒsbc.sfp_get_nameasbuh1hhjubj")}(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)}(hbush]hbus}(hjAhhhNhNubah}(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]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjxhhubjg)}(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&]uh1jfhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj3ohNhNubj)}(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)}(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_busuh1hhjhMhjœubh structure for the sfp module}(hjœhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj“ubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hGets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.h](h!Gets the SFP device’s name, if }(hj hhhNhNubj)}(h**bus**h]hbus}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h **Return**h]j)}(hjCh]hReturn}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjK)}(hhh](jK)}(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&]uh1jKhjYubjK)}(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}(hjhhhNhNubah}(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&]uh1jKhjYubeh}(h]h ]h"]h$]h&]jLj0uh1jKhjmhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3ohhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhjަhhhhhKubeh}(h]network-device-supportah ]h"]network device supportah$]h&]uh1hhhhhhhhKWubeh}(h])linux-networking-and-network-devices-apisah ]h"])linux networking and network devices apisah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehʌ _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jʔjǔjۦjئj j jRijOijsjsj$j!jӦjЦj”jjOtjLtjijfj0oj-ojju nametypes}(jʔjۦj jRijsj$jӦj”jOtjij0ojuh}(jǔhjئhj hhjjjjBjGjjjOij" j? jD j j j j jPjUj jjxj}jjjjjB/jG/j0j0j2j2ja4jf4jF6jK6jp8ju8j:j:j<j<j=j=j!?j&?j|@j@jBjBjDjDjGjGjIj$IjJjJjiLjnLjNjNj]QjbQj&Tj+TjVjVjXjXj[Zj`Zj\j\j]j]j(_j-_j~ajajdjdjKfjPfjOhjThjjjjj4mj9mjojojpjpjvrj{rjtjtjvjvjxjxj?{jD{j+~j0~jnjsjjjjjajfj*j/jjj jjjjqjvjjjjjؚjݚjwj|jj#j3j8jТjբjܤjj&j+jjj#j(j^jcjjjѰjְjjjgjlj#j(jjjֹj۹jǻj̻jjjjj!j&jjjyj~jbjgjtjyjjjjjjjj jjjjj8j=jjj^jcj jjjjjjjjjjEjJjjjjjjjjjjjxj}j@jEjjjj jjj<jAj j j*j*j,j,j;.j@.j?0jD0j1j1j2j2jN4jS4j<6jA6j7j7jt9jy9j;j;j<j<j?j?jAjAjEjEj;Gj@GjJjJjLjLjNjNjXPj]PjQjQjITjNTj^XjcXj2[j7[j_j_jbjbjfjfjijijTmjYmjnjnjWpj\pjrjrjtjtjwjwj{j {jK}jP}jjjjjUjZjfjkjچj߆jjj j%j|jjjjjjgjljjjjjqjvjjj0j5jƢjˢjDjIjjjj"j jjjjjj5j:jغjݺj_jdjDjIjfjkjjjjjjjjjjjjjjjRjWj*j/jjjLjQjjjjj[j`j8j=jjjjjjj#j(jjjjj jjQjVjajfjvj{jAjFjjj j j' j, jj$jj$jjjjjSjXj?jDjPjUj j jq$jv$j#&j(&j)j )jM+jR+j.j.j0j0j 3j3j&5j+5j6j6j:j:j=j=j:@j?@jBjBjaEjfEj*Gj/GjLjLjOjOjlSjqSjgVjlVjvYj{Yj[j[j^j^j'bj,bjejejgjgjsjUijrijwijsljxljnjnjqjqj!jsjtjtjTujYujvjvjwjwjyjyj{j {jjj7j<jjjjj jj}jjjjjjjjjjjjЦj'jDjIjj$jħjɧj֩j۩jjjjjjjj"jjj:j?j>jCjνjӽj#j(jjjjjjjjjj j@jEjjjjjjjIjNjujzjjj_jdjj jjjjj"j'jjjUjZjjjQjVjjj-j2jjjjjjj8 j= j j j j jjjLjQjjj[j`jjjejjj jj j j4"j9"j#j#j%j%j'j'j*j#*jG,jL,j-j-j0j0j2j2j4j 4j5j5j6j6j<8jA8j9j9j;j;j=j=jq?jv?j@j@jsBjxBjbDjgDjEjEjdGjiGjIjIj$Kj)KjLjLjNjNjOjOjQjQjRjRj UjUj`WjeWjYjYjn]js]j^j^jJ`jO`jbjbjejej>hjChjmj"mjnjnjipjnpj%rj*rjbtjgtj_wjdwjzj{j$j)j%j*jփjۃjcjhj/j4jލjjjjjjjj@jEjԘj٘jBjGjjjŞjʞj?jDjjަjLtjj jjɨjΨjjjCjHjjjj"jjjjjljqjjjjj;j@j!j&jKjPjjjjjkjpjjjjjAjFjjj jjCjHjXj]jjjfjkj{jjjj7j<jTjYjsjxjjjj!jjjXj]j jjj#jjjCjHjjjjj(j-jjjjj&j+jjj%j*jjjVj[j j j& j+ jjjjjjjxj}j4j9jjjjj.j3jrjwj!j!j"j"j%j%jX)j])j+j+j-j-j0j0j3j3j4j5j6j6jw9j|9j5<j:<j7>j<>j?j?jMAjRAjCjCj/Ej4EjFjFj\IjaIjKjKjNjNjOjOjATjFTjUjUjCWjHWjuXjzXjZjZjd\ji\j]j^j`j`jbjbj gjgjijijljljnjnjqjqjVsj[sj+uj0ujwjwj yjyjzjzj0}j5}jZj_jtjyjJjOjtjyjjjvj{jjjjjEjJjŎjʎjEjJjjjljqj"j'jjjj jmjrjӚjؚjTjYjjjjj!j&jKjPjjjʨjϨjjjԭj٭jhjmj)j.jijnjjjWj\jj j!j&jռjڼj,j1jjjjjjj2j7jjjjjajfjjjjjjj3 j8 j j jKjPjjj)j.jjjFjKjjj[j`jjjjj j j("j-"j#j#j%j%j(j (j*j*j}-j-jt/jy/j0j1j3j#3j4j4j6j6j8j8j:j:j&=j+=j(?j-?jAjAj]DjbDjFjFj)Jj.JjKjKjEMjJMjNjNjGPjLPjQjQjrSjwSjTjTjVjVjXj#XjYjYj:[j?[j\j\jp^ju^j_j_jFdjKdj5gj:gjkjkjynjnjqjqjfjRtjotjttjujujqxjvxjzj zj{j{j}j}jjj'j,jޅjj9j>j"j'j}jjjjjjۑjj;j@jjjCjHjjjjjmjrjjjjjEjJjjjLjQjjjyj~jjj}jjjjjjjj=jBjgjljkjpjojtjʻjϻjƽj˽jjj/j4jYj^jj jjjjjjjjjjjjjjjjjDjIjjj j%jjjOjTjjjjjjj[j`jjjjjIjNjjjjjjjEjJjjj6j;jjjjjjjjjjjjjx j} jj jjjj jjjjjjj+ j0 j;#j@#j&j&j]*jb*j+j+j-j-jn.js.j/j/jY1j^1j2j2jy4j~4jv6j{6j8j 8j9j9j;j;ju<jz<j=j=j+?j0?j@j@jAjAjbCjgCjDjDjdFjiFjGjGjIjIjKjKjMjNjmPjrPjRjRjTjTjWjWj-Yj2Yj^[jc[jW]j\]j)_j._j`jajujjzjjljljmjmjojojujujwjwjzjzj{j{j7}j<}jjjΒjӒjDjIjЖjՖjjjjj{jj.j3jjjojtjyjjjjjjjYj^jٽj޽jjj5j:jjjjjjjJjOjjj jjjjrjwjjjRjWjjjjjjj\jaj'j,jjjjj[j`jjjjjijnjjjjjojjj6j;jjjjj-j2jjj j%j{jjjjjjj j j jy j~ jjj+j0jjjXj]jjjljqjZj_jrjwjj#jjj!j!j#j#j$j$j&j&j(j(jF*jK*jH,jM,j-j-jJ/jO/j0j0jj2jo2j3j3jl5jq5j48j98j:j:j<j<j/?j4?j4Bj9BjEjEj\HjaHjJjJjKjKjMjMjgOjlOj,Qj1QjoTjtTjLWjQWj#Zj(Zj\j\j^j^j`j`jbjbjdjdjfjfjhjhjsjjxjjlj$ljmjmjojojbrjgrjujujoyjtyj|j|jVj[jjjjjjj܋jj)j.jOjTjjjjjjjjjbjgjBjGj-ojljjjͯjүjjjӷjطjjjjjjjjjjjjjjj%j*jjj#j(jjjRjWjjj jjjjj jjjj#jjjjjTjYjjjjjSjXjjjjj!j&jjjJjOjwj|jjj j j j jjjjjjj8j=jjjjjy!j~!j$j$j'j'j)j)j+j+j-j-j/j/jq1jv1j3j3j4j4jW7j\7j 9j9j:j:j0=j5=j?j?jUBjZBjDjDjFjFjHjHj KjKjLjLjOjOjdQjiQj@UjEUjrWjwWj%Yj*Yj'[j,[j)]j.]j`j`jcjcjxfj}fjjjjjkjkjumjzmjj3ojPojUojpjpjqjqjhsjmsjvvj{vjxjxjzjzji}jn}jjj-j2jjjjj#j(j܌jjjŐjvj{u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]hsystem_message)}(hhh]jl)}(h:Enumerated list start value not ordinal-1: "8" (ordinal 8)h]h>Enumerated list start value not ordinal-1: “8” (ordinal 8)}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjTubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jRhjXLubatransform_messages] transformerN include_log] decorationNhhub.