sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget#/translations/zh_CN/networking/kapimodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/zh_TW/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/it_IT/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ja_JP/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ko_KR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/pt_BR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/sp_SP/networking/kapimodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h)Linux Networking and Network Devices APIsh]h)Linux Networking and Network Devices APIs}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh=/var/lib/git/docbuild/linux/Documentation/networking/kapi.rsthKubh)}(hhh](h)}(hLinux Networkingh]hLinux Networking}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetworking Base Typesh]hNetworking Base Types}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlesockopt (C struct) c.sockopthNtauh1hhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(hsockopth]hdesc_signature_line)}(hstruct sockopth](hdesc_sig_keyword)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhj hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKubhdesc_sig_space)}(h h]h }(hj#hhhNhNubah}(h]h ]wah"]h$]h&]uh1j!hj hhhj hKubh desc_name)}(hsockopth]h desc_sig_name)}(hjh]hsockopt}(hj:hhhNhNubah}(h]h ]nah"]h$]h&]uh1j8hj4ubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1j2hj hhhj hKubeh}(h]h ]h"]h$]h&]jPjQ add_permalinkuh1j sphinx_line_type declaratorhjhhhj hKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jhj hKhjhhubh desc_content)}(hhh]h paragraph)}(hsocket option value containerh]hsocket option value container}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hKubeh}(h]h ](cstructeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1hhhhhhNhNubh container)}(hX**Definition**:: struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; }; **Members** ``iter_in`` iov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE ``iter_out`` iov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST ``optlen`` serves as both input (buffer size) and output (returned data size).h](jl)}(h**Definition**::h](hstrong)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK#hjubh literal_block)}(h^struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; };h]h^struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK+hjubhdefinition_list)}(hhh](hdefinition_list_item)}(h``iter_in`` iov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE h](hterm)}(h ``iter_in``h]hliteral)}(hjh]hiter_in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK"hjubh definition)}(hhh]jl)}(hziov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCEh]hziov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK"hjubj)}(h|``iter_out`` iov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST h](j)}(h ``iter_out``h]j)}(hj+h]hiter_out}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK$hj%ubj)}(hhh]jl)}(hniov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DESTh]hniov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK#hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hK$hjubj)}(hN``optlen`` serves as both input (buffer size) and output (returned data size).h](j)}(h ``optlen``h]j)}(hjeh]hoptlen}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK$hj_ubj)}(hhh]jl)}(hCserves as both input (buffer size) and output (returned data size).h]hCserves as both input (buffer size) and output (returned data size).}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhK$hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK(hhhhubjl)}(hVType-safe wrapper for socket option data that works with both user and kernel buffers.h]hVType-safe wrapper for socket option data that works with both user and kernel buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hhhhubjl)}(hxThe optlen field allows callbacks to return a specific length value independent of the bytes written via copy_to_iter().h]hxThe optlen field allows callbacks to return a specific length value independent of the bytes written via copy_to_iter().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK(hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_type (C enum) c.sock_typehNtauh1hhhhhhNhNubh)}(hhh](j)}(h sock_typeh]j )}(henum sock_typeh](j)}(henumh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK.ubj3)}(h sock_typeh]j9)}(hjh]h sock_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK.hjhhubjg)}(hhh]jl)}(h Socket typesh]h Socket types}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKFhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK.ubeh}(h]h ](jenumeh"]h$]h&]jjjjPjjPjjjuh1hhhhhhNhNubj)}(hX**Constants** ``SOCK_STREAM`` stream (connection) socket ``SOCK_DGRAM`` datagram (conn.less) socket ``SOCK_RAW`` raw socket ``SOCK_RDM`` reliably-delivered message ``SOCK_SEQPACKET`` sequential packet socket ``SOCK_DCCP`` Datagram Congestion Control Protocol socket ``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](jl)}(h **Constants**h]j)}(hjZh]h Constants}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKJhjTubj)}(hhh](j)}(h+``SOCK_STREAM`` stream (connection) socket h](j)}(h``SOCK_STREAM``h]j)}(hjyh]h SOCK_STREAM}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKMhjsubj)}(hhh]jl)}(hstream (connection) socketh]hstream (connection) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKMhjpubj)}(h+``SOCK_DGRAM`` datagram (conn.less) socket h](j)}(h``SOCK_DGRAM``h]j)}(hjh]h SOCK_DGRAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKPhjubj)}(hhh]jl)}(hdatagram (conn.less) socketh]hdatagram (conn.less) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKPhjpubj)}(h``SOCK_RAW`` raw socket h](j)}(h ``SOCK_RAW``h]j)}(hjh]hSOCK_RAW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKShjubj)}(hhh]jl)}(h raw socketh]h raw socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjpubj)}(h(``SOCK_RDM`` reliably-delivered message h](j)}(h ``SOCK_RDM``h]j)}(hj$h]hSOCK_RDM}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKVhjubj)}(hhh]jl)}(hreliably-delivered messageh]hreliably-delivered message}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKVhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKVhjpubj)}(h,``SOCK_SEQPACKET`` sequential packet socket h](j)}(h``SOCK_SEQPACKET``h]j)}(hj]h]hSOCK_SEQPACKET}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKYhjWubj)}(hhh]jl)}(hsequential packet socketh]hsequential packet socket}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKYhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKYhjpubj)}(h:``SOCK_DCCP`` Datagram Congestion Control Protocol socket h](j)}(h ``SOCK_DCCP``h]j)}(hjh]h SOCK_DCCP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK\hjubj)}(hhh]jl)}(h+Datagram Congestion Control Protocol socketh]h+Datagram Congestion Control Protocol socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK\hjpubj)}(h``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](j)}(h``SOCK_PACKET``h]j)}(hjh]h SOCK_PACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK_hjubj)}(hhh]jl)}(htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h]htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK_hjpubeh}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKbhhhhubjl)}(hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.h]hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKOhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_shutdown_cmd (C enum)c.sock_shutdown_cmdhNtauh1hhhhhhNhNubh)}(hhh](j)}(hsock_shutdown_cmdh]j )}(henum sock_shutdown_cmdh](j)}(hjh]henum}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKVubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj\hKVubj3)}(hsock_shutdown_cmdh]j9)}(hjIh]hsock_shutdown_cmd}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj\hKVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj\hKVubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hKVhjDhhubjg)}(hhh]jl)}(hShutdown typesh]hShutdown types}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj\hKVubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(h**Constants** ``SHUT_RD`` shutdown receptions ``SHUT_WR`` shutdown transmissions ``SHUT_RDWR`` shutdown receptions/transmissionsh](jl)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKphjubj)}(hhh](j)}(h ``SHUT_RD`` shutdown receptions h](j)}(h ``SHUT_RD``h]j)}(hjh]hSHUT_RD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKshjubj)}(hhh]jl)}(hshutdown receptionsh]hshutdown receptions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(h#``SHUT_WR`` shutdown transmissions h](j)}(h ``SHUT_WR``h]j)}(hj h]hSHUT_WR}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKvhjubj)}(hhh]jl)}(hshutdown transmissionsh]hshutdown transmissions}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKvhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKvhjubj)}(h/``SHUT_RDWR`` shutdown receptions/transmissionsh](j)}(h ``SHUT_RDWR``h]j)}(hjDh]h SHUT_RDWR}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKxhj>ubj)}(hhh]jl)}(h!shutdown receptions/transmissionsh]h!shutdown receptions/transmissions}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKyhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKxhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsocket (C struct)c.sockethNtauh1hhhhhhNhNubh)}(hhh](j)}(hsocketh]j )}(h struct socketh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK~ubj3)}(hsocketh]j9)}(hjh]hsocket}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK~ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK~hjhhubjg)}(hhh]jl)}(hgeneral BSD socketh]hgeneral BSD socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK~ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hXg**Definition**:: struct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; }; **Members** ``state`` socket state (``SS_CONNECTED``, etc) ``type`` socket type (``SOCK_STREAM``, etc) ``flags`` socket flags (``SOCK_NOSPACE``, etc) ``file`` File back pointer for gc ``sk`` internal networking protocol agnostic socket representation ``ops`` protocol specific socket operations ``wq`` wait queue for several usesh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };h]hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubjl)}(h **Members**h]j)}(hj.h]hMembers}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh](j)}(h/``state`` socket state (``SS_CONNECTED``, etc) h](j)}(h ``state``h]j)}(hjMh]hstate}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjGubj)}(hhh]jl)}(h$socket state (``SS_CONNECTED``, etc)h](hsocket state (}(hjfhhhNhNubj)}(h``SS_CONNECTED``h]h SS_CONNECTED}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh, etc)}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjbhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjDubj)}(h,``type`` socket type (``SOCK_STREAM``, etc) h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h/``flags`` socket flags (``SOCK_NOSPACE``, etc) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h$socket flags (``SOCK_NOSPACE``, etc)h](hsocket flags (}(hjhhhNhNubj)}(h``SOCK_NOSPACE``h]h SOCK_NOSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h"``file`` File back pointer for gc h](j)}(h``file``h]j)}(hj.h]hfile}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhj(ubj)}(hhh]jl)}(hFile back pointer for gch]hFile back pointer for gc}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhjDubj)}(hC``sk`` internal networking protocol agnostic socket representation h](j)}(h``sk``h]j)}(hjgh]hsk}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjaubj)}(hhh]jl)}(h;internal networking protocol agnostic socket representationh]h;internal networking protocol agnostic socket representation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjDubj)}(h,``ops`` protocol specific socket operations h](j)}(h``ops``h]j)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h#protocol specific socket operationsh]h#protocol specific socket operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h"``wq`` wait queue for several usesh](j)}(h``wq``h]j)}(hjh]hwq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(hwait queue for several usesh]hwait queue for several uses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]networking-base-typesah ]h"]networking base typesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSocket Buffer Functionsh]hSocket Buffer Functions}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj" hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size (C function)c.skb_frag_sizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3unsigned int skb_frag_size (const skb_frag_t *frag)h]j )}(h2unsigned int skb_frag_size(const skb_frag_t *frag)h](hdesc_sig_keyword_type)}(hunsignedh]hunsigned}(hjN hhhNhNubah}(h]h ]ktah"]h$]h&]uh1jL hjH hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj")}(h h]h }(hj^ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH hhhj] hMpubjM )}(hinth]hint}(hjl hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH hhhj] hMpubj")}(h h]h }(hjz hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH hhhj] hMpubj3)}(h skb_frag_sizeh]j9)}(h skb_frag_sizeh]h skb_frag_size}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjH hhhj] hMpubhdesc_parameterlist)}(h(const skb_frag_t *frag)h]hdesc_parameter)}(hconst skb_frag_t *fragh](j)}(hconsth]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}j j sbc.skb_frag_sizeasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubhdesc_sig_punctuation)}(h*h]h*}(hj hhhNhNubah}(h]h ]pah"]h$]h&]uh1j hj ubj9)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjH hhhj] hMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjD hhhj] hMpubah}(h]j? ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj] hMphjA hhubjg)}(hhh]jl)}(h"Returns the size of a skb fragmenth]h"Returns the size of a skb fragment}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphj9 hhubah}(h]h ]h"]h$]h&]uh1jfhjA hhhj] hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT jjT jjjuh1hhhhj" hNhNubj)}(h9**Parameters** ``const skb_frag_t *frag`` skb fragmenth](jl)}(h**Parameters**h]j)}(hj^ h]h Parameters}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjX ubj)}(hhh]j)}(h'``const skb_frag_t *frag`` skb fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hj} h]hconst skb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjw ubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hMvhjt ubah}(h]h ]h"]h$]h&]uh1jhjX ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_set (C function)c.skb_frag_size_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hnetmem ``f_len`` length from f_off to loop over ``p`` (temp var) current page ``p_off`` (temp var) offset from start of current page, non-zero only on first page. ``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. ``copied`` (temp var) length so far, excluding current p_len. **Description** A fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h``f`` skb frag to operate on h](j)}(h``f``h]j)}(hjh]hf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jl)}(hskb frag to operate onh]hskb frag to operate on}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h)``f_off`` offset from start of f->netmem h](j)}(h ``f_off``h]j)}(hjJh]hf_off}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubj)}(hhh]jl)}(hoffset from start of f->netmemh]hoffset from start of f->netmem}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(h)``f_len`` length from f_off to loop over h](j)}(h ``f_len``h]j)}(hjh]hf_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}ubj)}(hhh]jl)}(hlength from f_off to loop overh]hlength from f_off to loop over}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``p`` (temp var) current page h](j)}(h``p``h]j)}(hjh]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h(temp var) current pageh]h(temp var) current page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``p_off`` (temp var) offset from start of current page, non-zero only on first page. h](j)}(h ``p_off``h]j)}(hjh]hp_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hJ(temp var) offset from start of current page, non-zero only on first page.h]hJ(temp var) offset from start of current page, non-zero only on first page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hV``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. h](j)}(h ``p_len``h]j)}(hj/h]hp_len}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)ubj)}(hhh]jl)}(hK(temp var) length in current page, < PAGE_SIZE only on first and last page.h]hK(temp var) length in current page, < PAGE_SIZE only on first and last page.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h>``copied`` (temp var) length so far, excluding current p_len. h](j)}(h ``copied``h]j)}(hjih]hcopied}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh]jl)}(h2(temp var) length so far, excluding current p_len.h]h2(temp var) length so far, excluding current p_len.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]jl)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared_hwtstamps (C struct)c.skb_shared_hwtstampshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hskb_shared_hwtstampsh]j )}(hstruct skb_shared_hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_shared_hwtstampsh]j9)}(hjh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hhardware time stampsh]hhardware time stamps}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjMjjMjjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; }; **Members** ``{unnamed_union}`` anonymous ``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time ``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh:}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };h]hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };}hjrsbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hY``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time h](j)}(h ``hwtstamp``h]j)}(hjh]hhwtstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hKhardware time stamp transformed into duration since arbitrary point in timeh]hKhardware time stamp transformed into duration since arbitrary point in time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hg``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](j)}(h``netdev_data``h]j)}(hjh]h netdev_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hWaddress/cookie of network device driver used as reference to actual hardware time stamph]hWaddress/cookie of network device driver used as reference to actual hardware time stamp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.h]hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(hLhwtstamps can only be compared against other hwtstamps from the same device.h]hLhwtstamps can only be compared against other hwtstamps from the same device.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(huThis structure is attached to packets as part of the :c:type:`skb_shared_info`. Use skb_hwtstamps() to get a pointer.h](h5This structure is attached to packets as part of the }(hjhhhNhNubh)}(h:c:type:`skb_shared_info`h]j)}(hjh]hskb_shared_info}(hjhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocnetworking/kapi refdomainjreftypetype refexplicitrefwarnj j )}j ]sb reftargetskb_shared_infouh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh'. Use skb_hwtstamps() to get a pointer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_buff (C struct) c.sk_buffhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsk_buffh]j )}(hstruct sk_buffh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hsk_buffh]j9)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h socket bufferh]h socket buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjj6jj6jjjuh1hhhhj" hNhNubj)}(hX(**Definition**:: struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; }; **Members** ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``next`` Next buffer in list ``prev`` Previous buffer in list ``{unnamed_union}`` anonymous ``dev`` Device we arrived on/are leaving by ``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` ``rbnode`` RB tree node, alternative to next/prev for netem/tcp ``list`` queue head ``ll_node`` anchor in an llist (eg socket defer_list) ``sk`` Socket we are owned by ``{unnamed_union}`` anonymous ``tstamp`` Time we arrived/left ``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer ``cb`` Control buffer. Free for use by every layer. Put private vars here ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``_skb_refdst`` destination entry (with norefcount bit) ``destructor`` Destruct function ``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) ``_sk_redir`` socket redirection information for skmsg ``_nfct`` Associated connection, if any (with nfctinfo bits) ``len`` Length of actual data ``data_len`` Data length ``mac_len`` Length of link layer header ``hdr_len`` writable header length of cloned skb ``queue_mapping`` Queue mapping for multiqueue devices ``cloned`` Head may be cloned (check refcnt to be sure) ``nohdr`` Payload reference only, must not modify header ``fclone`` skbuff clone status ``peeked`` this packet has been seen already, so stats have been done for it, don't do them again ``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). ``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves ``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) ``active_extensions`` active extensions (skb_ext_id types) ``{unnamed_struct}`` anonymous ``pkt_type`` Packet class ``ignore_df`` allow local fragmentation ``dst_pending_confirm`` need to confirm neighbour ``ip_summed`` Driver fed us an IP checksum ``ooo_okay`` allow the mapping of a socket to a queue to be changed ``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. ``tc_at_ingress`` used within tc_classify to distinguish in/egress ``tc_skip_classify`` do not classify packet. set by IFB device ``remcsum_offload`` remote checksum offload is enabled ``csum_complete_sw`` checksum was completed by software ``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) ``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO ``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. ``sw_hash`` indicates hash was computed in software stack ``wifi_acked_valid`` wifi_acked was set ``wifi_acked`` whether frame was acked on wifi or not ``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS ``encapsulation`` indicates the inner headers in the skbuff are valid ``encap_hdr_csum`` software checksum is needed ``csum_valid`` checksum is already valid ``ndisc_nodetype`` router type (from link layer) ``ipvs_property`` skbuff is owned by ipvs ``nf_trace`` netfilter packet trace flag ``offload_fwd_mark`` Packet was L2-forwarded in hardware ``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware ``redirected`` packet was redirected by packet classifier ``from_ingress`` packet was redirected from the ingress path ``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h ``decrypted`` Decrypted SKB ``slow_gro`` state present at GRO time, slower prepare step required ``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL ``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. ``tc_depth`` counter for packet duplication ``tc_index`` Traffic control index ``alloc_cpu`` CPU which did the skb allocation. ``{unnamed_union}`` anonymous ``csum`` Checksum (must include start/offset pair) ``{unnamed_struct}`` anonymous ``csum_start`` Offset from skb->head where checksumming should start ``csum_offset`` Offset from csum_start where checksum should be stored ``priority`` Packet queueing priority ``skb_iif`` ifindex of device we arrived on ``hash`` the packet hash ``{unnamed_union}`` anonymous ``vlan_all`` vlan fields (proto & tci) ``{unnamed_struct}`` anonymous ``vlan_proto`` vlan encapsulation protocol ``vlan_tci`` vlan tag control information ``{unnamed_union}`` anonymous ``napi_id`` id of the NAPI struct this skb came from ``sender_cpu`` (aka **napi_id**) source CPU in XPS ``secmark`` security marking ``{unnamed_union}`` anonymous ``mark`` Generic packet mark ``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff ``{unnamed_union}`` anonymous ``inner_protocol`` Protocol (encapsulation) ``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; ``inner_transport_header`` Inner transport layer header (encapsulation) ``inner_network_header`` Network layer header (encapsulation) ``inner_mac_header`` Link layer header (encapsulation) ``protocol`` Packet protocol from driver ``transport_header`` Transport layer header ``network_header`` Network layer header ``mac_header`` Link layer header ``kcov_handle`` KCOV remote handle for remote coverage collection ``tail`` Tail pointer ``end`` End pointer ``head`` Head of buffer ``data`` Data head pointer ``truesize`` Buffer size ``users`` User count - see {datagram,tcp}.c ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh:}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj:ubj)}(hX?struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };h]hX?struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };}hj[sbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubjl)}(h **Members**h]j)}(hjlh]hMembers}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``next`` Next buffer in list h](j)}(h``next``h]j)}(hjh]hnext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hNext buffer in listh]hNext buffer in list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h!``prev`` Previous buffer in list h](j)}(h``prev``h]j)}(hj6h]hprev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj0ubj)}(hhh]jl)}(hPrevious buffer in listh]hPrevious buffer in list}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjoh]h{unnamed_union}}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjiubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``dev`` Device we arrived on/are leaving by h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h#Device we arrived on/are leaving byh]h#Device we arrived on/are leaving by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` h](j)}(h``dev_scratch``h]j)}(hjh]h dev_scratch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hE(aka **dev**) alternate use of **dev** when **dev** would be ``NULL``h](h(aka }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) alternate use of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh when }(hjhhhNhNubj)}(h**dev**h]hdev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh would be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``rbnode`` RB tree node, alternative to next/prev for netem/tcp h](j)}(h ``rbnode``h]j)}(hj^h]hrbnode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXubj)}(hhh]jl)}(h4RB tree node, alternative to next/prev for netem/tcph]h4RB tree node, alternative to next/prev for netem/tcp}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h``list`` queue head h](j)}(h``list``h]j)}(hjh]hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h queue headh]h queue head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``ll_node`` anchor in an llist (eg socket defer_list) h](j)}(h ``ll_node``h]j)}(hjh]hll_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h)anchor in an llist (eg socket defer_list)h]h)anchor in an llist (eg socket defer_list)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk`` Socket we are owned by h](j)}(h``sk``h]j)}(hj h]hsk}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hSocket we are owned byh]hSocket we are owned by}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjBh]h{unnamed_union}}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj<ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhKhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhKhjubj)}(h ``tstamp`` Time we arrived/left h](j)}(h ``tstamp``h]j)}(hj{h]htstamp}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjuubj)}(hhh]jl)}(hTime we arrived/lefth]hTime we arrived/left}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h]``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer h](j)}(h``skb_mstamp_ns``h]j)}(hjh]h skb_mstamp_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hJ(aka **tstamp**) earliest departure time; start point for retransmit timerh](h(aka }(hjhhhNhNubj)}(h **tstamp**h]htstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;) earliest departure time; start point for retransmit timer}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``cb`` Control buffer. Free for use by every layer. Put private vars here h](j)}(h``cb``h]j)}(hjh]hcb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hBControl buffer. Free for use by every layer. Put private vars hereh]hBControl buffer. Free for use by every layer. Put private vars here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj9h]h{unnamed_union}}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj3ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjrh]h{unnamed_struct}}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjlubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``_skb_refdst`` destination entry (with norefcount bit) h](j)}(h``_skb_refdst``h]j)}(hjh]h _skb_refdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h'destination entry (with norefcount bit)h]h'destination entry (with norefcount bit)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``destructor`` Destruct function h](j)}(h``destructor``h]j)}(hjh]h destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjubj)}(hhh]jl)}(hDestruct functionh]hDestruct function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(hG``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) h](j)}(h``tcp_tsorted_anchor``h]j)}(hjh]htcp_tsorted_anchor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubj)}(hhh]jl)}(h/list structure for TCP (tp->tsorted_sent_queue)h]h/list structure for TCP (tp->tsorted_sent_queue)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM5hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM5hjubj)}(h7``_sk_redir`` socket redirection information for skmsg h](j)}(h ``_sk_redir``h]j)}(hjVh]h _sk_redir}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjPubj)}(hhh]jl)}(h(socket redirection information for skmsgh]h(socket redirection information for skmsg}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM6hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM6hjubj)}(h=``_nfct`` Associated connection, if any (with nfctinfo bits) h](j)}(h ``_nfct``h]j)}(hjh]h_nfct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjubj)}(hhh]jl)}(h2Associated connection, if any (with nfctinfo bits)h]h2Associated connection, if any (with nfctinfo bits)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h``len`` Length of actual data h](j)}(h``len``h]j)}(hjh]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hLength of actual datah]hLength of actual data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``data_len`` Data length h](j)}(h ``data_len``h]j)}(hjh]hdata_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h Data lengthh]h Data length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``mac_len`` Length of link layer header h](j)}(h ``mac_len``h]j)}(hj:h]hmac_len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh]jl)}(hLength of link layer headerh]hLength of link layer header}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h1``hdr_len`` writable header length of cloned skb h](j)}(h ``hdr_len``h]j)}(hjsh]hhdr_len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubj)}(hhh]jl)}(h$writable header length of cloned skbh]h$writable header length of cloned skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``queue_mapping`` Queue mapping for multiqueue devices h](j)}(h``queue_mapping``h]j)}(hjh]h queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubj)}(hhh]jl)}(h$Queue mapping for multiqueue devicesh]h$Queue mapping for multiqueue devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h8``cloned`` Head may be cloned (check refcnt to be sure) h](j)}(h ``cloned``h]j)}(hjh]hcloned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h,Head may be cloned (check refcnt to be sure)h]h,Head may be cloned (check refcnt to be sure)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h9``nohdr`` Payload reference only, must not modify header h](j)}(h ``nohdr``h]j)}(hjh]hnohdr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjubj)}(hhh]jl)}(h.Payload reference only, must not modify headerh]h.Payload reference only, must not modify header}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM"hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM"hjubj)}(h``fclone`` skbuff clone status h](j)}(h ``fclone``h]j)}(hjWh]hfclone}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hjQubj)}(hhh]jl)}(hskbuff clone statush]hskbuff clone status}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM$hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM$hjubj)}(hb``peeked`` this packet has been seen already, so stats have been done for it, don't do them again h](j)}(h ``peeked``h]j)}(hjh]hpeeked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(hhh]jl)}(hVthis packet has been seen already, so stats have been done for it, don't do them againh]hXthis packet has been seen already, so stats have been done for it, don’t do them again}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h^``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). h](j)}(h ``head_frag``h]j)}(hjh]h head_frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjubj)}(hhh]jl)}(hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().h]hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h=``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves h](j)}(h``pfmemalloc``h]j)}(hjh]h pfmemalloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh]jl)}(h-skbuff was allocated from PFMEMALLOC reservesh]h-skbuff was allocated from PFMEMALLOC reserves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(hf``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) h](j)}(h``pp_recycle``h]j)}(hj=h]h pp_recycle}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhj7ubj)}(hhh]jl)}(hVmark the packet for recycling instead of freeing (implies page_pool support on driver)h]hVmark the packet for recycling instead of freeing (implies page_pool support on driver)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMAhjubj)}(h;``active_extensions`` active extensions (skb_ext_id types) h](j)}(h``active_extensions``h]j)}(hjwh]hactive_extensions}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhjqubj)}(hhh]jl)}(h$active extensions (skb_ext_id types)h]h$active extensions (skb_ext_id types)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``pkt_type`` Packet class h](j)}(h ``pkt_type``h]j)}(hjh]hpkt_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjubj)}(hhh]jl)}(h Packet classh]h Packet class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h(``ignore_df`` allow local fragmentation h](j)}(h ``ignore_df``h]j)}(hj"h]h ignore_df}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hallow local fragmentationh]hallow local fragmentation}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h2``dst_pending_confirm`` need to confirm neighbour h](j)}(h``dst_pending_confirm``h]j)}(hj[h]hdst_pending_confirm}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhjUubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMUhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMUhjubj)}(h+``ip_summed`` Driver fed us an IP checksum h](j)}(h ``ip_summed``h]j)}(hjh]h ip_summed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjubj)}(hhh]jl)}(hDriver fed us an IP checksumh]hDriver fed us an IP checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(hD``ooo_okay`` allow the mapping of a socket to a queue to be changed h](j)}(h ``ooo_okay``h]j)}(hjh]hooo_okay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjubj)}(hhh]jl)}(h6allow the mapping of a socket to a queue to be changedh]h6allow the mapping of a socket to a queue to be changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(hW``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. h](j)}(h``tstamp_type``h]j)}(hj h]h tstamp_type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj ubj)}(hhh]jl)}(hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.h]hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMYhjubj)}(hC``tc_at_ingress`` used within tc_classify to distinguish in/egress h](j)}(h``tc_at_ingress``h]j)}(hj@ h]h tc_at_ingress}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj: ubj)}(hhh]jl)}(h0used within tc_classify to distinguish in/egressh]h0used within tc_classify to distinguish in/egress}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjU hM,hjV ubah}(h]h ]h"]h$]h&]uh1jhj: ubeh}(h]h ]h"]h$]h&]uh1jhjU hM,hjubj)}(h?``tc_skip_classify`` do not classify packet. set by IFB device h](j)}(h``tc_skip_classify``h]j)}(hjy h]htc_skip_classify}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hjs ubj)}(hhh]jl)}(h)do not classify packet. set by IFB deviceh]h)do not classify packet. set by IFB device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM+hj ubah}(h]h ]h"]h$]h&]uh1jhjs ubeh}(h]h ]h"]h$]h&]uh1jhj hM+hjubj)}(h7``remcsum_offload`` remote checksum offload is enabled h](j)}(h``remcsum_offload``h]j)}(hj h]hremcsum_offload}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hj ubj)}(hhh]jl)}(h"remote checksum offload is enabledh]h"remote checksum offload is enabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM(hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM(hjubj)}(h8``csum_complete_sw`` checksum was completed by software h](j)}(h``csum_complete_sw``h]j)}(hj h]hcsum_complete_sw}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhj ubj)}(hhh]jl)}(h"checksum was completed by softwareh]h"checksum was completed by software}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMOhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMOhjubj)}(h``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) h](j)}(h``csum_level``h]j)}(hj$!h]h csum_level}(hj&!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhj!ubj)}(hhh]jl)}(hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)h]hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)}(hj=!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhj:!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj9!hMRhjubj)}(h]``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO h](j)}(h``inner_protocol_type``h]j)}(hj^!h]hinner_protocol_type}(hj`!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjX!ubj)}(hhh]jl)}(hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTOh]hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO}(hjw!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hjt!ubah}(h]h ]h"]h$]h&]uh1jhjX!ubeh}(h]h ]h"]h$]h&]uh1jhjs!hM'hjubj)}(hL``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. h](j)}(h ``l4_hash``h]j)}(hj!h]hl4_hash}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj!ubj)}(hhh]jl)}(h?indicate hash is a canonical 4-tuple hash over transport ports.h]h?indicate hash is a canonical 4-tuple hash over transport ports.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMFhjubj)}(h:``sw_hash`` indicates hash was computed in software stack h](j)}(h ``sw_hash``h]j)}(hj!h]hsw_hash}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj!ubj)}(hhh]jl)}(h-indicates hash was computed in software stackh]h-indicates hash was computed in software stack}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMGhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMGhjubj)}(h(``wifi_acked_valid`` wifi_acked was set h](j)}(h``wifi_acked_valid``h]j)}(hj "h]hwifi_acked_valid}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj"ubj)}(hhh]jl)}(hwifi_acked was seth]hwifi_acked was set}(hj$"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj "hMHhj!"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj "hMHhjubj)}(h6``wifi_acked`` whether frame was acked on wifi or not h](j)}(h``wifi_acked``h]j)}(hjD"h]h wifi_acked}(hjF"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj>"ubj)}(hhh]jl)}(h&whether frame was acked on wifi or noth]h&whether frame was acked on wifi or not}(hj]"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjY"hMIhjZ"ubah}(h]h ]h"]h$]h&]uh1jhj>"ubeh}(h]h ]h"]h$]h&]uh1jhjY"hMIhjubj)}(h=``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS h](j)}(h ``no_fcs``h]j)}(hj}"h]hno_fcs}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJhjw"ubj)}(hhh]jl)}(h1Request NIC to treat last 4 bytes as Ethernet FCSh]h1Request NIC to treat last 4 bytes as Ethernet FCS}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMJhj"ubah}(h]h ]h"]h$]h&]uh1jhjw"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMJhjubj)}(hF``encapsulation`` indicates the inner headers in the skbuff are valid h](j)}(h``encapsulation``h]j)}(hj"h]h encapsulation}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMKhj"ubj)}(hhh]jl)}(h3indicates the inner headers in the skbuff are validh]h3indicates the inner headers in the skbuff are valid}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMKhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMKhjubj)}(h/``encap_hdr_csum`` software checksum is needed h](j)}(h``encap_hdr_csum``h]j)}(hj"h]hencap_hdr_csum}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhj"ubj)}(hhh]jl)}(hsoftware checksum is neededh]hsoftware checksum is needed}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMLhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hMLhjubj)}(h)``csum_valid`` checksum is already valid h](j)}(h``csum_valid``h]j)}(hj(#h]h csum_valid}(hj*#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj"#ubj)}(hhh]jl)}(hchecksum is already validh]hchecksum is already valid}(hjA#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=#hMMhj>#ubah}(h]h ]h"]h$]h&]uh1jhj"#ubeh}(h]h ]h"]h$]h&]uh1jhj=#hMMhjubj)}(h1``ndisc_nodetype`` router type (from link layer) h](j)}(h``ndisc_nodetype``h]j)}(hja#h]hndisc_nodetype}(hjc#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChj[#ubj)}(hhh]jl)}(hrouter type (from link layer)h]hrouter type (from link layer)}(hjz#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv#hMChjw#ubah}(h]h ]h"]h$]h&]uh1jhj[#ubeh}(h]h ]h"]h$]h&]uh1jhjv#hMChjubj)}(h*``ipvs_property`` skbuff is owned by ipvs h](j)}(h``ipvs_property``h]j)}(hj#h]h ipvs_property}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM%hj#ubj)}(hhh]jl)}(hskbuff is owned by ipvsh]hskbuff is owned by ipvs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM%hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM%hjubj)}(h)``nf_trace`` netfilter packet trace flag h](j)}(h ``nf_trace``h]j)}(hj#h]hnf_trace}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hj#ubj)}(hhh]jl)}(hnetfilter packet trace flagh]hnetfilter packet trace flag}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM2hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM2hjubj)}(h9``offload_fwd_mark`` Packet was L2-forwarded in hardware h](j)}(h``offload_fwd_mark``h]j)}(hj $h]hoffload_fwd_mark}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj $ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hj$ubj)}(hhh]jl)}(h#Packet was L2-forwarded in hardwareh]h#Packet was L2-forwarded in hardware}(hj%$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!$hM)hj"$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj!$hM)hjubj)}(h<``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware h](j)}(h``offload_l3_fwd_mark``h]j)}(hjE$h]hoffload_l3_fwd_mark}(hjG$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hj?$ubj)}(hhh]jl)}(h#Packet was L3-forwarded in hardwareh]h#Packet was L3-forwarded in hardware}(hj^$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ$hM*hj[$ubah}(h]h ]h"]h$]h&]uh1jhj?$ubeh}(h]h ]h"]h$]h&]uh1jhjZ$hM*hjubj)}(h:``redirected`` packet was redirected by packet classifier h](j)}(h``redirected``h]j)}(hj~$h]h redirected}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjx$ubj)}(hhh]jl)}(h*packet was redirected by packet classifierh]h*packet was redirected by packet classifier}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM-hj$ubah}(h]h ]h"]h$]h&]uh1jhjx$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM-hjubj)}(h=``from_ingress`` packet was redirected from the ingress path h](j)}(h``from_ingress``h]j)}(hj$h]h from_ingress}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj$ubj)}(hhh]jl)}(h+packet was redirected from the ingress pathh]h+packet was redirected from the ingress path}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM.hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM.hjubj)}(hH``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h h](j)}(h``nf_skip_egress``h]j)}(hj$h]hnf_skip_egress}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj$ubj)}(hhh]jl)}(h4packet shall skip nf egress - see netfilter_netdev.hh]h4packet shall skip nf egress - see netfilter_netdev.h}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM/hj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hM/hjubj)}(h``decrypted`` Decrypted SKB h](j)}(h ``decrypted``h]j)}(hj)%h]h decrypted}(hj+%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhj#%ubj)}(hhh]jl)}(h Decrypted SKBh]h Decrypted SKB}(hjB%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>%hMVhj?%ubah}(h]h ]h"]h$]h&]uh1jhj#%ubeh}(h]h ]h"]h$]h&]uh1jhj>%hMVhjubj)}(hE``slow_gro`` state present at GRO time, slower prepare step required h](j)}(h ``slow_gro``h]j)}(hjb%h]hslow_gro}(hjd%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhj\%ubj)}(hhh]jl)}(h7state present at GRO time, slower prepare step requiredh]h7state present at GRO time, slower prepare step required}(hj{%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjw%hMWhjx%ubah}(h]h ]h"]h$]h&]uh1jhj\%ubeh}(h]h ]h"]h$]h&]uh1jhjw%hMWhjubj)}(h9``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL h](j)}(h``csum_not_inet``h]j)}(hj%h]h csum_not_inet}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj%ubj)}(hhh]jl)}(h&use CRC32c to resolve CHECKSUM_PARTIALh]h&use CRC32c to resolve CHECKSUM_PARTIAL}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMNhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMNhjubj)}(hU``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. h](j)}(h``unreadable``h]j)}(hj%h]h unreadable}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThj%ubj)}(hhh]jl)}(hEindicates that at least 1 of the fragments in this skb is unreadable.h]hEindicates that at least 1 of the fragments in this skb is unreadable.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMThjubj)}(h,``tc_depth`` counter for packet duplication h](j)}(h ``tc_depth``h]j)}(hj&h]htc_depth}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj&ubj)}(hhh]jl)}(hcounter for packet duplicationh]hcounter for packet duplication}(hj'&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#&hM9hj$&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj#&hM9hjubj)}(h#``tc_index`` Traffic control index h](j)}(h ``tc_index``h]j)}(hjG&h]htc_index}(hjI&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hjA&ubj)}(hhh]jl)}(hTraffic control indexh]hTraffic control index}(hj`&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\&hM:hj]&ubah}(h]h ]h"]h$]h&]uh1jhjA&ubeh}(h]h ]h"]h$]h&]uh1jhj\&hM:hjubj)}(h0``alloc_cpu`` CPU which did the skb allocation. h](j)}(h ``alloc_cpu``h]j)}(hj&h]h alloc_cpu}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hjz&ubj)}(hhh]jl)}(h!CPU which did the skb allocation.h]h!CPU which did the skb allocation.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM\hj&ubah}(h]h ]h"]h$]h&]uh1jhjz&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM\hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj&h]h{unnamed_union}}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj&ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhjubj)}(h3``csum`` Checksum (must include start/offset pair) h](j)}(h``csum``h]j)}(hj&h]hcsum}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj&ubj)}(hhh]jl)}(h)Checksum (must include start/offset pair)h]h)Checksum (must include start/offset pair)}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj+'h]h{unnamed_struct}}(hj-'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj%'ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjD'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@'hKhjA'ubah}(h]h ]h"]h$]h&]uh1jhj%'ubeh}(h]h ]h"]h$]h&]uh1jhj@'hKhjubj)}(hE``csum_start`` Offset from skb->head where checksumming should start h](j)}(h``csum_start``h]j)}(hjd'h]h csum_start}(hjf'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^'ubj)}(hhh]jl)}(h5Offset from skb->head where checksumming should starth]h5Offset from skb->head where checksumming should start}(hj}'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjy'hMhjz'ubah}(h]h ]h"]h$]h&]uh1jhj^'ubeh}(h]h ]h"]h$]h&]uh1jhjy'hMhjubj)}(hG``csum_offset`` Offset from csum_start where checksum should be stored h](j)}(h``csum_offset``h]j)}(hj'h]h csum_offset}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubj)}(hhh]jl)}(h6Offset from csum_start where checksum should be storedh]h6Offset from csum_start where checksum should be stored}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h&``priority`` Packet queueing priority h](j)}(h ``priority``h]j)}(hj'h]hpriority}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubj)}(hhh]jl)}(hPacket queueing priorityh]hPacket queueing priority}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h,``skb_iif`` ifindex of device we arrived on h](j)}(h ``skb_iif``h]j)}(hj(h]hskb_iif}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj (ubj)}(hhh]jl)}(hifindex of device we arrived onh]hifindex of device we arrived on}(hj((hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$(hM8hj%(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj$(hM8hjubj)}(h``hash`` the packet hash h](j)}(h``hash``h]j)}(hjH(h]hhash}(hjJ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjB(ubj)}(hhh]jl)}(hthe packet hashh]hthe packet hash}(hja(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj](hM;hj^(ubah}(h]h ]h"]h$]h&]uh1jhjB(ubeh}(h]h ]h"]h$]h&]uh1jhj](hM;hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj(h]h{unnamed_union}}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj{(ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1jhj{(ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhjubj)}(h'``vlan_all`` vlan fields (proto & tci) h](j)}(h ``vlan_all``h]j)}(hj(h]hvlan_all}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahj(ubj)}(hhh]jl)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMahj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMahjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj(h]h{unnamed_struct}}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj(ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj )ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hKhjubj)}(h+``vlan_proto`` vlan encapsulation protocol h](j)}(h``vlan_proto``h]j)}(hj,)h]h vlan_proto}(hj.)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhj&)ubj)}(hhh]jl)}(hvlan encapsulation protocolh]hvlan encapsulation protocol}(hjE)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjA)hMbhjB)ubah}(h]h ]h"]h$]h&]uh1jhj&)ubeh}(h]h ]h"]h$]h&]uh1jhjA)hMbhjubj)}(h*``vlan_tci`` vlan tag control information h](j)}(h ``vlan_tci``h]j)}(hje)h]hvlan_tci}(hjg)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj_)ubj)}(hhh]jl)}(hvlan tag control informationh]hvlan tag control information}(hj~)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz)hMchj{)ubah}(h]h ]h"]h$]h&]uh1jhj_)ubeh}(h]h ]h"]h$]h&]uh1jhjz)hMchjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj)h]h{unnamed_union}}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj)ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hKhjubj)}(h5``napi_id`` id of the NAPI struct this skb came from h](j)}(h ``napi_id``h]j)}(hj)h]hnapi_id}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZhj)ubj)}(hhh]jl)}(h(id of the NAPI struct this skb came fromh]h(id of the NAPI struct this skb came from}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMZhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMZhjubj)}(h3``sender_cpu`` (aka **napi_id**) source CPU in XPS h](j)}(h``sender_cpu``h]j)}(hj*h]h sender_cpu}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hj *ubj)}(hhh]jl)}(h#(aka **napi_id**) source CPU in XPSh](h(aka }(hj)*hhhNhNubj)}(h **napi_id**h]hnapi_id}(hj1*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)*ubh) source CPU in XPS}(hj)*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%*hM[hj&*ubah}(h]h ]h"]h$]h&]uh1jhj *ubeh}(h]h ]h"]h$]h&]uh1jhj%*hM[hjubj)}(h``secmark`` security marking h](j)}(h ``secmark``h]j)}(hj[*h]hsecmark}(hj]*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hjU*ubj)}(hhh]jl)}(hsecurity markingh]hsecurity marking}(hjt*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjp*hM]hjq*ubah}(h]h ]h"]h$]h&]uh1jhjU*ubeh}(h]h ]h"]h$]h&]uh1jhjp*hM]hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj*h]h{unnamed_union}}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj*ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hKhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKhjubj)}(h``mark`` Generic packet mark h](j)}(h``mark``h]j)}(hj*h]hmark}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^hj*ubj)}(hhh]jl)}(hGeneric packet markh]hGeneric packet mark}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM^hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM^hjubj)}(hg``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff h](j)}(h``reserved_tailroom``h]j)}(hj+h]hreserved_tailroom}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`hj+ubj)}(hhh]jl)}(hP(aka **mark**) number of bytes of free space available at the tail of an sk_buffh](h(aka }(hj+hhhNhNubj)}(h**mark**h]hmark}(hj'+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhC) number of bytes of free space available at the tail of an sk_buff}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM`hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjR+h]h{unnamed_union}}(hjT+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjL+ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjk+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg+hKhjh+ubah}(h]h ]h"]h$]h&]uh1jhjL+ubeh}(h]h ]h"]h$]h&]uh1jhjg+hKhjubj)}(h,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hj+h]hinner_protocol}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj+ubj)}(hhh]jl)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMdhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMdhjubj)}(ho``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; h](j)}(h``inner_ipproto``h]j)}(hj+h]h inner_ipproto}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhj+ubj)}(hhh]jl)}(h\(aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;h](h(aka }(hj+hhhNhNubj)}(h**inner_protocol**h]hinner_protocol}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhE) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMfhjubj)}(hH``inner_transport_header`` Inner transport layer header (encapsulation) h](j)}(h``inner_transport_header``h]j)}(hj,h]hinner_transport_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj ,ubj)}(hhh]jl)}(h,Inner transport layer header (encapsulation)h]h,Inner transport layer header (encapsulation)}(hj),hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%,hMghj&,ubah}(h]h ]h"]h$]h&]uh1jhj ,ubeh}(h]h ]h"]h$]h&]uh1jhj%,hMghjubj)}(h>``inner_network_header`` Network layer header (encapsulation) h](j)}(h``inner_network_header``h]j)}(hjI,h]hinner_network_header}(hjK,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjC,ubj)}(hhh]jl)}(h$Network layer header (encapsulation)h]h$Network layer header (encapsulation)}(hjb,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^,hMhhj_,ubah}(h]h ]h"]h$]h&]uh1jhjC,ubeh}(h]h ]h"]h$]h&]uh1jhj^,hMhhjubj)}(h7``inner_mac_header`` Link layer header (encapsulation) h](j)}(h``inner_mac_header``h]j)}(hj,h]hinner_mac_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj|,ubj)}(hhh]jl)}(h!Link layer header (encapsulation)h]h!Link layer header (encapsulation)}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMihj,ubah}(h]h ]h"]h$]h&]uh1jhj|,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMihjubj)}(h)``protocol`` Packet protocol from driver h](j)}(h ``protocol``h]j)}(hj,h]hprotocol}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj,ubj)}(hhh]jl)}(hPacket protocol from driverh]hPacket protocol from driver}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hM3hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM3hjubj)}(h,``transport_header`` Transport layer header h](j)}(h``transport_header``h]j)}(hj,h]htransport_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj,ubj)}(hhh]jl)}(hTransport layer headerh]hTransport layer header}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj -hMjhj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hMjhjubj)}(h(``network_header`` Network layer header h](j)}(h``network_header``h]j)}(hj--h]hnetwork_header}(hj/-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhj'-ubj)}(hhh]jl)}(hNetwork layer headerh]hNetwork layer header}(hjF-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB-hMkhjC-ubah}(h]h ]h"]h$]h&]uh1jhj'-ubeh}(h]h ]h"]h$]h&]uh1jhjB-hMkhjubj)}(h!``mac_header`` Link layer header h](j)}(h``mac_header``h]j)}(hjf-h]h mac_header}(hjh-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj`-ubj)}(hhh]jl)}(hLink layer headerh]hLink layer header}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{-hMlhj|-ubah}(h]h ]h"]h$]h&]uh1jhj`-ubeh}(h]h ]h"]h$]h&]uh1jhj{-hMlhjubj)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hj-h]h kcov_handle}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhj-ubj)}(hhh]jl)}(h1KCOV remote handle for remote coverage collectionh]h1KCOV remote handle for remote coverage collection}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMmhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMmhjubj)}(h``tail`` Tail pointer h](j)}(h``tail``h]j)}(hj-h]htail}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMnhj-ubj)}(hhh]jl)}(h Tail pointerh]h Tail pointer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMnhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMnhjubj)}(h``end`` End pointer h](j)}(h``end``h]j)}(hj.h]hend}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMohj .ubj)}(hhh]jl)}(h End pointerh]h End pointer}(hj*.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&.hMohj'.ubah}(h]h ]h"]h$]h&]uh1jhj .ubeh}(h]h ]h"]h$]h&]uh1jhj&.hMohjubj)}(h``head`` Head of buffer h](j)}(h``head``h]j)}(hjJ.h]hhead}(hjL.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjD.ubj)}(hhh]jl)}(hHead of bufferh]hHead of buffer}(hjc.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_.hMphj`.ubah}(h]h ]h"]h$]h&]uh1jhjD.ubeh}(h]h ]h"]h$]h&]uh1jhj_.hMphjubj)}(h``data`` Data head pointer h](j)}(h``data``h]j)}(hj.h]hdata}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj}.ubj)}(hhh]jl)}(hData head pointerh]hData head pointer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMqhj.ubah}(h]h ]h"]h$]h&]uh1jhj}.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMqhjubj)}(h``truesize`` Buffer size h](j)}(h ``truesize``h]j)}(hj.h]htruesize}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrhj.ubj)}(hhh]jl)}(h Buffer sizeh]h Buffer size}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMrhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMrhjubj)}(h,``users`` User count - see {datagram,tcp}.c h](j)}(h ``users``h]j)}(hj.h]husers}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshj.ubj)}(hhh]jl)}(h!User count - see {datagram,tcp}.ch]h!User count - see {datagram,tcp}.c}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj /hMshj /ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj /hMshjubj)}(hJ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](j)}(h``extensions``h]j)}(hj./h]h extensions}(hj0/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,/ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshj(/ubj)}(hhh]jl)}(h;allocated extensions, valid if active_extensions is nonzeroh]h;allocated extensions, valid if active_extensions is nonzero}(hjG/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjD/ubah}(h]h ]h"]h$]h&]uh1jhj(/ubeh}(h]h ]h"]h$]h&]uh1jhjC/hMshjubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pfmemalloc (C function)c.skb_pfmemallochNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/bool skb_pfmemalloc (const struct sk_buff *skb)h]j )}(h.bool skb_pfmemalloc(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj/hMpubj3)}(hskb_pfmemalloch]j9)}(hskb_pfmemalloch]hskb_pfmemalloc}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj/hMpubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j j/sbc.skb_pfmemallocasbuh1hhj/ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj+0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hj80hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubah}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhj/hMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhj/hMpubah}(h]j{/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMphj}/hhubjg)}(hhh]jl)}(h6Test if the skb was allocated from PFMEMALLOC reservesh]h6Test if the skb was allocated from PFMEMALLOC reserves}(hjb0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphj_0hhubah}(h]h ]h"]h$]h&]uh1jfhj}/hhhj/hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjz0jjz0jjjuh1hhhhj" hNhNubj)}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthj~0ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj0h]hconst struct sk_buff *skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhj0ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMvhj0ubah}(h]h ]h"]h$]h&]uh1jhj~0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst (C function) c.skb_dsthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6struct dst_entry * skb_dst (const struct sk_buff *skb)h]j )}(h4struct dst_entry *skb_dst(const struct sk_buff *skb)h](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj 1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj 1hMubh)}(hhh]j9)}(h dst_entryh]h dst_entry}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j skb_dstsb c.skb_dstasbuh1hhj0hhhj 1hMubj")}(h h]h }(hj=1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj 1hMubj )}(hj h]h*}(hjK1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0hhhj 1hMubj3)}(hskb_dsth]j9)}(hj:1h]hskb_dst}(hj\1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj 1hMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjw1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubj)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j81 c.skb_dstasbuh1hhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs1ubj9)}(hskbh]hskb}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjo1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj 1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj 1hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 1hMhj0hhubjg)}(hhh]jl)}(hreturns skb dst_entryh]hreturns skb dst_entry}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj 1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+2jj+2jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``const struct sk_buff *skb`` buffer **Return** skb dst_entry, regardless of reference taken or not.h](jl)}(h**Parameters**h]j)}(hj52h]h Parameters}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj32ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubj)}(hhh]j)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjT2h]hconst struct sk_buff *skb}(hjV2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjN2ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjm2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji2hMhjj2ubah}(h]h ]h"]h$]h&]uh1jhjN2ubeh}(h]h ]h"]h$]h&]uh1jhji2hMhjK2ubah}(h]h ]h"]h$]h&]uh1jhj/2ubjl)}(h **Return**h]j)}(hj2h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubjl)}(h4skb dst_entry, regardless of reference taken or not.h]h4skb dst_entry, regardless of reference taken or not.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dstref_steal (C function)c.skb_dstref_stealhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4unsigned long skb_dstref_steal (struct sk_buff *skb)h]j )}(h3unsigned long skb_dstref_steal(struct sk_buff *skb)h](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubjM )}(hlongh]hlong}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhj2hMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hskb_dstref_stealh]j9)}(hskb_dstref_stealh]hskb_dstref_steal}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj-3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)3ubj")}(h h]h }(hj:3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)3ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjK3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM3modnameN classnameNj j )}j ]j )}j j3sbc.skb_dstref_stealasbuh1hhj)3ubj")}(h h]h }(hjk3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)3ubj )}(hj h]h*}(hjy3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)3ubj9)}(hskbh]hskb}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(h+return current dst_entry value and clear ith]h+return current dst_entry value and clear it}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Resets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit. When in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting. **Return** original skb dst_entry.h](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj3h]hstruct sk_buff *skb}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj,4h]h Description}(hj.4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*4ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.h]hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.}(hjB4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.h]hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.}(hjQ4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(h **Return**h]j)}(hjb4h]hReturn}(hjd4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`4ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(horiginal skb dst_entry.h]horiginal skb dst_entry.}(hjx4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dstref_restore (C function)c.skb_dstref_restorehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCvoid skb_dstref_restore (struct sk_buff *skb, unsigned long refdst)h]j )}(hBvoid skb_dstref_restore(struct sk_buff *skb, unsigned long refdst)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMubj3)}(hskb_dstref_restoreh]j9)}(hskb_dstref_restoreh]hskb_dstref_restore}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h+(struct sk_buff *skb, unsigned long refdst)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j4sbc.skb_dstref_restoreasbuh1hhj4ubj")}(h h]h }(hj"5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj05hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskbh]hskb}(hj=5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned long refdsth](jM )}(hunsignedh]hunsigned}(hjV5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR5ubj")}(h h]h }(hjd5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR5ubjM )}(hlongh]hlong}(hjr5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR5ubj9)}(hrefdsth]hrefdst}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMhj4hhubjg)}(hhh]jl)}(h4restore skb dst_entry removed via skb_dstref_steal()h]h4restore skb dst_entry removed via skb_dstref_steal()}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``struct sk_buff *skb`` buffer ``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj5h]hstruct sk_buff *skb}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubj)}(hD``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](j)}(h``unsigned long refdst``h]j)}(hj26h]hunsigned long refdst}(hj46hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj06ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,6ubj)}(hhh]jl)}(h+dst entry from a call to skb_dstref_steal()h]h+dst entry from a call to skb_dstref_steal()}(hjK6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjH6ubah}(h]h ]h"]h$]h&]uh1jhj,6ubeh}(h]h ]h"]h$]h&]uh1jhjG6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_set (C function) c.skb_dst_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void skb_dst_set (struct sk_buff *skb, struct dst_entry *dst)h]j )}(hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj#>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(hj0>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjA>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC>modnameN classnameNj j )}j ]j )}j j >sb c.skb_unrefasbuh1hhj>ubj")}(h h]h }(hja>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjo>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hskbh]hskb}(hj|>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj=hMubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMhj=hhubjg)}(hhh]jl)}(h#decrement the skb's reference counth]h%decrement the skb’s reference count}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(hZ**Parameters** ``struct sk_buff *skb`` buffer **Return** true if we can free the skb.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj>h]hstruct sk_buff *skb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h **Return**h]j)}(hj"?h]hReturn}(hj$?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ?ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubjl)}(htrue if we can free the skb.h]htrue if we can free the skb.}(hj8?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkfree_skb (C function) c.kfree_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h$void kfree_skb (struct sk_buff *skb)h]j )}(h#void kfree_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjg?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjc?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ubj")}(h h]h }(hjv?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc?hhhju?hM/ubj3)}(h kfree_skbh]j9)}(h kfree_skbh]h kfree_skb}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjc?hhhju?hM/ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j j?sb c.kfree_skbasbuh1hhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hskbh]hskb}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubah}(h]h ]h"]h$]h&]jPjQuh1j hjc?hhhju?hM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_?hhhju?hM/ubah}(h]jZ?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhju?hM/hj\?hhubjg)}(hhh]jl)}(h+free an sk_buff with 'NOT_SPECIFIED' reasonh]h/free an sk_buff with ‘NOT_SPECIFIED’ reason}(hj'@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj$@hhubah}(h]h ]h"]h$]h&]uh1jfhj\?hhhju?hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?@jj?@jjjuh1hhhhj" hNhNubj)}(h8**Parameters** ``struct sk_buff *skb`` buffer to freeh](jl)}(h**Parameters**h]j)}(hjI@h]h Parameters}(hjK@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG@ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hjC@ubj)}(hhh]j)}(h&``struct sk_buff *skb`` buffer to freeh](j)}(h``struct sk_buff *skb``h]j)}(hjh@h]hstruct sk_buff *skb}(hjj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjb@ubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj~@ubah}(h]h ]h"]h$]h&]uh1jhjb@ubeh}(h]h ]h"]h$]h&]uh1jhj}@hM5hj_@ubah}(h]h ]h"]h$]h&]uh1jhjC@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb (C function) c.alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h>struct sk_buff * alloc_skb (unsigned int size, gfp_t priority)h]j )}(hbool skb_queue_empty_lockless(const struct sk_buff_head *list)h](jM )}(hjh]hbool}(hj KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMubj3)}(hskb_queue_empty_locklessh]j9)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hj*KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&Kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMubj )}(h!(const struct sk_buff_head *list)h]j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjFKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBKubj")}(h h]h }(hjSKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubj)}(hjh]hstruct}(hjaKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBKubj")}(h h]h }(hjnKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|Kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j j,Ksbc.skb_queue_empty_locklessasbuh1hhjBKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBKubj9)}(hlisth]hlist}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>Kubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhMhjJhhubjg)}(hhh]jl)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hj%Lh]hconst struct sk_buff_head *list}(hj'LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Lubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh]jl)}(h queue headh]h queue head}(hj>LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:LhMhj;Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj:LhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj`Lh]h Description}(hjbLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Lubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]jl)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.}(hjzLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjvLubah}(h]h ]h"]h$]h&]uh1jhjLhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_last (C function)c.skb_queue_is_lasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSbool skb_queue_is_last (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hRbool skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhMubj3)}(hskb_queue_is_lasth]j9)}(hskb_queue_is_lasth]hskb_queue_is_last}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjLhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj$MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&MmodnameN classnameNj j )}j ]j )}j jLsbc.skb_queue_is_lastasbuh1hhjLubj")}(h h]h }(hjDMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjRMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hlisth]hlist}(hj_MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjxMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubj)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j@Mc.skb_queue_is_lastasbuh1hhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtMubj9)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhjLhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjLhMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhMhjLhhubjg)}(hhh]jl)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,Njj,Njjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the last buffer on the list.h](jl)}(h**Parameters**h]j)}(hj6Nh]h Parameters}(hj8NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Nubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0Nubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjUNh]hconst struct sk_buff_head *list}(hjWNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjONubj)}(hhh]jl)}(h queue headh]h queue head}(hjnNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjNhMhjkNubah}(h]h ]h"]h$]h&]uh1jhjONubeh}(h]h ]h"]h$]h&]uh1jhjjNhMhjLNubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjNh]hconst struct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubj)}(hhh]jl)}(hbufferh]hbuffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjLNubeh}(h]h ]h"]h$]h&]uh1jhj0Nubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0Nubj)}(h7Returns true if **skb** is the last buffer on the list.h]jl)}(hjNh](hReturns true if }(hjNhhhNhNubj)}(h**skb**h]hskb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh is the last buffer on the list.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhjOhMhj0Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_first (C function)c.skb_queue_is_firsthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hTbool skb_queue_is_first (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hSbool skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb)h](jM )}(hjh]hbool}(hj)OhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%OhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj7OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%Ohhhj6OhMubj3)}(hskb_queue_is_firsth]j9)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjIOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%Ohhhj6OhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjeOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaOubj")}(h h]h }(hjrOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubj)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jKOsbc.skb_queue_is_firstasbuh1hhjaOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaOubj9)}(hlisth]hlist}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Oubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj)}(hjh]hstruct}(hj PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj+PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-PmodnameN classnameNj j )}j ]jOc.skb_queue_is_firstasbuh1hhjOubj")}(h h]h }(hjIPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjWPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hskbh]hskb}(hjdPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Oubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%Ohhhj6OhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!Ohhhj6OhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6OhMhjOhhubjg)}(hhh]jl)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhj6OhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the first buffer on the list.h](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjPh]hconst struct sk_buff_head *list}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(hhh]jl)}(h queue headh]h queue head}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjQh]hconst struct sk_buff *skb}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhh]jl)}(hbufferh]hbuffer}(hj!QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubeh}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hjCQh]h Description}(hjEQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAQubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(h8Returns true if **skb** is the first buffer on the list.h]jl)}(hj[Qh](hReturns true if }(hj]QhhhNhNubj)}(h**skb**h]hskb}(hjdQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Qubh! is the first buffer on the list.}(hj]QhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYQubah}(h]h ]h"]h$]h&]uh1jhj|QhMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_next (C function)c.skb_queue_nexthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\struct sk_buff * skb_queue_next (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hZstruct sk_buff *skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j skb_queue_nextsbc.skb_queue_nextasbuh1hhjQhhhjQhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhMubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQhhhjQhMubj3)}(hskb_queue_nexth]j9)}(hjQh]hskb_queue_next}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjQhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hj*RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj)}(hjh]hstruct}(hj8RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjERhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjVRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXRmodnameN classnameNj j )}j ]jQc.skb_queue_nextasbuh1hhjRubj")}(h h]h }(hjtRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hlisth]hlist}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jQc.skb_queue_nextasbuh1hhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hj ShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjQhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhMhjQhhubjg)}(hhh]jl)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hjDShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjAShhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\Sjj\Sjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](jl)}(h**Parameters**h]j)}(hjfSh]h Parameters}(hjhShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdSubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`Subj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjSh]hconst struct sk_buff_head *list}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubj)}(hhh]jl)}(h queue headh]h queue head}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj|Subj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjSh]hconst struct sk_buff *skb}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubj)}(hhh]jl)}(hcurrent bufferh]hcurrent buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj|Subeh}(h]h ]h"]h$]h&]uh1jhj`Subjl)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`Subj)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h]jl)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](hReturn the next packet in }(hjThhhNhNubj)}(h**list**h]hlist}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh after }(hjThhhNhNubj)}(h**skb**h]hskb}(hj-ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhK. It is only valid to call this if skb_queue_is_last() evaluates to false.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubah}(h]h ]h"]h$]h&]uh1jhjEThMhj`Subeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_prev (C function)c.skb_queue_prevhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\struct sk_buff * skb_queue_prev (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hZstruct sk_buff *skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjh]hstruct}(hjlThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjzThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhThhhjyThMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j skb_queue_prevsbc.skb_queue_prevasbuh1hhjhThhhjyThMubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhThhhjyThMubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhThhhjyThMubj3)}(hskb_queue_prevh]j9)}(hjTh]hskb_queue_prev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhThhhjyThMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!UmodnameN classnameNj j )}j ]jTc.skb_queue_prevasbuh1hhjTubj")}(h h]h }(hj=UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjKUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hlisth]hlist}(hjXUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjqUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmUubj")}(h h]h }(hj~UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jTc.skb_queue_prevasbuh1hhjmUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmUubj9)}(hskbh]hskb}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhThhhjyThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdThhhjyThMubah}(h]j_Tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyThMhjaThhubjg)}(hhh]jl)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj Vhhubah}(h]h ]h"]h$]h&]uh1jfhjaThhhjyThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%Vjj%Vjjjuh1hhhhj" hNhNubj)}(hX **Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](jl)}(h**Parameters**h]j)}(hj/Vh]h Parameters}(hj1VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Vubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)Vubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjNVh]hconst struct sk_buff_head *list}(hjPVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHVubj)}(hhh]jl)}(h queue headh]h queue head}(hjgVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcVhMhjdVubah}(h]h ]h"]h$]h&]uh1jhjHVubeh}(h]h ]h"]h$]h&]uh1jhjcVhMhjEVubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjVh]hconst struct sk_buff *skb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubj)}(hhh]jl)}(hcurrent bufferh]hcurrent buffer}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjEVubeh}(h]h ]h"]h$]h&]uh1jhj)Vubjl)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)Vubj)}(h}Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h]jl)}(h}Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](hReturn the prev packet in }(hjVhhhNhNubj)}(h**list**h]hlist}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh before }(hjVhhhNhNubj)}(h**skb**h]hskb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhL. It is only valid to call this if skb_queue_is_first() evaluates to false.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhjWhMhj)Vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get (C function) c.skb_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h.struct sk_buff * skb_get (struct sk_buff *skb)h]j )}(h,struct sk_buff *skb_get(struct sk_buff *skb)h](j)}(hjh]hstruct}(hj5WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1WhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjCWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1WhhhjBWhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjTWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVWmodnameN classnameNj j )}j ]j )}j skb_getsb c.skb_getasbuh1hhj1WhhhjBWhMubj")}(h h]h }(hjuWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1WhhhjBWhMubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1WhhhjBWhMubj3)}(hskb_geth]j9)}(hjrWh]hskb_get}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1WhhhjBWhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jpW c.skb_getasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hskbh]hskb}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubah}(h]h ]h"]h$]h&]jPjQuh1j hj1WhhhjBWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-WhhhjBWhMubah}(h]j(Wah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBWhMhj*Whhubjg)}(hhh]jl)}(hreference bufferh]hreference buffer}(hj0XhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj-Xhhubah}(h]h ]h"]h$]h&]uh1jfhj*WhhhjBWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHXjjHXjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to reference **Description** Makes another reference to a socket buffer and returns a pointer to the buffer.h](jl)}(h**Parameters**h]j)}(hjRXh]h Parameters}(hjTXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLXubj)}(hhh]j)}(h,``struct sk_buff *skb`` buffer to reference h](j)}(h``struct sk_buff *skb``h]j)}(hjqXh]hstruct sk_buff *skb}(hjsXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkXubj)}(hhh]jl)}(hbuffer to referenceh]hbuffer to reference}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjkXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjhXubah}(h]h ]h"]h$]h&]uh1jhjLXubjl)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLXubj)}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]jl)}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]hOMakes another reference to a socket buffer and returns a pointer to the buffer.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXhMhjLXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cloned (C function) c.skb_clonedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h*int skb_cloned (const struct sk_buff *skb)h]j )}(h)int skb_cloned(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhj YhMubj3)}(h skb_clonedh]j9)}(h skb_clonedh]h skb_cloned}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhj YhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj8YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Yubj")}(h h]h }(hjEYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubj)}(hjh]hstruct}(hjSYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Yubj")}(h h]h }(hj`YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjqYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsYmodnameN classnameNj j )}j ]j )}j jYsb c.skb_clonedasbuh1hhj4Yubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4Yubj9)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0Yubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhj YhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhj YhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj YhMhjXhhubjg)}(hhh]jl)}(his the buffer a cloneh]his the buffer a clone}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhj YhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhj" hNhNubj)}(hX#**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjZh]hconst struct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj0ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,ZhMhj-Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj,ZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjRZh]h Description}(hjTZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPZubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubj)}(hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h]jl)}(hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h]hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.}(hjlZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhZubah}(h]h ]h"]h$]h&]uh1jhjzZhMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_header_cloned (C function)c.skb_header_clonedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1int skb_header_cloned (const struct sk_buff *skb)h]j )}(h0int skb_header_cloned(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjZhMubj3)}(hskb_header_clonedh]j9)}(hskb_header_clonedh]hskb_header_cloned}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjZhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j jZsbc.skb_header_clonedasbuh1hhjZubj")}(h h]h }(hj7[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjE[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hskbh]hskb}(hjR[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjZhMubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhMhjZhhubjg)}(hhh]jl)}(his the header a cloneh]his the header a clone}(hj|[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjy[hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if modifying the header part of the buffer requires the data to be copied.h](jl)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj[h]hconst struct sk_buff *skb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]jl)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]hWReturns true if modifying the header part of the buffer requires the data to be copied.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj \hMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__skb_header_release (C function)c.__skb_header_releasehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/void __skb_header_release (struct sk_buff *skb)h]j )}(h.void __skb_header_release(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjG\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC\hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,ubj")}(h h]h }(hjV\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC\hhhjU\hM,ubj3)}(h__skb_header_releaseh]j9)}(h__skb_header_releaseh]h__skb_header_release}(hjh\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjC\hhhjU\hM,ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j )}j jj\sbc.__skb_header_releaseasbuh1hhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hskbh]hskb}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|\ubah}(h]h ]h"]h$]h&]jPjQuh1j hjC\hhhjU\hM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?\hhhjU\hM,ubah}(h]j:\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjU\hM,hj<\hhubjg)}(hhh]jl)}(h allow clones to use the headroomh]h allow clones to use the headroom}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj]hhubah}(h]h ]h"]h$]h&]uh1jfhj<\hhhjU\hM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``struct sk_buff *skb`` buffer to operate on **Description** See "DOC: dataref and headerless skbs".h](jl)}(h**Parameters**h]j)}(hj)]h]h Parameters}(hj+]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj']ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj#]ubj)}(hhh]j)}(h-``struct sk_buff *skb`` buffer to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjH]h]hstruct sk_buff *skb}(hjJ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjB]ubj)}(hhh]jl)}(hbuffer to operate onh]hbuffer to operate on}(hja]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]]hM-hj^]ubah}(h]h ]h"]h$]h&]uh1jhjB]ubeh}(h]h ]h"]h$]h&]uh1jhj]]hM-hj?]ubah}(h]h ]h"]h$]h&]uh1jhj#]ubjl)}(h**Description**h]j)}(hj]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj#]ubjl)}(h'See "DOC: dataref and headerless skbs".h]h+See “DOC: dataref and headerless skbs”.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj#]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared (C function) c.skb_sharedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h*int skb_shared (const struct sk_buff *skb)h]j )}(h)int skb_shared(const struct sk_buff *skb)h](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhj]hM9ubj3)}(h skb_sharedh]j9)}(h skb_sharedh]h skb_shared}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj]hM9ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj)}(hjh]hstruct}(hj ^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj-^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@^modnameN classnameNj j )}j ]j )}j j]sb c.skb_sharedasbuh1hhj^ubj")}(h h]h }(hj^^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hjl^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hskbh]hskb}(hjy^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj]hM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhj]hM9ubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hM9hj]hhubjg)}(hhh]jl)}(his the buffer sharedh]his the buffer shared}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj^hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhj]hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if more than one person has a reference to this buffer.h](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hj^ubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj^h]hconst struct sk_buff *skb}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hj^ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM:hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM:hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubjl)}(h**Description**h]j)}(hj_h]h Description}(hj!_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hj^ubj)}(hDReturns true if more than one person has a reference to this buffer.h]jl)}(hDReturns true if more than one person has a reference to this buffer.h]hDReturns true if more than one person has a reference to this buffer.}(hj9_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hj5_ubah}(h]h ]h"]h$]h&]uh1jhjG_hM;hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_share_check (C function)c.skb_share_checkhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hAstruct sk_buff * skb_share_check (struct sk_buff *skb, gfp_t pri)h]j )}(h?struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri)h](j)}(hjh]hstruct}(hjn_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEubj")}(h h]h }(hj|_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_hhhj{_hMEubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j skb_share_checksbc.skb_share_checkasbuh1hhjj_hhhj{_hMEubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_hhhj{_hMEubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjj_hhhj{_hMEubj3)}(hskb_share_checkh]j9)}(hj_h]hskb_share_check}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjj_hhhj{_hMEubj )}(h (struct sk_buff *skb, gfp_t pri)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j_c.skb_share_checkasbuh1hhj_ubj")}(h h]h }(hj$`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj2`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hskbh]hskb}(hj?`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubj )}(h gfp_t prih](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj[`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]`modnameN classnameNj j )}j ]j_c.skb_share_checkasbuh1hhjT`ubj")}(h h]h }(hjy`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT`ubj9)}(hprih]hpri}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjj_hhhj{_hMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjf_hhhj{_hMEubah}(h]ja_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{_hMEhjc_hhubjg)}(hhh]jl)}(h,check if buffer is shared and if so clone ith]h,check if buffer is shared and if so clone it}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj`hhubah}(h]h ]h"]h$]h&]uh1jfhjc_hhhj{_hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj`ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hj`h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj`ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMFhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMFhj`ubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hj+ah]h gfp_t pri}(hj-ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)aubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj%aubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hjDahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@ahMGhjAaubah}(h]h ]h"]h$]h&]uh1jhj%aubeh}(h]h ]h"]h$]h&]uh1jhj@ahMGhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjfah]h Description}(hjhahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdaubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj`ubj)}(hXGIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jl)}(hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.h]hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj|aubjl)}(h0NULL is returned on a memory allocation failure.h]h0NULL is returned on a memory allocation failure.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj|aubeh}(h]h ]h"]h$]h&]uh1jhjahMHhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unshare (C function) c.skb_unsharehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=struct sk_buff * skb_unshare (struct sk_buff *skb, gfp_t pri)h]j )}(h;struct sk_buff *skb_unshare(struct sk_buff *skb, gfp_t pri)h](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjahMhubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j skb_unsharesb c.skb_unshareasbuh1hhjahhhjahMhubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjahMhubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjahhhjahMhubj3)}(h skb_unshareh]j9)}(hjbh]h skb_unshare}(hj#bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjahMhubj )}(h (struct sk_buff *skb, gfp_t pri)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj>bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:bubj")}(h h]h }(hjKbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj\bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^bmodnameN classnameNj j )}j ]ja c.skb_unshareasbuh1hhj:bubj")}(h h]h }(hjzbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:bubj9)}(hskbh]hskb}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6bubj )}(h gfp_t prih](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]ja c.skb_unshareasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hprih]hpri}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6bubeh}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjahMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjahMhubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMhhjahhubjg)}(hhh]jl)}(hmake a copy of a shared bufferh]hmake a copy of a shared buffer}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjchhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjahMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jl)}(h**Parameters**h]j)}(hj)ch]h Parameters}(hj+chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'cubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj#cubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjHch]hstruct sk_buff *skb}(hjJchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjBcubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjachhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]chMihj^cubah}(h]h ]h"]h$]h&]uh1jhjBcubeh}(h]h ]h"]h$]h&]uh1jhj]chMihj?cubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hjch]h gfp_t pri}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj{cubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMjhjcubah}(h]h ]h"]h$]h&]uh1jhj{cubeh}(h]h ]h"]h$]h&]uh1jhjchMjhj?cubeh}(h]h ]h"]h$]h&]uh1jhj#cubjl)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj#cubj)}(hX~If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jl)}(hXHIf the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC``h](hX*If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state }(hjchhhNhNubj)}(h**pri**h]hpri}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh must be }(hjchhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhjcubjl)}(h4``NULL`` is returned on a memory allocation failure.h](j)}(h``NULL``h]hNULL}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh, is returned on a memory allocation failure.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMkhj#cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_peek (C function) c.skb_peekhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * __skb_peek (const struct sk_buff_head *list_)h]j )}(hkhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRkmodnameN classnameNj j )}j ]j )}j skb_peek_tailsbc.skb_peek_tailasbuh1hhj-khhhj>khMubj")}(h h]h }(hjqkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-khhhj>khMubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-khhhj>khMubj3)}(h skb_peek_tailh]j9)}(hjnkh]h skb_peek_tail}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-khhhj>khMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]jlkc.skb_peek_tailasbuh1hhjkubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hlist_h]hlist_}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hj-khhhj>khMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)khhhj>khMubah}(h]j$kah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>khMhj&khhubjg)}(hhh]jl)}(h-peek at the tail of an :c:type:`sk_buff_head`h](hpeek at the tail of an }(hjGlhhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjQlh]h sk_buff_head}(hjSlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jlkc.skb_peek_tailasbj sk_buff_headuh1hhj] hMphjGlubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDlhhubah}(h]h ]h"]h$]h&]uh1jfhj&khhhj>khMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Peek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjlh]h const struct sk_buff_head *list_}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hhh]jl)}(hlist to peek ath]hlist to peek at}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hXPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jl)}(hPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.h](hPeek an }(hjmhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj mh]hsk_buff}(hj mhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj mubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubh. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(mhMhjlubjl)}(hReturns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](hReturns }(hj3mhhhNhNubj)}(h``NULL``h]hNULL}(hj;mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3mubh for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.}(hj3mhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubeh}(h]h ]h"]h$]h&]uh1jhj(mhMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_len (C function)c.skb_queue_lenhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6__u32 skb_queue_len (const struct sk_buff_head *list_)h]j )}(h5__u32 skb_queue_len(const struct sk_buff_head *list_)h](h)}(hhh]j9)}(h__u32h]h__u32}(hj}mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j skb_queue_lensbc.skb_queue_lenasbuh1hhjvmhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvmhhhjmhMubj3)}(h skb_queue_lenh]j9)}(hjmh]h skb_queue_len}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvmhhhjmhMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]jmc.skb_queue_lenasbuh1hhjmubj")}(h h]h }(hj#nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hj1nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hlist_h]hlist_}(hj>nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hjvmhhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrmhhhjmhMubah}(h]jmmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjomhhubjg)}(hhh]jl)}(hget queue lengthh]hget queue length}(hjhnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjenhhubah}(h]h ]h"]h$]h&]uh1jfhjomhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjnh]h const struct sk_buff_head *list_}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(hhh]jl)}(hlist to measureh]hlist to measure}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(h0Return the length of an :c:type:`sk_buff` queue.h]jl)}(hjnh](hReturn the length of an }(hjnhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjoh]hsk_buff}(hj ohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubh queue.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$ohMhjnubah}(h]h ]h"]h$]h&]uh1jhj$ohMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_len_lockless (C function)c.skb_queue_len_locklesshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h?__u32 skb_queue_len_lockless (const struct sk_buff_head *list_)h]j )}(h>__u32 skb_queue_len_lockless(const struct sk_buff_head *list_)h](h)}(hhh]j9)}(h__u32h]h__u32}(hjXohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZomodnameN classnameNj j )}j ]j )}j skb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhjQohhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjzohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQohhhjyohMubj3)}(hskb_queue_len_locklessh]j9)}(hjvoh]hskb_queue_len_lockless}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQohhhjyohMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jtoc.skb_queue_len_locklessasbuh1hhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hj phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hlist_h]hlist_}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hjQohhhjyohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMohhhjyohMubah}(h]jHoah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyohMhjJohhubjg)}(hhh]jl)}(hget queue lengthh]hget queue length}(hjCphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@phhubah}(h]h ]h"]h$]h&]uh1jfhjJohhhjyohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[pjj[pjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](jl)}(h**Parameters**h]j)}(hjeph]h Parameters}(hjgphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_pubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjph]h const struct sk_buff_head *list_}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~pubj)}(hhh]jl)}(hlist to measureh]hlist to measure}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhj~pubeh}(h]h ]h"]h$]h&]uh1jhjphMhj{pubah}(h]h ]h"]h$]h&]uh1jhj_pubjl)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_pubj)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h]jl)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](hReturn the length of an }(hjphhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjph]hsk_buff}(hjphhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjpubh6 queue. This variant can be used in lockless contexts.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhMhjpubah}(h]h ]h"]h$]h&]uh1jhjqhMhj_pubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__skb_queue_head_init (C function)c.__skb_queue_head_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void __skb_queue_head_init (struct sk_buff_head *list)h]j )}(h5void __skb_queue_head_init(struct sk_buff_head *list)h](jM )}(hvoidh]hvoid}(hj1qhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-qhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj@qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-qhhhj?qhMubj3)}(h__skb_queue_head_inith]j9)}(h__skb_queue_head_inith]h__skb_queue_head_init}(hjRqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-qhhhj?qhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjnqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjqubj")}(h h]h }(hj{qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjqubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j jTqsbc.__skb_queue_head_initasbuh1hhjjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjqubj9)}(hlisth]hlist}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfqubah}(h]h ]h"]h$]h&]jPjQuh1j hj-qhhhj?qhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)qhhhj?qhMubah}(h]j$qah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?qhMhj&qhhubjg)}(hhh]jl)}(h0initialize non-spinlock portions of sk_buff_headh]h0initialize non-spinlock portions of sk_buff_head}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhj&qhhhj?qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj rjj rjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` queue to initialize **Description** This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj rubj)}(hhh]j)}(h2``struct sk_buff_head *list`` queue to initialize h](j)}(h``struct sk_buff_head *list``h]j)}(hj2rh]hstruct sk_buff_head *list}(hj4rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0rubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,rubj)}(hhh]jl)}(hqueue to initializeh]hqueue to initialize}(hjKrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGrhMhjHrubah}(h]h ]h"]h$]h&]uh1jhj,rubeh}(h]h ]h"]h$]h&]uh1jhjGrhMhj)rubah}(h]h ]h"]h$]h&]uh1jhj rubjl)}(h**Description**h]j)}(hjmrh]h Description}(hjorhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkrubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj rubj)}(hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h]jl)}(hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h]hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrhMhj rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_splice (C function)c.skb_queue_splicehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_queue_splice (const struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hQvoid skb_queue_splice(const struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjrhM/ ubj3)}(hskb_queue_spliceh]j9)}(hskb_queue_spliceh]hskb_queue_splice}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjrhM/ ubj )}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hj!shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj2shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4smodnameN classnameNj j )}j ]j )}j jrsbc.skb_queue_spliceasbuh1hhjrubj")}(h h]h }(hjRshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hj`shhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hlisth]hlist}(hjmshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jNsc.skb_queue_spliceasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hheadh]hhead}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjrhM/ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjrhM/ ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhM/ hjrhhubjg)}(hhh]jl)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ hjthhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjrhM/ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jl)}(h**Parameters**h]j)}(hj)th]h Parameters}(hj+thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'tubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3 hj#tubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjHth]hconst struct sk_buff_head *list}(hjJthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjBtubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjathhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]thM0 hj^tubah}(h]h ]h"]h$]h&]uh1jhjBtubeh}(h]h ]h"]h$]h&]uh1jhj]thM0 hj?tubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjth]hstruct sk_buff_head *head}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2 hj{tubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 hjtubah}(h]h ]h"]h$]h&]uh1jhj{tubeh}(h]h ]h"]h$]h&]uh1jhjthM2 hj?tubeh}(h]h ]h"]h$]h&]uh1jhj#tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_init (C function)c.skb_queue_splice_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQvoid skb_queue_splice_init (struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hPvoid skb_queue_splice_init(struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjthM= ubj3)}(hskb_queue_splice_inith]j9)}(hskb_queue_splice_inith]hskb_queue_splice_init}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjthM= ubj )}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hj%uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj6uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8umodnameN classnameNj j )}j ]j )}j jtsbc.skb_queue_splice_initasbuh1hhjuubj")}(h h]h }(hjVuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjduhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hlisth]hlist}(hjquhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jRuc.skb_queue_splice_initasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hheadh]hhead}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hjthhhjthM= ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjthM= ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthM= hjthhubjg)}(hhh]jl)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hjvhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjthM= ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#vjj#vjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** The list at **list** is reinitialisedh](jl)}(h**Parameters**h]j)}(hj-vh]h Parameters}(hj/vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+vubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hj'vubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjLvh]hstruct sk_buff_head *list}(hjNvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjFvubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjavhM> hjbvubah}(h]h ]h"]h$]h&]uh1jhjFvubeh}(h]h ]h"]h$]h&]uh1jhjavhM> hjCvubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjvh]hstruct sk_buff_head *head}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjvubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhM? hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM? hjCvubeh}(h]h ]h"]h$]h&]uh1jhj'vubjl)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hj'vubj)}(h%The list at **list** is reinitialisedh]jl)}(hjvh](h The list at }(hjvhhhNhNubj)}(h**list**h]hlist}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh is reinitialised}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjvubah}(h]h ]h"]h$]h&]uh1jhjvhM@ hj'vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_tail (C function)c.skb_queue_splice_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hWvoid skb_queue_splice_tail (const struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hVvoid skb_queue_splice_tail(const struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hj whhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN ubj")}(h h]h }(hj/whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhj.whMN ubj3)}(hskb_queue_splice_tailh]j9)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjAwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=wubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhj.whMN ubj )}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hj]whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYwubj")}(h h]h }(hjjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubj)}(hjh]hstruct}(hjxwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jCwsbc.skb_queue_splice_tailasbuh1hhjYwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYwubj9)}(hlisth]hlist}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUwubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj xmodnameN classnameNj j )}j ]jwc.skb_queue_splice_tailasbuh1hhjwubj")}(h h]h }(hj&xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hj4xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hheadh]hhead}(hjAxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhj.whMN ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhj.whMN ubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.whMN hjwhhubjg)}(hhh]jl)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hjkxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN hjhxhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhj.whMN ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMR hjxubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjxh]hconst struct sk_buff_head *list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMO hjxubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMO hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMO hjxubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjxh]hstruct sk_buff_head *head}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjxubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMP hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMQ hjxubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'skb_queue_splice_tail_init (C function)c.skb_queue_splice_tail_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid skb_queue_splice_tail_init (struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hUvoid skb_queue_splice_tail_init(struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hj?yhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;yhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ ubj")}(h h]h }(hjNyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;yhhhjMyhM\ ubj3)}(hskb_queue_splice_tail_inith]j9)}(hskb_queue_splice_tail_inith]hskb_queue_splice_tail_init}(hj`yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\yubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;yhhhjMyhM\ ubj )}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj|yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxyubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j jbysbc.skb_queue_splice_tail_initasbuh1hhjxyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxyubj9)}(hlisth]hlist}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtyubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jyc.skb_queue_splice_tail_initasbuh1hhjyubj")}(h h]h }(hj*zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hj8zhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hheadh]hhead}(hjEzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;yhhhjMyhM\ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7yhhhjMyhM\ ubah}(h]j2yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMyhM\ hj4yhhubjg)}(hhh]jl)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjozhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjlzhhubah}(h]h ]h"]h$]h&]uh1jfhj4yhhhjMyhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** Each of the lists is a queue. The list at **list** is reinitialisedh](jl)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjzubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjzh]hstruct sk_buff_head *list}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hjzubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM] hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM] hjzubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjzh]hstruct sk_buff_head *head}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjzubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM^ hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM^ hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hj${h]h Description}(hj&{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"{ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjzubj)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh]jl)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh](h*Each of the lists is a queue. The list at }(hj>{hhhNhNubj)}(h**list**h]hlist}(hjF{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>{ubh is reinitialised}(hj>{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hj:{ubah}(h]h ]h"]h$]h&]uh1jhj^{hM_ hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_after (C function)c.__skb_queue_afterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void __skb_queue_after (struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h]j )}(h^void __skb_queue_after(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hMn ubj3)}(h__skb_queue_afterh]j9)}(h__skb_queue_afterh]h__skb_queue_after}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhj{hMn ubj )}(hH(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j j{sbc.__skb_queue_afterasbuh1hhj{ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hlisth]hlist}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct sk_buff *prevh](j)}(hjh]hstruct}(hj4|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0|ubj")}(h h]h }(hjA|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0|ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjR|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT|modnameN classnameNj j )}j ]j{c.__skb_queue_afterasbuh1hhj0|ubj")}(h h]h }(hjp|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0|ubj )}(hj h]h*}(hj~|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0|ubj9)}(hprevh]hprev}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j{c.__skb_queue_afterasbuh1hhj|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hnewskh]hnewsk}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhj{hMn ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}{hhhj{hMn ubah}(h]jx{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMn hjz{hhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hj%}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn hj"}hhubah}(h]h ]h"]h$]h&]uh1jfhjz{hhhj{hMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=}jj=}jjjuh1hhhhj" hNhNubj)}(hX{**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *prev`` place after this buffer ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjG}h]h Parameters}(hjI}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE}ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hjA}ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjf}h]hstruct sk_buff_head *list}(hjh}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj`}ubj)}(hhh]jl)}(h list to useh]h list to use}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{}hMo hj|}ubah}(h]h ]h"]h$]h&]uh1jhj`}ubeh}(h]h ]h"]h$]h&]uh1jhj{}hMo hj]}ubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hj}h]hstruct sk_buff *prev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp hj}ubj)}(hhh]jl)}(hplace after this bufferh]hplace after this buffer}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMp hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMp hj]}ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj}h]hstruct sk_buff *newsk}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj}ubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMq hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMq hj]}ubeh}(h]h ]h"]h$]h&]uh1jhjA}ubjl)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMs hjA}ubj)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hj-~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj)~ubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj<~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMu hj)~ubeh}(h]h ]h"]h$]h&]uh1jhj;~hMr hjA}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_head (C function)c.__skb_queue_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid __skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hGvoid __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjq~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm~hhhj~hM ubj3)}(h__skb_queue_headh]j9)}(h__skb_queue_headh]h__skb_queue_head}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm~hhhj~hM ubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j j~sbc.__skb_queue_headasbuh1hhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~ubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j~c.__skb_queue_headasbuh1hhjubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjm~hhhj~hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji~hhhj~hM ubah}(h]jd~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM hjf~hhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjf~hhhj~hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXE**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjh hhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjlubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjlubeh}(h]h ]h"]h$]h&]uh1jhj~hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_tail (C function)c.__skb_queue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid __skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hGvoid __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjÀhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj€hM ubj3)}(h__skb_queue_tailh]j9)}(h__skb_queue_tailh]h__skb_queue_tail}(hjՀhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjрubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj€hM ubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j׀sbc.__skb_queue_tailasbuh1hhjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j+c.__skb_queue_tailasbuh1hhj_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj€hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj€hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj€hM hjhhubjg)}(hhh]jl)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj€hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXC**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj%h]hstruct sk_buff_head *list}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h list to useh]h list to use}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj^h]hstruct sk_buff *newsk}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj‚hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue (C function)c.__skb_dequeuehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct sk_buff * __skb_dequeue (struct sk_buff_head *list)h]j )}(h8struct sk_buff *__skb_dequeue(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_dequeuesbc.__skb_dequeueasbuh1hhjhhhjhM ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h __skb_dequeueh]j9)}(hj4h]h __skb_dequeue}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j2c.__skb_dequeueasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hlisth]hlist}(hjȃhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj3h]hstruct sk_buff_head *list}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj-ubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hj*ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue_tail (C function)c.__skb_dequeue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h?struct sk_buff * __skb_dequeue_tail (struct sk_buff_head *list)h]j )}(h=struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjτhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˄hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj݄hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˄hhhj܄hM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_dequeue_tailsbc.__skb_dequeue_tailasbuh1hhj˄hhhj܄hM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˄hhhj܄hM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj˄hhhj܄hM ubj3)}(h__skb_dequeue_tailh]j9)}(hj h]h__skb_dequeue_tail}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj˄hhhj܄hM ubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j c.__skb_dequeue_tailasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubah}(h]h ]h"]h$]h&]jPjQuh1j hj˄hhhj܄hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDŽhhhj܄hM ubah}(h]j„ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj܄hM hjĄhhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjʅhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjDžhhubah}(h]h ]h"]h$]h&]uh1jfhjĄhhhj܄hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj h]hstruct sk_buff_head *list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or }(hj`hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh if the list is empty.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj\ubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_len_add (C function) c.skb_len_addhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1void skb_len_add (struct sk_buff *skb, int delta)h]j )}(h0void skb_len_add(struct sk_buff *skb, int delta)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(h skb_len_addh]j9)}(h skb_len_addh]h skb_len_add}(hjȆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĆubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h (struct sk_buff *skb, int delta)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jʆsb c.skb_len_addasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܆ubj )}(h int deltah](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hdeltah]hdelta}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܆ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h"adds a number to len fields of skbh]h"adds a number to len fields of skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hf**Parameters** ``struct sk_buff *skb`` buffer to add len to ``int delta`` number of bytes to addh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to add len to h](j)}(h``struct sk_buff *skb``h]j)}(hj݇h]hstruct sk_buff *skb}(hj߇hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۇubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjׇubj)}(hhh]jl)}(hbuffer to add len toh]hbuffer to add len to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjׇubeh}(h]h ]h"]h$]h&]uh1jhjhM hjԇubj)}(h$``int delta`` number of bytes to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hnumber of bytes to addh]hnumber of bytes to add}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjԇubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__skb_fill_netmem_desc (C function)c.__skb_fill_netmem_deschNtauh1hhj" hhhNhNubh)}(hhh](j)}(h^void __skb_fill_netmem_desc (struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h]j )}(h]void __skb_fill_netmem_desc(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](jM )}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM% ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj~hM% ubj3)}(h__skb_fill_netmem_desch]j9)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj~hM% ubj )}(hB(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjˈhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȈubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͈modnameN classnameNj j )}j ]j )}j jsbc.__skb_fill_netmem_descasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hih]hi}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetmem_ref netmemh](h)}(hhh]j9)}(h netmem_refh]h netmem_ref}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.__skb_fill_netmem_descasbuh1hhjPubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hnetmemh]hnetmem}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint sizeh](jM )}(hinth]hint}(hjщhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj͉ubj")}(h h]h }(hj߉hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͉ubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͉ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj~hM% ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj~hM% ubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM% hjehhubjg)}(hhh]jl)}(hinitialise a fragment in an skbh]hinitialise a fragment in an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM% hjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj~hM% ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` fragment index to initialise ``netmem_ref netmem`` the netmem to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Initialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**. Does not take any additional reference on the fragment.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hj3ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjXh]hstruct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& hjRubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM& hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM& hjOubj)}(h'``int i`` fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM' hjubj)}(hhh]jl)}(hfragment index to initialiseh]hfragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjOubj)}(h:``netmem_ref netmem`` the netmem to use for this fragment h](j)}(h``netmem_ref netmem``h]j)}(hjʊh]hnetmem_ref netmem}(hj̊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȊubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjĊubj)}(hhh]jl)}(h#the netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߊhM( hjubah}(h]h ]h"]h$]h&]uh1jhjĊubeh}(h]h ]h"]h$]h&]uh1jhjߊhM( hjOubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM) hjOubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjJh]hint size}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjDubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM* hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM* hjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, hj3ubjl)}(hpInitialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**.h](hInitialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubh)}(h:c:type:`size`h]j)}(hjɋh]hsize}(hjˋhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ hjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM+ hj3ubjl)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_fill_page_desc (C function)c.skb_fill_page_deschNtauh1hhj" hhhNhNubh)}(hhh](j)}(hZvoid skb_fill_page_desc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]j )}(hYvoid skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMY ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjRhMY ubj3)}(hskb_fill_page_desch]j9)}(hskb_fill_page_desch]hskb_fill_page_desc}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjRhMY ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jgsbc.skb_fill_page_descasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj͌hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hskbh]hskb}(hjڌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hj=h]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hstruct page *pageh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hpageh]hpage}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.skb_fill_page_descasbuh1hhj#ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hpageh]hpage}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint sizeh](jM )}(hinth]hint}(hj̍hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȍubj")}(h h]h }(hjڍhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȍubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȍubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjRhMY ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjRhMY ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMY hj9hhubjg)}(hhh]jl)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMY hjhhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjRhMY ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj" hNhNubj)}(hX5**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** As per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment. Does not take any additional reference on the fragment.h](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hj.ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjSh]hstruct sk_buff *skb}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ hjMubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMZ hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMZ hjJubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hjubj)}(hhh]jl)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[ hjJubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjŎh]hstruct page *page}(hjǎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÎubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjubj)}(hhh]jl)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjގhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڎhM\ hjێubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڎhM\ hjJubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjJubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjEh]hint size}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj?ubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM^ hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM^ hjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hj.ubjl)}(hAs per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment.h](h1As per __skb_fill_page_desc() -- initialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjԏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. In addition updates }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh such that }(hjhhhNhNubj)}(h**i**h]hi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the last fragment.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hj.ubjl)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_fill_page_desc_noacc (C function)c.skb_fill_page_desc_noacchNtauh1hhj" hhhNhNubh)}(hhh](j)}(h`void skb_fill_page_desc_noacc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]j )}(h_void skb_fill_page_desc_noacc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj`hMn ubj3)}(hskb_fill_page_desc_noacch]j9)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hMn ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.skb_fill_page_desc_noaccasbuh1hhjubj")}(h h]h }(hj͐hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjېhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hj=h]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page *pageh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hpageh]hpage}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jɐc.skb_fill_page_desc_noaccasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint sizeh](jM )}(hinth]hint}(hjڑhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj֑ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj֑ubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֑ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hMn ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hMn ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMn hjGhhubjg)}(hhh]jl)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn hjhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj`hMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj<ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjah]hstruct sk_buff *skb}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj[ubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMo hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMo hjXubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp hjubj)}(hhh]jl)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjXubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjӒh]hstruct page *page}(hjՒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjђubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj͒ubj)}(hhh]jl)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhj͒ubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjXubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hj h]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hj%hhhNhNubj)}(h**page**h]hpage}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jkhj!hMr hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMr hjXubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjSh]hint size}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMs hjMubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMs hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMs hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMu hj<ubjl)}(h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h]h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMt hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_headroom (C function)c.skb_headroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5unsigned int skb_headroom (const struct sk_buff *skb)h]j )}(h4unsigned int skb_headroom(const struct sk_buff *skb)h](jM )}(hunsignedh]hunsigned}(hjӓhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϓhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϓhhhjhMQ ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϓhhhjhMQ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϓhhhjhMQ ubj3)}(h skb_headroomh]j9)}(h skb_headroomh]h skb_headroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϓhhhjhMQ ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jsbc.skb_headroomasbuh1hhj(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubah}(h]h ]h"]h$]h&]jPjQuh1j hjϓhhhjhMQ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj˓hhhjhMQ ubah}(h]jƓah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMQ hjȓhhubjg)}(hhh]jl)}(hbytes at buffer headh]hbytes at buffer head}(hjʔhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjǔhhubah}(h]h ]h"]h$]h&]uh1jfhjȓhhhjhMQ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the head of an :c:type:`sk_buff`.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMU hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj h]hconst struct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMR hjubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMR hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMR hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMT hjubj)}(hMReturn the number of bytes of free space at the head of an :c:type:`sk_buff`.h]jl)}(hj^h](h;Return the number of bytes of free space at the head of an }(hj`hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjih]hsk_buff}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMS hj`ubh.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMS hj\ubah}(h]h ]h"]h$]h&]uh1jhjhMS hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tailroom (C function)c.skb_tailroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h,int skb_tailroom (const struct sk_buff *skb)h]j )}(h+int skb_tailroom(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ ubj")}(h h]h }(hjƕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjŕhM\ ubj3)}(h skb_tailroomh]j9)}(h skb_tailroomh]h skb_tailroom}(hjؕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԕubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjŕhM\ ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jڕsbc.skb_tailroomasbuh1hhjubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjŕhM\ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjŕhM\ ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjŕhM\ hjhhubjg)}(hhh]jl)}(hbytes at buffer endh]hbytes at buffer end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjŕhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buffh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjӖh]hconst struct sk_buff *skb}(hjՖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjіubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hj͖ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhj͖ubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjʖubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hjubj)}(hBReturn the number of bytes of free space at the tail of an sk_buffh]jl)}(hj&h]hBReturn the number of bytes of free space at the tail of an sk_buff}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj$ubah}(h]h ]h"]h$]h&]uh1jhj5hM^ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_availroom (C function)c.skb_availroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int skb_availroom (const struct sk_buff *skb)h]j )}(h,int skb_availroom(const struct sk_buff *skb)h](jM )}(hinth]hint}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg ubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhMg ubj3)}(h skb_availroomh]j9)}(h skb_availroomh]h skb_availroom}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhMg ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjҗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϗubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԗmodnameN classnameNj j )}j ]j )}j jsbc.skb_availroomasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhMg ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhMg ubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMg hjQhhubjg)}(hhh]jl)}(hbytes at buffer endh]hbytes at buffer end}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hj4hhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjjhMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk hjSubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjxh]hconst struct sk_buff *skb}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMh hjrubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMh hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMh hjoubah}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMj hjSubj)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]jl)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()}(hj͘hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMi hjɘubah}(h]h ]h"]h$]h&]uh1jhjۘhMi hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_reserve (C function) c.skb_reservehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/void skb_reserve (struct sk_buff *skb, int len)h]j )}(h.void skb_reserve(struct sk_buff *skb, int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMv ubj3)}(h skb_reserveh]j9)}(h skb_reserveh]h skb_reserve}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMv ubj )}(h(struct sk_buff *skb, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sb c.skb_reserveasbuh1hhj;ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj͙hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMv ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMv hjhhubjg)}(hhh]jl)}(hadjust headroomh]hadjust headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to alter ``int len`` bytes to move **Description** Increase the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMz hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hj8h]hstruct sk_buff *skb}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMw hj2ubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMw hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMw hj/ubj)}(h``int len`` bytes to move h](j)}(h ``int len``h]j)}(hjqh]hint len}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMx hjkubj)}(hhh]jl)}(h bytes to moveh]h bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMx hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMx hj/ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMz hjubj)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h]jl)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](h"Increase the headroom of an empty }(hjƚhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjКh]hsk_buff}(hjҚhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjΚubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMy hjƚubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjƚhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMy hjšubah}(h]h ]h"]h$]h&]uh1jhjhMy hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_tailroom_reserve (C function)c.skb_tailroom_reservehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_tailroom_reserve (struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h]j )}(h^void skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hM ubj3)}(hskb_tailroom_reserveh]j9)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj,hM ubj )}(hE(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j jAsbc.skb_tailroom_reserveasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(hunsigned int mtuh](jM )}(hunsignedh]hunsigned}(hj͛hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɛubj")}(h h]h }(hjۛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɛubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɛubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɛubj9)}(hmtuh]hmtu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɛubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(hunsigned int needed_tailroomh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hneeded_tailroomh]hneeded_tailroom}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj,hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hM hjhhubjg)}(hhh]jl)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj,hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int mtu`` maximum amount of headlen permitted ``unsigned int needed_tailroom`` minimum amount of reserved_tailroom **Description** Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjÜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjڜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj֜hM hjלubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֜hM hjubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hjh]hunsigned int mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hE``unsigned int needed_tailroom`` minimum amount of reserved_tailroom h](j)}(h ``unsigned int needed_tailroom``h]j)}(hj3h]hunsigned int needed_tailroom}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj-ubj)}(hhh]jl)}(h#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]jl)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/skb_reset_transport_header_careful (C function)$c.skb_reset_transport_header_carefulhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=bool skb_reset_transport_header_careful (struct sk_buff *skb)h]j )}(hubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM hj:ubj)}(hhh](j)}(h4``struct sk_buff *skb`` buffer to orphan frags from h](j)}(h``struct sk_buff *skb``h]j)}(hj_h]hstruct sk_buff *skb}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJ hjYubj)}(hhh]jl)}(hbuffer to orphan frags fromh]hbuffer to orphan frags from}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMJ hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMJ hjVubj)}(h9``gfp_t gfp_mask`` allocation mask for replacement pages h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMK hjubj)}(hhh]jl)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMK hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMK hjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjӤh]h Description}(hjդhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѤubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM hj:ubj)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]jl)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhML hjubah}(h]h ]h"]h$]h&]uh1jhjhML hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__skb_queue_purge_reason (C function)c.__skb_queue_purge_reasonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid __skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]j )}(hUvoid __skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMc ubj3)}(h__skb_queue_purge_reasonh]j9)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj0hMc ubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jEsbc.__skb_queue_purge_reasonasbuh1hhj[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[ubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hjѥhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjͥubj")}(h h]h }(hjޥhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjͥubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_queue_purge_reasonasbuh1hhjͥubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjͥubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjͥubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj0hMc ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj0hMc ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMc hjhhubjg)}(hhh]jl)}(h empty a listh]h empty a list}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj0hMc ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" hNhNubj)}(hX_**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hjaubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMd hjubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMd hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMd hj}ubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjh]henum skb_drop_reason reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMe hjubj)}(hhh]jl)}(h drop reasonh]h drop reason}(hjئhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԦhMe hjզubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԦhMe hj}ubeh}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hjaubj)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h]jl)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](hDelete all buffers on an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMf hjubh list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj;hMf hjubah}(h]h ]h"]h$]h&]uh1jhj;hMf hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_frag (C function)c.netdev_alloc_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h.void * netdev_alloc_frag (unsigned int fragsz)h]j )}(h,void *netdev_alloc_frag(unsigned int fragsz)h](jM )}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjzhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhhjzhM ubj3)}(hnetdev_alloc_fragh]j9)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjzhM ubj )}(h(unsigned int fragsz)h]j )}(hunsigned int fragszh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjħhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjҧhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjzhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhM ubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhM hjahhubjg)}(hhh]jl)}(hallocate a page fragmenth]hallocate a page fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjzhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``unsigned int fragsz`` fragment size **Description** Allocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj4ubj)}(hhh]j)}(h&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hjYh]hunsigned int fragsz}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjSubj)}(hhh]jl)}(h fragment sizeh]h fragment size}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj4ubjl)}(hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h]hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_skb (C function)c.netdev_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOstruct sk_buff * netdev_alloc_skb (struct net_device *dev, unsigned int length)h]j )}(hMstruct sk_buff *netdev_alloc_skb(struct net_device *dev, unsigned int length)h](j)}(hjh]hstruct}(hj٨hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjըhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjըhhhjhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjըhhhjhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjըhhhjhM ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjըhhhjhM ubj3)}(hnetdev_alloc_skbh]j9)}(hjh]hnetdev_alloc_skb}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjըhhhjhM ubj )}(h-(struct net_device *dev, unsigned int length)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jc.netdev_alloc_skbasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjéhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjѩhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjߩhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjըhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjѨhhhjhM ubah}(h]j̨ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjΨhhubjg)}(hhh]jl)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj"hhubah}(h]h ]h"]h$]h&]uh1jfhjΨhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhj" hNhNubj)}(hX)**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int length`` length to allocate **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjAubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjfh]hstruct net_device *dev}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj`ubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hM hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM hj]ubj)}(h+``unsigned int length`` length to allocate h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjڪh]h Description}(hjܪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjتubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjAubj)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jl)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubjl)}(h|``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](j)}(h``NULL``h]hNULL}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubht is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_pages (C function)c.__dev_alloc_pageshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDstruct page * __dev_alloc_pages (gfp_t gfp_mask, unsigned int order)h]j )}(hBstruct page *__dev_alloc_pages(gfp_t gfp_mask, unsigned int order)h](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjvhM ubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhjehhhjvhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjvhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjehhhjvhM ubj3)}(h__dev_alloc_pagesh]j9)}(hjh]h__dev_alloc_pages}(hjȫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjīubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjvhM ubj )}(h$(gfp_t gfp_mask, unsigned int order)h](j )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__dev_alloc_pagesasbuh1hhj߫ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj߫ubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߫ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj۫ubj )}(hunsigned int orderh](jM )}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubjM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(horderh]horder}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj۫ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjvhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjvhM ubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhM hj^hhubjg)}(hhh]jl)}(hallocate page for network Rxh]hallocate page for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhjvhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx ``unsigned int order`` size of the allocation **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjάh]hgfp_t gfp_mask}(hjЬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̬ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjȬubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjȬubeh}(h]h ]h"]h$]h&]uh1jhjhM hjŬubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hsize of the allocationh]hsize of the allocation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjŬubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(hAllocate a new page.h]hAllocate a new page.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh( is returned if there is no free memory.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_page (C function)c.__dev_alloc_pagehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/struct page * __dev_alloc_page (gfp_t gfp_mask)h]j )}(h-struct page *__dev_alloc_page(gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hpageh]hpage}(hjíhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŭmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__dev_alloc_pageh]j9)}(hjh]h__dev_alloc_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(gfp_t gfp_mask)h]j )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j߭c.__dev_alloc_pageasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hallocate a page for network Rxh]hallocate a page for network Rx}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjѮhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjͮhMhjήubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͮhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(hAllocate a new page.h]hAllocate a new page.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_page_is_reusable (C function)c.dev_page_is_reusablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool dev_page_is_reusable (const struct page *page)h]j )}(h2bool dev_page_is_reusable(const struct page *page)h](jM )}(hjh]hbool}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhMubj3)}(hdev_page_is_reusableh]j9)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhMubj )}(h(const struct page *page)h]j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjʯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̯modnameN classnameNj j )}j ]j )}j jwsbc.dev_page_is_reusableasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjbhMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjJhhubjg)}(hhh]jl)}(h1check whether a page can be reused for network Rxh]h1check whether a page can be reused for network Rx}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,hhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj" hNhNubj)}(hX"**Parameters** ``const struct page *page`` the page to test **Description** A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node. **Return** false if this page should be returned to page allocator, true otherwise.h](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj)}(hhh]j)}(h-``const struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hjph]hconst struct page *page}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj)}(hhh]jl)}(hthe page to testh]hthe page to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubjl)}(h{A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.h]h}A page shouldn’t be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubjl)}(h **Return**h]j)}(hjҰh]hReturn}(hj԰hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjаubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjKubjl)}(hHfalse if this page should be returned to page allocator, true otherwise.h]hHfalse if this page should be returned to page allocator, true otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_propagate_pfmemalloc (C function)c.skb_propagate_pfmemallochNtauh1hhj" hhhNhNubh)}(hhh](j)}(hLvoid skb_propagate_pfmemalloc (const struct page *page, struct sk_buff *skb)h]j )}(hKvoid skb_propagate_pfmemalloc(const struct page *page, struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj%hM+ubj3)}(hskb_propagate_pfmemalloch]j9)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hM+ubj )}(h.(const struct page *page, struct sk_buff *skb)h](j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j:sbc.skb_propagate_pfmemallocasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hpageh]hpage}(hjȱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݱubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݱubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_propagate_pfmemallocasbuh1hhjݱubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݱubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjݱubj9)}(hskbh]hskb}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݱubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hM+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hM+ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hM+hj hhubjg)}(hhh]jl)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hj_hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj%hM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct page *page`` The page that was allocated from skb_alloc_page ``struct sk_buff *skb`` The skb that may need pfmemalloc seth](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj~ubj)}(hhh](j)}(hL``const struct page *page`` The page that was allocated from skb_alloc_page h](j)}(h``const struct page *page``h]j)}(hjh]hconst struct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hjubj)}(hhh]jl)}(h/The page that was allocated from skb_alloc_pageh]h/The page that was allocated from skb_alloc_page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](j)}(h``struct sk_buff *skb``h]j)}(hjܲh]hstruct sk_buff *skb}(hj޲hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڲubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjֲubj)}(hhh]jl)}(h$The skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjubah}(h]h ]h"]h$]h&]uh1jhjֲubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off (C function)c.skb_frag_offhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2unsigned int skb_frag_off (const skb_frag_t *frag)h]j )}(h1unsigned int skb_frag_off(const skb_frag_t *frag)h](jM )}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhM7ubjM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhjDhM7ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhM7ubj3)}(h skb_frag_offh]j9)}(h skb_frag_offh]h skb_frag_off}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhM7ubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.skb_frag_offasbuh1hhjubj")}(h h]h }(hjͳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj۳hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhM7ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhM7hj+hhubjg)}(hhh]jl)}(h$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhjDhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj" hNhNubj)}(h?**Parameters** ``const skb_frag_t *frag`` the paged fragmenth](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hj.ubj)}(hhh]j)}(h-``const skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjSh]hconst skb_frag_t *frag}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjMubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM=hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_add (C function)c.skb_frag_off_addhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3void skb_frag_off_add (skb_frag_t *frag, int delta)h]j )}(h2void skb_frag_off_add(skb_frag_t *frag, int delta)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM@ubj3)}(hskb_frag_off_addh]j9)}(hskb_frag_off_addh]hskb_frag_off_add}(hjδhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʴubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM@ubj )}(h(skb_frag_t *frag, int delta)h](j )}(hskb_frag_t *fragh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jдsbc.skb_frag_off_addasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj9)}(hdeltah]hdelta}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM@ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM@hjhhubjg)}(hhh]jl)}(h4Increments the offset of a skb fragment by **delta**h](h+Increments the offset of a skb fragment by }(hjhhhNhNubj)}(h **delta**h]hdelta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjֵh]hskb_frag_t *frag}(hjصhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԵubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjеubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjеubeh}(h]h ]h"]h$]h&]uh1jhjhMAhj͵ubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChj ubj)}(hhh]jl)}(h value to addh]h value to add}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMChj͵ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_set (C function)c.skb_frag_off_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void skb_frag_off_set (skb_frag_t *frag, unsigned int offset)h]j )}(h` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj3ubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjXh]hconst skb_frag_t *frag}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhjRubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMfhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMfhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhj3ubjl)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjhhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hjh]hstruct net_iov}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjջhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6. Returns NULL if this frag has no associated net_iov.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjлhMhhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page (C function)c.skb_frag_pagehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4struct page * skb_frag_page (const skb_frag_t *frag)h]j )}(h2struct page *skb_frag_page(const skb_frag_t *frag)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMtubh)}(hhh]j9)}(hpageh]hpage}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j skb_frag_pagesbc.skb_frag_pageasbuh1hhj hhhjhMtubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMtubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMtubj3)}(h skb_frag_pageh]j9)}(hjJh]h skb_frag_page}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMtubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jHc.skb_frag_pageasbuh1hhjubj")}(h h]h }(hjühhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjѼhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hj޼hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment **Return** the :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhj$ubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjIh]hconst skb_frag_t *frag}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjCubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMuhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMuhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhj$ubjl)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjhhhNhNubh)}(h:c:type:`struct page `h]j)}(hjh]h struct page}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjƽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3. Returns NULL if this frag has no associated page.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMwhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_netmem (C function)c.skb_frag_netmemhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3netmem_ref skb_frag_netmem (const skb_frag_t *frag)h]j )}(h2netmem_ref skb_frag_netmem(const skb_frag_t *frag)h](h)}(hhh]j9)}(h netmem_refh]h netmem_ref}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_netmemsbc.skb_frag_netmemasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hMubj3)}(hskb_frag_netmemh]j9)}(hjh]hskb_frag_netmem}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]jc.skb_frag_netmemasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj"hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhjhhubjg)}(hhh]jl)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjѾhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjξhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hy**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`netmem_ref` associated with **frag**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjMh]hReturn}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hjchhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hjmh]h netmem_ref}(hjohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubh associated with }(hjchhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_address (C function)c.skb_frag_addresshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0void * skb_frag_address (const skb_frag_t *frag)h]j )}(h.void *skb_frag_address(const skb_frag_t *frag)h](jM )}(hvoidh]hvoid}(hjǿhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjÿhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjֿhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjÿhhhjտhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjÿhhhjտhMubj3)}(hskb_frag_addressh]j9)}(hskb_frag_addressh]hskb_frag_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjÿhhhjտhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.skb_frag_addressasbuh1hhj ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hfragh]hfrag}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjÿhhhjտhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjտhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjտhMhjhhubjg)}(hhh]jl)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjտhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. The page must already be mapped.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hj&hhhNhNubj)}(h**frag**h]hfrag}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh". The page must already be mapped.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_frag_address_safe (C function)c.skb_frag_address_safehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5void * skb_frag_address_safe (const skb_frag_t *frag)h]j )}(h3void *skb_frag_address_safe(const skb_frag_t *frag)h](jM )}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjchhhjuhMubj3)}(hskb_frag_address_safeh]j9)}(hskb_frag_address_safeh]hskb_frag_address_safe}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_address_safeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhMubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhj\hhubjg)}(hhh]jl)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjuh]hconst skb_frag_t *frag}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjoubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubjl)}(hgthe address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Checks that the page is mapped and returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_phys (C function)c.skb_frag_physhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2phys_addr_t skb_frag_phys (const skb_frag_t *frag)h]j )}(h1phys_addr_t skb_frag_phys(const skb_frag_t *frag)h](h)}(hhh]j9)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_frag_physsbc.skb_frag_physasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj=hMubj3)}(h skb_frag_physh]j9)}(hj:h]h skb_frag_phys}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj=hMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j8c.skb_frag_physasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj=hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj=hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMhjhhubjg)}(hhh]jl)}(h9gets the physical address of the data in a paged fragmenth]h9gets the physical address of the data in a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the physical address of the data within **frag**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hj-h]hconst skb_frag_t *frag}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h1the physical address of the data within **frag**.h](h(the physical address of the data within }(hj~hhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page_copy (C function)c.skb_frag_page_copyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid skb_frag_page_copy (skb_frag_t *fragto, const skb_frag_t *fragfrom)h]j )}(hGvoid skb_frag_page_copy(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_frag_page_copyh]j9)}(hskb_frag_page_copyh]hskb_frag_page_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j )}(hskb_frag_t *fragtoh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_page_copyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragtoh]hfragto}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst skb_frag_t *fragfromh](j)}(hj h]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jc.skb_frag_page_copyasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h1sets the page in a fragment from another fragmenth]h1sets the page in a fragment from another fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``skb_frag_t *fragto`` skb fragment where page is set ``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h6``skb_frag_t *fragto`` skb fragment where page is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjh]hskb_frag_t *fragto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hskb fragment where page is seth]hskb fragment where page is set}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjNh]hconst skb_frag_t *fragfrom}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHubj)}(hhh]jl)}(h skb fragment page is copied fromh]h skb fragment page is copied from}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_frag_dma_map (C function)c.__skb_frag_dma_maphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hdma_addr_t __skb_frag_dma_map (struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h]j )}(hdma_addr_t __skb_frag_dma_map(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](h)}(hhh]j9)}(h dma_addr_th]h dma_addr_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_frag_dma_mapsbc.__skb_frag_dma_mapasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__skb_frag_dma_maph]j9)}(hjh]h__skb_frag_dma_map}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(he(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t offseth](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum dma_data_direction dirh](j)}(hjh]henum}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%maps a paged fragment via the DMA APIh]h%maps a paged fragment via the DMA API}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct device *dev`` the device to map the fragment to ``const skb_frag_t *frag`` the paged fragment to map ``size_t offset`` the offset within the fragment (starting at the fragment's own offset) ``size_t size`` the number of bytes to map ``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) **Description** Maps the page associated with **frag** to **device**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h9``struct device *dev`` the device to map the fragment to h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjXh]hconst skb_frag_t *frag}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubj)}(hhh]jl)}(hthe paged fragment to maph]hthe paged fragment to map}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjh]h size_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hFthe offset within the fragment (starting at the fragment's own offset)h]hHthe offset within the fragment (starting at the fragment’s own offset)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``size_t size`` the number of bytes to map h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe number of bytes to maph]hthe number of bytes to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hM``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) h](j)}(h``enum dma_data_direction dir``h]j)}(hjh]henum dma_data_direction dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h,the direction of the mapping (``PCI_DMA_*``)h](hthe direction of the mapping (}(hjhhhNhNubj)}(h ``PCI_DMA_*``h]h PCI_DMA_*}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hjghhhNhNubj)}(h**frag**h]hfrag}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh to }(hjghhhNhNubj)}(h **device**h]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_writable (C function)c.skb_clone_writablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDint skb_clone_writable (const struct sk_buff *skb, unsigned int len)h]j )}(hCint skb_clone_writable(const struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hskb_clone_writableh]j9)}(hskb_clone_writableh]hskb_clone_writable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h-(const struct sk_buff *skb, unsigned int len)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jsbc.skb_clone_writableasbuh1hhjubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h!is the header of a clone writableh]h!is the header of a clone writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check ``unsigned int len`` length up to which to write **Description** Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj'h]hconst struct sk_buff *skb}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj!ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hjubj)}(h1``unsigned int len`` length up to which to write h](j)}(h``unsigned int len``h]j)}(hj`h]hunsigned int len}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubj)}(hhh]jl)}(hlength up to which to writeh]hlength up to which to write}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]jl)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow (C function) c.skb_cowhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8int skb_cow (struct sk_buff *skb, unsigned int headroom)h]j )}(h7int skb_cow(struct sk_buff *skb, unsigned int headroom)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubj3)}(hskb_cowh]j9)}(hskb_cowh]hskb_cow}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.ubj )}(h,(struct sk_buff *skb, unsigned int headroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j j sb c.skb_cowasbuh1hhj#ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int headroomh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM.hjhhubjg)}(hhh]jl)}(h© header of skb when it is requiredh]h© header of skb when it is required}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow h](j)}(h``struct sk_buff *skb``h]j)}(hj<h]hstruct sk_buff *skb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj6ubj)}(hhh]jl)}(h buffer to cowh]h buffer to cow}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM/hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM/hj3ubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjuh]hunsigned int headroom}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjoubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj3ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hjubj)}(hXIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jl)}(hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.h]hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubjl)}(hfThe result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](hHThe result is skb with writable area skb->head...skb->tail and at least }(hjhhhNhNubj)}(h **headroom**h]hheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of space at head.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_head (C function)c.skb_cow_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=int skb_cow_head (struct sk_buff *skb, unsigned int headroom)h]j )}(hhMubj3)}(hskb_needs_linearizeh]j9)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj>hMubj )}(h1(struct sk_buff *skb, netdev_features_t features)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jSsbc.skb_needs_linearizeasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hnetdev_features_t featuresh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_needs_linearizeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj>hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj>hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMhj&hhubjg)}(hhh]jl)}(hQcheck if we need to linearize a given skb depending on the given device features.h]hQcheck if we need to linearize a given skb depending on the given device features.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" hNhNubj)}(hX)**Parameters** ``struct sk_buff *skb`` socket buffer to check ``netdev_features_t features`` net device features **Description** Returns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubj)}(hhh](j)}(h/``struct sk_buff *skb`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjyh]hstruct sk_buff *skb}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubj)}(hhh]jl)}(hsocket buffer to checkh]hsocket buffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(h3``netdev_features_t features`` net device features h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hnet device featuresh]hnet device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubj)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]jl)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]hReturns true if either: 1. skb has frag_list and the device doesn’t support FRAGLIST, or 2. skb is fragmented and the device does not support SG.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get_timestamp (C function)c.skb_get_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid skb_get_timestamp (const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h]j )}(hUvoid skb_get_timestamp(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](jM )}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhM6ubj3)}(hskb_get_timestamph]j9)}(hskb_get_timestamph]hskb_get_timestamp}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhM6ubj )}(h?(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j_sbc.skb_get_timestampasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(h"struct __kernel_old_timeval *stamph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h__kernel_old_timevalh]h__kernel_old_timeval}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jc.skb_get_timestampasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstamph]hstamp}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhM6ubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhM6hj1hhubjg)}(hhh]jl)}(hget timestamp from a skbh]hget timestamp from a skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjhhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjJhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX]**Parameters** ``const struct sk_buff *skb`` skb to get stamp from ``struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in **Description** Timestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hjubj)}(hhh](j)}(h4``const struct sk_buff *skb`` skb to get stamp from h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjubj)}(hhh]jl)}(hskb to get stamp fromh]hskb to get stamp from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h```struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in h](j)}(h&``struct __kernel_old_timeval *stamp``h]j)}(hjh]h"struct __kernel_old_timeval *stamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjubj)}(hhh]jl)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hjubj)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]jl)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjRubah}(h]h ]h"]h$]h&]uh1jhjdhM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_data_move (C function)c.skb_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hMvoid skb_data_move (struct sk_buff *skb, const int len, const unsigned int n)h]j )}(hLvoid skb_data_move(struct sk_buff *skb, const int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_data_moveh]j9)}(h skb_data_moveh]h skb_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct sk_buff *skb, const int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_data_moveasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const int lenh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubjM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hlenh]hlen}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h=Move packet data and metadata after skb_push() or skb_pull().h]h=Move packet data and metadata after skb_push() or skb_pull().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` packet to operate on ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` **Description** Moves **n** bytes of packet data, can be zero, and all bytes of skb metadata. Assumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued. Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjGh]hstruct sk_buff *skb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjAubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(hZ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` h](j)}(h``const int len``h]j)}(hjh]h const int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubj)}(hhh]jl)}(hGnumber of bytes pushed or pulled from :c:type:`sk_buff->data `h](h&number of bytes pushed or pulled from }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(hk``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjh]hconst unsigned int n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hQnumber of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data `h](h0number of bytes to memmove() from pre-push/pull }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubjl)}(hMMoves **n** bytes of packet data, can be zero, and all bytes of skb metadata.h](hMoves }(hjHhhhNhNubj)}(h**n**h]hn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhB bytes of packet data, can be zero, and all bytes of skb metadata.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubjl)}(hAssumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.h](h/Assumes metadata is located immediately before }(hjihhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjsh]h sk_buff->data}(hjuhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubh prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj"ubjl)}(h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h]h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_postpull_data_move (C function)c.skb_postpull_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_postpull_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]j )}(h^void skb_postpull_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM+ubj3)}(hskb_postpull_data_moveh]j9)}(hskb_postpull_data_moveh]hskb_postpull_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM+ubj )}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_data_moveasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM+ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM+hjhhubjg)}(hhh]jl)}(h/Move packet data and metadata after skb_pull().h]h/Move packet data and metadata after skb_pull().}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hj^hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj" hNhNubj)}(hX6**Parameters** ``struct sk_buff *skb`` packet to operate on ``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.Uh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj}ubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(hY``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hjh]hconst unsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjubj)}(hhh]jl)}(h=number of bytes pulled from :c:type:`sk_buff->data `h](hnumber of bytes pulled from }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhM-hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hj3h]hconst unsigned int n}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj-ubj)}(hhh]jl)}(hLnumber of bytes to memmove() from pre-pull :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-pull }(hjLhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjVh]h sk_buff->data}(hjXhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjHhM.hjLubeh}(h]h ]h"]h$]h&]uh1jkhjHhM.hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM.hjubeh}(h]h ]h"]h$]h&]uh1jhj}ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj}ubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_postpush_data_move (C function)c.skb_postpush_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_postpush_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]j )}(h^void skb_postpush_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM;ubj3)}(hskb_postpush_data_moveh]j9)}(hskb_postpush_data_moveh]hskb_postpush_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM;ubj )}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jsbc.skb_postpush_data_moveasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM;ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM;hjhhubjg)}(hhh]jl)}(h/Move packet data and metadata after skb_push().h]h/Move packet data and metadata after skb_push().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjfhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX6**Parameters** ``struct sk_buff *skb`` packet to operate on ``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(hY``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hjh]hconst unsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjubj)}(hhh]jl)}(h=number of bytes pushed onto :c:type:`sk_buff->data `h](hnumber of bytes pushed onto }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhM=hjubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hj;h]hconst unsigned int n}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hj5ubj)}(hhh]jl)}(hLnumber of bytes to memmove() from pre-push :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-push }(hjThhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj^h]h sk_buff->data}(hj`hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjPhM>hjTubeh}(h]h ]h"]h$]h&]uh1jkhjPhM>hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM>hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&skb_complete_tx_timestamp (C function)c.skb_complete_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\void skb_complete_tx_timestamp (struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h]j )}(h[void skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM_ubj3)}(hskb_complete_tx_timestamph]j9)}(hskb_complete_tx_timestamph]hskb_complete_tx_timestamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM_ubj )}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.skb_complete_tx_timestampasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jQc.skb_complete_tx_timestampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM_ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM_ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM_hjhhubjg)}(hhh]jl)}(h%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhj" hNhNubj)}(hXl**Parameters** ``struct sk_buff *skb`` clone of the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps **Description** PHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h](jl)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj&ubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hjKh]hstruct sk_buff *skb}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhjEubj)}(hhh]jl)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMfhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMfhjBubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj~ubj)}(hhh]jl)}(hhardware time stampsh]hhardware time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMghjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj&ubjl)}(hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h]hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tstamp_tx (C function)c.skb_tstamp_txhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUvoid skb_tstamp_tx (struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h]j )}(hTvoid skb_tstamp_tx(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMrubj3)}(h skb_tstamp_txh]j9)}(h skb_tstamp_txh]h skb_tstamp_tx}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMrubj )}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *orig_skbh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j'sbc.skb_tstamp_txasbuh1hhj=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(horig_skbh]horig_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j{c.skb_tstamp_txasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h hwtstampsh]h hwtstamps}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMrubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMrhjhhubjg)}(hhh]jl)}(h(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *orig_skb`` the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available **Description** If the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjPubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjuh]hstruct sk_buff *orig_skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshjoubj)}(hhh]jl)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMshjlubj)}(h^``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjubj)}(hhh]jl)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjlubeh}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjPubjl)}(hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h]hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_timestamp (C function)c.skb_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h+void skb_tx_timestamp (struct sk_buff *skb)h]j )}(h*void skb_tx_timestamp(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMubj3)}(hskb_tx_timestamph]j9)}(hskb_tx_timestamph]hskb_tx_timestamp}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.skb_tx_timestampasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMhj#hhubjg)}(hhh]jl)}(h%Driver hook for transmit timestampingh]h%Driver hook for transmit timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` A socket buffer. **Description** Ethernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware. Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]j)}(h)``struct sk_buff *skb`` A socket buffer. h](j)}(h``struct sk_buff *skb``h]j)}(hj/h]hstruct sk_buff *skb}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)ubj)}(hhh]jl)}(hA socket buffer.h]hA socket buffer.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubjl)}(hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.h]hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubjl)}(hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h]hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_complete_wifi_ack (C function)c.skb_complete_wifi_ackhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hcsum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjuubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hpacket to processh]hpacket to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjuubj)}(hXPThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jl)}(hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.h]hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h]hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext (C struct) c.skb_exthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hskb_exth]j )}(hstruct skb_exth](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj@hMubj3)}(hskb_exth]j9)}(hj-h]hskb_ext}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj@hMubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj(hhubjg)}(hhh]jl)}(hsk_buff extensionsh]hsk_buff extensions}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj@hMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; }; **Members** ``refcnt`` 1 on allocation, deallocated on 0 ``offset`` offset to add to **data** to obtain extension address ``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units ``data`` start of extension data, variable sizedh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hfstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; };h]hfstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``refcnt`` 1 on allocation, deallocated on 0 h](j)}(h ``refcnt``h]j)}(hjh]hrefcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hjh]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hj4hhhNhNubj)}(h**data**h]hdata}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh to obtain extension address}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hjfh]hchunks}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`ubj)}(hhh]jl)}(h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT unitsh]h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h'start of extension data, variable sizedh]h'start of extension data, variable sized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubj)}(hhh]j)}(hoffsets/lengths are stored in chunks of 8 bytes, this allows to use 'u8' types while allowing up to 2kb worth of extension data. h](j)}(hah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhj@hhubjg)}(hhh]jl)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` skb to check **Description** fresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h](jl)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjgh]hconst struct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjaubj)}(hhh]jl)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjl)}(hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h]hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_head_is_locked (C function)c.skb_head_is_lockedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool skb_head_is_locked (const struct sk_buff *skb)h]j )}(h2bool skb_head_is_locked(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_head_is_lockedh]j9)}(hskb_head_is_lockedh]hskb_head_is_locked}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j sbc.skb_head_is_lockedasbuh1hhjubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h)Determine if the skb->head is locked downh]h)Determine if the skb->head is locked down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX?**Parameters** ``const struct sk_buff *skb`` skb to check **Description** The head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h]hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_common (C struct) c.sock_commonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h sock_commonh]j )}(hstruct sock_commonh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhjhKubj3)}(h sock_commonh]j9)}(hj|h]h sock_common}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhKubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjwhhubjg)}(hhh]jl)}(h/minimal network layer representation of socketsh]h/minimal network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKohjhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; }; **Members** ``{unnamed_union}`` anonymous ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** ``{unnamed_struct}`` anonymous ``skc_daddr`` Foreign IPv4 addr ``skc_rcv_saddr`` Bound local IPv4 addr ``{unnamed_union}`` anonymous ``skc_hash`` hash value used with various protocol lookup tables ``skc_u16hashes`` two u16 hash values used by UDP lookup tables ``{unnamed_union}`` anonymous ``skc_portpair`` __u32 union of **skc_dport** & **skc_num** ``{unnamed_struct}`` anonymous ``skc_dport`` placeholder for inet_dport/tw_dport ``skc_num`` placeholder for inet_num/tw_num ``skc_family`` network address family ``skc_state`` Connection state ``skc_reuse`` ``SO_REUSEADDR`` setting ``skc_reuseport`` ``SO_REUSEPORT`` setting ``skc_ipv6only`` socket is IPV6 only ``skc_net_refcnt`` socket is using net ref counting ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb ``skc_bound_dev_if`` bound device index if != 0 ``{unnamed_union}`` anonymous ``skc_bind_node`` bind hash linkage for various protocol lookup tables ``skc_portaddr_node`` second hash linkage for UDP ``skc_prot`` protocol handlers inside a network family ``skc_net`` reference to the network namespace of this socket ``skc_v6_daddr`` IPV6 destination address ``skc_v6_rcv_saddr`` IPV6 source address ``skc_cookie`` socket's cookie value ``{unnamed_union}`` anonymous ``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings ``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] ``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] ``{unnamed_union}`` anonymous ``skc_node`` main hash linkage for various protocol lookup tables ``skc_nulls_node`` main hash linkage for TCP ``skc_tx_queue_mapping`` tx queue number for this connection ``skc_rx_queue_mapping`` rx queue number for this connection ``{unnamed_union}`` anonymous ``skc_incoming_cpu`` record/match cpu processing incoming packets ``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] ``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] ``skc_refcnt`` reference counth](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjubj)}(hX0struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };h]hX0struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj1h]h{unnamed_union}}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj+ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhj(ubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hjjh]h skc_addrpair}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjdubj)}(hhh]jl)}(h?8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr**h](h8-byte-aligned __u64 union of }(hjhhhNhNubj)}(h **skc_daddr**h]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKshj(ubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h ``skc_daddr`` Foreign IPv4 addr h](j)}(h ``skc_daddr``h]j)}(hjh]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKqhjubj)}(hhh]jl)}(hForeign IPv4 addrh]hForeign IPv4 addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhj(ubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hj5h]h skc_rcv_saddr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKrhj/ubj)}(hhh]jl)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKrhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKrhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjnh]h{unnamed_union}}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjhubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjh]hskc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKthjubj)}(hhh]jl)}(h3hash value used with various protocol lookup tablesh]h3hash value used with various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthj(ubj)}(h@``skc_u16hashes`` two u16 hash values used by UDP lookup tables h](j)}(h``skc_u16hashes``h]j)}(hjh]h skc_u16hashes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubj)}(hhh]jl)}(h-two u16 hash values used by UDP lookup tablesh]h-two u16 hash values used by UDP lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hKhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hKhj(ubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjRh]h skc_portpair}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKxhjLubj)}(hhh]jl)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjkhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh & }(hjkhhhNhNubj)}(h **skc_num**h]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jkhjghKxhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghKxhj(ubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h2``skc_dport`` placeholder for inet_dport/tw_dport h](j)}(h ``skc_dport``h]j)}(hjh]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKvhjubj)}(hhh]jl)}(h#placeholder for inet_dport/tw_dporth]h#placeholder for inet_dport/tw_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhj(ubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hjh]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKwhjubj)}(hhh]jl)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hKwhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hKwhj(ubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjVh]h skc_family}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhjPubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKyhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKyhj(ubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjh]h skc_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKzhjubj)}(hhh]jl)}(hConnection stateh]hConnection state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhj(ubj)}(h'``skc_reuse`` ``SO_REUSEADDR`` setting h](j)}(h ``skc_reuse``h]j)}(hjh]h skc_reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK{hjubj)}(hhh]jl)}(h``SO_REUSEADDR`` settingh](j)}(h``SO_REUSEADDR``h]h SO_REUSEADDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK{hj(ubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hjh]h skc_reuseport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK|hj ubj)}(hhh]jl)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh setting}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$hK|hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hK|hj(ubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjVh]h skc_ipv6only}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK}hjPubj)}(hhh]jl)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhK}hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhK}hj(ubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjh]hskc_net_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK~hjubj)}(hhh]jl)}(h socket is using net ref countingh]h socket is using net ref counting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK~hj(ubj)}(hJ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb h](j)}(h``skc_bypass_prot_mem``h]j)}(hjh]hskc_bypass_prot_mem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h1bypass the per-protocol memory accounting for skbh]h1bypass the per-protocol memory accounting for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hjh]hskc_bound_dev_if}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hbound device index if != 0h]hbound device index if != 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj:h]h{unnamed_union}}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj4ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhj(ubj)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hjsh]h skc_bind_node}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjmubj)}(hhh]jl)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h2``skc_portaddr_node`` second hash linkage for UDP h](j)}(h``skc_portaddr_node``h]j)}(hjh]hskc_portaddr_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hsecond hash linkage for UDPh]hsecond hash linkage for UDP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hjh]hskc_prot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hj h]hskc_net}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3 hKhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hKhj(ubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hjW h]h skc_v6_daddr}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjQ ubj)}(hhh]jl)}(hIPV6 destination addressh]hIPV6 destination address}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl hKhjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hKhj(ubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hj h]hskc_v6_rcv_saddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hIPV6 source addressh]hIPV6 source address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hj h]h skc_cookie}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hsocket's cookie valueh]hsocket’s cookie value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings h](j)}(h ``skc_flags``h]j)}(hj; h]h skc_flags}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj5 ubj)}(hhh]jl)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hjT hhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh (l_onoff), }(hjT hhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh, }(hjT hhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh, }(hjT hhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh settings, }(hjT hhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubh settings}(hjT hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjQ ubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jhjP hKhj(ubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hj h]h skc_listener}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hj hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] h](j)}(h ``skc_tw_dr``h]j)}(hj h]h skc_tw_dr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hp(aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**]h](h(aka tw_dr) ptr to }(hj4 hhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hj> h]hstruct inet_timewait_death_row}(hj@ hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj< ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjinet_timewait_death_rowuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj4 ubh [union with }(hj4 hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubh]}(hj4 hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj[ hKhj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj0 hKhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hj h]hskc_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h-``skc_nulls_node`` main hash linkage for TCP h](j)}(h``skc_nulls_node``h]j)}(hj h]hskc_nulls_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hmain hash linkage for TCPh]hmain hash linkage for TCP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hj5 h]hskc_tx_queue_mapping}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj/ ubj)}(hhh]jl)}(h#tx queue number for this connectionh]h#tx queue number for this connection}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ hKhjK ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjJ hKhj(ubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjn h]hskc_rx_queue_mapping}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjh ubj)}(hhh]jl)}(h#rx queue number for this connectionh]h#rx queue number for this connection}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hj h]hskc_incoming_cpu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubj)}(hn``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] h](j)}(h``skc_rcv_wnd``h]j)}(hj h]h skc_rcv_wnd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h](aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**]h](hH(aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with }(hj2 hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubh]}(hj2 hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj/ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj. hKhj(ubj)}(hj``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] h](j)}(h``skc_tw_rcv_nxt``h]j)}(hje h]hskc_tw_rcv_nxt}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj_ ubj)}(hhh]jl)}(hV(aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**]h](hA(aka tw_rcv_nxt) TCP window next expected seq number [union with }(hj~ hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubh]}(hj~ hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj{ ubah}(h]h ]h"]h$]h&]uh1jhj_ ubeh}(h]h ]h"]h$]h&]uh1jhjz hKhj(ubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hj h]h skc_refcnt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hreference counth]hreference count}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj(ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj" hhubj)}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jl)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhjhKhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsockh]j )}(h struct sockh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjIhKubj3)}(hsockh]j9)}(hj6h]hsock}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjIhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjIhKubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhKhj1hhubjg)}(hhh]jl)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj{hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjIhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX34**Definition**:: struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; }; **Members** ``__sk_common`` shared layout with inet_timewait_sock ``sk_drops`` raw/udp drops counter ``sk_peek_off`` current peek_offset value ``sk_error_queue`` rarely used ``sk_receive_queue`` incoming packets ``sk_backlog`` always used with the per-socket spinlock held ``sk_rx_dst`` receive input route used by early demux ``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** ``sk_rx_dst_cookie`` cookie for **sk_rx_dst** ``sk_ll_usec`` usecs to busypoll when there is no data ``sk_napi_id`` id of the last napi context to receive data for sk ``sk_busy_poll_budget`` napi processing budget when busypolling ``sk_prefer_busy_poll`` prefer busypolling over softirq processing ``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings ``sk_rcvbuf`` size of receive buffer in bytes ``sk_filter`` socket filtering instructions ``{unnamed_union}`` anonymous ``sk_wq`` sock wait queue and async head ``sk_data_ready`` callback to indicate there is data to be processed ``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting ``sk_rcvlowat`` ``SO_RCVLOWAT`` setting ``sk_err`` last error ``sk_socket`` Identd and reporting IO signals ``sk_memcg`` this socket's memory cgroup association ``sk_policy`` flow policy ``psp_assoc`` PSP association, if socket is PSP-secured ``sk_lock`` synchronizer ``sk_reserved_mem`` space reserved and non-reclaimable for the socket ``sk_forward_alloc`` space allocated forward ``sk_tsflags`` SO_TIMESTAMPING flags ``sk_write_pending`` a write to stream socket waits to start ``sk_omem_alloc`` "o" is "option" or "other" ``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' ``sk_wmem_queued`` persistent queue size ``sk_wmem_alloc`` transmit queue bytes committed ``sk_tsq_flags`` TCP Small Queues flags ``{unnamed_union}`` anonymous ``sk_send_head`` front of stuff to transmit ``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] ``sk_write_queue`` Packet sending queue ``sk_frag`` cached page frag ``{unnamed_union}`` anonymous ``sk_timer`` sock cleanup timer ``tcp_retransmit_timer`` tcp retransmit timer ``mptcp_retransmit_timer`` mptcp retransmit timer ``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) ``sk_zckey`` counter to order MSG_ZEROCOPY notifications ``sk_tskey`` counter to disambiguate concurrent tstamp requests ``sk_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. ``sk_dst_pending_confirm`` need to confirm neighbour ``sk_pacing_status`` Pacing status (requested, handled by sch_fq) ``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) ``sk_sndtimeo`` ``SO_SNDTIMEO`` setting ``sk_priority`` ``SO_PRIORITY`` setting ``sk_mark`` generic packet mark ``sk_uid`` user id of owner ``sk_protocol`` which protocol this socket belongs in this network family ``sk_type`` socket type (``SOCK_STREAM``, etc) ``sk_dst_cache`` destination cache ``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) ``sk_validate_xmit_skb`` ptr to an optional validate function ``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) ``sk_gso_max_segs`` Maximum number of GSO segments ``sk_gso_max_size`` Maximum GSO segment size to build ``sk_allocation`` allocation mode ``sk_txhash`` computed flow hash for use on transmit ``sk_sndbuf`` size of send buffer in bytes ``sk_pacing_shift`` scaling factor for TCP Small Queues ``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. ``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. ``sk_kern_sock`` True if sock is using kernel lock classes ``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets ``sk_no_check_rx`` allow zero checksum in RX packets ``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` ``sk_lingertime`` ``SO_LINGER`` l_linger setting ``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) ``sk_callback_lock`` used with the callbacks in the end of this struct ``sk_ack_backlog`` current listen backlog ``sk_max_ack_backlog`` listen backlog set in listen() ``sk_ino`` inode number (zero if orphaned) ``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** ``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping ``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer ``sk_peer_cred`` ``SO_PEERCRED`` setting ``sk_stamp`` time stamp of last packet received ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only ``sk_disconnects`` number of disconnect operations performed on this sock ``{unnamed_union}`` anonymous ``sk_txrehash`` enable TX hash rethink ``sk_scm_recv_flags`` all flags used by scm_recv() ``{unnamed_struct}`` anonymous ``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS ``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY ``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD ``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS ``sk_scm_unused`` unused flags for scm_recv() ``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) ``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME ``sk_txtime_report_errors`` set report errors mode for SO_TXTIME ``sk_txtime_unused`` unused txtime flags ``sk_bpf_cb_flags`` used in bpf_setsockopt() ``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. ``sk_security`` used by security modules ``sk_cgrp_data`` cgroup data for this cgroup ``sk_state_change`` callback to indicate change in the state of the sock ``sk_write_space`` callback to indicate there is bf sending space available ``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) ``sk_backlog_rcv`` callback to process the backlog ``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 ``sk_reuseport_cb`` reuseport group container ``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage ``sk_drop_counters`` optional pointer to numa_drop_counters ``{unnamed_union}`` anonymous ``sk_rcu`` used during RCU grace period ``sk_freeptr`` used for SLAB_TYPESAFE_BY_RCU managed sockets ``ns_tracker`` tracker for netns reference ``sk_user_frags`` xarray of pages the user is holding a reference on. ``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hXFstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };h]hXFstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh](j)}(h6``__sk_common`` shared layout with inet_timewait_sock h](j)}(h``__sk_common``h]j)}(hjh]h __sk_common}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h%shared layout with inet_timewait_sockh]h%shared layout with inet_timewait_sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hj$h]hsk_drops}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM%hjubj)}(hhh]jl)}(hraw/udp drops counterh]hraw/udp drops counter}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM%hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM%hjubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hj]h]h sk_peek_off}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMKhjWubj)}(hhh]jl)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMKhjubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hjh]hsk_error_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h rarely usedh]h rarely used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``sk_receive_queue`` incoming packets h](j)}(h``sk_receive_queue``h]j)}(hjh]hsk_receive_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hincoming packetsh]hincoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``sk_backlog`` always used with the per-socket spinlock held h](j)}(h``sk_backlog``h]j)}(hjh]h sk_backlog}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hjAh]h sk_rx_dst}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj;ubj)}(hhh]jl)}(h'receive input route used by early demuxh]h'receive input route used by early demux}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjzh]hsk_rx_dst_ifindex}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjtubj)}(hhh]jl)}(hifindex for **sk_rx_dst**h](h ifindex for }(hjhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``sk_rx_dst_cookie`` cookie for **sk_rx_dst** h](j)}(h``sk_rx_dst_cookie``h]j)}(hjh]hsk_rx_dst_cookie}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hcookie for **sk_rx_dst**h](h cookie for }(hjhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``sk_ll_usec`` usecs to busypoll when there is no data h](j)}(h``sk_ll_usec``h]j)}(hjh]h sk_ll_usec}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hjAh]h sk_napi_id}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj;ubj)}(hhh]jl)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM hjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjzh]hsk_busy_poll_budget}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM,hjtubj)}(hhh]jl)}(h'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(hC``sk_prefer_busy_poll`` prefer busypolling over softirq processing h](j)}(h``sk_prefer_busy_poll``h]j)}(hjh]hsk_prefer_busy_poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM+hjubj)}(hhh]jl)}(h*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h:``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings h](j)}(h``sk_userlocks``h]j)}(hjh]h sk_userlocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjEh]h sk_rcvbuf}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj?ubj)}(hhh]jl)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hj~h]h sk_filter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8hjxubj)}(hhh]jl)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``sk_wq`` sock wait queue and async head h](j)}(h ``sk_wq``h]j)}(hjh]hsk_wq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hsock wait queue and async headh]hsock wait queue and async head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hj)h]h sk_data_ready}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMUhj#ubj)}(hhh]jl)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMUhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMUhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hjbh]h sk_rcvtimeo}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4hj\ubj)}(hhh]jl)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh setting}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjwhM4hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM4hjubj)}(h(``sk_rcvlowat`` ``SO_RCVLOWAT`` setting h](j)}(h``sk_rcvlowat``h]j)}(hjh]h sk_rcvlowat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjubj)}(hhh]jl)}(h``SO_RCVLOWAT`` settingh](j)}(h``SO_RCVLOWAT``h]h SO_RCVLOWAT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h``sk_err`` last error h](j)}(h ``sk_err``h]j)}(hjh]hsk_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM"hjubj)}(hhh]jl)}(h last errorh]h last error}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hj)h]h sk_socket}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMHhj#ubj)}(hhh]jl)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMHhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMHhjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hjbh]hsk_memcg}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMQhj\ubj)}(hhh]jl)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMQhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMQhjubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hjh]h sk_policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h flow policyh]h flow policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``psp_assoc`` PSP association, if socket is PSP-secured h](j)}(h ``psp_assoc``h]j)}(hjh]h psp_assoc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h)PSP association, if socket is PSP-securedh]h)PSP association, if socket is PSP-secured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_lock`` synchronizer h](j)}(h ``sk_lock``h]j)}(hj h]hsk_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h synchronizerh]h synchronizer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjFh]hsk_reserved_mem}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj@ubj)}(hhh]jl)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjubj)}(h-``sk_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hjh]hsk_forward_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjyubj)}(hhh]jl)}(hspace allocated forwardh]hspace allocated forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h%``sk_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hjh]h sk_tsflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM>hjubj)}(hhh]jl)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h=``sk_write_pending`` a write to stream socket waits to start h](j)}(h``sk_write_pending``h]j)}(hjh]hsk_write_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMRhjubj)}(hhh]jl)}(h'a write to stream socket waits to starth]h'a write to stream socket waits to start}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hj*h]h sk_omem_alloc}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj$ubj)}(hhh]jl)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hjubj)}(ho``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' h](j)}(h``sk_err_soft``h]j)}(hjch]h sk_err_soft}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$hj]ubj)}(hhh]jl)}(h^errors that don't cause failure but are the cause of a persistent failure not just 'timed out'h]hderrors that don’t cause failure but are the cause of a persistent failure not just ‘timed out’}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM$hjubj)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hjh]hsk_wmem_queued}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jl)}(hpersistent queue sizeh]hpersistent queue size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``sk_wmem_alloc`` transmit queue bytes committed h](j)}(h``sk_wmem_alloc``h]j)}(hjh]h sk_wmem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``sk_tsq_flags`` TCP Small Queues flags h](j)}(h``sk_tsq_flags``h]j)}(hjh]h sk_tsq_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jl)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjHh]h{unnamed_union}}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjBubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhjubj)}(h,``sk_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hjh]h sk_send_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMLhj{ubj)}(hhh]jl)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(hF``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] h](j)}(h``tcp_rtx_queue``h]j)}(hjh]h tcp_rtx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMMhjubj)}(hhh]jl)}(h3TCP re-transmit queue [union with **sk_send_head**]h](h"TCP re-transmit queue [union with }(hjhhhNhNubj)}(h**sk_send_head**h]h sk_send_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h(``sk_write_queue`` Packet sending queue h](j)}(h``sk_write_queue``h]j)}(hjh]hsk_write_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hPacket sending queueh]hPacket sending queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hj>h]hsk_frag}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJhj8ubj)}(hhh]jl)}(hcached page fragh]hcached page frag}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMJhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMJhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjwh]h{unnamed_union}}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjqubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h ``sk_timer`` sock cleanup timer h](j)}(h ``sk_timer``h]j)}(hjh]hsk_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM9hjubj)}(hhh]jl)}(hsock cleanup timerh]hsock cleanup timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h.``tcp_retransmit_timer`` tcp retransmit timer h](j)}(h``tcp_retransmit_timer``h]j)}(hjh]htcp_retransmit_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM:hjubj)}(hhh]jl)}(htcp retransmit timerh]htcp retransmit timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h2``mptcp_retransmit_timer`` mptcp retransmit timer h](j)}(h``mptcp_retransmit_timer``h]j)}(hj"h]hmptcp_retransmit_timer}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM;hjubj)}(hhh]jl)}(hmptcp retransmit timerh]hmptcp retransmit timer}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM;hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM;hjubj)}(hL``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) h](j)}(h``sk_pacing_rate``h]j)}(hj[h]hsk_pacing_rate}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjUubj)}(hhh]jl)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hjh]hsk_zckey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMGhjubj)}(hhh]jl)}(h+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h@``sk_tskey`` counter to disambiguate concurrent tstamp requests h](j)}(h ``sk_tskey``h]j)}(hjh]hsk_tskey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMEhjubj)}(hhh]jl)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(hY``sk_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. h](j)}(h``sk_tx_queue_mapping_jiffies``h]j)}(hjh]hsk_tx_queue_mapping_jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMFhjubj)}(hhh]jl)}(h8time in jiffies of last **sk_tx_queue_mapping** refresh.h](htime in jiffies of last }(hjhhhNhNubj)}(h**sk_tx_queue_mapping**h]hsk_tx_queue_mapping}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh refresh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hjQh]hsk_dst_pending_confirm}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjKubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjh]hsk_pacing_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) h](j)}(h``sk_max_pacing_rate``h]j)}(hjh]hsk_max_pacing_rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h,Maximum pacing rate (``SO_MAX_PACING_RATE``)h](hMaximum pacing rate (}(hjhhhNhNubj)}(h``SO_MAX_PACING_RATE``h]hSO_MAX_PACING_RATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``sk_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hjh]h sk_sndtimeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM5hjubj)}(hhh]jl)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh setting}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj#hM5hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM5hjubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hjUh]h sk_priority}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM-hjOubj)}(hhh]jl)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh setting}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjjhM-hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM-hjubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hjh]hsk_mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMOhjubj)}(hhh]jl)}(hgeneric packet markh]hgeneric packet mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjh]hsk_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM)hjubj)}(hhh]jl)}(huser id of ownerh]huser id of owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(hJ``sk_protocol`` which protocol this socket belongs in this network family h](j)}(h``sk_protocol``h]j)}(hjh]h sk_protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM/hjubj)}(hhh]jl)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM/hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM/hjubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjGh]hsk_type}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hjAubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hj`hhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh, etc)}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj\hM.hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM.hjubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hjh]h sk_dst_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hdestination cacheh]hdestination cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) h](j)}(h``sk_route_caps``h]j)}(hjh]h sk_route_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h)route capabilities (e.g. ``NETIF_F_TSO``)h](hroute capabilities (e.g. }(hjhhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``sk_validate_xmit_skb`` ptr to an optional validate function h](j)}(h``sk_validate_xmit_skb``h]j)}(hjh]hsk_validate_xmit_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMYhjubj)}(hhh]jl)}(h$ptr to an optional validate functionh]h$ptr to an optional validate function}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMYhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMYhjubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjOh]h sk_gso_type}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjIubj)}(hhh]jl)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hjhhhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh)}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubj)}(h3``sk_gso_max_segs`` Maximum number of GSO segments h](j)}(h``sk_gso_max_segs``h]j)}(hjh]hsk_gso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_gso_max_size`` Maximum GSO segment size to build h](j)}(h``sk_gso_max_size``h]j)}(hjh]hsk_gso_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hj h]h sk_allocation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hallocation modeh]hallocation mode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hjEh]h sk_txhash}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM6hj?ubj)}(hhh]jl)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM6hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM6hjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hj~h]h sk_sndbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjxubj)}(hhh]jl)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hjh]hsk_pacing_shift}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. h](j)}(h``sk_use_task_frag``h]j)}(hjh]hsk_use_task_frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMBhjubj)}(hhh]jl)}(hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.h]hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hj*h]hsk_gso_disabled}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj$ubj)}(hhh]jl)}(h&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hjch]h sk_kern_sock}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj]ubj)}(hhh]jl)}(h)True if sock is using kernel lock classesh]h)True if sock is using kernel lock classes}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hjh]hsk_no_check_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ setting, set checksum in TX packets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``sk_no_check_rx`` allow zero checksum in RX packets h](j)}(h``sk_no_check_rx``h]j)}(hjh]hsk_no_check_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` h](j)}(h``sk_shutdown``h]j)}(hj h]h sk_shutdown}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hj5 hhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubh and/or }(hj5 hhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jkhj1 hKhj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hKhjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hju h]h sk_lingertime}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjo ubj)}(hhh]jl)}(h``SO_LINGER`` l_linger settingh](j)}(h ``SO_LINGER``h]h SO_LINGER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh l_linger setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjo ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hg``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) h](j)}(h``sk_prot_creator``h]j)}(hj h]hsk_prot_creator}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM!hj ubj)}(hhh]jl)}(hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)h]hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM!hjubj)}(hG``sk_callback_lock`` used with the callbacks in the end of this struct h](j)}(h``sk_callback_lock``h]j)}(hj h]hsk_callback_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jl)}(h1used with the callbacks in the end of this structh]h1used with the callbacks in the end of this struct}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj !hMhj !ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj !hMhjubj)}(h*``sk_ack_backlog`` current listen backlog h](j)}(h``sk_ack_backlog``h]j)}(hj/!h]hsk_ack_backlog}(hj1!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM'hj)!ubj)}(hhh]jl)}(hcurrent listen backlogh]hcurrent listen backlog}(hjH!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjD!hM'hjE!ubah}(h]h ]h"]h$]h&]uh1jhj)!ubeh}(h]h ]h"]h$]h&]uh1jhjD!hM'hjubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hjh!h]hsk_max_ack_backlog}(hjj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM(hjb!ubj)}(hhh]jl)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}!hM(hj~!ubah}(h]h ]h"]h$]h&]uh1jhjb!ubeh}(h]h ]h"]h$]h&]uh1jhj}!hM(hjubj)}(h+``sk_ino`` inode number (zero if orphaned) h](j)}(h ``sk_ino``h]j)}(hj!h]hsk_ino}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM*hj!ubj)}(hhh]jl)}(hinode number (zero if orphaned)h]hinode number (zero if orphaned)}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hM*hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM*hjubj)}(hF``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** h](j)}(h``sk_peer_lock``h]j)}(hj!h]h sk_peer_lock}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0hj!ubj)}(hhh]jl)}(h4lock protecting **sk_peer_pid** and **sk_peer_cred**h](hlock protecting }(hj!hhhNhNubj)}(h**sk_peer_pid**h]h sk_peer_pid}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh and }(hj!hhhNhNubj)}(h**sk_peer_cred**h]h sk_peer_cred}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jkhj!hM0hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM0hjubj)}(hU``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping h](j)}(h``sk_bind_phc``h]j)}(hj3"h]h sk_bind_phc}(hj5"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMDhj-"ubj)}(hhh]jl)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChjI"ubah}(h]h ]h"]h$]h&]uh1jhj-"ubeh}(h]h ]h"]h$]h&]uh1jhjH"hMDhjubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hjm"h]h sk_peer_pid}(hjo"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hjg"ubj)}(hhh]jl)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hj"h]h struct pid}(hj"hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpiduh1hhj"hM1hj"ubh for this socket’s peer}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj"hM1hj"ubah}(h]h ]h"]h$]h&]uh1jhjg"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM1hjubj)}(h)``sk_peer_cred`` ``SO_PEERCRED`` setting h](j)}(h``sk_peer_cred``h]j)}(hj"h]h sk_peer_cred}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM2hj"ubj)}(hhh]jl)}(h``SO_PEERCRED`` settingh](j)}(h``SO_PEERCRED``h]h SO_PEERCRED}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh setting}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj"hM2hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM2hjubj)}(h0``sk_stamp`` time stamp of last packet received h](j)}(h ``sk_stamp``h]j)}(hj #h]hsk_stamp}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj #ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM<hj#ubj)}(hhh]jl)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(hj%#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!#hM<hj"#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj!#hM<hjubj)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hjE#h]h sk_stamp_seq}(hjG#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM=hj?#ubj)}(hhh]jl)}(h8lock for accessing sk_stamp on 32 bit architectures onlyh]h8lock for accessing sk_stamp on 32 bit architectures only}(hj^#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ#hM=hj[#ubah}(h]h ]h"]h$]h&]uh1jhj?#ubeh}(h]h ]h"]h$]h&]uh1jhjZ#hM=hjubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hj~#h]hsk_disconnects}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMShjx#ubj)}(hhh]jl)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMShj#ubah}(h]h ]h"]h$]h&]uh1jhjx#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMShjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj#h]h{unnamed_union}}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj#ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjubj)}(h'``sk_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hj#h]h sk_txrehash}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7hj#ubj)}(hhh]jl)}(henable TX hash rethinkh]henable TX hash rethink}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM7hj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hM7hjubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hj)$h]hsk_scm_recv_flags}(hj+$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMchj#$ubj)}(hhh]jl)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjB$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>$hMchj?$ubah}(h]h ]h"]h$]h&]uh1jhj#$ubeh}(h]h ]h"]h$]h&]uh1jhj>$hMchjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjb$h]h{unnamed_struct}}(hjd$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj\$ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj{$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjw$hKhjx$ubah}(h]h ]h"]h$]h&]uh1jhj\$ubeh}(h]h ]h"]h$]h&]uh1jhjw$hKhjubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hj$h]hsk_scm_credentials}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMdhj$ubj)}(hhh]jl)}(h.flagged by SO_PASSCRED to recv SCM_CREDENTIALSh]h.flagged by SO_PASSCRED to recv SCM_CREDENTIALS}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMdhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMdhjubj)}(h?``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY h](j)}(h``sk_scm_security``h]j)}(hj$h]hsk_scm_security}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMehj$ubj)}(hhh]jl)}(h*flagged by SO_PASSSEC to recv SCM_SECURITYh]h*flagged by SO_PASSSEC to recv SCM_SECURITY}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMehj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMehjubj)}(h;``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD h](j)}(h``sk_scm_pidfd``h]j)}(hj %h]h sk_scm_pidfd}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj %ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMfhj%ubj)}(hhh]jl)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hj&%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"%hMfhj#%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj"%hMfhjubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjF%h]h sk_scm_rights}(hjH%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMghj@%ubj)}(hhh]jl)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hj_%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[%hMghj\%ubah}(h]h ]h"]h$]h&]uh1jhj@%ubeh}(h]h ]h"]h$]h&]uh1jhj[%hMghjubj)}(h.``sk_scm_unused`` unused flags for scm_recv() h](j)}(h``sk_scm_unused``h]j)}(hj%h]h sk_scm_unused}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhhjy%ubj)}(hhh]jl)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhhj%ubah}(h]h ]h"]h$]h&]uh1jhjy%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhhjubj)}(hA``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) h](j)}(h``sk_clockid``h]j)}(hj%h]h sk_clockid}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_hj%ubj)}(hhh]jl)}(h1clockid used by time-based scheduling (SO_TXTIME)h]h1clockid used by time-based scheduling (SO_TXTIME)}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM_hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM_hjubj)}(h<``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME h](j)}(h``sk_txtime_deadline_mode``h]j)}(hj%h]hsk_txtime_deadline_mode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM`hj%ubj)}(hhh]jl)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(hj &hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM`hj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj&hM`hjubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hj*&h]hsk_txtime_report_errors}(hj,&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMahj$&ubj)}(hhh]jl)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hjC&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?&hMahj@&ubah}(h]h ]h"]h$]h&]uh1jhj$&ubeh}(h]h ]h"]h$]h&]uh1jhj?&hMahjubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hjc&h]hsk_txtime_unused}(hje&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMbhj]&ubj)}(hhh]jl)}(hunused txtime flagsh]hunused txtime flags}(hj|&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx&hMbhjy&ubah}(h]h ]h"]h$]h&]uh1jhj]&ubeh}(h]h ]h"]h$]h&]uh1jhjx&hMbhjubj)}(h-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hj&h]hsk_bpf_cb_flags}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM?hj&ubj)}(hhh]jl)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM?hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM?hjubj)}(hR``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. h](j)}(h``sk_user_data``h]j)}(hj&h]h sk_user_data}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMIhj&ubj)}(hhh]jl)}(h@RPC layer private data. Write-protected by **sk_callback_lock**.h](h+RPC layer private data. Write-protected by }(hj&hhhNhNubj)}(h**sk_callback_lock**h]hsk_callback_lock}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&hMIhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMIhjubj)}(h)``sk_security`` used by security modules h](j)}(h``sk_security``h]j)}(hj 'h]h sk_security}(hj"'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhj'ubj)}(hhh]jl)}(hused by security modulesh]hused by security modules}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5'hMNhj6'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj5'hMNhjubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hjY'h]h sk_cgrp_data}(hj['hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMPhjS'ubj)}(hhh]jl)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hjr'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn'hMPhjo'ubah}(h]h ]h"]h$]h&]uh1jhjS'ubeh}(h]h ]h"]h$]h&]uh1jhjn'hMPhjubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hj'h]hsk_state_change}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThj'ubj)}(hhh]jl)}(h4callback to indicate change in the state of the sockh]h4callback to indicate change in the state of the sock}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMThj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMThjubj)}(hL``sk_write_space`` callback to indicate there is bf sending space available h](j)}(h``sk_write_space``h]j)}(hj'h]hsk_write_space}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMVhj'ubj)}(hhh]jl)}(h8callback to indicate there is bf sending space availableh]h8callback to indicate there is bf sending space available}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMVhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMVhjubj)}(hH``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) h](j)}(h``sk_error_report``h]j)}(hj(h]hsk_error_report}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMWhj'ubj)}(hhh]jl)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hj(hhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hj%(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh)}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(hMWhj(ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMWhjubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hjO(h]hsk_backlog_rcv}(hjQ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhjI(ubj)}(hhh]jl)}(hcallback to process the backlogh]hcallback to process the backlog}(hjh(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd(hMXhje(ubah}(h]h ]h"]h$]h&]uh1jhjI(ubeh}(h]h ]h"]h$]h&]uh1jhjd(hMXhjubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hj(h]h sk_destruct}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZhj(ubj)}(hhh]jl)}(h6called at sock freeing time, i.e. when all refcnt == 0h]h6called at sock freeing time, i.e. when all refcnt == 0}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMZhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMZhjubj)}(h.``sk_reuseport_cb`` reuseport group container h](j)}(h``sk_reuseport_cb``h]j)}(hj(h]hsk_reuseport_cb}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM[hj(ubj)}(hhh]jl)}(hreuseport group containerh]hreuseport group container}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hM[hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM[hjubj)}(h?``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage h](j)}(h``sk_bpf_storage``h]j)}(hj(h]hsk_bpf_storage}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM\hj(ubj)}(hhh]jl)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM\hj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hM\hjubj)}(h<``sk_drop_counters`` optional pointer to numa_drop_counters h](j)}(h``sk_drop_counters``h]j)}(hj3)h]hsk_drop_counters}(hj5)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM&hj-)ubj)}(hhh]jl)}(h&optional pointer to numa_drop_countersh]h&optional pointer to numa_drop_counters}(hjL)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjH)hM&hjI)ubah}(h]h ]h"]h$]h&]uh1jhj-)ubeh}(h]h ]h"]h$]h&]uh1jhjH)hM&hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjl)h]h{unnamed_union}}(hjn)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjf)ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jhjf)ubeh}(h]h ]h"]h$]h&]uh1jhj)hKhjubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hj)h]hsk_rcu}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM]hj)ubj)}(hhh]jl)}(hused during RCU grace periodh]hused during RCU grace period}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM]hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM]hjubj)}(h=``sk_freeptr`` used for SLAB_TYPESAFE_BY_RCU managed sockets h](j)}(h``sk_freeptr``h]j)}(hj)h]h sk_freeptr}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM^hj)ubj)}(hhh]jl)}(h-used for SLAB_TYPESAFE_BY_RCU managed socketsh]h-used for SLAB_TYPESAFE_BY_RCU managed sockets}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM^hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM^hjubj)}(h+``ns_tracker`` tracker for netns reference h](j)}(h``ns_tracker``h]j)}(hj*h]h ns_tracker}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMihj*ubj)}(hhh]jl)}(htracker for netns referenceh]htracker for netns reference}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,*hMihj-*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj,*hMihjubj)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hjP*h]h sk_user_frags}(hjR*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjhjJ*ubj)}(hhh]jl)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hji*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje*hMjhjf*ubah}(h]h ]h"]h$]h&]uh1jhjJ*ubeh}(h]h ]h"]h$]h&]uh1jhje*hMjhjubj)}(hb``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](j)}(h ``sk_owner``h]j)}(hj*h]hsk_owner}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMkhj*ubj)}(hhh]jl)}(hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().h]hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMkhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMkhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_user_data_is_nocopy (C function)c.sk_user_data_is_nocopyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool sk_user_data_is_nocopy (const struct sock *sk)h]j )}(h2bool sk_user_data_is_nocopy(const struct sock *sk)h](jM )}(hjh]hbool}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj*hMubj3)}(hsk_user_data_is_nocopyh]j9)}(hsk_user_data_is_nocopyh]hsk_user_data_is_nocopy}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj*hMubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj++hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj)}(hjh]hstruct}(hj9+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hjF+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hsockh]hsock}(hjW+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY+modnameN classnameNj j )}j ]j )}j j+sbc.sk_user_data_is_nocopyasbuh1hhj+ubj")}(h h]h }(hjw+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hskh]hsk}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj*hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj*hMubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMhj*hhubjg)}(hhh]jl)}(h/Test if sk_user_data pointer must not be copiedh]h/Test if sk_user_data pointer must not be copied}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhj" hNhNubj)}(h2**Parameters** ``const struct sock *sk`` socketh](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+ubj)}(hhh]j)}(h ``const struct sock *sk`` socketh](j)}(h``const struct sock *sk``h]j)}(hj+h]hconst struct sock *sk}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+ubj)}(hhh]jl)}(hsocketh]hsocket}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h2__locked_read_sk_user_data_with_flags (C function)'c.__locked_read_sk_user_data_with_flagshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUvoid * __locked_read_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]j )}(hSvoid *__locked_read_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](jM )}(hvoidh]hvoid}(hjW,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hjf,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS,hhhje,hMubj )}(hj h]h*}(hjt,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS,hhhje,hMubj3)}(h%__locked_read_sk_user_data_with_flagsh]j9)}(h%__locked_read_sk_user_data_with_flagsh]h%__locked_read_sk_user_data_with_flags}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjS,hhhje,hMubj )}(h((const struct sock *sk, uintptr_t flags)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hsockh]hsock}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j,sb'c.__locked_read_sk_user_data_with_flagsasbuh1hhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hskh]hsk}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(huintptr_t flagsh](h)}(hhh]j9)}(h uintptr_th]h uintptr_t}(hj1-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3-modnameN classnameNj j )}j ]j,'c.__locked_read_sk_user_data_with_flagsasbuh1hhj*-ubj")}(h h]h }(hjO-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*-ubj9)}(hflagsh]hflags}(hj]-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjS,hhhje,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjO,hhhje,hMubah}(h]jJ,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhje,hMhjL,hhubjg)}(hhh]jl)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-hhubah}(h]h ]h"]h$]h&]uh1jfhjL,hhhje,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bits **Description** The caller must be holding sk->sk_callback_lock.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj-h]hconst struct sock *sk}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubj)}(hhh]jl)}(hsocketh]hsocket}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj-ubj)}(h``uintptr_t flags`` flag bits h](j)}(h``uintptr_t flags``h]j)}(hj.h]huintptr_t flags}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubj)}(hhh]jl)}(h flag bitsh]h flag bits}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h**Description**h]j)}(hj<.h]h Description}(hj>.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:.ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubjl)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hjR.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h6__rcu_dereference_sk_user_data_with_flags (C function)+c.__rcu_dereference_sk_user_data_with_flagshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hYvoid * __rcu_dereference_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]j )}(hWvoid *__rcu_dereference_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}.hhhj.hMubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}.hhhj.hMubj3)}(h)__rcu_dereference_sk_user_data_with_flagsh]j9)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_sk_user_data_with_flags}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}.hhhj.hMubj )}(h((const struct sock *sk, uintptr_t flags)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(hsockh]hsock}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j j.sb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj.ubj")}(h h]h }(hj$/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj2/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hskh]hsk}(hj?/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubj )}(huintptr_t flagsh](h)}(hhh]j9)}(h uintptr_th]h uintptr_t}(hj[/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]/modnameN classnameNj j )}j ]j /+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjT/ubj")}(h h]h }(hjy/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT/ubj9)}(hflagsh]hflags}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjy.hhhj.hMubah}(h]jt.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhjv.hhubjg)}(hhh]jl)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/hhubah}(h]h ]h"]h$]h&]uh1jfhjv.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(hS**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bitsh](jl)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj/h]hconst struct sock *sk}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh]jl)}(hsocketh]hsocket}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(h``uintptr_t flags`` flag bitsh](j)}(h``uintptr_t flags``h]j)}(hj+0h]huintptr_t flags}(hj-0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj%0ubj)}(hhh]jl)}(h flag bitsh]h flag bits}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjA0ubah}(h]h ]h"]h$]h&]uh1jhj%0ubeh}(h]h ]h"]h$]h&]uh1jhj@0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&sk_for_each_entry_offset_rcu (C macro)c.sk_for_each_entry_offset_rcuhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsk_for_each_entry_offset_rcuh]j )}(hsk_for_each_entry_offset_rcuh]j3)}(hsk_for_each_entry_offset_rcuh]j9)}(hj0h]hsk_for_each_entry_offset_rcu}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}0hhhj0hMubah}(h]jx0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhjz0hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjz0hhhj0hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj0jj0jjjuh1hhhhj" hNhNubjl)}(h:``sk_for_each_entry_offset_rcu (tpos, pos, head, offset)``h]j)}(hj0h]h6sk_for_each_entry_offset_rcu (tpos, pos, head, offset)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj" hhubj)}(h-iterate over a list at a given struct offset h]jl)}(h,iterate over a list at a given struct offseth]h,iterate over a list at a given struct offset}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0hMhj" hhubj)}(h**Parameters** ``tpos`` the type * to use as a loop cursor. ``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. ``head`` the head for your list. ``offset`` offset of hlist_node within the struct.h](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubj)}(hhh](j)}(h-``tpos`` the type * to use as a loop cursor. h](j)}(h``tpos``h]j)}(hj1h]htpos}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj 1ubj)}(hhh]jl)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$1hMhj%1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj$1hMhj1ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjH1h]hpos}(hjJ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjB1ubj)}(hhh]jl)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hja1hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hjk1h]hstruct hlist_node}(hjm1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhji1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj hlist_nodeuh1hhj]1hMhja1ubh to use as a loop cursor.}(hja1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj]1hMhj^1ubah}(h]h ]h"]h$]h&]uh1jhjB1ubeh}(h]h ]h"]h$]h&]uh1jhj]1hMhj1ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hj1h]hhead}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh]jl)}(hthe head for your list.h]hthe head for your list.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(h2``offset`` offset of hlist_node within the struct.h](j)}(h ``offset``h]j)}(hj1h]hoffset}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh]jl)}(h'offset of hlist_node within the struct.h]h'offset of hlist_node within the struct.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hSOCK_CONNECT_BIND (C macro)c.SOCK_CONNECT_BINDhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSOCK_CONNECT_BINDh]j )}(hSOCK_CONNECT_BINDh]j3)}(hSOCK_CONNECT_BINDh]j9)}(hj12h]hSOCK_CONNECT_BIND}(hj;2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj72ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj32hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/2hhhjN2hMubah}(h]j*2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjN2hMhj,2hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj,2hhhjN2hMubeh}(h]h ](jmacroeh"]h$]h&]jjjjg2jjg2jjjuh1hhhhj" hNhNubjl)}(h``SOCK_CONNECT_BIND``h]j)}(hjm2h]hSOCK_CONNECT_BIND}(hjo2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk2ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj" hhubj)}(hJ:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() time h]jl)}(hH:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() timeh](h)}(h#:c:type:`sock->sk_userlocks `h]j)}(hj2h]hsock->sk_userlocks}(hj2hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsockuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj2ubh% flag for auto-bind at connect() time}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2hMhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlock_sock_fast (C function)c.lock_sock_fasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h%bool lock_sock_fast (struct sock *sk)h]j )}(h$bool lock_sock_fast(struct sock *sk)h](jM )}(hjh]hbool}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hlock_sock_fasth]j9)}(hlock_sock_fasth]hlock_sock_fast}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 3ubh)}(hhh]j9)}(hsockh]hsock}(hj.3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj03modnameN classnameNj j )}j ]j )}j j2sbc.lock_sock_fastasbuh1hhj 3ubj")}(h h]h }(hjN3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 3ubj )}(hj h]h*}(hj\3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 3ubj9)}(hskh]hsk}(hji3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(hfast version of lock_sockh]hfast version of lock_sock}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj" hNhNubj)}(hX5**Parameters** ``struct sock *sk`` socket **Description** This version should be used for very small section, where process won't block return false if fast path is taken: sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken: sk_lock.slock unlocked, owned = 1, BH enabledh](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj3h]hstruct sock *sk}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(hhh]jl)}(hsocketh]hsocket}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubjl)}(hqThis version should be used for very small section, where process won't block return false if fast path is taken:h]hsThis version should be used for very small section, where process won’t block return false if fast path is taken:}(hj%4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(h-sk_lock.slock locked, owned = 0, BH disabled h]jl)}(h,sk_lock.slock locked, owned = 0, BH disabledh]h,sk_lock.slock locked, owned = 0, BH disabled}(hj84hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj44ubah}(h]h ]h"]h$]h&]uh1jhjF4hMhj3ubjl)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hjM4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jl)}(hj^4h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(hj`4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj\4ubah}(h]h ]h"]h$]h&]uh1jhjm4hMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_sock_fast (C function)c.unlock_sock_fasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2void unlock_sock_fast (struct sock *sk, bool slow)h]j )}(h1void unlock_sock_fast(struct sock *sk, bool slow)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMubj3)}(hunlock_sock_fasth]j9)}(hunlock_sock_fasth]hunlock_sock_fast}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h(struct sock *sk, bool slow)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j4sbc.unlock_sock_fastasbuh1hhj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskh]hsk}(hj*5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h bool slowh](jM )}(hjh]hbool}(hjC5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?5ubj")}(h h]h }(hjP5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?5ubj9)}(hslowh]hslow}(hj^5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMhj4hhubjg)}(hhh]jl)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sock *sk`` socket ``bool slow`` slow mode **Description** fast unlock socket for user context. If slow mode is on, we call regular release_sock()h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj5h]hstruct sock *sk}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh]jl)}(hsocketh]hsocket}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj6h]h bool slow}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh]jl)}(h slow modeh]h slow mode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj=6h]h Description}(hj?6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;6ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubjl)}(hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()h]hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wmem_alloc_get (C function)c.sk_wmem_alloc_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int sk_wmem_alloc_get (const struct sock *sk)h]j )}(h,int sk_wmem_alloc_get(const struct sock *sk)h](jM )}(hinth]hint}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~6hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~6hhhj6hM> ubj3)}(hsk_wmem_alloc_geth]j9)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~6hhhj6hM> ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hsockh]hsock}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j j6sbc.sk_wmem_alloc_getasbuh1hhj6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj&7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hskh]hsk}(hj37hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hj~6hhhj6hM> ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjz6hhhj6hM> ubah}(h]ju6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hM> hjw6hhubjg)}(hhh]jl)}(hreturns write allocationsh]hreturns write allocations}(hj]7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> hjZ7hhubah}(h]h ]h"]h$]h&]uh1jfhjw6hhhj6hM> ubeh}(h]h ](jfunctioneh"]h$]h&]jjjju7jju7jjjuh1hhhhj" hNhNubj)}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}7ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMB hjy7ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj7h]hconst struct sock *sk}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM? hj7ubj)}(hhh]jl)}(hsocketh]hsocket}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM? hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM? hj7ubah}(h]h ]h"]h$]h&]uh1jhjy7ubjl)}(h **Return**h]j)}(hj7h]hReturn}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMA hjy7ubjl)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMA hjy7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_rmem_alloc_get (C function)c.sk_rmem_alloc_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int sk_rmem_alloc_get (const struct sock *sk)h]j )}(h,int sk_rmem_alloc_get(const struct sock *sk)h](jM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI ubj")}(h h]h }(hj-8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj,8hMI ubj3)}(hsk_rmem_alloc_geth]j9)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hj?8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj,8hMI ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj[8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW8ubj")}(h h]h }(hjh8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubj)}(hjh]hstruct}(hjv8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubh)}(hhh]j9)}(hsockh]hsock}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j jA8sbc.sk_rmem_alloc_getasbuh1hhjW8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjW8ubj9)}(hskh]hsk}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjW8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjS8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj,8hMI ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj,8hMI ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,8hMI hj8hhubjg)}(hhh]jl)}(hreturns read allocationsh]hreturns read allocations}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj,8hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" hNhNubj)}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMM hj9ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj:9h]hconst struct sock *sk}(hj<9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj89ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hj49ubj)}(hhh]jl)}(hsocketh]hsocket}(hjS9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO9hMJ hjP9ubah}(h]h ]h"]h$]h&]uh1jhj49ubeh}(h]h ]h"]h$]h&]uh1jhjO9hMJ hj19ubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h **Return**h]j)}(hju9h]hReturn}(hjw9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj9ubjl)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_has_allocations (C function)c.sk_has_allocationshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/bool sk_has_allocations (const struct sock *sk)h]j )}(h.bool sk_has_allocations(const struct sock *sk)h](jM )}(hjh]hbool}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMT ubj3)}(hsk_has_allocationsh]j9)}(hsk_has_allocationsh]hsk_has_allocations}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMT ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hsockh]hsock}(hj/:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1:modnameN classnameNj j )}j ]j )}j j9sbc.sk_has_allocationsasbuh1hhj9ubj")}(h h]h }(hjO:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj]:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hskh]hsk}(hjj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMT ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMT hj9hhubjg)}(hhh]jl)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT hj:hhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhj9hMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhj" hNhNubj)}(hl**Parameters** ``const struct sock *sk`` socket **Return** true if socket has write or read allocationsh](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMX hj:ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj:h]hconst struct sock *sk}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMU hj:ubj)}(hhh]jl)}(hsocketh]hsocket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMU hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMU hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h **Return**h]j)}(hj;h]hReturn}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj:ubjl)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hj&;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskwq_has_sleeper (C function)c.skwq_has_sleeperhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h,bool skwq_has_sleeper (struct socket_wq *wq)h]j )}(h+bool skwq_has_sleeper(struct socket_wq *wq)h](jM )}(hjh]hbool}(hjU;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ ubj")}(h h]h }(hjc;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ;hhhjb;hM_ ubj3)}(hskwq_has_sleeperh]j9)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hju;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQ;hhhjb;hM_ ubj )}(h(struct socket_wq *wq)h]j )}(hstruct socket_wq *wqh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(h socket_wqh]h socket_wq}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jw;sbc.skwq_has_sleeperasbuh1hhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hwqh]hwq}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubah}(h]h ]h"]h$]h&]jPjQuh1j hjQ;hhhjb;hM_ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM;hhhjb;hM_ ubah}(h]jH;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjb;hM_ hjJ;hhubjg)}(hhh]jl)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ hj<hhubah}(h]h ]h"]h$]h&]uh1jfhjJ;hhhjb;hM_ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,<jj,<jjjuh1hhhhj" hNhNubj)}(hX$**Parameters** ``struct socket_wq *wq`` struct socket_wq **Return** true if socket_wq has waiting processes **Description** The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code. Consider following tcp code paths:: CPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... } The race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h](jl)}(h**Parameters**h]j)}(hj6<h]h Parameters}(hj8<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hj0<ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hjU<h]hstruct socket_wq *wq}(hjW<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM` hjO<ubj)}(hhh]jl)}(hstruct socket_wqh]hstruct socket_wq}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjj<hM` hjk<ubah}(h]h ]h"]h$]h&]uh1jhjO<ubeh}(h]h ]h"]h$]h&]uh1jhjj<hM` hjL<ubah}(h]h ]h"]h$]h&]uh1jhj0<ubjl)}(h **Return**h]j)}(hj<h]hReturn}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMb hj0<ubjl)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMb hj0<ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMd hj0<ubjl)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hj0<ubjl)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf hj0<ubj)}(hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }h]hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }}hj<sbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMh hj0<ubjl)}(hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h]hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMv hj0<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_poll_wait (C function)c.sock_poll_waithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hKvoid sock_poll_wait (struct file *filp, struct socket *sock, poll_table *p)h]j )}(hJvoid sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)h](jM )}(hvoidh]hvoid}(hj)=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%=hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj")}(h h]h }(hj8=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%=hhhj7=hM ubj3)}(hsock_poll_waith]j9)}(hsock_poll_waith]hsock_poll_wait}(hjJ=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%=hhhj7=hM ubj )}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j )}(hstruct file *filph](j)}(hjh]hstruct}(hjf=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb=ubj")}(h h]h }(hjs=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb=ubh)}(hhh]j9)}(hfileh]hfile}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jL=sbc.sock_poll_waitasbuh1hhjb=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjb=ubj9)}(hfilph]hfilp}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^=ubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hsocketh]hsocket}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j=c.sock_poll_waitasbuh1hhj=ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj">hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hsockh]hsock}(hj/>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^=ubj )}(h poll_table *ph](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjK>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM>modnameN classnameNj j )}j ]j=c.sock_poll_waitasbuh1hhjD>ubj")}(h h]h }(hji>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD>ubj )}(hj h]h*}(hjw>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjD>ubj9)}(hj h]hp}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%=hhhj7=hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!=hhhj7=hM ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7=hM hj=hhubjg)}(hhh]jl)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj7=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct file *filp`` file ``struct socket *sock`` socket to wait on ``poll_table *p`` poll_table **Description** See the comments in the wq_has_sleeper function.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj>ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hj>h]hstruct file *filp}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj>ubj)}(hhh]jl)}(hfileh]hfile}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hj>ubj)}(h*``struct socket *sock`` socket to wait on h](j)}(h``struct socket *sock``h]j)}(hj'?h]hstruct socket *sock}(hj)?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj!?ubj)}(hhh]jl)}(hsocket to wait onh]hsocket to wait on}(hj@?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj`?h]h poll_table *p}(hjb?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjZ?ubj)}(hhh]jl)}(h poll_tableh]h poll_table}(hjy?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhju?hM hjv?ubah}(h]h ]h"]h$]h&]uh1jhjZ?ubeh}(h]h ]h"]h$]h&]uh1jhju?hM hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj>ubjl)}(h0See the comments in the wq_has_sleeper function.h]h0See the comments in the wq_has_sleeper function.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_page_frag (C function)c.sk_page_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1struct page_frag * sk_page_frag (struct sock *sk)h]j )}(h/struct page_frag *sk_page_frag(struct sock *sk)h](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hMT ubh)}(hhh]j9)}(h page_fragh]h page_frag}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j sk_page_fragsbc.sk_page_fragasbuh1hhj?hhhj?hMT ubj")}(h h]h }(hj @hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hMT ubj )}(hj h]h*}(hj.@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?hhhj?hMT ubj3)}(h sk_page_fragh]j9)}(hj@h]h sk_page_frag}(hj?@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hMT ubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjZ@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV@ubj")}(h h]h }(hjg@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV@ubh)}(hhh]j9)}(hsockh]hsock}(hjx@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz@modnameN classnameNj j )}j ]j@c.sk_page_fragasbuh1hhjV@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV@ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjV@ubj9)}(hskh]hsk}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjR@ubah}(h]h ]h"]h$]h&]jPjQuh1j hj?hhhj?hMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhj?hMT ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMT hj?hhubjg)}(hhh]jl)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket **Description** Use the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``. Both direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag. **Return** a per task page_frag if context allows that, otherwise a per socket one.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMX hj@ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjAh]hstruct sock *sk}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMU hjAubj)}(hhh]jl)}(hsocketh]hsocket}(hj5AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1AhMU hj2Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj1AhMU hjAubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjWAh]h Description}(hjYAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUAubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj@ubjl)}(hUse the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``.h](hUse the per task page_frag instead of the per socket one for optimization when we know that we’re in process context and own everything that’s associated with }(hjmAhhhNhNubj)}(h ``current``h]hcurrent}(hjuAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmAubh.}(hjmAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMV hj@ubjl)}(hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.h]hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it’s already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZ hj@ubjl)}(h **Return**h]j)}(hjAh]hReturn}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ hj@ubjl)}(hHa per task page_frag if context allows that, otherwise a per socket one.h]hHa per task page_frag if context allows that, otherwise a per socket one.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM` hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_sock_tx_timestamp (C function)c._sock_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hjvoid _sock_tx_timestamp (struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h]j )}(hivoid _sock_tx_timestamp(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](jM )}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMf ubj3)}(h_sock_tx_timestamph]j9)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMf ubj )}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj!BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hj.BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hsockh]hsock}(hj?BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Gubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjFubjl)}(hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.h]hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.}(hjRGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_alloc_file (C function)c.sock_alloc_filehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQstruct file * sock_alloc_file (struct socket *sock, int flags, const char *dname)h]j )}(hOstruct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)h](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}GhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}GhhhjGhMubh)}(hhh]j9)}(hfileh]hfile}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j sock_alloc_filesbc.sock_alloc_fileasbuh1hhj}GhhhjGhMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}GhhhjGhMubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}GhhhjGhMubj3)}(hsock_alloc_fileh]j9)}(hjGh]hsock_alloc_file}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}GhhhjGhMubj )}(h3(struct socket *sock, int flags, const char *dname)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(hsocketh]hsocket}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jGc.sock_alloc_fileasbuh1hhjGubj")}(h h]h }(hj7HhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjEHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hsockh]hsock}(hjRHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(h int flagsh](jM )}(hinth]hint}(hjkHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgHubj")}(h h]h }(hjyHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgHubj9)}(hflagsh]hflags}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hconst char *dnameh](j)}(hj h]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubjM )}(hcharh]hchar}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hdnameh]hdname}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}GhhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyGhhhjGhMubah}(h]jtGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhjvGhhubjg)}(hhh]jl)}(h+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hjIhhhNhNubh)}(h:c:type:`socket`h]j)}(hjIh]hsocket}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jGc.sock_alloc_fileasbjsocketuh1hhjGhMhjIubh to a }(hjIhhhNhNubh)}(h:c:type:`file`h]j)}(hj@Ih]hfile}(hjBIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj>Iubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j4Ijfileuh1hhjGhMhjIubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Ihhubah}(h]h ]h"]h$]h&]uh1jfhjvGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmIjjmIjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct socket *sock`` socket ``int flags`` file status flags ``const char *dname`` protocol name **Description** Returns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jl)}(h**Parameters**h]j)}(hjwIh]h Parameters}(hjyIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuIubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjqIubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjIh]hstruct socket *sock}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjIubj)}(hhh]jl)}(hsocketh]hsocket}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(h ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hjIh]h int flags}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjIubj)}(hhh]jl)}(hfile status flagsh]hfile status flags}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(h$``const char *dname`` protocol name h](j)}(h``const char *dname``h]j)}(hjJh]hconst char *dname}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJubj)}(hhh]jl)}(h protocol nameh]h protocol name}(hj!JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubeh}(h]h ]h"]h$]h&]uh1jhjqIubjl)}(h**Description**h]j)}(hjCJh]h Description}(hjEJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAJubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjqIubj)}(hReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jl)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hj]JhhhNhNubh)}(h:c:type:`file`h]j)}(hjgJh]hfile}(hjiJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjeJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]Jubh bound with }(hj]JhhhNhNubj)}(h**sock**h]hsock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Jubh3, implicitly storing it in sock->file. If dname is }(hj]JhhhNhNubj)}(h``NULL``h]hNULL}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Jubh, sets to “”.}(hj]JhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjJhMhjYJubjl)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hjJhhhNhNubj)}(h**sock**h]hsock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh- is released, and an ERR pointer is returned.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjYJubjl)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjYJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjqIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_from_file (C function)c.sock_from_filehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2struct socket * sock_from_file (struct file *file)h]j )}(h0struct socket *sock_from_file(struct file *file)h](j)}(hjh]hstruct}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM=ubh)}(hhh]j9)}(hsocketh]hsocket}(hj(KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%Kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*KmodnameN classnameNj j )}j ]j )}j sock_from_filesbc.sock_from_fileasbuh1hhjKhhhjKhM=ubj")}(h h]h }(hjIKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhM=ubj )}(hj h]h*}(hjWKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKhhhjKhM=ubj3)}(hsock_from_fileh]j9)}(hjFKh]hsock_from_file}(hjhKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhM=ubj )}(h(struct file *file)h]j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(hfileh]hfile}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]jDKc.sock_from_fileasbuh1hhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hfileh]hfile}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{Kubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhM=ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM=hjJhhubjg)}(hhh]jl)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hjLhhhNhNubh)}(h:c:type:`socket`h]j)}(hjLh]hsocket}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj Lubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jDKc.sock_from_fileasbjsocketuh1hhjGhMhjLubh bounded to }(hjLhhhNhNubj)}(h**file**h]hfile}(hj4LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=hjLhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjKhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVLjjVLjjjuh1hhhhj" hNhNubj)}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jl)}(h**Parameters**h]j)}(hj`Lh]h Parameters}(hjbLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Lubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMAhjZLubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hjLh]hstruct file *file}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Lubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM>hjyLubj)}(hhh]jl)}(hfileh]hfile}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhM>hjLubah}(h]h ]h"]h$]h&]uh1jhjyLubeh}(h]h ]h"]h$]h&]uh1jhjLhM>hjvLubah}(h]h ]h"]h$]h&]uh1jhjZLubjl)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hjZLubj)}(hOn failure returns ``NULL``.h]jl)}(hjLh](hOn failure returns }(hjLhhhNhNubj)}(h``NULL``h]hNULL}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM?hjLubah}(h]h ]h"]h$]h&]uh1jhjLhM?hjZLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsockfd_lookup (C function)c.sockfd_lookuphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0struct socket * sockfd_lookup (int fd, int *err)h]j )}(h.struct socket *sockfd_lookup(int fd, int *err)h](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMubj")}(h h]h }(hj(MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj'MhMMubh)}(hhh]j9)}(hsocketh]hsocket}(hj9MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;MmodnameN classnameNj j )}j ]j )}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjMhhhj'MhMMubj")}(h h]h }(hjZMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj'MhMMubj )}(hj h]h*}(hjhMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMhhhj'MhMMubj3)}(h sockfd_lookuph]j9)}(hjWMh]h sockfd_lookup}(hjyMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj'MhMMubj )}(h(int fd, int *err)h](j )}(hint fdh](jM )}(hinth]hint}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(hfdh]hfd}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(hint *errh](jM )}(hinth]hint}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(herrh]herr}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj'MhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhj'MhMMubah}(h]j Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'MhMMhjMhhubjg)}(hhh]jl)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhj'MhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4Njj4Njjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return **Description** The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jl)}(h**Parameters**h]j)}(hj>Nh]h Parameters}(hj@NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Tubh through }(hj6ThhhNhNubj)}(h**sock**h]hsock}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6TubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hj6ThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj2Tubah}(h]h ]h"]h$]h&]uh1jhjhThMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_sendmsg (C function)c.kernel_sendmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hgint kernel_sendmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h]j )}(hfint kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](jM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjThM6ubj3)}(hkernel_sendmsgh]j9)}(hkernel_sendmsgh]hkernel_sendmsg}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjThM6ubj )}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hsocketh]hsocket}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j jTsbc.kernel_sendmsgasbuh1hhjTubj")}(h h]h }(hj UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hsockh]hsock}(hj%UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hj>UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Uubj")}(h h]h }(hjKUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:Uubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hj\UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^UmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhj:Uubj")}(h h]h }(hjzUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:Uubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:Uubj9)}(hmsgh]hmsg}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hkvech]hkvec}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hvech]hvec}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj!VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#VmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjVubj")}(h h]h }(hj?VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hnumh]hnum}(hjMVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjiVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkVmodnameN classnameNj j )}j ]jUc.kernel_sendmsgasbuh1hhjbVubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbVubj9)}(hsizeh]hsize}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjThM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjThM6ubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM6hjThhubjg)}(hhh]jl)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjVhhhNhNubj)}(h**sock**h]hsock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh (kernel-space)}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjVhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjThM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj" hNhNubj)}(hX^**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message header ``struct kvec *vec`` kernel vec ``size_t num`` vec array length ``size_t size`` total message data size **Description** Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM:hjVubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjWh]hstruct socket *sock}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hj Wubj)}(hhh]jl)}(hsocketh]hsocket}(hj+WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'WhM7hj(Wubah}(h]h ]h"]h$]h&]uh1jhj Wubeh}(h]h ]h"]h$]h&]uh1jhj'WhM7hj Wubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hjKWh]hstruct msghdr *msg}(hjMWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM8hjEWubj)}(hhh]jl)}(hmessage headerh]hmessage header}(hjdWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`WhM8hjaWubah}(h]h ]h"]h$]h&]uh1jhjEWubeh}(h]h ]h"]h$]h&]uh1jhj`WhM8hj Wubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hjWh]hstruct kvec *vec}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM9hj~Wubj)}(hhh]jl)}(h kernel vech]h kernel vec}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM9hjWubah}(h]h ]h"]h$]h&]uh1jhj~Wubeh}(h]h ]h"]h$]h&]uh1jhjWhM9hj Wubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hjWh]h size_t num}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM:hjWubj)}(hhh]jl)}(hvec array lengthh]hvec array length}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM:hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM:hj Wubj)}(h(``size_t size`` total message data size h](j)}(h``size_t size``h]j)}(hjWh]h size_t size}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM;hjWubj)}(hhh]jl)}(htotal message data sizeh]htotal message data size}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj XhM;hj Xubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj XhM;hj Wubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hj1Xh]h Description}(hj3XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Xubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=hjVubj)}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h]jl)}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](hBuilds the message data with }(hjKXhhhNhNubj)}(h**vec**h]hvec}(hjSXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKXubh and sends it through }(hjKXhhhNhNubj)}(h**sock**h]hsock}(hjeXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKXubh5. Returns the number of bytes sent, or an error code.}(hjKXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM<hjGXubah}(h]h ]h"]h$]h&]uh1jhj}XhM<hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_recvmsg (C function)c.sock_recvmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hEint sock_recvmsg (struct socket *sock, struct msghdr *msg, int flags)h]j )}(hDint sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMpubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjXhMpubj3)}(h sock_recvmsgh]j9)}(h sock_recvmsgh]h sock_recvmsg}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjXhMpubj )}(h4(struct socket *sock, struct msghdr *msg, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hsocketh]hsocket}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jXsbc.sock_recvmsgasbuh1hhjXubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hj-YhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hsockh]hsock}(hj:YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjSYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOYubj")}(h h]h }(hj`YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOYubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjqYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsYmodnameN classnameNj j )}j ]jYc.sock_recvmsgasbuh1hhjOYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOYubj9)}(hmsgh]hmsg}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(h int flagsh](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hflagsh]hflags}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjXhMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjXhMpubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMphjXhhubjg)}(hhh]jl)}(hreceive a message from **sock**h](hreceive a message from }(hj ZhhhNhNubj)}(h**sock**h]hsock}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMphjZhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjXhMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/Zjj/Zjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to receive ``int flags`` message flags **Description** Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](jl)}(h**Parameters**h]j)}(hj9Zh]h Parameters}(hj;ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Zubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthj3Zubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjXZh]hstruct socket *sock}(hjZZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqhjRZubj)}(hhh]jl)}(hsocketh]hsocket}(hjqZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmZhMqhjnZubah}(h]h ]h"]h$]h&]uh1jhjRZubeh}(h]h ]h"]h$]h&]uh1jhjmZhMqhjOZubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjZh]hstruct msghdr *msg}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMrhjZubj)}(hhh]jl)}(hmessage to receiveh]hmessage to receive}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMrhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMrhjOZubj)}(h``int flags`` message flags h](j)}(h ``int flags``h]j)}(hjZh]h int flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjZubj)}(hhh]jl)}(h message flagsh]h message flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMshjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMshjOZubeh}(h]h ]h"]h$]h&]uh1jhj3Zubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMuhj3Zubj)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h]jl)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](h Receives }(hj[hhhNhNubj)}(h**msg**h]hmsg}(hj'[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh from }(hj[hhhNhNubj)}(h**sock**h]hsock}(hj9[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthj[ubah}(h]h ]h"]h$]h&]uh1jhjQ[hMthj3Zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_recvmsg (C function)c.kernel_recvmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hrint kernel_recvmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h]j )}(hqint kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](jM )}(hinth]hint}(hjx[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjt[hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt[hhhj[hMubj3)}(hkernel_recvmsgh]j9)}(hkernel_recvmsgh]hkernel_recvmsg}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjt[hhhj[hMubj )}(h_(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(hsocketh]hsocket}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j[sbc.kernel_recvmsgasbuh1hhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[ubj9)}(hsockh]hsock}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hj'\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#\ubj")}(h h]h }(hj4\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#\ubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjE\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG\modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhj#\ubj")}(h h]h }(hjc\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#\ubj )}(hj h]h*}(hjq\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#\ubj9)}(hmsgh]hmsg}(hj~\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hkvech]hkvec}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hvech]hvec}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj ]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ]modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhj]ubj")}(h h]h }(hj(]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hnumh]hnum}(hj6]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjR]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT]modnameN classnameNj j )}j ]j[c.kernel_recvmsgasbuh1hhjK]ubj")}(h h]h }(hjp]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK]ubj9)}(hsizeh]hsize}(hj~]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubj )}(h int flagsh](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hflagsh]hflags}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjt[hhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjp[hhhj[hMubah}(h]jk[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhjm[hhubjg)}(hhh]jl)}(h.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhjm[hhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" hNhNubj)}(hX`**Parameters** ``struct socket *sock`` The socket to receive the message from ``struct msghdr *msg`` Received message ``struct kvec *vec`` Input s/g array for message data ``size_t num`` Size of input s/g array ``size_t size`` Number of bytes to read ``int flags`` Message flags (MSG_DONTWAIT, etc...) **Description** On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jl)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]ubj)}(hhh](j)}(h?``struct socket *sock`` The socket to receive the message from h](j)}(h``struct socket *sock``h]j)}(hj^h]hstruct socket *sock}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(h&The socket to receive the message fromh]h&The socket to receive the message from}(hj7^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3^hMhj4^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj3^hMhj^ubj)}(h(``struct msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hjW^h]hstruct msghdr *msg}(hjY^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQ^ubj)}(hhh]jl)}(hReceived messageh]hReceived message}(hjp^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl^hMhjm^ubah}(h]h ]h"]h$]h&]uh1jhjQ^ubeh}(h]h ]h"]h$]h&]uh1jhjl^hMhj^ubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hj^h]hstruct kvec *vec}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(h Input s/g array for message datah]h Input s/g array for message data}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj^ubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hj^h]h size_t num}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(hSize of input s/g arrayh]hSize of input s/g array}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj^ubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hj_h]h size_t size}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubj)}(hhh]jl)}(hNumber of bytes to readh]hNumber of bytes to read}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj^ubj)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hj;_h]h int flags}(hj=_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5_ubj)}(hhh]jl)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjT_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP_hMhjQ_ubah}(h]h ]h"]h$]h&]uh1jhj5_ubeh}(h]h ]h"]h$]h&]uh1jhjP_hMhj^ubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hjv_h]h Description}(hjx_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt_ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]ubj)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jl)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.h]hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj_ubjl)}(hFThe returned value is the total number of bytes received, or an error.h]hFThe returned value is the total number of bytes received, or an error.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_lite (C function)c.sock_create_litehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint sock_create_lite (int family, int type, int protocol, struct socket **res)h]j )}(hMint sock_create_lite(int family, int type, int protocol, struct socket **res)h](jM )}(hinth]hint}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhj_hMubj3)}(hsock_create_liteh]j9)}(hsock_create_liteh]hsock_create_lite}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhj_hMubj )}(h9(int family, int type, int protocol, struct socket **res)h](j )}(h int familyh](jM )}(hinth]hint}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj `ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj `ubj9)}(hfamilyh]hfamily}(hj-`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj `ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(hint typeh](jM )}(hinth]hint}(hjF`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjB`ubj")}(h h]h }(hjT`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjB`ubj9)}(htypeh]htype}(hjb`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(h int protocolh](jM )}(hinth]hint}(hj{`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjw`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw`ubj9)}(hprotocolh]hprotocol}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(hsocketh]hsocket}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j )}j j_sbc.sock_create_liteasbuh1hhj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj )}(hj h]h*}(hj ahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hresh]hres}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj `ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhj_hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhj_hMubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hMhj_hhubjg)}(hhh]jl)}(hcreates a socketh]hcreates a socket}(hj@ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ahhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXajjXajjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** Creates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hjbah]h Parameters}(hjdahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`aubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj\aubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjah]h int family}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj{aubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj{aubeh}(h]h ]h"]h$]h&]uh1jhjahMhjxaubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjah]hint type}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubj)}(hhh]jl)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjxaubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjah]h int protocol}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubj)}(hhh]jl)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhj bubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjxaubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj,bh]hstruct socket **res}(hj.bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*bubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj&bubj)}(hhh]jl)}(h new socketh]h new socket}(hjEbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAbhMhjBbubah}(h]h ]h"]h$]h&]uh1jhj&bubeh}(h]h ]h"]h$]h&]uh1jhjAbhMhjxaubeh}(h]h ]h"]h$]h&]uh1jhj\aubjl)}(h**Description**h]j)}(hjgbh]h Description}(hjibhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjebubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj\aubj)}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h]jl)}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](h'Creates a new socket and assigns it to }(hjbhhhNhNubj)}(h**res**h]hres}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hjbhhhNhNubj)}(h**res**h]hres}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh is set to }(hjbhhhNhNubj)}(h``NULL``h]hNULL}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh+. This function internally uses GFP_KERNEL.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj}bubah}(h]h ]h"]h$]h&]uh1jhjbhMhj\aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sock_create (C function)c.__sock_createhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hfint __sock_create (struct net *net, int family, int type, int protocol, struct socket **res, int kern)h]j )}(heint __sock_create(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(h __sock_createh]j9)}(h __sock_createh]h __sock_create}(hj chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj cubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj)chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%cubj")}(h h]h }(hj6chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%cubh)}(hhh]j9)}(hneth]hnet}(hjGchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIcmodnameN classnameNj j )}j ]j )}j jcsbc.__sock_createasbuh1hhj%cubj")}(h h]h }(hjgchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%cubj )}(hj h]h*}(hjuchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%cubj9)}(hneth]hnet}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(h int familyh](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hfamilyh]hfamily}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hint typeh](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(htypeh]htype}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(h int protocolh](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hprotocolh]hprotocol}(hj!dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hj:dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6dubj")}(h h]h }(hjGdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6dubh)}(hhh]j9)}(hsocketh]hsocket}(hjXdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZdmodnameN classnameNj j )}j ]jccc.__sock_createasbuh1hhj6dubj")}(h h]h }(hjvdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6dubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6dubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6dubj9)}(hresh]hres}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubj )}(hint kernh](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj9)}(hkernh]hkern}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!cubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjbhMubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjbhhubjg)}(hhh]jl)}(hcreates a socketh]hcreates a socket}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj" hNhNubj)}(hX.**Parameters** ``struct net *net`` net namespace ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket ``int kern`` boolean for kernel space sockets **Description** Creates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hj!ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM"hjeubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hj>eh]hstruct net *net}(hj@ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hopsh]hops}(hjKnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhjmhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhjmhM ubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM hjmhhubjg)}(hhh]jl)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hjunhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" hNhNubj)}(hXK**Parameters** ``const struct net_proto_family *ops`` description of protocol **Description** This function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hjnh]h"const struct net_proto_family *ops}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(hhh]jl)}(hdescription of protocolh]hdescription of protocol}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubj)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]jl)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubah}(h]h ]h"]h$]h&]uh1jhjohM hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_unregister (C function)c.sock_unregisterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h!void sock_unregister (int family)h]j )}(h void sock_unregister(int family)h](jM )}(hvoidh]hvoid}(hj@ohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcreate routine.h](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubj)}(hhh]j)}(h)``int family`` protocol family to remove h](j)}(h``int family``h]j)}(hjph]h int family}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubj)}(hhh]jl)}(hprotocol family to removeh]hprotocol family to remove}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hj?ph]h Description}(hjAphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=pubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjoubj)}(hXbThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jl)}(hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.h]hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.}(hjYphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUpubjl)}(hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h]hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.}(hjhphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUpubeh}(h]h ]h"]h$]h&]uh1jhjgphM hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_bind (C function) c.kernel_bindhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQint kernel_bind (struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h]j )}(hPint kernel_bind(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](jM )}(hinth]hint}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM0ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjphM0ubj3)}(h kernel_bindh]j9)}(h kernel_bindh]h kernel_bind}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjphM0ubj )}(hA(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hsocketh]hsocket}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j jpsb c.kernel_bindasbuh1hhjpubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hj&qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hsockh]hsock}(hj3qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hjLqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHqubj")}(h h]h }(hjYqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHqubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlqmodnameN classnameNj j )}j ]jq c.kernel_bindasbuh1hhjHqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHqubj9)}(haddrh]haddr}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h int addrlenh](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(haddrlenh]haddrlen}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjphM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjphM0ubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphM0hjphhubjg)}(hhh]jl)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM0hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjphM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr_unsized *addr`` address ``int addrlen`` length of address **Description** Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(hj$rh]h Parameters}(hj&rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"rubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjrubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjCrh]hstruct socket *sock}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM1hj=rubj)}(hhh]jl)}(hsocketh]hsocket}(hj\rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXrhM1hjYrubah}(h]h ]h"]h$]h&]uh1jhj=rubeh}(h]h ]h"]h$]h&]uh1jhjXrhM1hj:rubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hj|rh]hstruct sockaddr_unsized *addr}(hj~rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM2hjvrubj)}(hhh]jl)}(haddressh]haddress}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM2hjrubah}(h]h ]h"]h$]h&]uh1jhjvrubeh}(h]h ]h"]h$]h&]uh1jhjrhM2hj:rubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hjrh]h int addrlen}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3hjrubj)}(hhh]jl)}(hlength of addressh]hlength of address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM3hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM3hj:rubeh}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hjrubj)}(hReturns 0 or an error.h]jl)}(hjsh]hReturns 0 or an error.}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjsubah}(h]h ]h"]h$]h&]uh1jhjshM4hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_listen (C function)c.kernel_listenhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4int kernel_listen (struct socket *sock, int backlog)h]j )}(h3int kernel_listen(struct socket *sock, int backlog)h](jM )}(hinth]hint}(hj>shhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:shhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDubj")}(h h]h }(hjMshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:shhhjLshMDubj3)}(h kernel_listenh]j9)}(h kernel_listenh]h kernel_listen}(hj_shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[subah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:shhhjLshMDubj )}(h"(struct socket *sock, int backlog)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj{shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwsubh)}(hhh]j9)}(hsocketh]hsocket}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j jassbc.kernel_listenasbuh1hhjwsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwsubj9)}(hsockh]hsock}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjssubj )}(h int backlogh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hbacklogh]hbacklog}(hj thhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjssubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:shhhjLshMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6shhhjLshMDubah}(h]j1sah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLshMDhj3shhubjg)}(hhh]jl)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hj3thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhj0thhubah}(h]h ]h"]h$]h&]uh1jfhj3shhhjLshMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKtjjKtjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``int backlog`` pending connections queue size **Description** Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(hjUth]h Parameters}(hjWthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjStubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjOtubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjtth]hstruct socket *sock}(hjvthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjntubj)}(hhh]jl)}(hsocketh]hsocket}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMEhjtubah}(h]h ]h"]h$]h&]uh1jhjntubeh}(h]h ]h"]h$]h&]uh1jhjthMEhjktubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hjth]h int backlog}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMFhjtubj)}(hhh]jl)}(hpending connections queue sizeh]hpending connections queue size}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMFhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMFhjktubeh}(h]h ]h"]h$]h&]uh1jhjOtubjl)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjOtubj)}(hReturns 0 or an error.h]jl)}(hjuh]hReturns 0 or an error.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMGhjtubah}(h]h ]h"]h$]h&]uh1jhjuhMGhjOtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_accept (C function)c.kernel_accepthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hKint kernel_accept (struct socket *sock, struct socket **newsock, int flags)h]j )}(hJint kernel_accept(struct socket *sock, struct socket **newsock, int flags)h](jM )}(hinth]hint}(hj6uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2uhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRubj")}(h h]h }(hjEuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2uhhhjDuhMRubj3)}(h kernel_accepth]j9)}(h kernel_accepth]h kernel_accept}(hjWuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2uhhhjDuhMRubj )}(h9(struct socket *sock, struct socket **newsock, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjsuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjouubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjouubh)}(hhh]j9)}(hsocketh]hsocket}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j jYusbc.kernel_acceptasbuh1hhjouubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjouubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjouubj9)}(hsockh]hsock}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjouubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkuubj )}(hstruct socket **newsockh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hsocketh]hsocket}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]juc.kernel_acceptasbuh1hhjuubj")}(h h]h }(hj!vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hj/vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h*}(hj{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjY{hMhj@{hhubjg)}(hhh]jl)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(hj{|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjx|hhubah}(h]h ]h"]h$]h&]uh1jfhj@{hhhjY{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address holder **Description** Fills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](jl)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj|ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj|h]hstruct socket *sock}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj|ubj)}(hhh]jl)}(hsocketh]hsocket}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj|ubj)}(h)``struct sockaddr *addr`` address holder h](j)}(h``struct sockaddr *addr``h]j)}(hj|h]hstruct sockaddr *addr}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj|ubj)}(hhh]jl)}(haddress holderh]haddress holder}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj }hMhj }ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj }hMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubjl)}(h**Description**h]j)}(hj0}h]h Description}(hj2}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.}ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj|ubj)}(hFills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h]jl)}(hFills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](h Fills the }(hjJ}hhhNhNubj)}(h**addr**h]haddr}(hjR}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ}ubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hjJ}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjF}ubah}(h]h ]h"]h$]h&]uh1jhjj}hMhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_getpeername (C function)c.kernel_getpeernamehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCint kernel_getpeername (struct socket *sock, struct sockaddr *addr)h]j )}(hBint kernel_getpeername(struct socket *sock, struct sockaddr *addr)h](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hMubj3)}(hkernel_getpeernameh]j9)}(hkernel_getpeernameh]hkernel_getpeername}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hMubj )}(h,(struct socket *sock, struct sockaddr *addr)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hsocketh]hsocket}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j j}sbc.kernel_getpeernameasbuh1hhj}ubj")}(h h]h }(hj ~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hsockh]hsock}(hj'~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hstruct sockaddr *addrh](j)}(hjh]hstruct}(hj@~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<~ubj")}(h h]h }(hjM~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<~ubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hj^~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`~modnameN classnameNj j )}j ]j~c.kernel_getpeernameasbuh1hhj<~ubj")}(h h]h }(hj|~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<~ubj9)}(haddrh]haddr}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhj}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hMhj}hhubjg)}(hhh]jl)}(hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h frag_sizeh]h frag_size}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj،ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjshM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshM7ubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshM7hj[hhubjg)}(hhh]jl)}(hbuild a network bufferh]hbuild a network buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhjshM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXG**Parameters** ``void *data`` data buffer provided by caller ``unsigned int frag_size`` size of data **Description** Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment. Returns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjōh]h void *data}(hjǍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÍubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjubj)}(hhh]jl)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjލhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڍhM8hjۍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڍhM8hjubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hjh]hunsigned int frag_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjubj)}(hhh]jl)}(h size of datah]h size of data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubjl)}(h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.h]h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjubjl)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hj^hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjhh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hj^ubh on success, }(hj^hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh on allocation failure.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__alloc_skb (C function) c.__alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUstruct sk_buff * __alloc_skb (unsigned int size, gfp_t gfp_mask, int flags, int node)h]j )}(hSstruct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hjh]hstruct}(hjŽhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjЎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjώhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjގubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __alloc_skbsb c.__alloc_skbasbuh1hhjhhhjώhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjώhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjώhMubj3)}(h __alloc_skbh]j9)}(hjh]h __alloc_skb}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjώhMubj )}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubjM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hsizeh]hsize}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.__alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h int flagsh](jM )}(hinth]hint}(hjՏhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjяubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjяubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjяubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hint nodeh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnodeh]hnode}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjώhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjώhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjώhMhjhhubjg)}(hhh]jl)}(hallocate a network bufferh]hallocate a network buffer}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjώhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``unsigned int size`` size to allocate ``gfp_t gfp_mask`` allocation mask ``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback ``int node`` numa node to allocate memory on **Description** Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hsize to allocateh]hsize to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjʐh]hgfp_t gfp_mask}(hj̐hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȐubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjĐubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߐhMhjubah}(h]h ]h"]h$]h&]uh1jhjĐubeh}(h]h ]h"]h$]h&]uh1jhjߐhMhjubj)}(h``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writebackh]hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hj=h]hint node}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7ubj)}(hhh]jl)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(hX,Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jl)}(hAllocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hj֑hhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjޑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֑ubh of }(hj֑hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֑ubh.}(hj֑hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netdev_alloc_skb (C function)c.__netdev_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h^struct sk_buff * __netdev_alloc_skb (struct net_device *dev, unsigned int len, gfp_t gfp_mask)h]j )}(h\struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj<hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j __netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhj+hhhj<hMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj<hMubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+hhhj<hMubj3)}(h__netdev_alloc_skbh]j9)}(hjlh]h__netdev_alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj<hMubj )}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjǒhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĒubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjɒmodnameN classnameNj j )}j ]jjc.__netdev_alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jjc.__netdev_alloc_skbasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj<hMubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMhj$hhubjg)}(hhh]jl)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjÓhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjۓjjۓjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjߓubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hj=h]hunsigned int len}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7ubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(hjvh]hgfp_t gfp_mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjpubj)}(hhh]jl)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjߓubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjߓubj)}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hj˔hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjՔh]hsk_buff}(hjהhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjӔubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj˔ubh and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hj˔hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjǔubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjǔubeh}(h]h ]h"]h$]h&]uh1jhjhMhjߓubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_alloc_skb (C function)c.napi_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hLstruct sk_buff * napi_alloc_skb (struct napi_struct *napi, unsigned int len)h]j )}(hJstruct sk_buff *napi_alloc_skb(struct napi_struct *napi, unsigned int len)h](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjMhM;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j napi_alloc_skbsbc.napi_alloc_skbasbuh1hhj<hhhjMhM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjMhM;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<hhhjMhM;ubj3)}(hnapi_alloc_skbh]j9)}(hj}h]hnapi_alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjMhM;ubj )}(h,(struct napi_struct *napi, unsigned int len)h](j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjǕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjؕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՕubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڕmodnameN classnameNj j )}j ]j{c.napi_alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(hlenh]hlen}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjMhM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjMhM;ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhM;hj5hhubjg)}(hhh]jl)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjhhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhjMhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate **Description** Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hj͖h]hstruct napi_struct *napi}(hjϖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˖ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjǖubj)}(hhh]jl)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjǖubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjĖubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjĖubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjubj)}(hX1Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.'h](jl)}(hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.h]hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjWubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh( is returned if there is no free memory.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjWubeh}(h]h ]h"]h$]h&]uh1jhjihM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__kfree_skb (C function) c.__kfree_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h&void __kfree_skb (struct sk_buff *skb)h]j )}(h%void __kfree_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h __kfree_skbh]j9)}(h __kfree_skbh]h __kfree_skb}(hjΗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʗubah}(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 reftargetj modnameN classnameNj j )}j ]j )}j jЗsb c.__kfree_skbasbuh1hhjubj")}(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)}(hskbh]hskb}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hprivate functionh]hprivate function}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(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}(hjǘhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjØhMhjĘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjØhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]jl)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_skb_reason_drop (C function)c.sk_skb_reason_drophNtauh1hhj" hhhNhNubh)}(hhh](j)}(hovoid __fix_address sk_skb_reason_drop (const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]j )}(hnvoid __fix_address sk_skb_reason_drop(const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMubh __fix_address}(hj4hhhNhNubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMubj3)}(hsk_skb_reason_droph]j9)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjFhMubj )}(hI(const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj™modnameN classnameNj j )}j ]j )}j jmsbc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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 ]jܙc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jܙc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hjΚhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjFhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjFhMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhj-hhubjg)}(hhh]jl)}(h#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&]uh1jfhj-hhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sock *sk`` the socket to receive **skb**, or NULL if not applicable ``struct sk_buff *skb`` buffer to free ``enum skb_drop_reason reason`` reason why this skb is dropped **Description** Drop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hS``const struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``const struct sock *sk``h]j)}(hj9h]hconst struct sock *sk}(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)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjRhhhNhNubj)}(h**skb**h]hskb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh, or NULL if not applicable}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj0ubj)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj~ubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjh]henum skb_drop_reason reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hj֛hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjқhMhjӛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjқhMhj0ubeh}(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}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhMubj3)}(h skb_tx_errorh]j9)}(h skb_tx_errorh]h skb_tx_error}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsbc.skb_tx_errorasbuh1hhjubj")}(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 hj|ubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhMubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhj<hhubjg)}(hhh]jl)}(hreport an sk_buff xmit errorh]hreport an sk_buff xmit error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer that triggered an error **Description** Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](jl)}(h**Parameters**h]j)}(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)}(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 that triggered an errorh]hbuffer that triggered an error}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj#ubj)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]jl)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hconsume_skb (C function) c.consume_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h&void consume_skb (struct sk_buff *skb)h]j )}(h%void consume_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjҝhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjΝhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΝhhhjhMubj3)}(h consume_skbh]j9)}(h consume_skbh]h consume_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjΝhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(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_skbasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjΝhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjʝhhhjhMubah}(h]jŝah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjǝhhubjg)}(hhh]jl)}(hfree an skbuffh]hfree an skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjǝhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(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)}(hbuffer to freeh]hbuffer to free}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]jl)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that}(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&]uh1jhj6hMhjubeh}(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 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)}(hnapi_consume_skbh]j9)}(hnapi_consume_skbh]hnapi_consume_skb}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjkhMubj )}(h!(struct sk_buff *skb, int budget)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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.napi_consume_skbasbuh1hhjubj")}(h h]h }(hj؟hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int budgeth](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)}(hbudgeth]hbudget}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(h2consume skb in NAPI context, try to feed skb cacheh]h2consume skb in NAPI context, try to feed skb cache}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj" 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)}(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 *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int budget`` NAPI budget h](j)}(h``int budget``h]j)}(hj̠h]h int budget}(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 NAPI budgeth]h NAPI budget}(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&]uh1jhjnubjl)}(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.chMhjnubjl)}(hNon-zero **budget** must come from the **budget** argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole.h](h Non-zero }(hjhhhNhNubj)}(h **budget**h]hbudget}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must come from the }(hjhhhNhNubj)}(h **budget**h]hbudget}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjnubjl)}(hdPassing **budget** of 0 is safe from any context, it turns this function into dev_consume_skb_any().h](hPassing }(hjPhhhNhNubj)}(h **budget**h]hbudget}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhR of 0 is safe from any context, it turns this function into dev_consume_skb_any().}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_for_msg (C function)c.alloc_skb_for_msghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct sk_buff * alloc_skb_for_msg (struct sk_buff *first)h]j )}(h8struct sk_buff *alloc_skb_for_msg(struct sk_buff *first)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMcubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j alloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjhhhjhMcubj")}(h h]h }(hjѡhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMcubj )}(hj h]h*}(hjߡhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMcubj3)}(halloc_skb_for_msgh]j9)}(hjΡh]halloc_skb_for_msg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMcubj )}(h(struct sk_buff *first)h]j )}(hstruct sk_buff *firsth](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.alloc_skb_for_msgasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfirsth]hfirst}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMcubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMchjhhubjg)}(hhh]jl)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMghjubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hj͢h]hstruct sk_buff *first}(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)}(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.chMdhjubah}(h]h ]h"]h$]h&]uh1jhjǢubeh}(h]h ]h"]h$]h&]uh1jhjhMihjĢubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_morph (C function) c.skb_morphhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hEstruct sk_buff * skb_morph (struct sk_buff *dst, struct sk_buff *src)h]j )}(hCstruct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)h](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj4hM|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 )}j skb_morphsb c.skb_morphasbuh1hhj#hhhj4hM|ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj4hM|ubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#hhhj4hM|ubj3)}(h skb_morphh]j9)}(hjdh]h skb_morph}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj4hM|ubj )}(h*(struct sk_buff *dst, struct sk_buff *src)h](j )}(hstruct sk_buff *dsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jb c.skb_morphasbuh1hhjubj")}(h h]h }(hjݣhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *srch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]jb c.skb_morphasbuh1hhj 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)}(hsrch]hsrc}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj#hhhj4hM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hM|ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hM|hjhhubjg)}(hhh]jl)}(hmorph one skb into anotherh]hmorph one skb into another}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj4hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hjӤh]hstruct sk_buff *dst}(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)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjͤubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjʤubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hj h]hstruct sk_buff *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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~hjʤubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hyThis is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jl)}(hRThis is identical to skb_clone except that the target skb is supplied by the user.h]hRThis is identical to skb_clone except that the target skb is supplied by the user.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj]ubjl)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjphhhNhNubah}(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&]uh1jhjohMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_ubufs (C function)c.skb_copy_ubufshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8int skb_copy_ubufs (struct sk_buff *skb, gfp_t gfp_mask)h]j )}(h7int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_copy_ubufsh]j9)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjƥhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj¥ubah}(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&]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 jȥsbc.skb_copy_ubufsasbuh1hhjޥ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 )}(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 ]jc.skb_copy_ubufsasbuh1hhjPubj")}(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 hjڥubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjŦjjŦjjjuh1hhhhj" 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&]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 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}(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&]uh1jhjɦubjl)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjɦubj)}(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.chMhjxubjl)}(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.chMhjxubjl)}(h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h]h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjɦubeh}(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&]uh1jhjݧhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݧhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_clonesb c.skb_cloneasbuh1hhjݧhhhjhMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݧhhhjhMubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjݧhhhjhMubj3)}(h skb_cloneh]j9)}(hjh]h skb_clone}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݧhhhjhMubj )}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j c.skb_cloneasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(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.skb_cloneasbuh1hhjǨubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǨubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǨubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubeh}(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)}(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&]uh1jfhj֧hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority **Description** Duplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hj@ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjeh]hstruct sk_buff *skb}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj_ubj)}(hhh]jl)}(hbuffer to cloneh]hbuffer to clone}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\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.chM hjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hj٩h]h Description}(hj۩hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjשubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hj@ubj)}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jl)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(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. 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& otherwise the new buffer is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM!hjubjl)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(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.chM&hjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy (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&]uh1jhjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhMkubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_copysb c.skb_copyasbuh1hhjzhhhjhMkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhMkubj )}(hj h]h*}(hj̪hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzhhhjhMkubj3)}(hskb_copyh]j9)}(hjh]hskb_copy}(hjݪhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj٪ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhMkubj )}(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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjhMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhMkubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMkhjshhubjg)}(hhh]jl)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjܫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhj٫hhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhMkubeh}(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.chMohjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMlhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMlhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjVh]hgfp_t gfp_mask}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhjPubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMmhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMmhjubeh}(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.chMohjubj)}(hXfMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jl)}(hXMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhjubh} and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj׬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjҬhMnhjubjl)}(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.chMshjubh to linear one, so that }(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_buffuh1hhjhMshjubh 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&]uh1jkhjhMshjubeh}(h]h ]h"]h$]h&]uh1jhjҬhMnhjubeh}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjwhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjfhhhjwhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjwhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfhhhjwhMubj3)}(h__pskb_copy_fcloneh]j9)}(hjh]h__pskb_copy_fclone}(hjɭhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŭubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjwhMubj )}(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 ]jc.__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}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjܭubj )}(h int headroomh](jM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hheadroomh]hheadroom}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(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_copy_fcloneasbuh1hhjubj")}(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ܭubj )}(h bool fcloneh](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)}(hfcloneh]hfclone}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjͮubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjܭubeh}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhjwhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjwhMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhMhj_hhubjg)}(hhh]jl)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhjwhMubeh}(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)}(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.chMhj2ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjWh]hstruct sk_buff *skb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjh]h int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hheadroom of new skbh]hheadroom of new skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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&]uh1jkhjޯhMhj߯ubah}(h]h ]h"]h$]h&]uh1jhjïubeh}(h]h ]h"]h$]h&]uh1jhjޯhMhjNubj)}(h``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned h](j)}(h``bool fclone``h]j)}(hjh]h bool fclone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be clonedh]hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubeh}(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.chMhj2ubj)}(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 }(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 and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hjXhhhNhNubh)}(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_buffuh1hhjhMhjXubh8 and needs private copy of the header to alter. Returns }(hjXhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjTubah}(h]h ]h"]h$]h&]uh1jhjhMhj2ubeh}(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&]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.pskb_expand_headasbuh1hhjubj")}(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 )}(h int nheadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnheadh]hnhead}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ntailh](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)}(hntailh]hntail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjűubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j\c.pskb_expand_headasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(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 j )}j ]j\c.pskb_expand_headasbjsk_buffuh1hhjhKhjWubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjThhubah}(h]h ]h"]h$]h&]uh1jfhjڰhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXS**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int nhead`` room to add at head ``int ntail`` room to add at tail ``gfp_t gfp_mask`` allocation priority **Description** Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. **Note** If you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(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 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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hj.h]h int ntail}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj(ubj)}(hhh]jl)}(hroom to add at tailh]hroom to add at tail}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjgh]hgfp_t gfp_mask}(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)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(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)}(hXExpands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. h](jl)}(hX-Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed.h](h'Expands (or creates identical copy, if }(hjhhhNhNubj)}(h **nhead**h]hnhead}(hjijhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **ntail**h]hntail}(hjֳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are zero) header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh itself is not changed. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj h]hsk_buff}(hj"hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubhv MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCh]hsk_buff}(hjEhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(hIf you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](j)}(h@If you skb_push() the start of the buffer after reallocating theh]h@If you skb_push() the start of the buffer after reallocating the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](hbheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_expand_head (C function)c.skb_expand_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hMstruct sk_buff * skb_expand_head (struct sk_buff *skb, unsigned int headroom)h]j )}(hKstruct sk_buff *skb_expand_head(struct sk_buff *skb, unsigned int headroom)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM| ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM| ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j skb_expand_headsbc.skb_expand_headasbuh1hhjhhhj hM| ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM| ubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj hM| ubj3)}(hskb_expand_headh]j9)}(hjPh]hskb_expand_head}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM| 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jNc.skb_expand_headasbuh1hhjubj")}(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 )}(hunsigned int headroomh](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)}(hheadroomh]hheadroom}(hj5hhhNhNubah}(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 jYjZhj hhhj hM| ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM| hjhhubjg)}(hhh]jl)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj_hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjih]hsk_buff}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jNc.skb_expand_headasbjsk_buffuh1hhjhKhj_ubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM| hj\hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM| ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXo**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom **Description** Unlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(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 reallocateh]hbuffer to reallocate}(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 headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ hjubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(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)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jl)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.h]hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjNubjl)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjNubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_expand (C function)c.skb_copy_expandhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hnstruct sk_buff * skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h]j )}(hlstruct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j)}(hjh]hstruct}(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_copy_expandsbc.skb_copy_expandasbuh1hhjhhhjhM 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)}(hskb_copy_expandh]j9)}(hjӷh]hskb_copy_expand}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM 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&]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)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]jѷc.skb_copy_expandasbuh1hhj 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)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newheadroomh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h newheadroomh]h newheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint newtailroomh](jM )}(hinth]hint}(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 newtailroomh]h newtailroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̸ubeh}(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 reftargetj modnameN 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}(hj4hhhNhNubah}(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)}(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 hj[hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int newheadroom`` new free bytes at head ``int newtailroom`` new free bytes at tail ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjzubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjعh]hint newheadroom}(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)}(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 hjubj)}(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 hj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hjubj)}(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.chM hjDubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM hjubeh}(h]h ]h"]h$]h&]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)}(hXMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jl)}(hcMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubh; and its data and while doing so allocate additional space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjƺhM hjubjl)}(hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns }(hjѺhhhNhNubj)}(h``NULL``h]hNULL}(hjٺhhhNhNubah}(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 hjubjl)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhjƺhM hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhM ubj3)}(h __skb_padh]j9)}(h __skb_padh]h __skb_pad}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhM ubj )}(h2(struct sk_buff *skb, int pad, bool free_on_error)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.__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 hjnubj )}(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 hjnubj )}(hbool free_on_errorh](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)}(h free_on_errorh]h free_on_error}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhjGhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjGhM ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM hj.hhubjg)}(hhh]jl)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj_hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad ``bool free_on_error`` free buffer on error **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj~ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjܼh]hint pad}(hj޼hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڼubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjּubj)}(hhh]jl)}(h space to padh]h space to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjּubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hfree buffer on errorh]hfree buffer on error}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjfubjl)}(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 }(hjyhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh is true.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjfubeh}(h]h ]h"]h$]h&]uh1jhjxhM 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}(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 }(hjϽhhhNhNubah}(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)}(hpskb_puth]j9)}(hpskb_puth]hpskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjνhM" ubj )}(h4(struct sk_buff *skb, struct sk_buff *tail, 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 jsb c.pskb_putasbuh1hhjubj")}(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 )}(hstruct sk_buff *tailh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jD c.pskb_putasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjƾhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(htailh]htail}(hjӾhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(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 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)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM" hj/hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjνhM" ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj" 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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM& hjNubj)}(hhh](j)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjsh]hstruct sk_buff *skb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM# hjmubj)}(hhh]jl)}(hstart of the buffer to useh]hstart of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM# hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM# hjjubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hjh]hstruct sk_buff *tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$ hjubj)}(hhh]jl)}(h"tail fragment of the buffer to useh]h"tail fragment of the buffer to use}(hjſhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM$ hj¿ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$ hjjubj)}(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% hj߿ubj)}(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&]uh1jhj߿ubeh}(h]h ]h"]h$]h&]uh1jhjhM% hjjubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM' hjNubj)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](hOThis function extends the used data area of the potentially fragmented buffer. }(hj:hhhNhNubj)}(h**tail**h]htail}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh must be the last fragment of }(hj:hhhNhNubj)}(h**skb**h]hskb}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh -- or }(hj:hhhNhNubj)}(h**skb**h]hskb}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM& hj6ubah}(h]h ]h"]h$]h&]uh1jhj~hM& hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put (C function) c.skb_puthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void * skb_put (struct sk_buff *skb, unsigned int len)h]j )}(h4void *skb_put(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9 ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9 ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM9 ubj3)}(hskb_puth]j9)}(hskb_puth]hskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM9 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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_putasbuh1hhjubj")}(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubjM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(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 hjhhhjhM9 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM9 ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM9 hjhhubjg)}(hhh]jl)}(hadd data to a bufferh]hadd data to a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9 hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9 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.chM= hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM: hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM: hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM: hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hj=h]hunsigned int len}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM; hj7ubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM; hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM; hjubeh}(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.chM= hjubj)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM< hjubah}(h]h ]h"]h$]h&]uh1jhjhM< hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push (C function) c.skb_pushhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h7void * skb_push (struct sk_buff *skb, unsigned int len)h]j )}(h5void *skb_push(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMN ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMN ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMN ubj3)}(hskb_pushh]j9)}(hskb_pushh]hskb_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMN ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsb c.skb_pushasbuh1hhj ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 hjhhhjhMN ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMN ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMN hjhhubjg)}(hhh]jl)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMN hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMN 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}(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.chMR hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hj&h]hstruct sk_buff *skb}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMO hj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMO hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hj_h]hunsigned int len}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMP hjYubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMP hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMP 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)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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_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.chMa ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMa ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMa ubj3)}(hskb_pullh]j9)}(hskb_pullh]hskb_pull}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMa ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsb c.skb_pullasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(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 hjhhhjhMa ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMa ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMa 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.chMa hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMa 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)}(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.chMe hj#ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use 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.chMb hjBubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMb hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMb hj?ubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMc hj{ubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMc hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMc hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMe hj#ubj)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]jl)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMd hjubah}(h]h ]h"]h$]h&]uh1jhjhMd hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_data (C function)c.skb_pull_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void * skb_pull_data (struct sk_buff *skb, size_t len)h]j )}(h4void *skb_pull_data(struct sk_buff *skb, size_t len)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMq ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMq ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMq ubj3)}(h skb_pull_datah]j9)}(h skb_pull_datah]h skb_pull_data}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMq ubj )}(h!(struct sk_buff *skb, size_t len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j;sbc.skb_pull_dataasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_pull_dataasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMq ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMq ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMq 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMq hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" 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)}(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.chMu hj<ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use 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.chMs hj[ubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMs hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMs hjXubj)}(h(``size_t len`` amount of data to remove h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt hjubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMt 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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMv hj<ubj)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]jl)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMu hjubah}(h]h ]h"]h$]h&]uh1jhjhMu hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_trim (C function) c.skb_trimhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5void skb_trim (struct sk_buff *skb, unsigned int len)h]j )}(h4void skb_trim(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj2hM ubj3)}(hskb_trimh]j9)}(hskb_trimh]hskb_trim}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj2hM ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jGsb c.skb_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)}(hskbh]hskb}(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 hhhj2hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj2hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM hjhhubjg)}(hhh]jl)}(hremove end from a bufferh]hremove end from a buffer}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj2hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhj" 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)}(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.chM hjQubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjvh]hstruct sk_buff *skb}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjpubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hjmubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjmubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjQubj)}(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 hjQubeh}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhM ubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5hhhjGhM ubj3)}(h__pskb_pull_tailh]j9)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhM ubj )}(h (struct sk_buff *skb, int delta)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisbc.__pskb_pull_tailasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 hj5hhhjGhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjGhM ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM hj.hhubjg)}(hhh]jl)}(hadvance tail of skb headerh]hadvance tail of skb header}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhj" 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&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjvubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubj)}(h.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(hjh]h int delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hnumber of bytes to advance tailh]hnumber of bytes to advance tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjWubj)}(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 }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hM hjubjl)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(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.chM$ hj<ubh MUST have reference count of 1.}(hj<hhhNhNubeh}(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 }(hjjhhhNhNubj)}(h``NULL``h]hNULL}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh (and }(hjjhhhNhNubh)}(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& hjjubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM& hjubjl)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM) hjubeh}(h]h ]h"]h$]h&]uh1jhj1hM hjWubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(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 jsbc.skb_copy_bitsasbuh1hhjubj")}(h h]h }(hjyhhhNhNubah}(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 offseth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hlenh]hlen}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjghhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` source skb ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h source skbh]h source skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjVh]hint len}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjPubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hCopy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jl)}(hQCopy the specified number of bytes from the source skb to the destination buffer.h]hQCopy the specified number of bytes from the source skb to the destination buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]j)}(hxCAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](j)}(h CAUTION ! :h]h CAUTION ! :}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h]hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_store_bits (C function)c.skb_store_bitshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint skb_store_bits (struct sk_buff *skb, int offset, const void *from, int len)h]j )}(hNint skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMg ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj(hMg ubj3)}(hskb_store_bitsh]j9)}(hskb_store_bitsh]hskb_store_bits}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj(hMg ubj )}(h<(struct sk_buff *skb, int offset, const void *from, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j j=sbc.skb_store_bitsasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubj )}(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 hjOubj )}(hconst void *fromh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfromh]hfrom}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubj )}(hint lenh](jM )}(hinth]hint}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj9)}(hlenh]hlen}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj(hMg ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj(hMg ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hMg hjhhubjg)}(hhh]jl)}(h$store bits from kernel buffer to skbh]h$store bits from kernel buffer to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMg hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj(hMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXu**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk hjubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMh hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMh hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMh 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.chMi hjubj)}(hhh]jl)}(hoffset in destinationh]hoffset in destination}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMi hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMi hjubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hjTh]hconst void *from}(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.chMj hjNubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMj hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMj hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk hjubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMk hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMk 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.chMm hjubj)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]jl)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMl hjubah}(h]h ]h"]h$]h&]uh1jhjhMl hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_zerocopy (C function)c.skb_zerocopyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint skb_zerocopy (struct sk_buff *to, struct sk_buff *from, int len, int hlen)h]j )}(hMint skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj%hM ubj3)}(h skb_zerocopyh]j9)}(h skb_zerocopyh]h skb_zerocopy}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hM ubj )}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j )}(hstruct sk_buff *toh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(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 j:sbc.skb_zerocopyasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_zerocopyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hint lenh](jM )}(hinth]hint}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hlenh]hlen}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hint hlenh](jM )}(hinth]hint}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hhlenh]hhlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hM ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hM hj hhubjg)}(hhh]jl)}(hZero copy skb to skbh]hZero copy skb to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj%hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *to`` destination buffer ``struct sk_buff *from`` source buffer ``int len`` number of bytes to copy from source buffer ``int hlen`` size of linear headroom in destination buffer **Description** Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff *to`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``struct sk_buff *from`` source buffer h](j)}(h``struct sk_buff *from``h]j)}(hj+h]hstruct sk_buff *from}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(hjdh]hint len}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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&]uh1jkhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hjh]hint hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hXgCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jl)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hjhhhNhNubhtitle_reference)}(h`len`h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h`from`h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h`to`h]hto}(hj hhhNhNubah}(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 }(hj9hhhNhNubj)}(h`hlen`h]hhlen}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hj9hhhNhNubj)}(h`to`h]hto}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh buffer.}(hj9hhhNhNubeh}(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 }(hjlhhhNhNubj)}(h**from**h]hfrom}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubhT due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue (C function) c.skb_dequeuehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8struct sk_buff * skb_dequeue (struct sk_buff_head *list)h]j )}(h6struct sk_buff *skb_dequeue(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_dequeuesb c.skb_dequeueasbuh1hhjhhhjhMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMuubj3)}(h skb_dequeueh]j9)}(hjh]h skb_dequeue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMuubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j c.skb_dequeueasbuh1hhj)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)}(hlisth]hlist}(hjhhhNhNubah}(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)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubj)}(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.chMvhjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(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.chMxhjubj)}(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 }(hjDhhhNhNubj)}(h``NULL``h]hNULL}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh if the list is empty.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhj@ubah}(h]h ]h"]h$]h&]uh1jhjdhMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue_tail (C function)c.skb_dequeue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=struct sk_buff * skb_dequeue_tail (struct sk_buff_head *list)h]j )}(h;struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_dequeue_tailh]j9)}(hjh]hskb_dequeue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]jc.skb_dequeue_tailasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_purge_reason (C function)c.skb_queue_purge_reasonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hTvoid skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]j )}(hSvoid skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjchhhNhNubah}(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 }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjqhMubj3)}(hskb_queue_purge_reasonh]j9)}(hskb_queue_purge_reasonh]hskb_queue_purge_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjqhMubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]jc.skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjqhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjqhMubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhMhjXhhubjg)}(hhh]jl)}(h empty a listh]h empty a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX\**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjh]henum skb_drop_reason reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h]jl)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](hDelete all buffers on an }(hjUhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj_h]hsk_buff}(hjahhhNhNubah}(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.chMhjUubh 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.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj|hMhjQubah}(h]h ]h"]h$]h&]uh1jhj|hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_head (C function)c.skb_queue_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hFvoid skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hEvoid skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_queue_headh]j9)}(hskb_queue_headh]hskb_queue_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.skb_queue_headasbuh1hhjubj")}(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)}(hlisth]hlist}(hjChhhNhNubah}(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&]uh1jhjXubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j$c.skb_queue_headasbuh1hhjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to useh]h list to use}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjWh]hstruct sk_buff *newsk}(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.chMhjQubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubeh}(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)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](huQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_tail (C function)c.skb_queue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hFvoid skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hEvoid skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMubj3)}(hskb_queue_tailh]j9)}(hskb_queue_tailh]hskb_queue_tail}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.skb_queue_tailasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_queue_tailasbuh1hhjubj")}(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)}(hnewskh]hnewsk}(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)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj" hNhNubj)}(hX`**Parameters** ``struct sk_buff_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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj_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&]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}(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 *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&]uh1jhjhMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj_ubj)}(hQueue a buffer at the 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&]uh1jkhj9hMhjubjl)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj_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}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMubj3)}(h skb_unlinkh]j9)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjhMubj )}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_unlinkasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(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 sk_buff_headh]h sk_buff_head}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j c.skb_unlinkasbuh1hhj$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)}(hlisth]hlist}(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)}(hremove a buffer from a listh]hremove a buffer from a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX***Parameters** ``struct sk_buff *skb`` buffer to remove ``struct sk_buff_head *list`` list to use **Description** Remove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to remove h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to removeh]hbuffer to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj#h]hstruct sk_buff_head *list}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to useh]h list to use}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hRemove 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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjtubjl)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_append (C function) c.skb_appendhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hWvoid skb_append (struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h]j )}(hVvoid skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM'ubj3)}(h skb_appendh]j9)}(h skb_appendh]h skb_append}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM'ubj )}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j )}(hstruct sk_buff *oldh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_appendasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(holdh]hold}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j3 c.skb_appendasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(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 ]j3 c.skb_appendasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM'hjhhubjg)}(hhh]jl)}(happend a bufferh]happend a buffer}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjxubj)}(hhh](j)}(h/``struct sk_buff *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hjh]hstruct sk_buff *old}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjubj)}(hhh]jl)}(hbuffer to insert afterh]hbuffer to insert after}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h+``struct sk_buff *newsk`` buffer to insert h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hjubj)}(hhh]jl)}(hbuffer to inserth]hbuffer to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(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*hj ubj)}(hhh]jl)}(h list to useh]h list to use}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM*hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM*hjubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hjxubj)}(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.}(hjdhhhNhNubah}(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&]uh1jhjrhM+hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_split (C function) c.skb_splithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hIvoid skb_split (struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h]j )}(hHvoid skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM|ubj3)}(h skb_splith]j9)}(h skb_splith]h skb_split}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM|ubj )}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_splitasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skb1h](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 c.skb_splitasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hskb1h]hskb1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const u32 lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_splitasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM|ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM|hjhhubjg)}(hhh]jl)}(h0Split fragmented skb to two parts at length len.h]h0Split fragmented skb to two parts at length len.}(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&]uh1jfhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj" 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)}(hjNh]h Parameters}(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.chMhjHubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjmh]hstruct sk_buff *skb}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjgubj)}(hhh]jl)}(hthe buffer to splith]hthe buffer to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjdubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjh]hstruct sk_buff *skb1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjubj)}(hhh]jl)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjdubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hnew length for skbh]hnew length for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhM$ubj3)}(hskb_prepare_seq_readh]j9)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhM$ubj )}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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\sbc.skb_prepare_seq_readasbuh1hhjrubj")}(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 )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(hunsigned int toh](jM )}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubjM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(htoh]hto}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_prepare_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhjGhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjGhM$ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM$hj.hhubjg)}(hhh]jl)}(h%Prepare a sequential read of skb datah]h%Prepare a sequential read of skb data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$hjhhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjGhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhj" hNhNubj)}(hXY**Parameters** ``struct sk_buff *skb`` the buffer to read ``unsigned int from`` lower offset of data to be read ``unsigned int to`` upper offset of data to be read ``struct skb_seq_state *st`` state variable **Description** Initializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hj'ubj)}(hhh](j)}(h+``struct sk_buff *skb`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hjLh]hstruct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM%hjFubj)}(hhh]jl)}(hthe buffer to readh]hthe buffer to read}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahM%hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM%hjCubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjubj)}(hhh]jl)}(hlower offset of data to be readh]hlower offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjCubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjubj)}(hhh]jl)}(hupper offset of data to be readh]hupper offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjCubj)}(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&]uh1jkhj hM(hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM(hjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hj'ubjl)}(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.}(hjHhhhNhNubah}(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_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}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhQ/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!hjshhhjhM:ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhjhM:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjhM:ubj3)}(h skb_seq_readh]j9)}(h skb_seq_readh]h skb_seq_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhM:ubj )}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j )}(hunsigned int consumedh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hconsumedh]hconsumed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 **datah](j)}(hj h]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 reftargetjAmodnameN classnameNj j )}j ]j )}j jsbc.skb_seq_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 hjubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[c.skb_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjhM:ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhM:ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM:hjlhhubjg)}(hhh]jl)}(hSequentially read skb datah]hSequentially read skb data}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" 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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hj=ubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjbh]hunsigned int consumed}(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-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&]uh1jkhjwhM;hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM;hjYubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hjh]hconst u8 **data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjubj)}(hhh]jl)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjYubj)}(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=hjYubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hj=ubjl)}(hXReads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.h](hReads a block of skb data at }(hj%hhhNhNubj)}(h **consumed**h]hconsumed}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hj%hhhNhNubj)}(h**data**h]hdata}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hj=ubjl)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjXhhhNhNubj)}(h **consumed**h]hconsumed}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh 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.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhj=ubj)}(hhh](j)}(hNote 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. h](j)}(hANote 1: The size of each block of data returned can be arbitrary,h]hANote 1: The size of each block of data returned can be arbitrary,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMKhj|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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjyubj)}(hNote 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](j)}(h;Note 2: Fragment lists within fragments are not implementedh]h;Note 2: Fragment lists within fragments are not implemented}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhjubj)}(hhh]jl)}(hOat the moment, state->root_skb could be replaced with a stack for this purpose.h]hOat the moment, state->root_skb could be replaced with a stack for this purpose.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjyubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_abort_seq_read (C function)c.skb_abort_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2void skb_abort_seq_read (struct skb_seq_state *st)h]j )}(h1void skb_abort_seq_read(struct skb_seq_state *st)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_abort_seq_readh]j9)}(hskb_abort_seq_readh]hskb_abort_seq_read}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct skb_seq_state *st)h]j )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(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_abort_seq_readasbuh1hhj<ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct skb_seq_state *st`` state variable **Description** Must be called if skb_seq_read() was not called until it returned 0.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjh]hstruct skb_seq_state *st}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj?h]h Description}(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.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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_seq_read (C function)c.skb_copy_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint skb_copy_seq_read (struct skb_seq_state *st, int offset, void *to, int len)h]j )}(hNint skb_copy_seq_read(struct skb_seq_state *st, int offset, void *to, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_copy_seq_readh]j9)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_copy_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int offseth](jM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hoffseth]hoffset}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhjhMubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjyhhubjg)}(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&]uh1jfhjyhhhjhMubeh}(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.chMhj ubj)}(hhh](j)}(h2``struct skb_seq_state *st`` source skb_seq_state h](j)}(h``struct skb_seq_state *st``h]j)}(hj1h]hstruct skb_seq_state *st}(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.chMhj+ubj)}(hhh]jl)}(hsource skb_seq_stateh]hsource skb_seq_state}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjjh]h int offset}(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)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(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&]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 ubjl)}(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 }(hj-hhhNhNubj)}(h**len**h]hlen}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh bytes from }(hj-hhhNhNubj)}(h **offset**h]hoffset}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh bytes into the source }(hj-hhhNhNubj)}(h**st**h]hst}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh to the destination buffer }(hj-hhhNhNubj)}(h**to**h]hto}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh. }(hj-hhhNhNubj)}(h`offset`h]hoffset}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hj-hhhNhNubj)}(h`st`h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh should be reset first.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(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}(hj hhhNhNubah}(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}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(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}(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_find_textasbuh1hhjDubj")}(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 )}(hunsigned int fromh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hunsigned int toh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htoh]hto}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hstruct ts_config *configh](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 ts_configh]h ts_config}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]jc.skb_find_textasbuh1hhjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hFind a text pattern in skb datah]hFind a text pattern in skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the buffer to look in ``unsigned int from`` search offset ``unsigned int to`` search limit ``struct ts_config *config`` textsearch configuration **Description** Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h.``struct sk_buff *skb`` the buffer to look in h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(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 buffer to look inh]hthe buffer to look in}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hjWh]hunsigned int from}(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.chMhjQubj)}(hhh]jl)}(h search offseth]h search offset}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h search limith]h search limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hjh]hstruct ts_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(htextsearch configurationh]htextsearch configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h]hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_rcsum (C function)c.skb_pull_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void * skb_pull_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h;void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjWhMubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEhhhjWhMubj3)}(hskb_pull_rcsumh]j9)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjWhMubj )}(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 jysbc.skb_pull_rcsumasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(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 hjEhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjWhMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhj>hhubjg)}(hhh]jl)}(h$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]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)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhjDhMhjubeh}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjxhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_segmentsb c.skb_segmentasbuh1hhjghhhjxhMubj")}(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 skb_segmenth]j9)}(hjh]h skb_segment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjxhMubj )}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j )}(hstruct sk_buff *head_skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_segmentasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhead_skbh]hhead_skb}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdev_features_t featuresh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j c.skb_segmentasbuh1hhjQubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhjxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX_**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) **Description** This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hjh]hstruct sk_buff *head_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to segmenth]hbuffer to segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hP``netdev_features_t features`` features for the output path (see dev->features) h](j)}(h``netdev_features_t features``h]j)}(hj(h]hnetdev_features_t features}(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)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(hjAhhhNhNubah}(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)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]jl)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_to_sgvec (C function)c.skb_to_sgvechNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSint skb_to_sgvec (struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h]j )}(hRint skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_to_sgvech]j9)}(h skb_to_sgvech]h skb_to_sgvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hB(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 jsbc.skb_to_sgvecasbuh1hhjubj")}(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct scatterlist *sgh](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 scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j)c.skb_to_sgvecasbuh1hhj]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)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int offseth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h/Fill a scatter-gather list from a socket bufferh]h/Fill a scatter-gather list from a socket buffer}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhj" 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)}(hjnh]h Parameters}(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.chMhjhubj)}(hhh](j)}(hJ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hjh]hstruct scatterlist *sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping h](j)}(h``int offset``h]j)}(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&]uh1jhjhMhjubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hj8h]hint len}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubj)}(hhh]jl)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhubj)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]jl)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_data (C function)c.skb_cow_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint skb_cow_data (struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h]j )}(hMint skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_cow_datah]j9)}(h skb_cow_datah]h skb_cow_data}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h=(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_cow_dataasbuh1hhjubj")}(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 )}(h int tailbitsh](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(htailbitsh]htailbits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff **trailerh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j9c.skb_cow_dataasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrailerh]htrailer}(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)}(h6Check that a socket buffer's data buffers are writableh]h8Check that a socket buffer’s data buffers are writable}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` 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)}(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)}(h4``struct sk_buff *skb`` The socket buffer to check. h](j)}(h``struct sk_buff *skb``h]j)}(hjuh]hstruct sk_buff *skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjoubj)}(hhh]jl)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjh]h int tailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h$Amount of trailing space to be addedh]h$Amount of trailing space to be added}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(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&]uh1jhjhMhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjPubj)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjJubjl)}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh2 is given, make sure that there is space to write }(hj]hhhNhNubj)}(h **tailbits**h]htailbits}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh5 bytes of data beyond current end of socket buffer. }(hj]hhhNhNubj)}(h **trailer**h]htrailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1(jhj]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.chMhjJubjl)}(htThe number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h]hvThe number of scatterlist elements required to completely map the COW’d and extended socket buffer will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjJubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_sk (C function)c.skb_clone_skhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3struct sk_buff * skb_clone_sk (struct sk_buff *skb)h]j )}(h1struct sk_buff *skb_clone_sk(struct sk_buff *skb)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_clone_sksbc.skb_clone_skasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h skb_clone_skh]j9)}(hjh]h skb_clone_sk}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]jc.skb_clone_skasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the skb to clone **Description** This function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb. When passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hthe skb to cloneh]hthe skb 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(hMhj 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&]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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h]hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_partial_csum_set (C function)c.skb_partial_csum_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCbool skb_partial_csum_set (struct sk_buff *skb, u16 start, u16 off)h]j )}(hBbool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_partial_csum_seth]j9)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h)(struct sk_buff *skb, u16 start, u16 off)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_partial_csum_setasbuh1hhjubj")}(h h]h }(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 u16 starth](h)}(hhh]j9)}(hu16h]hu16}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jc.skb_partial_csum_setasbuh1hhjLubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 offh](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)}(hoffh]hoff}(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)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the skb to set ``u16 start`` the number of bytes after skb->data to start checksumming. ``u16 off`` the offset from start to place the checksum. **Description** For untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops. This function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h](jl)}(h**Parameters**h]j)}(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`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hj2h]hstruct sk_buff *skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj,ubj)}(hhh]jl)}(hthe skb to seth]hthe skb to set}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(hI``u16 start`` the number of bytes after skb->data to start checksumming. h](j)}(h ``u16 start``h]j)}(hjkh]h u16 start}(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:the number of bytes after skb->data to start checksumming.h]h:the number of bytes after skb->data to start checksumming.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubj)}(h9``u16 off`` the offset from start to place the checksum. h](j)}(h ``u16 off``h]j)}(hjh]hu16 off}(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 offset from start to place the checksum.h]h,the offset from start to place the checksum.}(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 ubjl)}(hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops.h]hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don’t oops.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h]hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_checksum_setup (C function)c.skb_checksum_setuphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h>int skb_checksum_setup (struct sk_buff *skb, bool recalculate)h]j )}(h=int skb_checksum_setup(struct sk_buff *skb, bool recalculate)h](jM )}(hinth]hint}(hj3hhhNhNubah}(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 }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhjAhMubj3)}(hskb_checksum_setuph]j9)}(hskb_checksum_setuph]hskb_checksum_setup}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhjAhMubj )}(h'(struct sk_buff *skb, bool recalculate)h](j )}(hstruct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jVsbc.skb_checksum_setupasbuh1hhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(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 hjhubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhjAhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhjAhMubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMhj(hhubjg)}(hhh]jl)}(hset up partial checksum offseth]hset up partial checksum offset}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ hhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj? jj? jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` the skb to set up ``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](jl)}(h**Parameters**h]j)}(hjI h]h Parameters}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjC ubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to set up h](j)}(h``struct sk_buff *skb``h]j)}(hjh h]hstruct sk_buff *skb}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjb ubj)}(hhh]jl)}(hthe skb to set uph]hthe skb to set up}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj} hMhj~ ubah}(h]h ]h"]h$]h&]uh1jhjb ubeh}(h]h ]h"]h$]h&]uh1jhj} hMhj_ ubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hj h]hbool recalculate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj_ ubeh}(h]h ]h"]h$]h&]uh1jhjC ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_checksum_trimmed (C function)c.skb_checksum_trimmedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * skb_checksum_trimmed (struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb))h]j )}(hstruct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j skb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhj hhhj hMubj")}(h h]h }(hj; hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj )}(hj h]h*}(hjI hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hMubj3)}(hskb_checksum_trimmedh]j9)}(hj8 h]hskb_checksum_trimmed}(hjZ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV 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}(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)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j6 c.skb_checksum_trimmedasbuh1hhjq 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 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 hjm ubj )}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j9)}(h__sum16h]h__sum16}(hj9 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj; modnameN classnameNj j )}j ]j6 c.skb_checksum_trimmedasbuh1hhj2 ubj")}(h h]h }(hjW hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2 ubj )}(h(h]h(}(hje hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubj )}(hj h]h*}(hjs hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubj9)}(hskb_chkfh]hskb_chkf}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2 ubj )}(h)h]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubj )}(hjg h]h(}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2 ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2 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 ]j6 c.skb_checksum_trimmedasbuh1hhj2 ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2 ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2 ubj )}(hj h]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjm 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}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO jjO 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)}(hjY h]h Parameters}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS ubj)}(hhh](j)}(h)``struct sk_buff *skb`` the skb to check h](j)}(h``struct sk_buff *skb``h]j)}(hjx h]hstruct sk_buff *skb}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjr ubj)}(hhh]jl)}(hthe skb to checkh]hthe skb to check}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjr ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjo 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.chMhj ubj)}(hhh]jl)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjo 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 hMhjo ubeh}(h]h ]h"]h$]h&]uh1jhjS ubjl)}(h**Description**h]j)}(hj% h]h Description}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj# ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS 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.chMhjS 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.}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS 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.}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS 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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hskb_try_coalesceh]j9)}(hskb_try_coalesceh]hskb_try_coalesce}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(hQ(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j )}(hstruct sk_buff *toh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(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_try_coalesceasbuh1hhj 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)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j c.skb_try_coalesceasbuh1hhj2ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hbool *fragstolenh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h fragstolenh]h fragstolen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj 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 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)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj} hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj" 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)}(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 *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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjuubj)}(hhh]jl)}(h prior bufferh]h prior buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hjh]hstruct sk_buff *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h buffer to addh]h buffer to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(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&]uh1jhjhMhjrubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hj&h]hint *delta_truesize}(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.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_scrub_packet (C function)c.skb_scrub_packethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void skb_scrub_packet (struct sk_buff *skb, bool xnet)h]j )}(h5void skb_scrub_packet(struct sk_buff *skb, bool xnet)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMtubj3)}(hskb_scrub_packeth]j9)}(hskb_scrub_packeth]hskb_scrub_packet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMtubj )}(h (struct sk_buff *skb, bool xnet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_scrub_packetasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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 bool xneth](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)}(hxneth]hxnet}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMtubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjuhhubjg)}(hhh]jl)}(h scrub an skbh]h scrub an skb}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthjqhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to clean ``bool xnet`` packet is crossing netns **Description** skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjubj)}(hhh]jl)}(hbuffer to cleanh]hbuffer to clean}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(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.chMwhjubj)}(hhh]jl)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubeh}(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.chMyhjubjl)}(hX\skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](hskb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (}(hj?hhhNhNubj)}(h**xnet**h]hxnet}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_pop (C function) c.skb_eth_pophNtauh1hhj" hhhNhNubh)}(hhh](j)}(h%int skb_eth_pop (struct sk_buff *skb)h]j )}(h$int skb_eth_pop(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMaubj3)}(h skb_eth_poph]j9)}(h skb_eth_poph]h skb_eth_pop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMaubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_eth_popasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMaubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMahjuhhubjg)}(hhh]jl)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the Ethernet header at the head of a packet}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahj=hhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhj" 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)}(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.chMehj\ubj)}(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.chMchj{ubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMchjxubah}(h]h ]h"]h$]h&]uh1jhj\ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMehj\ubjl)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMdhj\ubjl)}(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.chMfhj\ubjl)}(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.chMihj\ubeh}(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}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM{ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj?hM{ubj3)}(h skb_eth_pushh]j9)}(h skb_eth_pushh]h skb_eth_push}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj?hM{ubj )}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jTsbc.skb_eth_pushasbuh1hhjjubj")}(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 )}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(hconst unsigned char *srch](j)}(hj h]hconst}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubeh}(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)}(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.chM{hjhhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj?hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX~**Parameters** ``struct sk_buff *skb`` Socket buffer to modify ``const unsigned char *dst`` Destination MAC address of the new header ``const unsigned char *src`` Source MAC address of the new header **Description** Prepend **skb** with a new Ethernet header. Expects that skb->data points to the mac header, which must be empty. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hj$h]hstruct sk_buff *skb}(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)}(hSocket buffer to modifyh]hSocket buffer to modify}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM}hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM}hjubj)}(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&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjWubj)}(hhh]jl)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM~hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM~hjubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hjh]hconst unsigned char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with a new Ethernet header.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hEExpects that skb->data points to the mac header, which must be empty.h]hEExpects that skb->data points to the mac header, which must be empty.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_push (C function)c.skb_mpls_pushhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hgint skb_mpls_push (struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h]j )}(hfint skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](jM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThMubj3)}(h skb_mpls_pushh]j9)}(h skb_mpls_pushh]h skb_mpls_push}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjThMubj )}(hU(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisbc.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 ]jc.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmpls_lseh]hmpls_lse}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(h__be16 mpls_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]jc.skb_mpls_pushasbuh1hhj9ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(h mpls_protoh]h mpls_proto}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(h int mac_lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(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 hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjThMubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMhj;hhubjg)}(hhh]jl)}(hCpush a new MPLS header after mac_len bytes from start of the packeth]hCpush a new MPLS header after mac_len bytes from start of the packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` MPLS label stack entry to push ``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj@h]hstruct sk_buff *skb}(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.chMhj:ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h3``__be32 mpls_lse`` MPLS label stack entry to push h](j)}(h``__be32 mpls_lse``h]j)}(hjyh]h__be32 mpls_lse}(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.chMhjsubj)}(hhh]jl)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hjh]h__be16 mpls_proto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)h]h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(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&]uh1jhjhMhj7ubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hj$h]h bool ethernet}(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)}(hHflag to indicate if the resulting packet after skb_mpls_push is etherneth]hHflag to indicate if the resulting packet after skb_mpls_push is ethernet}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_pop (C function)c.skb_mpls_pophNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUint skb_mpls_pop (struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h]j )}(hTint skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_mpls_poph]j9)}(h skb_mpls_poph]h skb_mpls_pop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hD(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_mpls_popasbuh1hhjubj")}(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}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be16 next_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j+c.skb_mpls_popasbuh1hhj_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(h next_protoh]h next_proto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int mac_lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool etherneth](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hetherneth]hethernet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhj" hNhNubj)}(hX>**Parameters** ``struct sk_buff *skb`` buffer ``__be16 next_proto`` ethertype of header after popped MPLS header ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the packet is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjfh]hstruct sk_buff *skb}(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.chMhj`ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjhhhNhNubah}(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)}(hjh]h__be16 next_proto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj]ubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjh]h int mac_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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&]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.chMhj ubj)}(hhh]jl)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubeh}(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}(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_mpls_update_lseh]j9)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 jsbc.skb_mpls_update_lseasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]jc.skb_mpls_update_lseasbuh1hhjKubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj9)}(hmpls_lseh]hmpls_lse}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h,modify outermost MPLS header and update csumh]h,modify outermost MPLS header and update csum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct 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)}(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)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hj"h]h__be32 mpls_lse}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update to}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj]h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM7ubj3)}(hskb_mpls_dec_ttlh]j9)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM7ubj )}(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 jsbc.skb_mpls_dec_ttlasbuh1hhjubj")}(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}(hjG hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(h.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of the outermost MPLS header}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjn hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hj ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hj ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM9hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM9hj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hj ubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hj ubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hj 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}(hjA!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=!hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWubj")}(h h]h }(hjO!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=!hhhjN!hMWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj`!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjb!modnameN classnameNj j )}j ]j )}j alloc_skb_with_fragssbc.alloc_skb_with_fragsasbuh1hhj=!hhhjN!hMWubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=!hhhjN!hMWubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=!hhhjN!hMWubj3)}(halloc_skb_with_fragsh]j9)}(hj~!h]halloc_skb_with_frags}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=!hhhjN!hMWubj )}(h[(unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h](j )}(hunsigned long header_lenh](jM )}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubjM )}(hlongh]hlong}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(h header_lenh]h header_len}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hunsigned long data_lenh](jM )}(hunsignedh]hunsigned}(hj "hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubjM )}(hlongh]hlong}(hj("hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj6"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hdata_lenh]hdata_len}(hjD"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 hjY"ubj")}(h h]h }(hjk"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY"ubj9)}(horderh]horder}(hjy"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h int *errcodeh](jM )}(hinth]hint}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(herrcodeh]herrcode}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j|!c.alloc_skb_with_fragsasbuh1hhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hgfp_maskh]hgfp_mask}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=!hhhjN!hMWubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9!hhhjN!hMWubah}(h]j4!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjN!hMWhj6!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.chMWhj*#hhubah}(h]h ]h"]h$]h&]uh1jfhj6!hhhjN!hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjE#jjE#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)}(hjO#h]h Parameters}(hjQ#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM#ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hjI#ubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hjn#h]hunsigned long header_len}(hjp#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjh#ubj)}(hhh]jl)}(hsize of linear parth]hsize of linear part}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMYhj#ubah}(h]h ]h"]h$]h&]uh1jhjh#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMYhje#ubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hj#h]hunsigned long data_len}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhj#ubj)}(hhh]jl)}(hneeded length in fragsh]hneeded length in frags}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMZhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMZhje#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.chM[hj#ubj)}(hhh]jl)}(hmax page order desired.h]hmax page order desired.}(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[hje#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.chM\hj$ubj)}(hhh]jl)}(hpointer to error code if anyh]hpointer to error code if any}(hj2$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.$hM\hj/$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj.$hM\hje#ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjR$h]hgfp_t gfp_mask}(hjT$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]hjL$ubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjk$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg$hM]hjh$ubah}(h]h ]h"]h$]h&]uh1jhjL$ubeh}(h]h ]h"]h$]h&]uh1jhjg$hM]hje#ubeh}(h]h ]h"]h$]h&]uh1jhjI#ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hjI#ubjl)}(hJThis can be used to allocate a paged skb, given a maximal order for frags.h]hJThis can be used to allocate a paged skb, given a maximal order for frags.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjI#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_condense (C function)c.skb_condensehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'void skb_condense (struct sk_buff *skb)h]j )}(h&void skb_condense(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hMubj3)}(h skb_condenseh]j9)}(h skb_condenseh]h skb_condense}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj %ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj %ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj-%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/%modnameN classnameNj j )}j ]j )}j j$sbc.skb_condenseasbuh1hhj %ubj")}(h h]h }(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)}(hskbh]hskb}(hjh%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj %ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj$hhubjg)}(hhh]jl)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Can be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize. **Notes** We do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj%h]hstruct sk_buff *skb}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubjl)}(hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.h]hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.}(hj$&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubjl)}(h **Notes**h]j)}(hj5&h]hNotes}(hj7&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3&ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%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.}(hjO&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjK&ubah}(h]h ]h"]h$]h&]uh1jhj]&hMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_ext_set (C function)c.__skb_ext_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSvoid * __skb_ext_set (struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h]j )}(hQvoid *__skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](jM )}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj&hMubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&hhhj&hMubj3)}(h __skb_ext_seth]j9)}(h __skb_ext_seth]h __skb_ext_set}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj&hMubj )}(h>(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j j&sbc.__skb_ext_setasbuh1hhj&ubj")}(h h]h }(hj 'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hskbh]hskb}(hj''hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(henum skb_ext_id idh](j)}(hjh]henum}(hj@'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<'ubj")}(h h]h }(hjM'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}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(hstruct skb_ext *exth](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hskb_exth]hskb_ext}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j'c.__skb_ext_setasbuh1hhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hexth]hext}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|&hhhj&hMubah}(h]jw&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hMhjy&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&]uh1jfhjy&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)}(hjF(h]h Parameters}(hjH(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD(ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj@(ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hje(h]hstruct sk_buff *skb}(hjg(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc(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&]uh1jkhjz(hMhj{(ubah}(h]h ]h"]h$]h&]uh1jhj_(ubeh}(h]h ]h"]h$]h&]uh1jhjz(hMhj\(ubj)}(h$``enum skb_ext_id id`` extension id h](j)}(h``enum skb_ext_id id``h]j)}(hj(h]henum skb_ext_id id}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj(ubj)}(hhh]jl)}(h extension idh]h extension id}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj\(ubj)}(hU``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() h](j)}(h``struct skb_ext *ext``h]j)}(hj(h]hstruct skb_ext *ext}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj(ubj)}(hhh]jl)}(hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj >hMa 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 >hMa 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 hj6>ubj")}(h h]h }(hjH>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6>ubjM )}(hinth]hint}(hjV>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6>ubj")}(h h]h }(hjd>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6>ubj9)}(hszh]hsz}(hjr>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2>ubj )}(hstruct page_frag *pfragh](j)}(hjh]hstruct}(hj>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 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 j >sbc.skb_page_frag_refillasbuh1hhj>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)}(hpfragh]hpfrag}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2>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 ]j>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 hj2>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj >hMa ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj >hMa ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj >hMa hj=hhubjg)}(hhh]jl)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hjV?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMa hjS?hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj >hMa ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn?jjn?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)}(hjx?h]h Parameters}(hjz?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv?ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjr?ubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hj?h]hunsigned int sz}(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.chMb 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&]uh1jkhj?hMb hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMb 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&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMc hj?ubj)}(hhh]jl)}(hpointer to page_fragh]hpointer to page_frag}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMc hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMc 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.chMd hj@ubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hj"@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?ubeh}(h]h ]h"]h$]h&]uh1jhjr?ubjl)}(h**Note**h]j)}(hjD@h]hNote}(hjF@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB@ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMf hjr?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, }(hjZ@hhhNhNubj)}(h**sz**h]hsz}(hjb@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ@ubh& MUST be less or equal than PAGE_SIZE.}(hjZ@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMf hjr?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}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj@hM ubj3)}(h sk_wait_datah]j9)}(h sk_wait_datah]h sk_wait_data}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj@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 j@sbc.sk_wait_dataasbuh1hhj@ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj$AhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hskh]hsk}(hj1AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h long *timeoh](jM )}(hlongh]hlong}(hjJAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFAubj")}(h h]h }(hjXAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFAubj )}(hj h]h*}(hjfAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFAubj9)}(htimeoh]htimeo}(hjsAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hconst struct sk_buff *skbh](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)}(hsk_buffh]hsk_buff}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]jAc.sk_wait_dataasbuh1hhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hskbh]hskb}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hj(BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj%Bhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@Bjj@Bjjjuh1hhhhj" 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)}(hjJBh]h Parameters}(hjLBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHBubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjDBubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjiBh]hstruct sock *sk}(hjkBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgBubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjcBubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~BhM hjBubah}(h]h ]h"]h$]h&]uh1jhjcBubeh}(h]h ]h"]h$]h&]uh1jhj~BhM hj`Bubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hjBh]h long *timeo}(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 for how longh]h for how long}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM 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&]uh1jhjDBubjl)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjDBubjl)}(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.}(hj,ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjDBubeh}(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}(hj[ChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWChhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMs ubj")}(h h]h }(hjjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWChhhjiChMs ubj3)}(h__sk_mem_scheduleh]j9)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hj|ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWChhhjiChMs ubj )}(h%(struct sock *sk, int size, int kind)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hsockh]hsock}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j j~Csbc.__sk_mem_scheduleasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hskh]hsk}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hint sizeh](jM )}(hinth]hint}(hj DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hsizeh]hsize}(hj&DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hint kindh](jM )}(hinth]hint}(hj?DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;Dubj")}(h h]h }(hjMDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Dubj9)}(hkindh]hkind}(hj[DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWChhhjiChMs ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjSChhhjiChMs ubah}(h]jNCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjiChMs hjPChhubjg)}(hhh]jl)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMs hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjPChhhjiChMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj" hNhNubj)}(hXZ**Parameters** ``struct sock *sk`` socket ``int size`` memory size to allocate ``int kind`` allocation type **Description** If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMw hjDubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjDh]hstruct sock *sk}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMt hjDubj)}(hhh]jl)}(hsocketh]hsocket}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMt hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMt hjDubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hjDh]hint size}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMu hjDubj)}(hhh]jl)}(hmemory size to allocateh]hmemory size to allocate}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMu hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhMu hjDubj)}(h``int kind`` allocation type h](j)}(h ``int kind``h]j)}(hj8Eh]hint kind}(hj:EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Eubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMv hj2Eubj)}(hhh]jl)}(hallocation typeh]hallocation type}(hjQEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMEhMv hjNEubah}(h]h ]h"]h$]h&]uh1jhj2Eubeh}(h]h ]h"]h$]h&]uh1jhjMEhMv hjDubeh}(h]h ]h"]h$]h&]uh1jhjDubjl)}(h**Description**h]j)}(hjsEh]h Description}(hjuEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqEubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMx hjDubj)}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]jl)}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMw hjEubah}(h]h ]h"]h$]h&]uh1jhjEhMw hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_reclaim (C function)c.__sk_mem_reclaimhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3void __sk_mem_reclaim (struct sock *sk, int amount)h]j )}(h2void __sk_mem_reclaim(struct sock *sk, int amount)h](jM )}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjEhM ubj3)}(h__sk_mem_reclaimh]j9)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjEhM ubj )}(h(struct sock *sk, int amount)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hj FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(hsockh]hsock}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j jEsbc.__sk_mem_reclaimasbuh1hhjEubj")}(h h]h }(hj=FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjKFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hskh]hsk}(hjXFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(h int amounth](jM )}(hinth]hint}(hjqFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmFubj9)}(hamounth]hamount}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubeh}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjEhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhjEhM ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhM hjEhhubjg)}(hhh]jl)}(h-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim sk_forward_alloc and memory_allocated}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjFhhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhjEhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhj" hNhNubj)}(hu**Parameters** ``struct sock *sk`` socket ``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjFubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjFh]hstruct sock *sk}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjFubj)}(hhh]jl)}(hsocketh]hsocket}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj GhM hjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj GhM hjFubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hj1Gh]h int amount}(hj3GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Gubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj+Gubj)}(hhh]jl)}(h6number of bytes (rounded down to a PAGE_SIZE multiple)h]h6number of bytes (rounded down to a PAGE_SIZE multiple)}(hjJGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjGGubah}(h]h ]h"]h$]h&]uh1jhj+Gubeh}(h]h ]h"]h$]h&]uh1jhjFGhM hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$__skb_try_recv_datagram (C function)c.__skb_try_recv_datagramhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * __skb_try_recv_datagram (struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h]j )}(hstruct sk_buff *__skb_try_recv_datagram(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjGhKubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j __skb_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhjGhhhjGhKubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjGhKubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGhhhjGhKubj3)}(h__skb_try_recv_datagramh]j9)}(hjGh]h__skb_try_recv_datagram}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjGhKubj )}(hl(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hsockh]hsock}(hj#HhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%HmodnameN classnameNj j )}j ]jGc.__skb_try_recv_datagramasbuh1hhjHubj")}(h h]h }(hjAHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjOHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hskh]hsk}(hj\HhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hstruct sk_buff_head *queueh](j)}(hjh]hstruct}(hjuHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqHubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jGc.__skb_try_recv_datagramasbuh1hhjqHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqHubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqHubj9)}(hqueueh]hqueue}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hunsigned int flagsh](jM )}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubjM )}(hinth]hint}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj9)}(hflagsh]hflags}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hint *offh](jM )}(hinth]hint}(hj6IhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2Iubj")}(h h]h }(hjDIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2Iubj )}(hj h]h*}(hjRIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2Iubj9)}(hoffh]hoff}(hj_IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hint *errh](jM )}(hinth]hint}(hjxIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtIubj9)}(herrh]herr}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hstruct sk_buff **lasth](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jGc.__skb_try_recv_datagramasbuh1hhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hlasth]hlast}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjGhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhjGhKubah}(h]j~Gah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhKhjGhhubjg)}(hhh]jl)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hjHJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEJhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhjGhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`Jjj`Jjjjuh1hhhhj" hNhNubj)}(hX{**Parameters** ``struct sock *sk`` socket ``struct sk_buff_head *queue`` socket queue from which to receive ``unsigned int flags`` MSG\_ flags ``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts ``int *err`` error code returned ``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking **Description** Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jl)}(h**Parameters**h]j)}(hjjJh]h Parameters}(hjlJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhJubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjdJubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjJh]hstruct sock *sk}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjJubj)}(hhh]jl)}(hsocketh]hsocket}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhKhjJubj)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hjJh]hstruct sk_buff_head *queue}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjJubj)}(hhh]jl)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhKhjJubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hjJh]hunsigned int flags}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjJubj)}(hhh]jl)}(h MSG\_ flagsh]h MSG_ flags}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjJubj)}(hm``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts h](j)}(h ``int *off``h]j)}(hj4Kh]hint *off}(hj6KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Kubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj.Kubj)}(hhh]jl)}(h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually startsh]h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts}(hjMKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjJKubah}(h]h ]h"]h$]h&]uh1jhj.Kubeh}(h]h ]h"]h$]h&]uh1jhjIKhKhjJubj)}(h!``int *err`` error code returned h](j)}(h ``int *err``h]j)}(hjnKh]hint *err}(hjpKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjhKubj)}(hhh]jl)}(herror code returnedh]herror code returned}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhjhKubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjJubj)}(ho``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking h](j)}(h``struct sk_buff **last``h]j)}(hjKh]hstruct sk_buff **last}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjKubj)}(hhh]jl)}(hTset to last peeked message to inform the wait function what to look for when peekingh]hTset to last peeked message to inform the wait function what to look for when peeking}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjJubeh}(h]h ]h"]h$]h&]uh1jhjdJubjl)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjdJubj)}(hXcGet a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jl)}(hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.h]hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjKubjl)}(hX This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected.h](hThis function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with }(hj LhhhNhNubj)}(h**err**h]herr}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj LubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hj LhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjKubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jl)}(hj6Lh]h5It does not lock socket since today. This function is}(hj8LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj4Lubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(h8free of race conditions. This measure should/can improveh]jl)}(hjNLh]h8free of race conditions. This measure should/can improve}(hjPLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLLubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(h6significantly datagram socket latencies at high loads,h]jl)}(hjfLh]h6significantly datagram socket latencies at high loads,}(hjhLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjdLubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(h3when data copying to user space takes lots of time.h]jl)}(hj~Lh]h3when data copying to user space takes lots of time.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj|Lubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jl)}(hjLh]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(h8) Great win.)h]henumerated_list)}(hhh]j3L)}(h Great win.)h]jl)}(hjLh]h Great win.)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLubah}(h]h ]h"]h$]h&]uh1j2LhjLubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixj startKuh1jLhjLubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubj3L)}(h--ANK (980729) h]jl)}(h--ANK (980729)h]h--ANK (980729)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjLubah}(h]h ]h"]h$]h&]uh1j2Lhj/Lubeh}(h]h ]h"]h$]h&]bulletj uh1j-LhjELhKhjKubjl)}(hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h]hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don’t change them without having the standard around please.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjKubeh}(h]h ]h"]h$]h&]uh1jhj LhKhjdJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_kill_datagram (C function)c.skb_kill_datagramhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hPint skb_kill_datagram (struct sock *sk, struct sk_buff *skb, unsigned int flags)h]j )}(hOint skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](jM )}(hinth]hint}(hj3MhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/MhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj")}(h h]h }(hjBMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/MhhhjAMhMbubj3)}(hskb_kill_datagramh]j9)}(hskb_kill_datagramh]hskb_kill_datagram}(hjTMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/MhhhjAMhMbubj )}(h:(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjpMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlMubj")}(h h]h }(hj}MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlMubh)}(hhh]j9)}(hsockh]hsock}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jVMsbc.skb_kill_datagramasbuh1hhjlMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlMubj9)}(hskh]hsk}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhMubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jMc.skb_kill_datagramasbuh1hhjMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hj,NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hskbh]hskb}(hj9NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhMubj )}(hunsigned int flagsh](jM )}(hunsignedh]hunsigned}(hjRNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNNubj")}(h h]h }(hj`NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNNubjM )}(hinth]hint}(hjnNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNNubj")}(h h]h }(hj|NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNNubj9)}(hflagsh]hflags}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhMubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/MhhhjAMhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+MhhhjAMhMbubah}(h]j&Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAMhMbhj(Mhhubjg)}(hhh]jl)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjNhhubah}(h]h ]h"]h$]h&]uh1jfhj(MhhhjAMhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags **Description** This function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjNubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjNh]hstruct sock *sk}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchjNubj)}(hhh]jl)}(hsocketh]hsocket}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj OhMchj Oubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj OhMchjNubj)}(h(``struct sk_buff *skb`` datagram skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hj.Oh]hstruct sk_buff *skb}(hj0OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Oubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhj(Oubj)}(hhh]jl)}(hdatagram skbuffh]hdatagram skbuff}(hjGOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjCOhMdhjDOubah}(h]h ]h"]h$]h&]uh1jhj(Oubeh}(h]h ]h"]h$]h&]uh1jhjCOhMdhjNubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hjgOh]hunsigned int flags}(hjiOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjaOubj)}(hhh]jl)}(h MSG\_ flagsh]h MSG_ flags}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|OhMehj}Oubah}(h]h ]h"]h$]h&]uh1jhjaOubeh}(h]h ]h"]h$]h&]uh1jhj|OhMehjNubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghjNubj)}(hXThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jl)}(hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.h]hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjOubjl)}(hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.h]hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMjhjOubjl)}(hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.h]hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhjOubjl)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMfhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.skb_copy_and_crc32c_datagram_iter (C function)#c.skb_copy_and_crc32c_datagram_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hvint skb_copy_and_crc32c_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h]j )}(huint skb_copy_and_crc32c_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hj-PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhj,PhMubj3)}(h!skb_copy_and_crc32c_datagram_iterh]j9)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hj?PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Pubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhj,PhMubj )}(hP(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj[PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWPubj")}(h h]h }(hjhPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWPubj)}(hjh]hstruct}(hjvPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWPubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jAPsb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjWPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWPubj9)}(hskbh]hskb}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSPubj )}(h int offseth](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hoffseth]hoffset}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSPubj )}(hstruct iov_iter *toh](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)}(hiov_iterh]hiov_iter}(hj;QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8Qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=QmodnameN classnameNj j )}j ]jP#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjQubj")}(h h]h }(hjYQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjgQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(htoh]hto}(hjtQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSPubj )}(hint lenh](jM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hlenh]hlen}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSPubj )}(h u32 *crcph](h)}(hhh]j9)}(hu32h]hu32}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jP#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hcrcph]hcrcp}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhj,PhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhj,PhMubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,PhMhjPhhubjg)}(hhh]jl)}(h=Copy datagram to an iovec iterator and update a CRC32C value.h]h=Copy datagram to an iovec iterator and update a CRC32C value.}(hj(RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj%Rhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhj,PhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@Rjj@Rjjjuh1hhhhj" hNhNubj)}(hXc**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying from ``struct iov_iter *to`` iovec iterator to copy to ``int len`` amount of data to copy from buffer to iovec ``u32 *crcp`` pointer to CRC32C value to update **Return** 0 on success, -EFAULT if there was a fault during copy.h](jl)}(h**Parameters**h]j)}(hjJRh]h Parameters}(hjLRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHRubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjDRubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjiRh]hconst struct sk_buff *skb}(hjkRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjcRubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~RhMhjRubah}(h]h ]h"]h$]h&]uh1jhjcRubeh}(h]h ]h"]h$]h&]uh1jhj~RhMhj`Rubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hjRh]h int offset}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjRubj)}(hhh]jl)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj`Rubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hjRh]hstruct iov_iter *to}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjRubj)}(hhh]jl)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj`Rubj)}(h8``int len`` amount of data to copy from buffer to iovec h](j)}(h ``int len``h]j)}(hjSh]hint len}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjSubj)}(hhh]jl)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hj-ShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)ShMhj*Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj)ShMhj`Rubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hjMSh]h u32 *crcp}(hjOShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKSubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjGSubj)}(hhh]jl)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hjfShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbShMhjcSubah}(h]h ]h"]h$]h&]uh1jhjGSubeh}(h]h ]h"]h$]h&]uh1jhjbShMhj`Rubeh}(h]h ]h"]h$]h&]uh1jhjDRubjl)}(h **Return**h]j)}(hjSh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjDRubjl)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjDRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_copy_datagram_iter (C function)c.skb_copy_datagram_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h`int skb_copy_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h]j )}(h_int skb_copy_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](jM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjShM ubj3)}(hskb_copy_datagram_iterh]j9)}(hskb_copy_datagram_iterh]hskb_copy_datagram_iter}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjShM ubj )}(hE(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj)}(hjh]hstruct}(hj%ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hj2ThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjCThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjETmodnameN classnameNj j )}j ]j )}j jSsbc.skb_copy_datagram_iterasbuh1hhjTubj")}(h h]h }(hjcThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjqThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hskbh]hskb}(hj~ThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h int offseth](jM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(hoffseth]hoffset}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct iov_iter *toh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j_Tc.skb_copy_datagram_iterasbuh1hhjTubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(htoh]hto}(hj#UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hint lenh](jM )}(hinth]hint}(hjsk_receive_queue. **Return** poll bitmask indicating the socket's current stateh](jl)}(h**Parameters**h]j)}(hj ah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjaubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hj,ah]hstruct file *file}(hj.ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*aubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj&aubj)}(hhh]jl)}(h file structh]h file struct}(hjEahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAahMhjBaubah}(h]h ]h"]h$]h&]uh1jhj&aubeh}(h]h ]h"]h$]h&]uh1jhjAahMhj#aubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjeah]hstruct socket *sock}(hjgahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcaubah}(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&]uh1jkhjzahMhj{aubah}(h]h ]h"]h$]h&]uh1jhj_aubeh}(h]h ]h"]h$]h&]uh1jhjzahMhj#aubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjah]hpoll_table *wait}(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.chMhjaubj)}(hhh]jl)}(h poll tableh]h poll table}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj#aubj)}(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.chMhjaubj)}(hhh]jl)}(hreceive queue to pollh]hreceive queue to poll}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj#aubeh}(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&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjaubj)}(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.}(hj,bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj(bubah}(h]h ]h"]h$]h&]uh1jhj:bhMhjaubjl)}(h **Return**h]j)}(hjCbh]hReturn}(hjEbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAbubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjaubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjYbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjaubeh}(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}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j datagram_pollsbc.datagram_pollasbuh1hhjbhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(h datagram_pollh]j9)}(hjbh]h datagram_poll}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(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 ]jbc.datagram_pollasbuh1hhjbubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hj$chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hfileh]hfile}(hj1chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjJchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFcubj")}(h h]h }(hjWchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFcubh)}(hhh]j9)}(hsocketh]hsocket}(hjhchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjecubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjcmodnameN classnameNj j )}j ]jbc.datagram_pollasbuh1hhjFcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFcubj9)}(hsockh]hsock}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jbc.datagram_pollasbuh1hhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hwaith]hwait}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjbhMubah}(h]j{bah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhj}bhhubjg)}(hhh]jl)}(hgeneric datagram pollh]hgeneric datagram poll}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhj}bhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8djj8djjjuh1hhhhj" 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)}(hjBdh]h Parameters}(hjDdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@dubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdata 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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjkubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjkh]hstruct sock *sk}(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.chKyhjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhKyhjkubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjlh]hstruct sk_buff *skb}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjlubj)}(hhh]jl)}(hbuffer to filterh]hbuffer to filter}(hj4lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0lhKzhj1lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj0lhKzhjkubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjTlh]hunsigned int cap}(hjVlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hjNlubj)}(hhh]jl)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjmlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjilhK{hjjlubah}(h]h ]h"]h$]h&]uh1jhjNlubeh}(h]h ]h"]h$]h&]uh1jhjilhK{hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjkubjl)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjihhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjihhhNhNubh)}(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 hjlhhhQ/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!hjlhhhjlhM\ubj3)}(hbpf_prog_createh]j9)}(hbpf_prog_createh]hbpf_prog_create}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhjlhM\ubj )}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj mubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj mubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hj/mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1mmodnameN classnameNj j )}j ]j )}j jlsbc.bpf_prog_createasbuh1hhj mubj")}(h h]h }(hjOmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj mubj )}(hj h]h*}(hj]mhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj mubj )}(hj h]h*}(hjjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj mubj9)}(hpfph]hpfp}(hjwmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj mubj )}(hstruct sock_fprog_kern *fprogh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hsock_fprog_kernh]hsock_fprog_kern}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jKmc.bpf_prog_createasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hfprogh]hfprog}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj mubeh}(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)}(hcreate an unattached filterh]hcreate an unattached filter}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM\hjnhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjlhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)njj)njjjuh1hhhhjihNhNubj)}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog_kern *fprog`` the filter program **Description** Create a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jl)}(h**Parameters**h]j)}(hj3nh]h Parameters}(hj5nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1nubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM`hj-nubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjRnh]hstruct bpf_prog **pfp}(hjTnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM]hjLnubj)}(hhh]jl)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjgnhM]hjhnubah}(h]h ]h"]h$]h&]uh1jhjLnubeh}(h]h ]h"]h$]h&]uh1jhjgnhM]hjInubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hjnh]hstruct sock_fprog_kern *fprog}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM^hjnubj)}(hhh]jl)}(hthe filter programh]hthe filter program}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM^hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM^hjInubeh}(h]h ]h"]h$]h&]uh1jhj-nubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM`hj-nubjl)}(hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM_hj-nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjihhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhjihhhNhNubh)}(hhh](j)}(h~int bpf_prog_create_from_user (struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h]j )}(h}int bpf_prog_create_from_user(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](jM )}(hinth]hint}(hj ohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohMubj3)}(hbpf_prog_create_from_userh]j9)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hj,ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohMubj )}(h`(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hjHohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDoubj")}(h h]h }(hjUohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDoubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hjfohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhomodnameN classnameNj j )}j ]j )}j j.osbc.bpf_prog_create_from_userasbuh1hhjDoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDoubj9)}(hpfph]hpfp}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@oubj )}(hstruct sock_fprog *fprogh](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 sock_fprogh]h sock_fprog}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]joc.bpf_prog_create_from_userasbuh1hhjoubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hfprogh]hfprog}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@oubj )}(hbpf_aux_classic_check_t transh](h)}(hhh]j9)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hj:phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqh]hstruct sock_fprog *fprog}(hj@qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrhMubj3)}(hsk_attach_filterh]j9)}(hsk_attach_filterh]hsk_attach_filter}(hjQrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,rhhhj>rhMubj )}(h+(struct sock_fprog *fprog, struct sock *sk)h](j )}(hstruct sock_fprog *fprogh](j)}(hjh]hstruct}(hjmrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjirubj")}(h h]h }(hjzrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjirubh)}(hhh]j9)}(h sock_fprogh]h sock_fprog}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j jSrsbc.sk_attach_filterasbuh1hhjirubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjirubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjirubj9)}(hfprogh]hfprog}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjirubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjerubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hsockh]hsock}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jrc.sk_attach_filterasbuh1hhjrubj")}(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)}(hskh]hsk}(hj6shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjerubeh}(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)}(hattach a socket filterh]hattach a socket filter}(hj`shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj]shhubah}(h]h ]h"]h$]h&]uh1jfhj%rhhhj>rhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxsjjxsjjjuh1hhhhjihNhNubj)}(hXs**Parameters** ``struct sock_fprog *fprog`` the filter program ``struct sock *sk`` the socket to use **Description** Attach the user's filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jl)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj|subj)}(hhh](j)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjsh]hstruct sock_fprog *fprog}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjsubj)}(hhh]jl)}(hthe filter programh]hthe filter program}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjs:hMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h&``struct sock *sk`` the socket to use h](j)}(h``struct sock *sk``h]j)}(hjsh]hstruct sock *sk}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjsubj)}(hhh]jl)}(hthe socket to useh]hthe socket to use}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubeh}(h]h ]h"]h$]h&]uh1jhj|subjl)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj|subjl)}(hAttach the user's filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hAttach the user’s filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hj+thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj|subeh}(h]h ] kernelindentah"]h$]h&]uh1jhjihhhNhNubeh}(h] socket-filterah ]h"] socket filterah$]h&]uh1hhhhhhhhK'ubh)}(hhh](h)}(hGeneric Network Statisticsh]hGeneric Network Statistics}(hjLthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIthhhhhK-ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_basic (C struct)c.gnet_stats_basichNtauh1hhjIthhhNhNubh)}(hhh](j)}(hgnet_stats_basich]j )}(hstruct gnet_stats_basich](j)}(hjh]hstruct}(hjsthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjothhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjothhhjthKubj3)}(hgnet_stats_basich]j9)}(hjmth]hgnet_stats_basic}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjothhhjthKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkthhhjthKubah}(h]jftah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthKhjhthhubjg)}(hhh]jl)}(h!byte/packet throughput statisticsh]h!byte/packet throughput statistics}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjthhubah}(h]h ]h"]h$]h&]uh1jfhjhthhhjthKubeh}(h]h ](jstructeh"]h$]h&]jjjjtjjtjjjuh1hhhhjIthNhNubj)}(h**Definition**:: struct gnet_stats_basic { __u64 bytes; __u32 packets; }; **Members** ``bytes`` number of seen bytes ``packets`` number of seen packetsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh:}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjtubj)}(h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };h]h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };}hjtsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjtubjl)}(h **Members**h]j)}(hjuh]hMembers}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK!hjtubj)}(hhh](j)}(h``bytes`` number of seen bytes h](j)}(h ``bytes``h]j)}(hj"uh]hbytes}(hj$uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj uubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjuubj)}(hhh]jl)}(hnumber of seen bytesh]hnumber of seen bytes}(hj;uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7uhKhj8uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj7uhKhjuubj)}(h"``packets`` number of seen packetsh](j)}(h ``packets``h]j)}(hj[uh]hpackets}(hj]uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYuubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjUuubj)}(hhh]jl)}(hnumber of seen packetsh]hnumber of seen packets}(hjtuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjquubah}(h]h ]h"]h$]h&]uh1jhjUuubeh}(h]h ]h"]h$]h&]uh1jhjpuhKhjuubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_rate_est (C struct)c.gnet_stats_rate_esthNtauh1hhjIthhhNhNubh)}(hhh](j)}(hgnet_stats_rate_esth]j )}(hstruct gnet_stats_rate_esth](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjuhKubj3)}(hgnet_stats_rate_esth]j9)}(hjuh]hgnet_stats_rate_est}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjuhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjuhKubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhKhjuhhubjg)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjuhKubeh}(h]h ](jstructeh"]h$]h&]jjjjvjjvjjjuh1hhhhjIthNhNubj)}(h**Definition**:: struct gnet_stats_rate_est { __u32 bps; __u32 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh:}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK$hjvubj)}(h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };h]h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };}hj4vsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK&hjvubjl)}(h **Members**h]j)}(hjEvh]hMembers}(hjGvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCvubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK+hjvubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjdvh]hbps}(hjfvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbvubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj^vubj)}(hhh]jl)}(hcurrent byte rateh]hcurrent byte rate}(hj}vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyvhK"hjzvubah}(h]h ]h"]h$]h&]uh1jhj^vubeh}(h]h ]h"]h$]h&]uh1jhjyvhK"hj[vubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjvh]hpps}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hjvubj)}(hhh]jl)}(hcurrent packet rateh]hcurrent packet rate}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK#hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhK"hj[vubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_rate_est64 (C struct)c.gnet_stats_rate_est64hNtauh1hhjIthhhNhNubh)}(hhh](j)}(hgnet_stats_rate_est64h]j )}(hstruct gnet_stats_rate_est64h](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK)ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjwhK)ubj3)}(hgnet_stats_rate_est64h]j9)}(hjvh]hgnet_stats_rate_est64}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjwhK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjwhK)ubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwhK)hjvhhubjg)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj9whhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK*hj6whhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjwhK)ubeh}(h]h ](jstructeh"]h$]h&]jjjjQwjjQwjjjuh1hhhhjIthNhNubj)}(h**Definition**:: struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj]whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYwubh:}(hjYwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK.hjUwubj)}(h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };h]h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };}hjvwsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK0hjUwubjl)}(h **Members**h]j)}(hjwh]hMembers}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK5hjUwubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjwh]hbps}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjwubj)}(hhh]jl)}(hcurrent byte rateh]hcurrent byte rate}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhK,hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhK,hjwubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjwh]hpps}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjwubj)}(hhh]jl)}(hcurrent packet rateh]hcurrent packet rate}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK-hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhK,hjwubeh}(h]h ]h"]h$]h&]uh1jhjUwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_queue (C struct)c.gnet_stats_queuehNtauh1hhjIthhhNhNubh)}(hhh](j)}(hgnet_stats_queueh]j )}(hstruct gnet_stats_queueh](j)}(hjh]hstruct}(hj9xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5xhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK3ubj")}(h h]h }(hjGxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5xhhhjFxhK3ubj3)}(hgnet_stats_queueh]j9)}(hj3xh]hgnet_stats_queue}(hjYxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5xhhhjFxhK3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1xhhhjFxhK3ubah}(h]j,xah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFxhK3hj.xhhubjg)}(hhh]jl)}(hqueuing statisticsh]hqueuing statistics}(hj{xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK4hjxxhhubah}(h]h ]h"]h$]h&]uh1jfhj.xhhhjFxhK3ubeh}(h]h ](jstructeh"]h$]h&]jjjjxjjxjjjuh1hhhhjIthNhNubj)}(hXc**Definition**:: struct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; }; **Members** ``qlen`` queue length ``backlog`` backlog size of queue ``drops`` number of dropped packets ``requeues`` number of requeues ``overlimits`` number of enqueues over the limith](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh:}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hjxubj)}(hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };h]hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };}hjxsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hjxubjl)}(h **Members**h]j)}(hjxh]hMembers}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKBhjxubj)}(hhh](j)}(h``qlen`` queue length h](j)}(h``qlen``h]j)}(hjxh]hqlen}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK6hjxubj)}(hhh]jl)}(h queue lengthh]h queue length}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhK6hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhK6hjxubj)}(h"``backlog`` backlog size of queue h](j)}(h ``backlog``h]j)}(hj!yh]hbacklog}(hj#yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK7hjyubj)}(hhh]jl)}(hbacklog size of queueh]hbacklog size of queue}(hj:yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6yhK7hj7yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj6yhK7hjxubj)}(h$``drops`` number of dropped packets h](j)}(h ``drops``h]j)}(hjZyh]hdrops}(hj\yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXyubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hjTyubj)}(hhh]jl)}(hnumber of dropped packetsh]hnumber of dropped packets}(hjsyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjoyhK8hjpyubah}(h]h ]h"]h$]h&]uh1jhjTyubeh}(h]h ]h"]h$]h&]uh1jhjoyhK8hjxubj)}(h ``requeues`` number of requeues h](j)}(h ``requeues``h]j)}(hjyh]hrequeues}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjyubj)}(hhh]jl)}(hnumber of requeuesh]hnumber of requeues}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhK9hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhK9hjxubj)}(h0``overlimits`` number of enqueues over the limith](j)}(h``overlimits``h]j)}(hjyh]h overlimits}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjyubj)}(hhh]jl)}(h!number of enqueues over the limith]h!number of enqueues over the limit}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhK9hjxubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_estimator (C struct)c.gnet_estimatorhNtauh1hhjIthhhNhNubh)}(hhh](j)}(hgnet_estimatorh]j )}(hstruct gnet_estimatorh](j)}(hjh]hstruct}(hj&zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"zhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK@ubj")}(h h]h }(hj4zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"zhhhj3zhK@ubj3)}(hgnet_estimatorh]j9)}(hj zh]hgnet_estimator}(hjFzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"zhhhj3zhK@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhj3zhK@ubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3zhK@hjzhhubjg)}(hhh]jl)}(hrate estimator configurationh]hrate estimator configuration}(hjhzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKDhjezhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhj3zhK@ubeh}(h]h ](jstructeh"]h$]h&]jjjjzjjzjjjuh1hhhhjIthNhNubj)}(h**Definition**:: struct gnet_estimator { signed char interval; unsigned char ewma_log; }; **Members** ``interval`` sampling period ``ewma_log`` the log of measurement window weighth](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh:}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKHhjzubj)}(hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };h]hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };}hjzsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhjzubjl)}(h **Members**h]j)}(hjzh]hMembers}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhjzubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hjzh]hinterval}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjzubj)}(hhh]jl)}(hsampling periodh]hsampling period}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKFhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKFhjzubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hj{h]hewma_log}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhj{ubj)}(hhh]jl)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hj'{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhj${ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj#{hKFhjzubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhjIthhhNhNubh)}(hhh](j)}(hint gnet_stats_start_copy_compat (struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]j )}(hint gnet_stats_start_copy_compat(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](jM )}(hinth]hint}(hjh{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjd{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj")}(h h]h }(hjw{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd{hhhjv{hK(ubj3)}(hgnet_stats_start_copy_compath]j9)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjd{hhhjv{hK(ubj )}(hw(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j j{sbc.gnet_stats_start_copy_compatasbuh1hhj{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 )}(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}(hj3|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hint tc_stats_typeh](jM )}(hinth]hint}(hjL|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH|ubj")}(h h]h }(hjZ|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH|ubj9)}(h tc_stats_typeh]h tc_stats_type}(hjh|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hint xstats_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)}(h xstats_typeh]h xstats_type}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j{c.gnet_stats_start_copy_compatasbuh1hhj|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)}(hlockh]hlock}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(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}(hj)}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+}modnameN classnameNj j )}j ]j{c.gnet_stats_start_copy_compatasbuh1hhj}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)}(hdh]hd}(hjb}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(h int padattrh](jM )}(hinth]hint}(hj{}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjw}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw}ubj9)}(hpadattrh]hpadattr}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjd{hhhjv{hK(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`{hhhjv{hK(ubah}(h]j[{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjv{hK(hj]{hhubjg)}(hhh]jl)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hj}hhubah}(h]h ]h"]h$]h&]uh1jfhj]{hhhjv{hK(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjIthNhNubj)}(hX1**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV ``int xstats_type`` TLV type for backward compatibility xstats TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. The dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hj}ubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hj~h]hstruct sk_buff *skb}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK)hj}ubj)}(hhh]jl)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK)hj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hK)hj}ubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hj;~h]hint type}(hj=~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK*hj5~ubj)}(hhh]jl)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjT~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP~hK*hjQ~ubah}(h]h ]h"]h$]h&]uh1jhj5~ubeh}(h]h ]h"]h$]h&]uh1jhjP~hK*hj}ubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hjt~h]hint tc_stats_type}(hjv~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hjn~ubj)}(hhh]jl)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK+hj~ubah}(h]h ]h"]h$]h&]uh1jhjn~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK+hj}ubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hj~h]hint xstats_type}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hj~ubj)}(hhh]jl)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK,hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK,hj}ubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hj~h]hspinlock_t *lock}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK-hj~ubj)}(hhh]jl)}(hstatistics lockh]hstatistics lock}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK-hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK-hj}ubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK.hjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hK.hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hK.hj}ubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjXh]h int padattr}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hjRubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhK/hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhK/hj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hj}ubjl)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK0hj}ubjl)}(hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.h]hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hj}ubjl)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK7hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhjIthhhNhNubh)}(hhh](j)}(hmint gnet_stats_start_copy (struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]j )}(hlint gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK`ubj3)}(hgnet_stats_start_copyh]j9)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK`ubj )}(hS(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_start_copyasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hint typeh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hj݀hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڀubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj߀modnameN classnameNj j )}j ]jmc.gnet_stats_start_copyasbuh1hhjրubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjրubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjրubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjրubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hj/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}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jmc.gnet_stats_start_copyasbuh1hhj+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)}(hjd}h]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(h int padattrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpadattrh]hpadattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhK`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK`ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK`hjhhubjg)}(hhh]jl)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hj%h]hstruct sk_buff *skb}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahjubj)}(hhh]jl)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hKahj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKahjubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hj^h]hint type}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhjXubj)}(hhh]jl)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshKbhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKbhjubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjh]hspinlock_t *lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchjubj)}(hhh]jl)}(hstatistics lockh]hstatistics lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKchjubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjЂh]hstruct gnet_dump *d}(hj҂hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj΂ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjʂubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKdhjubah}(h]h ]h"]h$]h&]uh1jhjʂubeh}(h]h ]h"]h$]h&]uh1jhjhKdhjubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hj h]h int padattr}(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.chKehjubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKehjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKghjubjl)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhjubjl)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhjIthhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_basic (struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h]j )}(hint gnet_stats_copy_basic(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgnet_stats_copy_basich]j9)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h|(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(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 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_basicasbuh1hhjу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)}(hjd}h]hd}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjуubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj̓ubj )}(h0const struct gnet_stats_basic_sync __percpu *cpuh](j)}(hj h]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_copy_basicasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh__percpu}(hjBhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hcpuh]hcpu}(hjʄhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj̓ubj )}(h%const struct gnet_stats_basic_sync *bh](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 }(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 ]jc.gnet_stats_copy_basicasbuh1hhj߄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)}(hbh]hb}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߄ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj̓ubj )}(h bool runningh](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)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(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(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj˅jj˅jjjuh1hhhhjIthNhNubj)}(hXx**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``const struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjՅh]h Parameters}(hjׅhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӅubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjυ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.chKhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(hL``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h4``const struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hj-h]h0const struct gnet_stats_basic_sync __percpu *cpu}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj'ubj)}(hhh]jl)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjubj)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjfh]h%const struct gnet_stats_basic_sync *b}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj`ubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jl)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h**b**h]hb}(hj҆hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC’s internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu**h]hcpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjυubjl)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjυubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjυubjl)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjυubjl)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjυ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.chKhjυubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhjIthhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_basic_hw (struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h]j )}(hint gnet_stats_copy_basic_hw(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hgnet_stats_copy_basic_hwh]j9)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h|(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjɇ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_basic_hwasbuh1hhjŇ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)}(hjd}h]hd}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŇubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h0const struct gnet_stats_basic_sync __percpu *cpuh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jc.gnet_stats_copy_basic_hwasbuh1hhj6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh__percpu}(hj6hhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%const struct gnet_stats_basic_sync *bh](j)}(hj h]hconst}(hj׈hhhNhNubah}(h]h ]jah"]h$]h&]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)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_copy_basic_hwasbuh1hhjӈ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)}(hjWh]hb}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӈubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hrunningh]hrunning}(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+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(hXx**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``const struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjȉh]h Parameters}(hjʉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƉubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.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&]uh1jhjhMhjމubj)}(hL``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h4``const struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hj h]h0const struct gnet_stats_basic_sync __percpu *cpu}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjމubj)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjYh]h%const struct gnet_stats_basic_sync *b}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjSubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjމubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h**b**h]hb}(hjŊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC’s internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu**h]hcpu}(hj׊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjމubeh}(h]h ]h"]h$]h&]uh1jhj‰ubjl)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj‰ubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj‰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)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjAhhhNhNubah}(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.}(hjPhhhNhNubah}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhjIthhhNhNubh)}(hhh](j)}(h^int gnet_stats_copy_rate_est (struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h]j )}(h]int gnet_stats_copy_rate_est(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhM(ubj3)}(hgnet_stats_copy_rate_esth]j9)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhM(ubj )}(hA(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjɋhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjڋhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׋ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj܋modnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_rate_estasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjd}h]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jc.gnet_stats_copy_rate_estasbuh1hhj)ubj")}(h h]h }(hjihhhNhNubah}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(h2copy rate estimator statistics into statistics TLVh]h2copy rate estimator statistics into statistics TLV}(hj͌hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM(hjʌhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(hX\**Parameters** ``struct gnet_dump *d`` dumping handle ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)hjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(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 net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjGh]h*struct net_rate_estimator __rcu **rate_est}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM*hjAubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj`hhhNhNubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjubjl)}(h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().h]h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhjIthhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_queue (struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h]j )}(hint gnet_stats_copy_queue(struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h](jM )}(hinth]hint}(hj֍hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjҍhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjҍhhhjhMtubj3)}(hgnet_stats_copy_queueh]j9)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjҍhhhjhMtubj )}(hr(struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_queueasbuh1hhjubj")}(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)}(hjd}h]hd}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h-const struct gnet_stats_queue __percpu *cpu_qh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jMc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hjێhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__percpu}(hjhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcpu_qh]hcpu_q}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h const struct gnet_stats_queue *qh](j)}(hj h]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]jMc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hqh]hq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(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 ]jMc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hj͏hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hqlenh]hqlen}(hjۏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjҍhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj΍hhhjhMtubah}(h]jɍah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjˍ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.chMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjˍhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics ``const struct gnet_stats_queue *q`` queue statistics ``__u32 qlen`` queue length statistics **Description** Appends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMxhj!ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjFh]hstruct gnet_dump *d}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuhj@ubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMuhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMuhj=ubj)}(hK``const struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h1``const struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjh]h-const struct gnet_stats_queue __percpu *cpu_q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMvhjyubj)}(hhh]jl)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMvhj=ubj)}(h6``const struct gnet_stats_queue *q`` queue statistics h](j)}(h$``const struct gnet_stats_queue *q``h]j)}(hjh]h const struct gnet_stats_queue *q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjubj)}(hhh]jl)}(hqueue statisticsh]hqueue statistics}(hjѐhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj͐hMwhjΐubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj͐hMwhj=ubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hjh]h __u32 qlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMxhjubj)}(hhh]jl)}(hqueue length statisticsh]hqueue length statistics}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjl)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMzhj!ubjl)}(hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.h]hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMyhj!ubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjQhhhNhNubah}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhjIthhhNhNubh)}(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 hj|hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMubj3)}(hgnet_stats_copy_apph]j9)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMubj )}(h((struct gnet_dump *d, void *st, int len)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjʑhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjۑhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjؑubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݑmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_appasbuh1hhjubj")}(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)}(hjd}h]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *sth](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*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hsth]hst}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjuhhubjg)}(hhh]jl)}(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&]uh1jfhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjΒjjΒjjjuh1hhhhjIthNhNubj)}(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)}(hjؒh]h Parameters}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֒ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hj0h]hvoid *st}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj*ubj)}(hhh]jl)}(h$application specific statistics datah]h$application specific statistics data}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjih]hint len}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjcubj)}(hhh]jl)}(hlength of datah]hlength of data}(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&]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.}(hjhhhNhNubah}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhjIthhhNhNubh)}(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}(hjhhhNhNubah}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_finish_copyasbuh1hhj1ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hjd}h]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(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)}(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ϔjjjuh1hhhhjIthNhNubj)}(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)}(hjٔh]h Parameters}(hj۔hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjהubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.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&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjӔubjl)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]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.}(hjIhhhNhNubah}(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.}(hjXhhhNhNubah}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhjIthhhNhNubh)}(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&]uh1jhjubj")}(h h]h }(hjѕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߕubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.gen_new_estimatorasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbstatsh]hbstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhj2ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh__percpu}(hj2hhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjŖhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj֖hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӖubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjؖmodnameN classnameNj j )}j ]jc.gen_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}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jc.gen_new_estimatorasbuh1hhjCubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct nlattr *opth](j)}(hjh]hstruct}(hjЗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̗ubj")}(h h]h }(hjݗhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̗ubh)}(hhh]j9)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gen_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)}(hopth]hopt}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̗ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKqubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKqhj|hhubjg)}(hhh]jl)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhjNhhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhjhKqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjIthNhNubj)}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjmubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKthjubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj=h]hspinlock_t *lock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhj7ubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhKuhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKuhjubj)}(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)}(hjvh]h bool running}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKxhjpubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hj!h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chK{hjmubjl)}(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 }(hj7hhhNhNubh)}(h:c:type:`bstats`h]j)}(hjAh]hbstats}(hjChhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhj7ubh as source and }(hj7hhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjeh]hrate_est}(hjghhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrate_estuh1hhj^hKzhj7ubh 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 }(hj7hhhNhNubh)}(h:c:type:`bstats`h]j)}(hjh]hbstats}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhj^hKzhj7ubh* and the estimated rate will be stored in }(hj7hhhNhNubh)}(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_estuh1hhj^hKzhj7ubh5 with the statistics lock grabbed during this period.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj^hKzhjmubjl)}(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.chKhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhjIthhhNhNubh)}(hhh](j)}(hDvoid gen_kill_estimator (struct net_rate_estimator __rcu **rate_est)h]j )}(hCvoid gen_kill_estimator(struct net_rate_estimator __rcu **rate_est)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hgen_kill_estimatorh]j9)}(hgen_kill_estimatorh]hgen_kill_estimator}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h,(struct net_rate_estimator __rcu **rate_est)h]j )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.gen_kill_estimatorasbuh1hhj:ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh__rcu}(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:ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(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.chKhjݛhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hj!h]h*struct net_rate_estimator __rcu **rate_est}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hKhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hKhjubah}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjrhhhNhNubah}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhjIthhhNhNubh)}(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&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j )}(h$struct gnet_stats_basic_sync *bstatsh](j)}(hjh]hstruct}(hjޜhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڜubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjڜubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jĜsbc.gen_replace_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)}(hbstatsh]hbstats}(hj7hhhNhNubah}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh__percpu}(hjLhhhNhNubj")}(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 cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(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&]uh1jhjΝubj")}(h h]h }(hjߝhhhNhNubah}(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 ]jc.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*}(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)}(hrate_esth]hrate_est}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΝubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj֜ubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jc.gen_replace_estimatorasbuh1hhj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(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 }(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 hj֜ubj )}(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 reftargetj modnameN classnameNj j )}j ]jc.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)}(hopth]hopt}(hjAhhhNhNubah}(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$replace rate estimator configurationh]h$replace rate estimator configuration}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(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&]uh1jkhjhKhjŸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(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.chKhjߟubj)}(hhh]jl)}(hbstats per cpuh]hbstats per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjߟubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjWh]hspinlock_t *lock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjQubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjubj)}(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)}(hjh]hstruct nlattr *opt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi: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().}(hjQhhhNhNubah}(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.}(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&]uh1jhjIthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhjIthhhNhNubh)}(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 }(hjءhhhNhNubah}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǡubh__rcu}(hjǡhhhNhNubj")}(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ǡubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjǡubj9)}(hrate_esth]hrate_est}(hjChhhNhNubah}(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}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIthNhNubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIthhhNhNubeh}(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&]uh1hhjhhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hR__be32 * xdr_encode_opaque_fixed (__be32 *p, const void *ptr, unsigned int nbytes)h]j )}(hP__be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j xdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhjChhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjkhK)ubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjChhhjkhK)ubj3)}(hxdr_encode_opaque_fixedh]j9)}(hjhh]hxdr_encode_opaque_fixed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjkhK)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 ]jfc.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*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hptrh]hptr}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubjM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjkhK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjkhK)ubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhK)hj<hhubjg)}(hhh]jl)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)hjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjkhK)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjѤjjѤjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). **Note** if ptr is NULL, only the padding is performed. Returns the updated current XDR buffer positionh](jl)}(h**Parameters**h]j)}(hjۤh]h Parameters}(hjݤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj٤ubah}(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)}(hj3h]hconst void *ptr}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK+hj-ubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhK+hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhK+hjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjlh]hunsigned int nbytes}(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.chK,hjfubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(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).}(hjhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjhhhNhNubh)}(hhh](j)}(hL__be32 * xdr_encode_opaque (__be32 *p, const void *ptr, unsigned int nbytes)h]j )}(hJ__be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j xdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjFhKGubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjFhKGubj3)}(hxdr_encode_opaqueh]j9)}(hjCh]hxdr_encode_opaque}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjFhKGubj )}(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 ]jAc.xdr_encode_opaqueasbuh1hhj}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 hjyubj )}(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*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѦubj9)}(hptrh]hptr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѦubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubjM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(hnbytesh]hnbytes}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjFhKGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjFhKGubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhKGhjhhubjg)}(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&]uh1jfhjhhhjFhKGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Returns the updated current XDR buffer positionh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjէh]h __be32 *p}(hjקhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӧubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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&]uh1jhj ubah}(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)}(hj'hhhNhNubah}(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)}(hjGh]hunsigned int nbytes}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKJhjAubj)}(hhh]jl)}(h size of data.h]h size of data.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hKJhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKJhj̧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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjhhhNhNubh)}(hhh](j)}(hDvoid xdr_terminate_string (const struct xdr_buf *buf, const u32 len)h]j )}(hCvoid xdr_terminate_string(const struct xdr_buf *buf, const u32 len)h](jM )}(hvoidh]hvoid}(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 }(hj֨hhhNhNubah}(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&]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)}(hxdr_bufh]hxdr_buf}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.xdr_terminate_stringasbuh1hhjubj")}(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)}(hbufh]hbuf}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jYc.xdr_terminate_stringasbuh1hhjubj")}(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 hjèhhhjըhK]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjըhK]ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjըhK]hjhhubjg)}(hhh]jl)}(h.'\0'-terminate a string residing in an xdr_bufh]h2‘0’-terminate a string residing in an xdr_buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjըhK]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct xdr_buf *buf`` XDR buffer where string resides ``const u32 len`` length of string, in bytesh](jl)}(h**Parameters**h]j)}(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.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)}(hjFh]hconst struct xdr_buf *buf}(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.chK^hj@ubj)}(hhh]jl)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hK^hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hK^hj=ubj)}(h,``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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK`hjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhK`hj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjhhhNhNubh)}(hhh](j)}(h]int xdr_buf_to_bvec (struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h]j )}(h\int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](jM )}(hinth]hint}(hj٪hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjժhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjժhhhjhKubj3)}(hxdr_buf_to_bvech]j9)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hbio_vech]hbio_vec}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_to_bvecasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbvech]hbvec}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(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 hjubj )}(hconst struct xdr_buf *xdrh](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)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jPc.xdr_buf_to_bvecasbuh1hhjիubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjիubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjիubj9)}(hxdrh]hxdr}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjիubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjժhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjѪhhhjhKubah}(h]j̪ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjΪhhubjg)}(hhh]jl)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjrhhubah}(h]h ]h"]h$]h&]uh1jfhjΪhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXL**Parameters** ``struct bio_vec *bvec`` bio_vec array to populate ``unsigned int bvec_size`` element count of **bvec** ``const struct xdr_buf *xdr`` xdr_buf to be copied **Description** Returns the number of entries consumed in **bvec** on success, or -ESERVERFAULT when **xdr** does not fit within **bvec_size** entries.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjh]hstruct bio_vec *bvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(hbio_vec array to populateh]hbio_vec array to populate}(hjϬhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjˬhKhj̬ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˬhKhjubj)}(h5``unsigned int bvec_size`` element count of **bvec** h](j)}(h``unsigned int bvec_size``h]j)}(hjh]hunsigned int bvec_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(helement count of **bvec**h](helement count of }(hjhhhNhNubj)}(h**bvec**h]hbvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hj6h]hconst struct xdr_buf *xdr}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj0ubj)}(hhh]jl)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhKhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjubeh}(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.chKhjubjl)}(hReturns the number of entries consumed in **bvec** on success, or -ESERVERFAULT when **xdr** does not fit within **bvec_size** entries.h](h*Returns the number of entries consumed in }(hjhhhNhNubj)}(h**bvec**h]hbvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# on success, or -ESERVERFAULT when }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh does not fit within }(hjhhhNhNubj)}(h **bvec_size**h]h bvec_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh entries.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_sg (C function)c.xdr_buf_to_sghNtauh1hhjhhhNhNubh)}(hhh](j)}(h~int xdr_buf_to_sg (const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h]j )}(h}int xdr_buf_to_sg(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h](jM )}(hinth]hint}(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)}(h xdr_buf_to_sgh]j9)}(h xdr_buf_to_sgh]h xdr_buf_to_sg}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(hl(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj)}(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)}(hxdr_bufh]hxdr_buf}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_to_sgasbuh1hhj%ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hunsigned int offseth](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)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hstruct scatterlist *sgh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j~c.xdr_buf_to_sgasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hunsigned int nsgh](jM )}(hunsignedh]hunsigned}(hjȯhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjįubj")}(h h]h }(hj֯hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjįubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjįubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjįubj9)}(hnsgh]hnsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjįubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]j߭ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h,Populate a scatterlist from an xdr_buf rangeh]h,Populate a scatterlist from an xdr_buf range}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj'hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjhNhNubj)}(hX;**Parameters** ``const struct xdr_buf *buf`` xdr_buf to map ``unsigned int offset`` starting byte offset within **buf** ``unsigned int len`` number of bytes to cover ``struct scatterlist *sg`` scatterlist array initialized with sg_init_table() ``unsigned int nsg`` number of entries available in **sg** **Description** **sg** is traversed with sg_next(), so callers may pass a list assembled with sg_chain(). **Return** on success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.h](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjFubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjkh]hconst struct xdr_buf *buf}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjeubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKhjbubj)}(h<``unsigned int offset`` starting byte offset within **buf** h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(h#starting byte offset within **buf**h](hstarting byte offset within }(hjhhhNhNubj)}(h**buf**h]hbuf}(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&]uh1jhjhKhjbubj)}(h.``unsigned int len`` number of bytes to cover h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjbubj)}(hN``struct scatterlist *sg`` scatterlist array initialized with sg_init_table() h](j)}(h``struct scatterlist *sg``h]j)}(hj$h]hstruct scatterlist *sg}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(h2scatterlist array initialized with sg_init_table()h]h2scatterlist array initialized with sg_init_table()}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjbubj)}(h;``unsigned int nsg`` number of entries available in **sg** h](j)}(h``unsigned int nsg``h]j)}(hj]h]hunsigned int nsg}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjWubj)}(hhh]jl)}(h%number of entries available in **sg**h](hnumber of entries available in }(hjvhhhNhNubj)}(h**sg**h]hsg}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jkhjrhKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjbubeh}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjFubjl)}(hY**sg** is traversed with sg_next(), so callers may pass a list assembled with sg_chain().h](j)}(h**sg**h]hsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhS is traversed with sg_next(), so callers may pass a list assembled with sg_chain().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjFubjl)}(h **Return**h]j)}(hj۱h]hReturn}(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.chKhjFubjl)}(hon success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.h]hon success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_buf_to_sg_alloc (C function)c.xdr_buf_to_sg_allochNtauh1hhjhhhNhNubh)}(hhh](j)}(hint xdr_buf_to_sg_alloc (const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h]j )}(hint xdr_buf_to_sg_alloc(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/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!hjhhhj.hMLubj3)}(hxdr_buf_to_sg_alloch]j9)}(hxdr_buf_to_sg_alloch]hxdr_buf_to_sg_alloc}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMLubj )}(h(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(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 jCsbc.xdr_buf_to_sg_allocasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjIJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hbufh]hbuf}(hjѲhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(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 hjUubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubjM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj9)}(hlenh]hlen}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hstruct scatterlist *sg_headh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_buf_to_sg_allocasbuh1hhjubj")}(h h]h }(hjȳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjֳhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsg_headh]hsg_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hunsigned int sg_head_nentsh](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)}(h sg_head_nentsh]h sg_head_nents}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h struct scatterlist **sg_overflowh](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 scatterlisth]h scatterlist}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jc.xdr_buf_to_sg_allocasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(h sg_overflowh]h sg_overflow}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjʹhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʴubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϴmodnameN classnameNj j )}j ]jc.xdr_buf_to_sg_allocasbuh1hhjƴubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjƴubj9)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƴubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hMLubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMLhjhhubjg)}(hhh]jl)}(h+Populate a scatterlist for an xdr_buf rangeh]h+Populate a scatterlist for an xdr_buf range}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct xdr_buf *buf`` xdr_buf to map ``unsigned int offset`` starting byte offset within **buf** ``unsigned int len`` number of bytes to cover ``struct scatterlist *sg_head`` caller-provided scatterlist array (typically stack-allocated) ``unsigned int sg_head_nents`` number of entries in **sg_head** ``struct scatterlist **sg_overflow`` OUT: chained extension, or NULL when **sg_head** sufficed ``gfp_t gfp`` memory allocation flags for overflow **Description** Populates **sg_head** directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from **sg_head** so that the result is traversable with sg_next(). **Return** on success, the number of populated scatterlist entries (counting only data entries, not chain entries). **sg_head** is the head of the resulting list. Caller must kfree **sg_overflow** when done. On failure, a negative errno.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhj?ubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjdh]hconst struct xdr_buf *buf}(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.chMMhj^ubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMMhj[ubj)}(h<``unsigned int offset`` starting byte offset within **buf** h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMNhjubj)}(hhh]jl)}(h#starting byte offset within **buf**h](hstarting byte offset within }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj[ubj)}(h.``unsigned int len`` number of bytes to cover h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhj޵ubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhj޵ubeh}(h]h ]h"]h$]h&]uh1jhjhMOhj[ubj)}(h^``struct scatterlist *sg_head`` caller-provided scatterlist array (typically stack-allocated) h](j)}(h``struct scatterlist *sg_head``h]j)}(hjh]hstruct scatterlist *sg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjubj)}(hhh]jl)}(h=caller-provided scatterlist array (typically stack-allocated)h]h=caller-provided scatterlist array (typically stack-allocated)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMPhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMPhj[ubj)}(h@``unsigned int sg_head_nents`` number of entries in **sg_head** h](j)}(h``unsigned int sg_head_nents``h]j)}(hjVh]hunsigned int sg_head_nents}(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.ch"MQhjPubj)}(hhh]jl)}(h number of entries in **sg_head**h](hnumber of entries in }(hjohhhNhNubj)}(h **sg_head**h]hsg_head}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jkhjkhMQhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMQhj[ubj)}(h_``struct scatterlist **sg_overflow`` OUT: chained extension, or NULL when **sg_head** sufficed h](j)}(h$``struct scatterlist **sg_overflow``h]j)}(hjh]h struct scatterlist **sg_overflow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMRhjubj)}(hhh]jl)}(h9OUT: chained extension, or NULL when **sg_head** sufficedh](h%OUT: chained extension, or NULL when }(hjhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh sufficed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj[ubj)}(h3``gfp_t gfp`` memory allocation flags for overflow h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMShjubj)}(hhh]jl)}(h$memory allocation flags for overflowh]h$memory allocation flags for overflow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj[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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMUhj?ubjl)}(hPopulates **sg_head** directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from **sg_head** so that the result is traversable with sg_next().h](h Populates }(hj9hhhNhNubj)}(h **sg_head**h]hsg_head}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhv directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from }(hj9hhhNhNubj)}(h **sg_head**h]hsg_head}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh2 so that the result is traversable with sg_next().}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThj?ubjl)}(h **Return**h]j)}(hjnh]hReturn}(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.chMYhj?ubjl)}(hon success, the number of populated scatterlist entries (counting only data entries, not chain entries). **sg_head** is the head of the resulting list. Caller must kfree **sg_overflow** when done. On failure, a negative errno.h](hjon success, the number of populated scatterlist entries (counting only data entries, not chain entries). }(hjhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 is the head of the resulting list. Caller must kfree }(hjhhhNhNubj)}(h**sg_overflow**h]h sg_overflow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* when done. On failure, a negative errno.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hzvoid xdr_inline_pages (struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h]j )}(hyvoid xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](jM )}(hvoidh]hvoid}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjӷhhhjhMubj3)}(hxdr_inline_pagesh]j9)}(hxdr_inline_pagesh]hxdr_inline_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjӷhhhjhMubj )}(hd(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_buf *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jsbc.xdr_inline_pagesasbuh1hhjubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct page **pagesh](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)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jNc.xdr_inline_pagesasbuh1hhjӸ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Ӹubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjӸubj9)}(hpagesh]hpages}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӸubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int baseh](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)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjϹhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(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(Prepare receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj̷hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_buf *xdr`` xdr_buf into which reply will be placed ``unsigned int offset`` expected offset where data payload will start, in bytes ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytesh](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj#ubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hjHh]hstruct xdr_buf *xdr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBubj)}(hhh]jl)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubj)}(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.chMhj{ubj)}(hhh]jl)}(h7expected offset where data payload will start, in bytesh]h7expected offset where data payload will start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjӺhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϺhMhjкubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϺhMhj?ubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hj,h]hunsigned int len}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj&ubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hOvoid _copy_from_pages (char *p, struct page **pages, size_t pgbase, size_t len)h]j )}(hNvoid _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMaubj3)}(h_copy_from_pagesh]j9)}(h_copy_from_pagesh]h_copy_from_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMaubj )}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j )}(hchar *ph](jM )}(hcharh]hchar}(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)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j jsbc._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t pgbaseh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j>c._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjμhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj˼ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjмmodnameN classnameNj j )}j ]j>c._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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhMaubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMahj{hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj{hhhjhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjhNhNubj)}(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)}(hj7h]h Parameters}(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.chMehj1ubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hjVh]hchar *p}(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.chMbhjPubj)}(hhh]jl)}(hpointer to destinationh]hpointer to destination}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMbhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMbhjMubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMchjubj)}(hhh]jl)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjMubj)}(h(``size_t pgbase`` offset of source data h](j)}(h``size_t pgbase``h]j)}(hjȽh]h size_t pgbase}(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.chMdhj½ubj)}(hhh]jl)}(hoffset of source datah]hoffset of source data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjݽhMdhj޽ubah}(h]h ]h"]h$]h&]uh1jhj½ubeh}(h]h ]h"]h$]h&]uh1jhjݽhMdhjMubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMehjubj)}(hhh]jl)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMghj1ubjl)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMfhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjhhhNhNubh)}(hhh](j)}(h:unsigned int xdr_stream_pos (const struct xdr_stream *xdr)h]j )}(h9unsigned int xdr_stream_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMEubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhjhMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMEubj3)}(hxdr_stream_posh]j9)}(hxdr_stream_posh]hxdr_stream_pos}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMEubj )}(h(const struct xdr_stream *xdr)h]j )}(hconst struct xdr_stream *xdrh](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 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_posasbuh1hhj־ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj־ubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj־ubj9)}(hxdrh]hxdr}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj־ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjҾubah}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhjhMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMEubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMEhjvhhubjg)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjuhhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMIhjubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjh]hconst struct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMKhjubj)}(hhh]jl)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjҿhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhjϿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjοhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjhhhNhNubh)}(hhh](j)}(h8unsigned int xdr_page_pos (const struct xdr_stream *xdr)h]j )}(h7unsigned int xdr_page_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM[ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hM[ubjM )}(hinth]hint}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj!hM[ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hM[ubj3)}(h xdr_page_posh]j9)}(h xdr_page_posh]h xdr_page_pos}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hM[ubj )}(h(const struct xdr_stream *xdr)h]j )}(hconst struct xdr_stream *xdrh](j)}(hj h]hconst}(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)}(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 jRsbc.xdr_page_posasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(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)}(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.chM[hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjhNhNubj)}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jl)}(h**Parameters**h]j)}(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_hj&ubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjKh]hconst struct xdr_stream *xdr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMahjEubj)}(hhh]jl)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMahjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjhhhNhNubh)}(hhh](j)}(hdvoid xdr_init_encode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]j )}(hcvoid xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMhubj3)}(hxdr_init_encodeh]j9)}(hxdr_init_encodeh]hxdr_init_encode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMhubj )}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jc.xdr_init_encodeasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_rqst *rqsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]jc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqsth]hrqst}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMhubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhhjhhubjg)}(hhh]jl)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXx**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging **Note** at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMlhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMihjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMjhj ubj)}(hhh]jl)}(h-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMjhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMjhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjLh]h __be32 *p}(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.chMkhjFubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMkhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMkhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMlhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMnhjubj)}(hhh]j)}(hX=at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](j)}(h:at the moment the RPC client only passes the length of ourh]h:at the moment the RPC client only passes the length of our}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMrhjubj)}(hhh]jl)}(hXscratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h]hXscratch buffer in the xdr_buf’s header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hHvoid xdr_init_encode_pages (struct xdr_stream *xdr, struct xdr_buf *buf)h]j )}(hGvoid xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf)h](jM )}(hvoidh]hvoid}(hj0hhhNhNubah}(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 }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj>hMubj3)}(hxdr_init_encode_pagesh]j9)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj>hMubj )}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)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_init_encode_pagesasbuh1hhjiubj")}(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 )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_encode_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj>hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj>hMubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hMhj%hhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjhNhNubj)}(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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h/pointer to XDR buffer into which to encode datah]h/pointer to XDR buffer into which to encode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]j )}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjBhMubj3)}(h__xdr_commit_encodeh]j9)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMubj )}(h(struct xdr_stream *xdr)h]j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jWsbc.__xdr_commit_encodeasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjBhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhj)hhubjg)}(hhh]jl)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream **Description** We handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying. Normally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj5h]hstruct xdr_stream *xdr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj/ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.h]hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hNormally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h]hNormally the caller doesn’t need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjhhhNhNubh)}(hhh](j)}(hB__be32 * xdr_reserve_space (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@__be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hxdr_reserve_spaceh]j9)}(hjh]hxdr_reserve_space}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]jc.xdr_reserve_spaceasbuh1hhjubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h Reserve buffer space for sendingh]h Reserve buffer space for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXS**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t nbytes`` number of bytes to reserve **Description** Checks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec. The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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.chMhj'ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjfh]h size_t nbytes}(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.chMhj`ubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(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&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hChecks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.h]hChecks that we have enough buffer space to encode ‘nbytes’ more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hX+The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](hhThe returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? is destroyed, but that might not always be true in the future.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjhhhNhNubh)}(hhh](j)}(hAint xdr_reserve_space_vec (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@int xdr_reserve_space_vec(struct xdr_stream *xdr, size_t nbytes)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hMubj3)}(hxdr_reserve_space_vech]j9)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j j<sbc.xdr_reserve_space_vecasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(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 hjNubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj'hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj'hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMhjhhubjg)}(hhh]jl)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjhNhNubj)}(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)}(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)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjbh]hstruct 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 xdr_streamh]hpointer to xdr_stream}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj=ubjl)}(hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.h]hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj=ubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjubj)}(hhh]jl)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh : success }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh#: not enough space is available in }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h=void xdr_truncate_encode (struct xdr_stream *xdr, size_t len)h]j )}(hbuf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond. If this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer. This is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMDhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjubj)}(hhh]jl)}(hnew length of bufferh]hnew length of buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjubjl)}(hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.h]hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhjubjl)}(hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer.h]hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer’s current length represents the end of the available buffer.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMJhjubjl)}(hThis is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](hThis is }(hjshhhNhNubjY)}(h*not*h]hnot}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjsubh 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.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h=void xdr_truncate_decode (struct xdr_stream *xdr, size_t len)h]j )}(hint xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen)h](jM )}(hinth]hint}(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*}(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 int newbuflenh](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)}(h newbuflenh]h newbuflen}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``int newbuflen`` new maximum number of bytes available **Description** Adjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``int newbuflen`` new maximum number of bytes available h](j)}(h``int newbuflen``h]j)}(hjh]h int newbuflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h%new maximum number of bytes availableh]h%new maximum number of bytes available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]j )}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](jM )}(hvoidh]hvoid}(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{hhhjhMubj3)}(hxdr_write_pagesh]j9)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMubj )}(hR(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_write_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hpageh]hpage}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jc.xdr_write_pagesasbuh1hhj*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*ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjthhubjg)}(hhh]jl)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjzubj)}(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)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj ubj)}(hhh]jl)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hj*hhhNhNubj)}(h **pages**h]hpages}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hjXh]hunsigned int len}(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)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjqhhhNhNubj)}(h **pages**h]hpages}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh to insert}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjzubjl)}(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.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjhhhNhNubh)}(hhh](j)}(hdvoid xdr_init_decode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]j )}(hcvoid xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMAubj3)}(hxdr_init_decodeh]j9)}(hxdr_init_decodeh]hxdr_init_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMAubj )}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.xdr_init_decodeasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(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 ]jsc.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jsc.xdr_init_decodeasbuh1hhjubj")}(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)}(hj h]hp}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hstruct rpc_rqst *rqsth](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)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jsc.xdr_init_decodeasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMAubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMAubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMAhjhhubjg)}(hhh]jl)}(h+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhj ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hj1h]hstruct xdr_stream *xdr}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMBhj+ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMBhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMBhj(ubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjjh]hstruct xdr_buf *buf}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMChjdubj)}(hhh]jl)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMChj(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.chMDhjubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj(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.chMFhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hovoid xdr_init_decode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h]j )}(hnvoid xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhjDhMZubj3)}(hxdr_init_decode_pagesh]j9)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhjDhMZubj )}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](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 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_init_decode_pagesasbuh1hhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hpageh]hpage}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(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 hjkubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhjDhMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhjDhMZubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMZhj+hhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhjDhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(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)}(hjVh]h Parameters}(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^hjPubj)}(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.chM[hjoubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjlubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\hjubj)}(hhh]jl)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjlubj)}(h5``struct page **pages`` list of pages to decode into h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM]hjubj)}(hhh]jl)}(hlist of pages to decode intoh]hlist of pages to decode into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjlubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hj h]hunsigned int len}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM_hjubj)}(hhh]jl)}(h"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM^hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM_hjlubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void xdr_finish_decode (struct xdr_stream *xdr)h]j )}(h.void xdr_finish_decode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhMmubj3)}(hxdr_finish_decodeh]j9)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjhMmubj )}(h(struct xdr_stream *xdr)h]j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_finish_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhjhMmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjhMmubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMmhjohhubjg)}(hhh]jl)}(h,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhjVubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hj{h]hstruct xdr_stream *xdr}(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.chMshjuubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMnhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMshjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjhhhNhNubh)}(hhh](j)}(hB__be32 * xdr_inline_decode (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@__be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_inline_decodesbc.xdr_inline_decodeasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hxdr_inline_decodeh]j9)}(hjh]hxdr_inline_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]jc.xdr_inline_decodeasbuh1hhj0ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_inline_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX\**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``size_t nbytes`` number of bytes of data to decode **Description** Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hj>h]hstruct xdr_stream *xdr}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj8ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjwh]h size_t nbytes}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjqubj)}(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&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hCheck if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h]hCheck if the input buffer is long enough to enable us to decode ‘nbytes’ more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hFunsigned int xdr_read_pages (struct xdr_stream *xdr, unsigned int len)h]j )}(hEunsigned int xdr_read_pages(struct xdr_stream *xdr, unsigned int len)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_read_pagesh]j9)}(hxdr_read_pagesh]hxdr_read_pages}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h*(struct xdr_stream *xdr, unsigned int len)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_read_pagesasbuh1hhjLubj")}(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 )}(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 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)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail. Returns the number of XDR encoded bytes now contained in the pagesh](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjeh]hstruct xdr_stream *xdr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(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&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubjl)}(hX#Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.h](hMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + }(hjhhhNhNubj)}(%h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubjl)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjhhhNhNubh)}(hhh](j)}(h?void xdr_set_pagelen (struct xdr_stream *xdr, unsigned int len)h]j )}(h>void xdr_set_pagelen(struct xdr_stream *xdr, unsigned int len)h](jM )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjMhMubj3)}(hxdr_set_pagelenh]j9)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjMhMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jbsbc.xdr_set_pagelenasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(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 hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjMhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjMhMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhMhj4hhubjg)}(hhh]jl)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjhNhNubj)}(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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubjl)}(hEither grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.h](hJEither grows or shrinks the length of the xdr pages by setting pagelen to }(hjhhhNhNubj)}(h**len**h]hlen}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubjl)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjhhhNhNubh)}(hhh](j)}(h>void xdr_enter_page (struct xdr_stream *xdr, unsigned int len)h]j )}(h=void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)h](jM )}(hvoidh]hvoid}(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)}(hxdr_enter_pageh]j9)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjyhMubj )}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjyhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjyhMubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMhj`hhubjg)}(hhh]jl)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(hj1h]h Description}(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.chM hjubjl)}(hXMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h]hX Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + “len” bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjhhhNhNubh)}(hhh](j)}(hoint xdr_buf_subsegment (const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h]j )}(hnint xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](jM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhP/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!hjrhhhjhM=ubj3)}(hxdr_buf_subsegmenth]j9)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjhM=ubj )}(hX(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_subsegmentasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *subbufh](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)}(hxdr_bufh]hxdr_buf}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]jc.xdr_buf_subsegmentasbuh1hhj<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)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjhM=ubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM=hjkhhubjg)}(hhh]jl)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM=hj`hhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct xdr_buf *buf`` an xdr buffer ``struct xdr_buf *subbuf`` the result buffer ``unsigned int base`` beginning of range in bytes ``unsigned int len`` length of range in bytes **Description** sets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**. **buf** and **subbuf** may be pointers to the same struct xdr_buf. Returns -1 if base or length are out of bounds.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhjubj)}(hhh](j)}(h,``const struct xdr_buf *buf`` an xdr buffer h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM>hjubj)}(hhh]jl)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjh]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM?hjubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM@hjubj)}(hhh]jl)}(hbeginning of range in bytesh]hbeginning of range in bytes}(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`` length of range in bytes 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.chMAhjIubj)}(hhh]jl)}(hlength of range in bytesh]hlength of range in bytes}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMAhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMChjubjl)}(hssets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**.h](hsets }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. to an xdr buffer representing the portion of }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of length }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh starting at offset }(hjhhhNhNubj)}(h**base**h]hbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMBhjubjl)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(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.chMEhjubjl)}(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.chMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjhhhNhNubh)}(hhh](j)}(h`bool xdr_stream_subsegment (struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h]j )}(h_bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](jM )}(hjh]hbool}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhM{ubj3)}(hxdr_stream_subsegmenth]j9)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhM{ubj )}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]jc.xdr_stream_subsegmentasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsubbufh]hsubbuf}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjbhM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjbhM{ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhM{hjJhhubjg)}(hhh]jl)}(h&set **subbuf** to a portion of **xdr**h](hset }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hXG**Parameters** ``struct xdr_stream *xdr`` an xdr_stream set up for decoding ``struct xdr_buf *subbuf`` the result buffer ``unsigned int nbytes`` length of **xdr** to extract, in bytes **Description** Sets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion. Return values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hj6h]hstruct xdr_stream *xdr}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM|hj0ubj)}(hhh]jl)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM|hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM|hj-ubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjoh]hstruct xdr_buf *subbuf}(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.chM}hjiubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM}hj-ubj)}(h?``unsigned int nbytes`` length of **xdr** to extract, in bytes h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM~hjubj)}(hhh]jl)}(h&length of **xdr** to extract, in bytesh](h length of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to extract, in bytes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~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.chMhjubjl)}(hSets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion.h](hSets up }(hj hhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, and extends for a length of }(hj hhhNhNubj)}(h **nbytes**h]hnbytes}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. If this is successful, }(hj hhhNhNubj)}(h**xdr**h]hxdr}(hj[hhhNhNubah}(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.chMhjubj)}(hhh]j)}(hReturn values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(hReturn values:h]hReturn values:}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjhhhNhNubh)}(hhh](j)}(hunsigned int xdr_stream_move_subsegment (struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h]j )}(h~unsigned int xdr_stream_move_subsegment(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhP/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!hj hhhjhMubjM )}(hinth]hint}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhjhMubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hxdr_stream_move_subsegmenth]j9)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jPsbc.xdr_stream_move_subsegmentasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hunsigned int targeth](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}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(htargeth]htarget}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h)Move part of a stream to another positionh]h)Move part of a stream to another position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` the source xdr_stream ``unsigned int offset`` the source offset of the segment ``unsigned int target`` the target offset of the segment ``unsigned int length`` the number of bytes to move **Description** Moves **length** bytes from **offset** to **target** in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj!h]hstruct xdr_stream *xdr}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hthe source xdr_streamh]hthe source xdr_stream}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjZh]hunsigned int offset}(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)}(h the source offset of the segmenth]h the source offset of the segment}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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&]uh1jhjhMhjubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hthe number of bytes to moveh]hthe number of bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(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 }(hjhhhNhNubj)}(h **length**h]hlength}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **target**h]htarget}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjhhhNhNubh)}(hhh](j)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]j )}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](jM )}(hunsignedh]hunsigned}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~hhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhjhMubj3)}(hxdr_stream_zeroh]j9)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhjhMubj )}(hB(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_zeroasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int offseth](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)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(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 hj~hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhMubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjwhhubjg)}(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&]uh1jfhjwhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct xdr_stream *xdr`` an xdr_stream to zero out ``unsigned int offset`` the starting point in the stream ``unsigned int length`` the number of bytes to zeroh](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out h](j)}(h``struct xdr_stream *xdr``h]j)}(hjAh]hstruct xdr_stream *xdr}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj;ubj)}(hhh]jl)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjzh]hunsigned int offset}(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)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubj)}(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&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjhhhNhNubh)}(hhh](j)}(h9void xdr_buf_trim (struct xdr_buf *buf, unsigned int len)h]j )}(h8void xdr_buf_trim(struct xdr_buf *buf, unsigned int len)h](jM )}(hvoidh]hvoid}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(h xdr_buf_trimh]j9)}(h xdr_buf_trimh]h xdr_buf_trim}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h'(struct xdr_buf *buf, unsigned int len)h](j )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j j0sbc.xdr_buf_trimasbuh1hhjFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(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 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)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_buf *buf`` buf to be trimmed ``unsigned int len`` number of bytes to reduce "buf" by **Description** Trim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(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.chMhj:ubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hj_h]hstruct xdr_buf *buf}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjYubj)}(hhh]jl)}(hbuf to be trimmedh]hbuf to be trimmed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(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&]uh1jhjhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj:ubjl)}(hTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h]hXTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it’s possible that we’ll trim less than that amount if the xdr_buf is too small, or if (for instance) it’s all in the head and the parser has already read too far into it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjhhhNhNubh)}(hhh](j)}(hissize_t xdr_stream_decode_string_dup (struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h]j )}(hhssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5 ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj<hM5 ubj3)}(hxdr_stream_decode_string_duph]j9)}(hj9h]hxdr_stream_decode_string_dup}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj<hM5 ubj )}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j7c.xdr_stream_decode_string_dupasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(h char **strh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(h size_t maxlenh](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 ]j7c.xdr_stream_decode_string_dupasbuh1hhj%ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hmaxlenh]hmaxlen}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hgfp_t gfp_flagsh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j7c.xdr_stream_decode_string_dupasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj<hM5 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj<hM5 ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hM5 hj 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.chM5 hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj<hM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``char **str`` location to store pointer to string ``size_t maxlen`` maximum acceptable string length ``gfp_t gfp_flags`` GFP mask to use **Description** Return values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9 hjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(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.chM6 hjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM6 hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM6 hjubj)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hjDh]h char **str}(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.chM7 hj>ubj)}(hhh]jl)}(h#location to store pointer to stringh]h#location to store pointer to string}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM7 hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM7 hjubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hj}h]h size_t maxlen}(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.chM8 hjwubj)}(hhh]jl)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8 hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM8 hjubj)}(h$``gfp_t gfp_flags`` GFP mask to use h](j)}(h``gfp_t gfp_flags``h]j)}(hjh]hgfp_t gfp_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9 hjubj)}(hhh]jl)}(hGFP mask to useh]hGFP mask to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM; hjubj)}(hhh]j)}(hReturn values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM= hj 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 }(hj hhhNhNubj)}(h***ptr**h]h*ptr}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh }(hj hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on XDR buffer overflow }(hj hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh( if the size of the string would exceed }(hj hhhNhNubj)}(h **maxlen**h]hmaxlen}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh }hj sbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on memory allocation failure}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM; hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjhhhNhNubh)}(hhh](j)}(hpssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h]j )}(hossize_t xdr_stream_decode_opaque_auth(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_stream_decode_opaque_authsbc.xdr_stream_decode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMV ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMV ubj3)}(hxdr_stream_decode_opaque_authh]j9)}(hjh]hxdr_stream_decode_opaque_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMV ubj )}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(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 xdr_streamh]h xdr_stream}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhj 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}(hjdhhhNhNubah}(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&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void **bodyh](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int *body_lenh](jM )}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbody_lenh]hbody_len}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMV ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMV ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMV hjhhubjg)}(hhh]jl)}(h(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMV hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 *flavor`` location to store decoded flavor ``void **body`` location to store decode body ``unsigned int *body_len`` location to store length of decoded body **Description** Return values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZ hjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMW hjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMW hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(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.chMX hjubj)}(hhh]jl)}(h location to store decoded flavorh]h location to store decoded flavor}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMX hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjCh]h void **body}(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.chMY hj=ubj)}(hhh]jl)}(hlocation to store decode bodyh]hlocation to store decode body}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMY hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMY hjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hj|h]hunsigned int *body_len}(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.chMZ hjvubj)}(hhh]jl)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZ hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMZ hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\ hjubj)}(hhh]j)}(hReturn values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM] hjubj)}(hhh]jl)}(hOn success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](h8On success, returns the number of buffer bytes consumed }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 if the decoded size of the body field exceeds 400 octets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmssize_t xdr_stream_encode_opaque_auth (struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h]j )}(hlssize_t xdr_stream_encode_opaque_auth(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j xdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhjGhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMr ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjohMr ubj3)}(hxdr_stream_encode_opaque_authh]j9)}(hjlh]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjohMr ubj )}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jjc.xdr_stream_encode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flavorh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jjc.xdr_stream_encode_opaque_authasbuh1hhj ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hflavorh]hflavor}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *bodyh](jM )}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hbodyh]hbody}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(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 hjGhhhjohMr ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjohMr ubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMr hj@hhubjg)}(hhh]jl)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjohMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 flavor`` verifier flavor to encode ``void *body`` content of body to encode ``unsigned int body_len`` length of body to encode **Description** Return values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMv hjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj:h]hstruct xdr_stream *xdr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMs hj4ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMs hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMs hj1ubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjsh]h u32 flavor}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMt hjmubj)}(hhh]jl)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMt hj1ubj)}(h)``void *body`` content of body to encode h](j)}(h``void *body``h]j)}(hjh]h void *body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMu hjubj)}(hhh]jl)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMu hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMu hj1ubj)}(h3``unsigned int body_len`` length of body to encode h](j)}(h``unsigned int body_len``h]j)}(hjh]hunsigned int body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMv hjubj)}(hhh]jl)}(hlength of body to encodeh]hlength of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMv hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMv hj1ubeh}(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&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hjubj)}(hhh]j)}(hReturn values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMy hj9ubj)}(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 }(hjOhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh on XDR buffer overflow }(hjOhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh if the size of }(hjOhhhNhNubj)}(h**body**h]hbody}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh exceeds 400 octets}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hjLubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjKhMy hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjhhhNhNubh)}(hhh](j)}(h3int svc_reg_xprt_class (struct svc_xprt_class *xcl)h]j )}(h2int svc_reg_xprt_class(struct svc_xprt_class *xcl)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKNubj3)}(hsvc_reg_xprt_classh]j9)}(hsvc_reg_xprt_classh]hsvc_reg_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKNubj )}(h(struct svc_xprt_class *xcl)h]j )}(hstruct svc_xprt_class *xclh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprt_classh]hsvc_xprt_class}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.svc_reg_xprt_classasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxclh]hxcl}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j 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&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct svc_xprt_class *xcl`` New transport class to be registered **Description** Returns zero on success; otherwise a negative errno is returned.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKRhjubj)}(hhh]j)}(hD``struct svc_xprt_class *xcl`` New transport class to be registered h](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjh]hstruct svc_xprt_class *xcl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKOhjubj)}(hhh]jl)}(h$New transport class to be registeredh]h$New transport class to be registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKQhjubjl)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjhhhNhNubh)}(hhh](j)}(h6void svc_unreg_xprt_class (struct svc_xprt_class *xcl)h]j )}(h5void svc_unreg_xprt_class(struct svc_xprt_class *xcl)h](jM )}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhKhubj3)}(hsvc_unreg_xprt_classh]j9)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhKhubj )}(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 jjsbc.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 hj|ubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhKhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhKhubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhKhhj<hhubjg)}(hhh]jl)}(h,Unregister a server-side RPC transport classh]h,Unregister a server-side RPC transport class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhhjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhKhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](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.chKlhj#ubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjHh]hstruct svc_xprt_class *xcl}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKnhjBubj)}(hhh]jl)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKnhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void svc_xprt_deferred_close (struct svc_xprt *xprt)h]j )}(h3void svc_xprt_deferred_close(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hsvc_xprt_deferred_closeh]j9)}(hsvc_xprt_deferred_closeh]hsvc_xprt_deferred_close}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_deferred_closeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprth]hxprt}(hj8hhhNhNubah}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj_hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjhNhNubj)}(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.chKhj~ubj)}(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&]uh1jhj~ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj~ubjl)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void svc_xprt_received (struct svc_xprt *xprt)h]j )}(h-void svc_xprt_received(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hKubj3)}(hsvc_xprt_receivedh]j9)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hKubj )}(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 }(hjmhhhNhNubah}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.svc_xprt_receivedasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hKhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhj1hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]jl)}(hcontrolling transporth]hcontrolling transport}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]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.}(hjuhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjhhhNhNubh)}(hhh](j)}(hint svc_xprt_create_from_sa (struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h]j )}(hint svc_xprt_create_from_sa(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](jM )}(hinth]hint}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_create_from_saasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xprt_nameh](j)}(hj h]hconst}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(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 ]jBc.svc_xprt_create_from_saasbuh1hhjubj")}(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}(hj. hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *saph](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)}(hsockaddrh]hsockaddr}(hje hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg modnameN classnameNj j )}j ]jBc.svc_xprt_create_from_saasbuh1hhjC 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)}(hsaph]hsap}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int flagsh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hflagsh]hflags}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct cred *credh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hcredh]hcred}(hj% hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj" ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj' modnameN classnameNj j )}j ]jBc.svc_xprt_create_from_saasbuh1hhj 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)}(hcredh]hcred}(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)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hj hhhNhNubj)}(h**serv**h]hserv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh from socket address}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM.hj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM2hj ubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj h]hstruct svc_serv *serv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM/hj ubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM/hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj ubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hj h]hconst char *xprt_name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM0hj ubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj) hM0hj* ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) hM0hj ubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjM h]hstruct net *net}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM1hjG ubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjb hM1hjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hM1hj ubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hj h]hstruct sockaddr *sap}(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.chM2hj ubj)}(hhh]jl)}(hsocket address pointerh]hsocket address pointer}(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)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hj h]h int flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM3hj ubj)}(hhh]jl)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM3hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM3hj ubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hj h]hconst struct cred *cred}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM4hj 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 hM4hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj3 h]h Description}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM6hj ubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjI hhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubh on failure}(hjI hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM5hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint svc_xprt_create (struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h]j )}(hint svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMXubj3)}(hsvc_xprt_createh]j9)}(hsvc_xprt_createh]hsvc_xprt_create}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMXubj )}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.svc_xprt_createasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hservh]hserv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst char *xprt_nameh](j)}(hj h]hconst}(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5 ubj")}(h h]h }(hjF hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5 ubjM )}(hcharh]hchar}(hjT hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5 ubj")}(h h]h }(hjb hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5 ubj )}(hj h]h*}(hjp hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5 ubj9)}(h xprt_nameh]h xprt_name}(hj} hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.svc_xprt_createasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst int familyh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfamilyh]hfamily}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubjM )}(hunsignedh]hunsigned}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hporth]hport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst struct cred *credh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hcredh]hcred}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j c.svc_xprt_createasbuh1hhjubj")}(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)}(hcredh]hcred}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMXubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMXubah}(h]j} ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMXhj hhubjg)}(hhh]jl)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``const int family`` network address family ``const unsigned short port`` listener port ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYhjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjh]hconst char *xprt_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZhjubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMZhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMZhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjTh]hstruct net *net}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hjNubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM[hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM[hjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjh]hconst int family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h,``const unsigned short port`` listener port h](j)}(h``const unsigned short port``h]j)}(hjh]hconst unsigned short port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hjubj)}(hhh]jl)}(h listener porth]h listener port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(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)}(hj8h]hconst struct cred *cred}(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$credential to bind to this transporth]h$credential to bind to this transport}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM_hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM_hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMahjubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hEchar * svc_print_addr (struct svc_rqst *rqstp, char *buf, size_t len)h]j )}(hCchar *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len)h](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hsvc_print_addrh]j9)}(hsvc_print_addrh]hsvc_print_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jsbc.svc_print_addrasbuh1hhjubj")}(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)}(hrqstph]hrqstp}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jNc.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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjhNhNubj)}(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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj=ubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjbh]hstruct svc_rqst *rqstp}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj\ubj)}(hhh]jl)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(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&]uh1jhjhMhjYubj)}(h&``size_t len`` length of target bufferh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void svc_xprt_enqueue (struct svc_xprt *xprt)h]j )}(h,void svc_xprt_enqueue(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMubj3)}(hsvc_xprt_enqueueh]j9)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(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 jQsbc.svc_xprt_enqueueasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMhj#hhubjg)}(hhh]jl)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj ubj)}(hhh]j)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hj/h]hstruct svc_xprt *xprt}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj)ubj)}(hhh]jl)}(htransport with data pendingh]htransport with data pending}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void svc_reserve (struct svc_rqst *rqstp, int space)h]j )}(h3void svc_reserve(struct svc_rqst *rqstp, int space)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM"ubj3)}(h svc_reserveh]j9)}(h svc_reserveh]h svc_reserve}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM"ubj )}(h#(struct svc_rqst *rqstp, int space)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.svc_reserveasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int spaceh](jM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hspaceh]hspace}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(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)}(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.chM"hj{hhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``struct svc_rqst *rqstp`` The request in question ``int space`` new max space to reserve **Description** Each request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh](j)}(h3``struct svc_rqst *rqstp`` The request in question h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubj)}(hhh]jl)}(hThe request in questionh]hThe request in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h'``int space`` new max space to reserve h](j)}(h ``int space``h]j)}(hjh]h int space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM$hjubj)}(hhh]jl)}(hnew max space to reserveh]hnew max space to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM$hjubeh}(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&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubjl)}(hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus }(hjIhhhNhNubj)}(h **space**h]hspace}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjhhhNhNubh)}(hhh](j)}(h(void svc_wake_up (struct svc_serv *serv)h]j )}(h'void svc_wake_up(struct svc_serv *serv)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMcubj3)}(h svc_wake_uph]j9)}(h svc_wake_uph]h svc_wake_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMcubj )}(h(struct svc_serv *serv)h]j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.svc_wake_upasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMcubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMchjhhubjg)}(hhh]jl)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMchjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMghjfubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMdhjubj)}(hhh]jl)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMfhjfubjl)}(hX2Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h]hX:Some svc_serv’s will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to “kick” a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don’t need to wake up more than one thread for this purpose.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMehjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1int svc_recv (struct svc_rqst *rqstp, long timeo)h]j )}(h0int svc_recv(struct svc_rqst *rqstp, long timeo)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hsvc_recvh]j9)}(hsvc_recvh]hsvc_recv}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h$(struct svc_rqst *rqstp, long timeo)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sb c.svc_recvasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h long timeoh](jM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htimeoh]htimeo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_rqst *rqstp`` an idle RPC service thread ``long timeo`` timeout (in jiffies) (0 means infinite timeout) **Description** This code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool. If the timeout is 0, then the sleep will never time out. Returns -ETIMEDOUT if idle for an extended period -EBUSY if there is more work to do than available threads 0 otherwise.h](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjAh]hstruct svc_rqst *rqstp}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj;ubj)}(hhh]jl)}(han idle RPC service threadh]han idle RPC service thread}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(h?``long timeo`` timeout (in jiffies) (0 means infinite timeout) h](j)}(h``long timeo``h]j)}(hjzh]h long timeo}(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.chMhjtubj)}(hhh]jl)}(h/timeout (in jiffies) (0 means infinite timeout)h]h/timeout (in jiffies) (0 means infinite timeout)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjl)}(hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h]hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjl)}(h8If the timeout is 0, then the sleep will never time out.h]h8If the timeout is 0, then the sleep will never time out.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]j)}(hxReturns -ETIMEDOUT if idle for an extended period -EBUSY if there is more work to do than available threads 0 otherwise.h](j)}(h1Returns -ETIMEDOUT if idle for an extended periodh]h1Returns -ETIMEDOUT if idle for an extended period}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(hF-EBUSY if there is more work to do than available threads 0 otherwise.h]hF-EBUSY if there is more work to do than available threads 0 otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void svc_xprt_close (struct svc_xprt *xprt)h]j )}(h*void svc_xprt_close(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjPhM|ubj3)}(hsvc_xprt_closeh]j9)}(hsvc_xprt_closeh]hsvc_xprt_close}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjPhM|ubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jesbc.svc_xprt_closeasbuh1hhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubah}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhjPhM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjPhM|ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhM|hj7hhubjg)}(hhh]jl)}(hClose a client connectionh]hClose a client connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhjPhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jl)}(h**Parameters**h]j)}(hj$h]h Parameters}(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.chMhjubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hjCh]hstruct svc_xprt *xprt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj=ubj)}(hhh]jl)}(htransport to disconnecth]htransport to disconnect}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM}hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjhhhNhNubh)}(hhh](j)}(hSvoid svc_xprt_destroy_all (struct svc_serv *serv, struct net *net, bool unregister)h]j )}(hRvoid svc_xprt_destroy_all(struct svc_serv *serv, struct net *net, bool unregister)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hsvc_xprt_destroy_allh]j9)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct svc_serv *serv, struct net *net, bool unregister)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_destroy_allasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hneth]hnet}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]jc.svc_xprt_destroy_allasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(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'jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` RPC service to be shut down ``struct net *net`` target network namespace ``bool unregister`` true if it is OK to unregister the destroyed xprts **Description** Server threads may still be running (especially in the case where the service is still running in other network namespaces). So we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hjPh]hstruct svc_serv *serv}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjJubj)}(hhh]jl)}(hRPC service to be shut downh]hRPC service to be shut down}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubj)}(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&]uh1jhjhMhjGubj)}(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&]uh1jhjhMhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubjl)}(h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).h]h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubjl)}(hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h]hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server’s main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they’re done.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjhhhNhNubh)}(hhh](j)}(h}struct svc_xprt * svc_find_listener (struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h]j )}(h{struct svc_xprt *svc_find_listener(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj^hMYubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j svc_find_listenersbc.svc_find_listenerasbuh1hhjMhhhj^hMYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj^hMYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMhhhj^hMYubj3)}(hsvc_find_listenerh]j9)}(hjh]hsvc_find_listener}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj^hMYubj )}(hY(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hj" hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xcl_nameh](j)}(hj h]hconst}(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 ubj")}(h h]h }(hjH hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7 ubjM )}(hcharh]hchar}(hjV hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7 ubj")}(h h]h }(hjd hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7 ubj )}(hj h]h*}(hjr hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7 ubj9)}(hxcl_nameh]hxcl_name}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.svc_find_listenerasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hneth]hnet}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct sockaddr *sah](j)}(hj h]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj)}(hjh]hstruct}(hj#!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj0!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hjA!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC!modnameN classnameNj j )}j ]jc.svc_find_listenerasbuh1hhj!ubj")}(h h]h }(hj_!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hjm!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hsah]hsa}(hjz!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj^hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj^hMYubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMYhjFhhubjg)}(hhh]jl)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhj^hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const struct sockaddr *sa`` sockaddr containing address **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hj!ubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hj!h]hstruct svc_serv *serv}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZhj!ubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMZhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMZhj!ubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj"h]hconst char *xcl_name}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hj"ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hj7"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3"hM[hj4"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj3"hM[hj!ubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjW"h]hstruct net *net}(hjY"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjQ"ubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hjp"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl"hM\hjm"ubah}(h]h ]h"]h$]h&]uh1jhjQ"ubeh}(h]h ]h"]h$]h&]uh1jhjl"hM\hj!ubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hj"h]hconst struct sockaddr *sa}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hj"ubj)}(hhh]jl)}(hsockaddr containing addressh]hsockaddr containing address}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hM]hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM]hj!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjl)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hj!ubjl)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM^hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct svc_xprt * svc_find_xprt (struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h]j )}(hstruct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj #hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM{ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj #hhhj#hM{ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj/#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1#modnameN classnameNj j )}j ]j )}j svc_find_xprtsbc.svc_find_xprtasbuh1hhj #hhhj#hM{ubj")}(h h]h }(hjP#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 svc_find_xprth]j9)}(hjM#h]h svc_find_xprt}(hjo#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj #hhhj#hM{ubj )}(ho(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj#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 ]jK#c.svc_find_xprtasbuh1hhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hservh]hserv}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hconst char *xcl_nameh](j)}(hj h]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubjM )}(hcharh]hchar}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#ubj")}(h h]h }(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)}(hxcl_nameh]hxcl_name}(hj>$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjW$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS$ubj")}(h h]h }(hjd$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS$ubh)}(hhh]j9)}(hneth]hnet}(hju$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw$modnameN classnameNj j )}j ]jK#c.svc_find_xprtasbuh1hhjS$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS$ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS$ubj9)}(hneth]hnet}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hconst sa_family_t afh](j)}(hj h]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h sa_family_th]h sa_family_t}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]jK#c.svc_find_xprtasbuh1hhj$ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hafh]haf}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hj*%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&%ubj")}(h h]h }(hj7%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&%ubjM )}(hunsignedh]hunsigned}(hjE%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&%ubj")}(h h]h }(hjS%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&%ubjM )}(hshorth]hshort}(hja%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&%ubj")}(h h]h }(hjo%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&%ubj9)}(hporth]hport}(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)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM{hj%hhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj#hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const sa_family_t af`` Address family of transport's local address ``const unsigned short port`` transport's IP port number **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj%ubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hj%h]hstruct svc_serv *serv}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|hj%ubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM|hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM|hj%ubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj!&h]hconst char *xcl_name}(hj#&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM}hj&ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hj:&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6&hM}hj7&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj6&hM}hj%ubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjZ&h]hstruct net *net}(hj\&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM~hjT&ubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hjs&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjo&hM~hjp&ubah}(h]h ]h"]h$]h&]uh1jhjT&ubeh}(h]h ]h"]h$]h&]uh1jhjo&hM~hj%ubj)}(hE``const sa_family_t af`` Address family of transport's local address h](j)}(h``const sa_family_t af``h]j)}(hj&h]hconst sa_family_t af}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj&ubj)}(hhh]jl)}(h+Address family of transport's local addressh]h-Address family of transport’s local address}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubj)}(h9``const unsigned short port`` transport's IP port number h](j)}(h``const unsigned short port``h]j)}(hj&h]hconst unsigned short port}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj&ubj)}(hhh]jl)}(htransport's IP port numberh]htransport’s IP port number}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj%ubjl)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj%ubjl)}(hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h]hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service’s list that has a matching class name.}(hj,'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjhhhNhNubh)}(hhh](j)}(hGint svc_xprt_names (struct svc_serv *serv, char *buf, const int buflen)h]j )}(hFint svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen)h](jM )}(hinth]hint}(hj['hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjW'hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW'hhhji'hMubj3)}(hsvc_xprt_namesh]j9)}(hsvc_xprt_namesh]hsvc_xprt_names}(hj|'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjW'hhhji'hMubj )}(h4(struct svc_serv *serv, char *buf, const int buflen)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j j~'sbc.svc_xprt_namesasbuh1hhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hservh]hserv}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h char *bufh](jM )}(hcharh]hchar}(hj (hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj&(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hbufh]hbuf}(hj3(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hconst int buflenh](j)}(hj h]hconst}(hjL(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH(ubj")}(h h]h }(hjY(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH(ubjM )}(hinth]hint}(hjg(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH(ubj")}(h h]h }(hju(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH(ubj9)}(hbuflenh]hbuflen}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjW'hhhji'hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjS'hhhji'hMubah}(h]jN'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhji'hMhjP'hhubjg)}(hhh]jl)}(h.format a buffer with a list of transport namesh]h.format a buffer with a list of transport names}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jfhjP'hhhji'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to an RPC service ``char *buf`` pointer to a buffer to be filled in ``const int buflen`` length of buffer to be filled in **Description** Fills in **buf** with a string containing a list of transport names, each name terminated with '\n'. Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(ubj)}(hhh](j)}(h4``struct svc_serv *serv`` pointer to an RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj(h]hstruct svc_serv *serv}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(ubj)}(hhh]jl)}(hpointer to an RPC serviceh]hpointer to an RPC service}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubj)}(h2``char *buf`` pointer to a buffer to be filled in h](j)}(h ``char *buf``h]j)}(hj')h]h char *buf}(hj))hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%)ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj!)ubj)}(hhh]jl)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hj@)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<)hMhj=)ubah}(h]h ]h"]h$]h&]uh1jhj!)ubeh}(h]h ]h"]h$]h&]uh1jhj<)hMhj(ubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hj`)h]hconst int buflen}(hjb)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.chMhjZ)ubj)}(hhh]jl)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hjy)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhju)hMhjv)ubah}(h]h ]h"]h$]h&]uh1jhjZ)ubeh}(h]h ]h"]h$]h&]uh1jhju)hMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(ubjl)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hj)hhhNhNubj)}(h**buf**h]hbuf}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(ubjl)}(h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h]h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjhhhNhNubh)}(hhh](j)}(h:int xprt_register_transport (struct xprt_class *transport)h]j )}(h9int xprt_register_transport(struct xprt_class *transport)h](jM )}(hinth]hint}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj*hK[ubj3)}(hxprt_register_transporth]j9)}(hxprt_register_transporth]hxprt_register_transport}(hj"*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj*hK[ubj )}(h(struct xprt_class *transport)h]j )}(hstruct xprt_class *transporth](j)}(hjh]hstruct}(hj>*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:*ubj")}(h h]h }(hjK*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:*ubh)}(hhh]j9)}(h xprt_classh]h xprt_class}(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_register_transportasbuh1hhj:*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 transporth]h transport}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6*ubah}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj*hK[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj*hK[ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hK[hj)hhubjg)}(hhh]jl)}(h#register a transport implementationh]h#register a transport implementation}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hj*hhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhj*hK[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(hXl**Parameters** ``struct xprt_class *transport`` transport to register **Description** If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client. **Return** 0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK_hj*ubj)}(hhh]j)}(h7``struct xprt_class *transport`` transport to register h](j)}(h ``struct xprt_class *transport``h]j)}(hj+h]hstruct xprt_class *transport}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK\hj*ubj)}(hhh]jl)}(htransport to registerh]htransport to register}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hK\hj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj+hK\hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj=+h]h Description}(hj?+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hj*ubjl)}(h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.h]h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.}(hjS+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hj*ubjl)}(h **Return**h]j)}(hjd+h]hReturn}(hjf+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK`hj*ubjl)}(h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh]h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloaded}(hjz+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjhhhNhNubh)}(hhh](j)}(h 0: transport identifier -ENOENT: transport module not availableh](jl)}(h**Parameters**h]j)}(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}(hj/.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+.hKhj,.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj+.hKhj .ubah}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h **Return**h]j)}(hjQ.h]hReturn}(hjS.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO.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}(hjg.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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hDint xprt_reserve_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hCint xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hinth]hint}(hj.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*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hxprth]hxprt}(hj,/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(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)}(hrpc_taskh]hrpc_task}(hjc/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje/modnameN classnameNj j )}j ]j /c.xprt_reserve_xprtasbuh1hhjA/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)}(htaskh]htask}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhj.hhubjg)}(hhh]jl)}(h$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/jjjuh1hhhhjhNhNubj)}(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)}(hj0h]hstruct rpc_xprt *xprt}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj0ubj)}(hhh]jl)}(hpointer to the target transporth]hpointer to the target transport}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj@0h]hstruct rpc_task *task}(hjB0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj:0ubj)}(hhh]jl)}(h/task that is requesting access to the transporth]h/task that is requesting access to the transport}(hjY0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjU0hMhjV0ubah}(h]h ]h"]h$]h&]uh1jhj:0ubeh}(h]h ]h"]h$]h&]uh1jhjU0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hj{0h]h Description}(hj}0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy0ubah}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hEvoid xprt_release_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hDvoid xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMubj3)}(hxprt_release_xprth]j9)}(hxprt_release_xprth]hxprt_release_xprt}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj 1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j j0sbc.xprt_release_xprtasbuh1hhj0ubj")}(h h]h }(hj;1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hjI1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hxprth]hxprt}(hjV1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjo1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk1ubj")}(h h]h }(hj|1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk1ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j71c.xprt_release_xprtasbuh1hhjk1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjk1ubj9)}(htaskh]htask}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhj0hhubjg)}(hhh]jl)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjhNhNubj)}(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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 2ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj12h]hstruct rpc_xprt *xprt}(hj32hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj+2ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjJ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjF2hMhjG2ubah}(h]h ]h"]h$]h&]uh1jhj+2ubeh}(h]h ]h"]h$]h&]uh1jhjF2hMhj(2ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjj2h]hstruct rpc_task *task}(hjl2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjd2ubj)}(hhh]jl)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjd2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 2ubjl)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjhhhNhNubh)}(hhh](j)}(hJvoid xprt_release_xprt_cong (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hIvoid xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hxprt_release_xprt_congh]j9)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj 3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj'3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#3ubj")}(h h]h }(hj43hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#3ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjE3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG3modnameN classnameNj j )}j ]j )}j j 3sbc.xprt_release_xprt_congasbuh1hhj#3ubj")}(h h]h }(hje3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#3ubj )}(hj h]h*}(hjs3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#3ubj9)}(hxprth]hxprt}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]ja3c.xprt_release_xprt_congasbuh1hhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(htaskh]htask}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubeh}(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'allow other requests to use a transporth]h'allow other requests to use a transport}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj24jj24jjjuh1hhhhjhNhNubj)}(hX3**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h](jl)}(h**Parameters**h]j)}(hj<4h]h Parameters}(hj>4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:4ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj64ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj[4h]hstruct rpc_xprt *xprt}(hj]4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjU4ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjt4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjp4hMhjq4ubah}(h]h ]h"]h$]h&]uh1jhjU4ubeh}(h]h ]h"]h$]h&]uh1jhjp4hMhjR4ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj4h]hstruct rpc_task *task}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh]jl)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjR4ubeh}(h]h ]h"]h$]h&]uh1jhj64ubjl)}(h**Description**h]j)}(hj4h]h Description}(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.chMhj64ubjl)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj64ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjhhhNhNubh)}(hhh](j)}(hHbool xprt_request_get_cong (struct rpc_xprt *xprt, struct rpc_rqst *req)h]j )}(hGbool xprt_request_get_cong(struct rpc_xprt *xprt, struct rpc_rqst *req)h](jM )}(hjh]hbool}(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 }(hj"5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj!5hMubj3)}(hxprt_request_get_congh]j9)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj45hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj05ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj!5hMubj )}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjP5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL5ubj")}(h h]h }(hj]5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL5ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjn5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp5modnameN classnameNj j )}j ]j )}j j65sbc.xprt_request_get_congasbuh1hhjL5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL5ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjL5ubj9)}(hxprth]hxprt}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjH5ubj )}(hstruct rpc_rqst *reqh](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_rqsth]hrpc_rqst}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j5c.xprt_request_get_congasbuh1hhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj 6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hreqh]hreq}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjH5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj!5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 5hhhj!5hMubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!5hMhj 5hhubjg)}(hhh]jl)}(h"Request congestion control creditsh]h"Request congestion control credits}(hjC6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@6hhubah}(h]h ]h"]h$]h&]uh1jfhj 5hhhj!5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[6jj[6jjjuh1hhhhjhNhNubj)}(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)}(hje6h]h Parameters}(hjg6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc6ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj_6ubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](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.chMhj~6ubj)}(hhh]jl)}(hpointer to transporth]hpointer to transport}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj~6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj{6ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hj6h]hstruct rpc_rqst *req}(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)}(hpointer to RPC requesth]hpointer to RPC request}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj{6ubeh}(h]h ]h"]h$]h&]uh1jhj_6ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj_6ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj_6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void xprt_release_rqst_cong (struct rpc_task *task)h]j )}(h2void xprt_release_rqst_cong(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj=7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj97hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjL7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj97hhhjK7hMubj3)}(hxprt_release_rqst_congh]j9)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hj^7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj97hhhjK7hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjz7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv7ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j j`7sbc.xprt_release_rqst_congasbuh1hhjv7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjv7ubj9)}(htaskh]htask}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr7ubah}(h]h ]h"]h$]h&]jPjQuh1j hj97hhhjK7hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj57hhhjK7hMubah}(h]j07ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjK7hMhj27hhubjg)}(hhh]jl)}(h%housekeeping when request is completeh]h%housekeeping when request is complete}(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&]uh1jfhj27hhhjK7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjhNhNubj)}(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)}(hj8h]h Parameters}(hj!8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj>8h]hstruct rpc_task *task}(hj@8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj88ubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjW8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjS8hMhjT8ubah}(h]h ]h"]h$]h&]uh1jhj88ubeh}(h]h ]h"]h$]h&]uh1jhjS8hMhj58ubah}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hjy8h]h Description}(hj{8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw8ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjhhhNhNubh)}(hhh](j)}(hPvoid xprt_adjust_cwnd (struct rpc_xprt *xprt, struct rpc_task *task, int result)h]j )}(hOvoid xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hM#ubj3)}(hxprt_adjust_cwndh]j9)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hM#ubj )}(h:(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j8sbc.xprt_adjust_cwndasbuh1hhj8ubj")}(h h]h }(hj99hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjG9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hxprth]hxprt}(hjT9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjm9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji9ubj")}(h h]h }(hjz9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji9ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j59c.xprt_adjust_cwndasbuh1hhji9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji9ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hji9ubj9)}(htaskh]htask}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(h int resulth](jM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hresulth]hresult}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hM#ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hM#hj8hhubjg)}(hhh]jl)}(h"adjust transport congestion windowh]h"adjust transport congestion window}(hj#:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hj :hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;:jj;:jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct rpc_xprt *xprt`` pointer to xprt ``struct rpc_task *task`` recently completed RPC request used to adjust window ``int result`` result code of completed RPC request **Description** The transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when - a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h](jl)}(h**Parameters**h]j)}(hjE:h]h Parameters}(hjG:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC:ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj?:ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(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)}(hpointer to xprth]hpointer to xprt}(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)}(hO``struct rpc_task *task`` recently completed RPC request used to adjust window h](j)}(h``struct rpc_task *task``h]j)}(hj:h]hstruct rpc_task *task}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj:ubj)}(hhh]jl)}(h4recently completed RPC request used to adjust windowh]h4recently completed RPC request used to adjust window}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hM%hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM%hj[:ubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hj:h]h int result}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hj:ubj)}(hhh]jl)}(h$result code of completed RPC requesth]h$result code of completed RPC request}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hM&hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM&hj[:ubeh}(h]h ]h"]h$]h&]uh1jhj?:ubjl)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj?:ubjl)}(hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd whenh]hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when}(hj';hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj?:ubj)}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]j.L)}(hhh](j3L)}(ha reply is received andh]jl)}(hj?;h]ha reply is received and}(hjA;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM-hj=;ubah}(h]h ]h"]h$]h&]uh1j2Lhj:;ubj3L)}(h-a full number of requests are outstanding andh]jl)}(hjW;h]h-a full number of requests are outstanding and}(hjY;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM.hjU;ubah}(h]h ]h"]h$]h&]uh1j2Lhj:;ubj3L)}(h3the congestion window hasn't been updated recently.h]jl)}(hjo;h]h5the congestion window hasn’t been updated recently.}(hjq;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hjm;ubah}(h]h ]h"]h$]h&]uh1j2Lhj:;ubeh}(h]h ]h"]h$]h&]jL-uh1j-LhjN;hM-hj6;ubah}(h]h ]h"]h$]h&]uh1jhjN;hM-hj?:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjhhhNhNubh)}(hhh](j)}(h@void xprt_wake_pending_tasks (struct rpc_xprt *xprt, int status)h]j )}(h?void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)h](jM )}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhj;hMKubj3)}(hxprt_wake_pending_tasksh]j9)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj;hMKubj )}(h#(struct rpc_xprt *xprt, int status)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj <hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj <ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j j;sbc.xprt_wake_pending_tasksasbuh1hhj;ubj")}(h h]h }(hj-<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hj;<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hxprth]hxprt}(hjH<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubj )}(h int statush](jM )}(hinth]hint}(hja<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]<ubj")}(h h]h }(hjo<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]<ubj9)}(hstatush]hstatus}(hj}<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj;hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhj;hMKubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hMKhj;hhubjg)}(hhh]jl)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhj<hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj;hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks ``int status`` result code to plant in each task before waking ith](jl)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhj<ubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj<h]hstruct rpc_xprt *xprt}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhj<ubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMLhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMLhj<ubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hj!=h]h int status}(hj#=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhj=ubj)}(hhh]jl)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hj:=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhj7=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj6=hMNhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjhhhNhNubh)}(hhh](j)}(h7void xprt_wait_for_buffer_space (struct rpc_xprt *xprt)h]j )}(h6void xprt_wait_for_buffer_space(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj{=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjw=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw=hhhj=hMZubj3)}(hxprt_wait_for_buffer_spaceh]j9)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjw=hhhj=hMZubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j j=sbc.xprt_wait_for_buffer_spaceasbuh1hhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hxprth]hxprt}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hjw=hhhj=hMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjs=hhhj=hMZubah}(h]jn=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMZhjp=hhubjg)}(hhh]jl)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hj;>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhj8>hhubah}(h]h ]h"]h$]h&]uh1jfhjp=hhhj=hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS>jjS>jjjuh1hhhhjhNhNubj)}(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)}(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^hjW>ubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj|>h]hstruct rpc_xprt *xprt}(hj~>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hjv>ubj)}(hhh]jl)}(h transporth]h transport}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM[hj>ubah}(h]h ]h"]h$]h&]uh1jhjv>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM[hjs>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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hjW>ubjl)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hjW>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool xprt_write_space (struct rpc_xprt *xprt)h]j )}(h,bool xprt_write_space(struct rpc_xprt *xprt)h](jM )}(hjh]hbool}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj")}(h h]h }(hj ?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhj ?hMtubj3)}(hxprt_write_spaceh]j9)}(hxprt_write_spaceh]hxprt_write_space}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhj ?hMtubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj8?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4?ubj")}(h h]h }(hjE?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4?ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjV?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX?modnameN classnameNj j )}j ]j )}j j?sbc.xprt_write_spaceasbuh1hhj4?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)}(hxprth]hxprt}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0?ubah}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhj ?hMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhj ?hMtubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj ?hMthj>hhubjg)}(hhh]jl)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthj?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj ?hMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(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)}(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.chMxhj?ubj)}(hhh]j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj?h]hstruct rpc_xprt *xprt}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhj?ubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMuhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMuhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubjl)}(h**Description**h]j)}(hj7@h]h Description}(hj9@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5@ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhj?ubjl)}(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.}(hjM@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMvhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]j )}(h0void xprt_disconnect_done(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj|@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjx@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!hjx@hhhj@hMubj3)}(hxprt_disconnect_doneh]j9)}(hxprt_disconnect_doneh]hxprt_disconnect_done}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjx@hhhj@hMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j j@sbc.xprt_disconnect_doneasbuh1hhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hxprth]hxprt}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjx@hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjt@hhhj@hMubah}(h]jo@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhjq@hhubjg)}(hhh]jl)}(h mark a transport as disconnectedh]h mark a transport as disconnected}(hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCGmodnameN classnameNj j )}j ]jFc.xprt_lookup_rqstasbuh1hhjGubj")}(h h]h }(hj_GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjmGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hxprth]hxprt}(hjzGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(h __be32 xidh](h)}(hhh]j9)}(h__be32h]h__be32}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jFc.xprt_lookup_rqstasbuh1hhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hxidh]hxid}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjFhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhjFhM$ubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhM$hjFhhubjg)}(hhh]jl)}(h+find an RPC request corresponding to an XIDh]h+find an RPC request corresponding to an XID}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhjFhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjhNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjHubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj-Hh]hstruct rpc_xprt *xprt}(hj/HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Hubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj'Hubj)}(hhh]jl)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hjFHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBHhM%hjCHubah}(h]h ]h"]h$]h&]uh1jhj'Hubeh}(h]h ]h"]h$]h&]uh1jhjBHhM%hj$Hubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hjfHh]h __be32 xid}(hjhHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hj`Hubj)}(hhh]jl)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{HhM&hj|Hubah}(h]h ]h"]h$]h&]uh1jhj`Hubeh}(h]h ]h"]h$]h&]uh1jhj{HhM&hj$Hubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(h**Description**h]j)}(hjHh]h Description}(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.chM(hjHubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void xprt_pin_rqst (struct rpc_rqst *req)h]j )}(h(void xprt_pin_rqst(struct rpc_rqst *req)h](jM )}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhMDubj3)}(h xprt_pin_rqsth]j9)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhMDubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj#IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hj0IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjAIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCImodnameN classnameNj j )}j ]j )}j j Isbc.xprt_pin_rqstasbuh1hhjIubj")}(h h]h }(hjaIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjoIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hreqh]hreq}(hj|IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubah}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhMDubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMDhjHhhubjg)}(hhh]jl)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjhNhNubj)}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhjIubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjIh]hstruct rpc_rqst *req}(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.chMEhjIubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMEhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMEhjIubah}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hj"Jh]h Description}(hj$JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhjIubjl)}(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.}(hj8JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void xprt_unpin_rqst (struct rpc_rqst *req)h]j )}(h*void xprt_unpin_rqst(struct rpc_rqst *req)h](jM )}(hvoidh]hvoid}(hjgJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcJhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj")}(h h]h }(hjvJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcJhhhjuJhMQubj3)}(hxprt_unpin_rqsth]j9)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjcJhhhjuJhMQubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](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_rqsth]hrpc_rqst}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jJsbc.xprt_unpin_rqstasbuh1hhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hreqh]hreq}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubah}(h]h ]h"]h$]h&]jPjQuh1j hjcJhhhjuJhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_JhhhjuJhMQubah}(h]jZJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuJhMQhj\Jhhubjg)}(hhh]jl)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hj'KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhj$Khhubah}(h]h ]h"]h$]h&]uh1jfhj\JhhhjuJhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?Kjj?Kjjjuh1hhhhjhNhNubj)}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjIKh]h Parameters}(hjKKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGKubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhjCKubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjhKh]hstruct rpc_rqst *req}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhjbKubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}KhMRhj~Kubah}(h]h ]h"]h$]h&]uh1jhjbKubeh}(h]h ]h"]h$]h&]uh1jhj}KhMRhj_Kubah}(h]h ]h"]h$]h&]uh1jhjCKubjl)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMThjCKubjl)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShjCKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjhhhNhNubh)}(hhh](j)}(h,void xprt_update_rtt (struct rpc_task *task)h]j )}(h+void xprt_update_rtt(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMubj3)}(hxprt_update_rtth]j9)}(hxprt_update_rtth]hxprt_update_rtt}(hj LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj%LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!Lubj")}(h h]h }(hj2LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Lubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjCLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjELmodnameN classnameNj j )}j ]j )}j j Lsbc.xprt_update_rttasbuh1hhj!Lubj")}(h h]h }(hjcLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Lubj )}(hj h]h*}(hjqLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!Lubj9)}(htaskh]htask}(hj~LhhhNhNubah}(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)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjLubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjLh]hstruct rpc_task *task}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjLubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjMhhhNhNubah}(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}(hj&MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Mubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjLubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj:MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjhhhNhNubh)}(hhh](j)}(h;void xprt_complete_rqst (struct rpc_task *task, int copied)h]j )}(h:void xprt_complete_rqst(struct rpc_task *task, int copied)h](jM )}(hvoidh]hvoid}(hjiMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjxMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeMhhhjwMhMubj3)}(hxprt_complete_rqsth]j9)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjeMhhhjwMhMubj )}(h#(struct rpc_task *task, int copied)h](j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jMsbc.xprt_complete_rqstasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(htaskh]htask}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(h int copiedh](jM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj&NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(hcopiedh]hcopied}(hj4NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjeMhhhjwMhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjaMhhhjwMhMubah}(h]j\Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwMhMhj^Mhhubjg)}(hhh]jl)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hj^NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj[Nhhubah}(h]h ]h"]h$]h&]uh1jfhj^MhhhjwMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvNjjvNjjjuh1hhhhjhNhNubj)}(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)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Nubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjzNubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjNh]hstruct rpc_task *task}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjNubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjNh]h int copied}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjNubj)}(hhh]jl)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjzNubjl)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjzNubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj)OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjzNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjhhhNhNubh)}(hhh](j)}(hlockh](jl)}(h**Parameters**h]j)}(hjWXh]h Parameters}(hjYXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUXubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjQXubj)}(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)}(hjvXh]hstruct rpc_wait_queue *queue}(hjxXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjpXubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjpXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjmXubah}(h]h ]h"]h$]h&]uh1jhjQXubjl)}(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:68: ./net/sunrpc/sched.chMhjQXubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjQXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid rpc_wake_up_status (struct rpc_wait_queue *queue, int status)h]j )}(hAvoid rpc_wake_up_status(struct rpc_wait_queue *queue, int status)h](jM )}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjYhMubj3)}(hrpc_wake_up_statush]j9)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjYhMubj )}(h*(struct rpc_wait_queue *queue, int status)h](j )}(hstruct rpc_wait_queue *queueh](j)}(hjh]hstruct}(hj3YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/Yubj")}(h h]h }(hj@YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/Yubh)}(hhh]j9)}(hrpc_wait_queueh]hrpc_wait_queue}(hjQYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSYmodnameN classnameNj j )}j ]j )}j jYsbc.rpc_wake_up_statusasbuh1hhj/Yubj")}(h h]h }(hjqYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/Yubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/Yubj9)}(hqueueh]hqueue}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+Yubj )}(h int statush](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hstatush]hstatus}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+Yubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjYhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjYhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhjXhhubjg)}(hhh]jl)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjhNhNubj)}(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 Zh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjZubj)}(hhh](j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hj,Zh]hstruct rpc_wait_queue *queue}(hj.ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Zubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj&Zubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjEZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAZhMhjBZubah}(h]h ]h"]h$]h&]uh1jhj&Zubeh}(h]h ]h"]h$]h&]uh1jhjAZhMhj#Zubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hjeZh]h int status}(hjgZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj_Zubj)}(hhh]jl)}(hstatus value to seth]hstatus value to set}(hj~ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzZhMhj{Zubah}(h]h ]h"]h$]h&]uh1jhj_Zubeh}(h]h ]h"]h$]h&]uh1jhjzZhMhj#Zubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjZubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjhhhNhNubh)}(hhh](j)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]j )}(hstat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hj_hhhNhNubj)}(h**task**h]htask}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hKhjY_ubeh}(h]h ]h"]h$]h&]uh1jhj=_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjhhhNhNubh)}(hhh](j)}(hOvoid rpc_count_iostats (const struct rpc_task *task, struct rpc_iostats *stats)h]j )}(hNvoid rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhj`hKubj3)}(hrpc_count_iostatsh]j9)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj$`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj `ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhj`hKubj )}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j )}(hconst struct rpc_task *taskh](j)}(hj h]hconst}(hj@`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<`ubj")}(h h]h }(hjM`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<`ubj)}(hjh]hstruct}(hj[`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<`ubj")}(h h]h }(hjh`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<`ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjy`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{`modnameN classnameNj j )}j ]j )}j j&`sbc.rpc_count_iostatsasbuh1hhj<`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 hj8`ubj )}(hstruct rpc_iostats *statsh](j)}(hjh]hstruct}(hj`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 rpc_iostatsh]h rpc_iostats}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j`c.rpc_count_iostatsasbuh1hhj`ubj")}(h h]h }(hj ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hstatsh]hstats}(hj$ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8`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)}(htally up per-task statsh]htally up per-task stats}(hjNahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjKahhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj`hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfajjfajjjuh1hhhhjhNhNubj)}(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)}(hjpah]h Parameters}(hjrahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnaubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjjaubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjah]hconst struct rpc_task *task}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjaubj)}(hhh]jl)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKhjaubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hjah]hstruct rpc_iostats *stats}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjaubj)}(hhh]jl)}(harray of stat structuresh]harray of stat structures}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKhjaubeh}(h]h ]h"]h$]h&]uh1jhjjaubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjjaubjl)}(hUses the statidx from **task**h](hUses the statidx from }(hjbhhhNhNubj)}(h**task**h]htask}(hj!bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFint rpc_queue_upcall (struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h]j )}(hEint rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](jM )}(hinth]hint}(hjVbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRbhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj")}(h h]h }(hjebhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRbhhhjdbhK}ubj3)}(hrpc_queue_upcallh]j9)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjwbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRbhhhjdbhK}ubj )}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j )}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jybsbc.rpc_queue_upcallasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hpipeh]hpipe}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct rpc_pipe_msg *msgh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hj#chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%cmodnameN classnameNj j )}j ]jbc.rpc_queue_upcallasbuh1hhjcubj")}(h h]h }(hjAchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjOchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hmsgh]hmsg}(hj\chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRbhhhjdbhK}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNbhhhjdbhK}ubah}(h]jIbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdbhK}hjKbhhubjg)}(hhh]jl)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjchhubah}(h]h ]h"]h$]h&]uh1jfhjKbhhhjdbhK}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct rpc_pipe *pipe`` upcall pipe on which to queue given message ``struct rpc_pipe_msg *msg`` message to queue **Description** Call with an **inode** created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of **msg** (other than **msg->list**) appropriately.h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjcubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjch]hstruct rpc_pipe *pipe}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hjcubj)}(hhh]jl)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchK~hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchK~hjcubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hjdh]hstruct rpc_pipe_msg *msg}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjcubj)}(hhh]jl)}(hmessage to queueh]hmessage to queue}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h**Description**h]j)}(hj;dh]h Description}(hj=dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9dubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjcubjl)}(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 }(hjQdhhhNhNubj)}(h **inode**h]hinode}(hjYdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQdubh 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 }(hjQdhhhNhNubj)}(h**msg**h]hmsg}(hjkdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQdubh (other than }(hjQdhhhNhNubj)}(h **msg->list**h]h msg->list}(hj}dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQdubh) appropriately.}(hjQdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjhhhNhNubh)}(hhh](j)}(heint rpc_mkpipe_dentry (struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h]j )}(hdint rpc_mkpipe_dentry(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMiubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjdhMiubj3)}(hrpc_mkpipe_dentryh]j9)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjdhMiubj )}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j )}(hstruct dentry *parenth](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jdsbc.rpc_mkpipe_dentryasbuh1hhjdubj")}(h h]h }(hj1ehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hj?ehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hparenth]hparent}(hjLehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hconst char *nameh](j)}(hj h]hconst}(hjeehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaeubj")}(h h]h }(hjrehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaeubjM )}(hcharh]hchar}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaeubj9)}(hnameh]hname}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(h void *privateh](jM )}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hprivateh]hprivate}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hj"fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$fmodnameN classnameNj j )}j ]j-ec.rpc_mkpipe_dentryasbuh1hhjfubj")}(h h]h }(hj@fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjNfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hpipeh]hpipe}(hj[fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjdhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjdhMiubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhMihjdhhubjg)}(hhh]jl)}(huserspace communicationh]huserspace communication}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMihjfhhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhjdhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjhNhNubj)}(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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjfubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hjfh]hstruct dentry *parent}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhjfubj)}(hhh]jl)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMkhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMkhjfubj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hjfh]hconst char *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhjfubj)}(hhh]jl)}(h name of pipeh]h name of pipe}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMlhjgubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghMlhjfubj)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hj8gh]h void *private}(hj:ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6gubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhj2gubj)}(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}(hjQghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMghMmhjNgubah}(h]h ]h"]h$]h&]uh1jhj2gubeh}(h]h ]h"]h$]h&]uh1jhjMghMmhjfubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjqgh]hstruct rpc_pipe *pipe}(hjsghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjogubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhjkgubj)}(hhh]jl)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hjgh]hrpc_pipe}(hjghhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrpc_pipeuh1hhjghMnhjgubh containing input parameters}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjghMnhjgubah}(h]h ]h"]h$]h&]uh1jhjkgubeh}(h]h ]h"]h$]h&]uh1jhjghMnhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMphjfubjl)}(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 }(hjghhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohjfubjl)}(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 }(hjhhhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMthjfubjl)}(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#hhhhNhNubj)}(h **private**h]hprivate}(hj+hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#hubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hj#hhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMwhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]j )}(h&void rpc_unlink(struct rpc_pipe *pipe)h](jM )}(hvoidh]hvoid}(hjdhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjshhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhhjrhhMubj3)}(h rpc_unlinkh]j9)}(h rpc_unlinkh]h rpc_unlink}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhhjrhhMubj )}(h(struct rpc_pipe *pipe)h]j )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jhsb c.rpc_unlinkasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hpipeh]hpipe}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhhjrhhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhhjrhhMubah}(h]jWhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhhMhjYhhhubjg)}(hhh]jl)}(h remove a pipeh]h remove a pipe}(hj$ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj!ihhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhhjrhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtmodnameN classnameNj j )}j ]jos#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjtubj")}(h h]h }(hjZthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hpdhh]hpdh}(hjuthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](jM )}(hinth]hint}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hjg h]h(}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hmatchh]hmatch}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubj )}(hj h]h)}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj )}(hjg 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)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj umodnameN classnameNj j )}j ]jos#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjtubj )}(hj h]h*}(hj(uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj )}(h,h]h,}(hj5uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj")}(h h]h }(hjCuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubjM )}(hvoidh]hvoid}(hjQuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj )}(hj h]h*}(hj_uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj )}(hj h]h)}(hjluhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jos#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hjg h]h(}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(halloch]halloc}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubj )}(hj h]h)}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hjg h]h(}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubjM )}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj )}(hj h]h*}(hj+vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h)}(hj8vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjPvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLvubj")}(h h]h }(hj^vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLvubj )}(hj h]h*}(hjlvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLvubj9)}(hdatah]hdata}(hjyvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0shhhjAshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,shhhjAshMubah}(h]j'sah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAshMhj)shhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj)shhhjAshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjvubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjvh]hstruct net *net}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjvubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjwh]hstruct rpc_pipe_dir_head *pdh}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj wubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjwubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj'whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#whM hj$wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj#whM hjvubj)}(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)}(hjGwh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hjIwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!hjAwubj)}(hhh]jl)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hj`whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\whM!hj]wubah}(h]h ]h"]h$]h&]uh1jhjAwubeh}(h]h ]h"]h$]h&]uh1jhj\whM!hjvubj)}(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)}(hjwh]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~wubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjzwubj)}(hhh]jl)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhM"hjwubah}(h]h ]h"]h$]h&]uh1jhjzwubeh}(h]h ]h"]h$]h&]uh1jhjwhM"hjvubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjwh]h void *data}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hjwubj)}(hhh]jl)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM$hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void rpcb_getport_async (struct rpc_task *task)h]j )}(h.void rpcb_getport_async(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj")}(h h]h }(hj"xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhj!xhMubj3)}(hrpcb_getport_asynch]j9)}(hrpcb_getport_asynch]hrpcb_getport_async}(hj4xhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0xubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhj!xhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjPxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLxubj")}(h h]h }(hj]xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLxubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjnxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpxmodnameN classnameNj j )}j ]j )}j j6xsbc.rpcb_getport_asyncasbuh1hhjLxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLxubj9)}(htaskh]htask}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHxubah}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhj!xhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj xhhhj!xhMubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!xhMhjxhhubjg)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhj!xhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjhNhNubj)}(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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjxubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hjyh]hstruct rpc_task *task}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjyubj)}(hhh]jl)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hj-yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)yhMhj*yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj)yhMhj yubah}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjOyh]h Description}(hjQyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMyubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjxubjl)}(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.}(hjeyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjhhhNhNubh)}(hhh](j)}(h;struct rpc_clnt * rpc_create (struct rpc_create_args *args)h]j )}(h9struct rpc_clnt *rpc_create(struct rpc_create_args *args)h](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j rpc_createsb c.rpc_createasbuh1hhjyhhhjyhMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhMubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyhhhjyhMubj3)}(h rpc_createh]j9)}(hjyh]h rpc_create}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjyhMubj )}(h(struct rpc_create_args *args)h]j )}(hstruct rpc_create_args *argsh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj zubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj zubh)}(hhh]j9)}(hrpc_create_argsh]hrpc_create_args}(hj,zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.zmodnameN classnameNj j )}j ]jy c.rpc_createasbuh1hhj zubj")}(h h]h }(hjJzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj zubj )}(hj h]h*}(hjXzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj zubj9)}(hargsh]hargs}(hjezhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubah}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhjyhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjyhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMhjyhhubjg)}(hhh]jl)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjhNhNubj)}(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)}(hjzh]h Parameters}(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.chMhjzubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hjzh]hstruct rpc_create_args *args}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubj)}(hhh]jl)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hj {h]h Description}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubjl)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hj!{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubjl)}(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.}(hj0{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjhhhNhNubh)}(hhh](j)}(h:struct rpc_clnt * rpc_clone_client (struct rpc_clnt *clnt)h]j )}(h8struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt)h](j)}(hjh]hstruct}(hj_{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[{hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjm{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[{hhhjl{hMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj~{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j rpc_clone_clientsbc.rpc_clone_clientasbuh1hhj[{hhhjl{hMubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[{hhhjl{hMubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[{hhhjl{hMubj3)}(hrpc_clone_clienth]j9)}(hj{h]hrpc_clone_client}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[{hhhjl{hMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j{c.rpc_clone_clientasbuh1hhj{ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj#|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hclnth]hclnt}(hj0|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubah}(h]h ]h"]h$]h&]jPjQuh1j hj[{hhhjl{hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjW{hhhjl{hMubah}(h]jR{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjl{hMhjT{hhubjg)}(hhh]jl)}(hClone an RPC client structureh]hClone an RPC client structure}(hjZ|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjW|hhubah}(h]h ]h"]h$]h&]uh1jfhjT{hhhjl{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr|jjr|jjjuh1hhhhjhNhNubj)}(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)}(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:83: ./net/sunrpc/clnt.chMhjv|ubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj|h]hstruct rpc_clnt *clnt}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj|ubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj|ubah}(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:83: ./net/sunrpc/clnt.chMhjv|ubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjv|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjhhhNhNubh)}(hhh](j)}(h\struct rpc_clnt * rpc_clone_client_set_auth (struct rpc_clnt *clnt, rpc_authflavor_t flavor)h]j )}(hZstruct rpc_clnt *rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j)}(hjh]hstruct}(hj}hhhNhNubah}(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}(hj:}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<}modnameN classnameNj j )}j ]j )}j rpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj}hhhj(}hMubj")}(h h]h }(hj[}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj(}hMubj )}(hj h]h*}(hji}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}hhhj(}hMubj3)}(hrpc_clone_client_set_authh]j9)}(hjX}h]hrpc_clone_client_set_auth}(hjz}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj(}hMubj )}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]jV}c.rpc_clone_client_set_authasbuh1hhj}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 hj}ubj )}(hrpc_authflavor_t flavorh](h)}(hhh]j9)}(hrpc_authflavor_th]hrpc_authflavor_t}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ~modnameN classnameNj j )}j ]jV}c.rpc_clone_client_set_authasbuh1hhj~ubj")}(h h]h }(hj&~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(hflavorh]hflavor}(hj4~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.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hj^~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj[~hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj(}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjv~jjv~jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied ``rpc_authflavor_t flavor`` security flavor for new client **Description** Returns a fresh RPC client or an ERR_PTR.h](jl)}(h**Parameters**h]j)}(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.chMhjz~ubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj~h]hstruct rpc_clnt *clnt}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj~ubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj~ubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hj~h]hrpc_authflavor_t flavor}(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)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj~ubeh}(h]h ]h"]h$]h&]uh1jhjz~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.chMhjz~ubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjz~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhjhhhNhNubh)}(hhh](j)}(htint rpc_switch_client_transport (struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h]j )}(hsint rpc_switch_client_transport(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhMubj3)}(hrpc_switch_client_transporth]j9)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjfhMubj )}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_switch_client_transportasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xprt_create *argsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xprt_createh]h xprt_create}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hargsh]hargs}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_timeout *timeouth](j)}(hj h]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h 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 rpc_timeouth]h rpc_timeout}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhjsubj")}(h h]h }(hj΀hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hj܀hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(htimeouth]htimeout}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjfhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjfhMubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhMhjMhhubjg)}(hhh]jl)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjhNhNubj)}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/ubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjTh]hstruct rpc_clnt *clnt}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjNubj)}(hhh]jl)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjh]hstruct xprt_create *args}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjƁh]h!const struct rpc_timeout *timeout}(hjȁhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjāubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hj߁hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjہhMhj܁ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjہhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/ubjl)}(hXThis function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.h]hX This function allows the caller to switch the RPC transport for the rpc_clnt structure ‘clnt’ to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/ubjl)}(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&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hint rpc_clnt_iterate_for_each_xprt (struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *), void *data)h]j )}(h{int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](jM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjchMBubj3)}(hrpc_clnt_iterate_for_each_xprth]j9)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjchMBubj )}(hY(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 jxsb c.rpc_clnt_iterate_for_each_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 )}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjg 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)}(hfnh]hfn}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hj h]h)}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjg h]h(}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ĵ c.rpc_clnt_iterate_for_each_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj7uh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjƃhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjӃhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ĵ c.rpc_clnt_iterate_for_each_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj7uh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h)}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjchMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjchMBubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMBhjJhhubjg)}(hhh]jl)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjchMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȄjjȄjjjuh1hhhhjhNhNubj)}(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)}(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.chMFhj̄ubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMChjubj)}(hhh]jl)}(hpointer to clienth]hpointer to client}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(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)}(hj*h]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhj$ubj)}(hhh]jl)}(hfunction to applyh]hfunction to apply}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMDhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMDhjubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjch]h void *data}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhj]ubj)}(hhh]jl)}(hvoid pointer to function datah]hvoid pointer to function data}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMEhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMEhjubeh}(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.chMGhj̄ubjl)}(h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).h]h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj̄ubjl)}(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.}(hjÅhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhj̄ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjhhhNhNubh)}(hhh](j)}(hunsigned long rpc_cancel_tasks (struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task *, const void *), const void *data)h]j )}(hunsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](jM )}(hunsignedh]hunsigned}(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}ubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhM}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM}ubj3)}(hrpc_cancel_tasksh]j9)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM}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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(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 j1sbc.rpc_cancel_tasksasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h int errorh](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)}(herrorh]herror}(hjنhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjg h]h(}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfnmatchh]hfnmatch}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hj h]h)}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjg h]h(}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hj h]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_cancel_tasksasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj7uh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hj h]hconst}(hj·hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjۇhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hconst void *datah](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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(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 try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX|**Parameters** ``struct rpc_clnt *clnt`` Pointer to RPC client ``int error`` RPC task error value to set ``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function ``const void *data`` User data **Description** Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(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}(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 error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hjh]h int error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC task error value to seth]hRPC task error value to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjˆ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)}(hj=h]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj7ubj)}(hhh]jl)}(hPointer to selector functionh]hPointer to selector function}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjˆubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hjvh]hconst void *data}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjpubj)}(hhh]jl)}(h User datah]h User data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjˆubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(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 }(hjljhhhNhNubj)}(h **fnmatch**h]hfnmatch}(hjωhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjljubhE to define a set of RPC tasks that are to be cancelled. The argument }(hjljhhhNhNubj)}(h **error**h]herror}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjljubh must be a negative error value.}(hjljhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_release_client (C function)c.rpc_release_clienthNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void rpc_release_client (struct rpc_clnt *clnt)h]j )}(h.void rpc_release_client(struct rpc_clnt *clnt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj(hMubj3)}(hrpc_release_clienth]j9)}(hrpc_release_clienth]hrpc_release_client}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj(hMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j j=sbc.rpc_release_clientasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj(hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj(hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hMhjhhubjg)}(hhh]jl)}(h"release a reference on an rpc_clnth]h"release a reference on an rpc_clnt}(hjڊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj׊hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` rpc_clnt to release **Description** Pairs with rpc_hold_client(). The rpc_clnt's resources are freed once its reference count drops to zero.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` rpc_clnt to release h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hrpc_clnt to releaseh]hrpc_clnt to release}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hhPairs with rpc_hold_client(). The rpc_clnt's resources are freed once its reference count drops to zero.h]hjPairs with rpc_hold_client(). The rpc_clnt’s resources are freed once its reference count drops to zero.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjhhhNhNubh)}(hhh](j)}(hjstruct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h]j )}(hhstruct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM%ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM%ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhjhhhjhM%ubj")}(h h]h }(hjۋhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM%ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM%ubj3)}(hrpc_bind_new_programh]j9)}(hj؋h]hrpc_bind_new_program}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM%ubj )}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j )}(hstruct rpc_clnt *oldh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j֋c.rpc_bind_new_programasbuh1hhjubj")}(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)}(holdh]hold}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h!const struct rpc_program *programh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_programh]h rpc_program}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j֋c.rpc_bind_new_programasbuh1hhjubj")}(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)}(hprogramh]hprogram}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu32 versh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j֋c.rpc_bind_new_programasbuh1hhj ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hversh]hvers}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM%ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM%hjhhubjg)}(hhh]jl)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM%hjfhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXb**Parameters** ``struct rpc_clnt *old`` old rpc_client ``const struct rpc_program *program`` rpc program to set ``u32 vers`` rpc program version **Description** Clones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM)hjubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjh]hstruct rpc_clnt *old}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM&hjubj)}(hhh]jl)}(hold rpc_clienth]hold rpc_client}(hjÍhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hjh]h!const struct rpc_program *program}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM'hjݍubj)}(hhh]jl)}(hrpc program to seth]hrpc program to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjݍubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(h!``u32 vers`` rpc program version h](j)}(h ``u32 vers``h]j)}(hjh]hu32 vers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM(hjubj)}(hhh]jl)}(hrpc program versionh]hrpc program version}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM(hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM*hjubjl)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhjhhhNhNubh)}(hhh](j)}(hMstruct rpc_task * rpc_run_task (const struct rpc_task_setup *task_setup_data)h]j )}(hKstruct rpc_task *rpc_run_task(const struct rpc_task_setup *task_setup_data)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_run_tasksbc.rpc_run_taskasbuh1hhjhhhjhMubj")}(h h]h }(hj܎hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h rpc_run_taskh]j9)}(hjَh]h rpc_run_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h.(const struct rpc_task_setup *task_setup_data)h]j )}(h,const struct rpc_task_setup *task_setup_datah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj1hhhNhNubah}(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}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j׎c.rpc_run_taskasbuh1hhjubj")}(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)}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʏjjʏjjjuh1hhhhjhNhNubj)}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](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)}(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}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΏubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjhhhNhNubh)}(hhh](j)}(hSint rpc_call_sync (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h]j )}(hRint rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](jM )}(hinth]hint}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIhhhQ/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!hjIhhhj[hMubj3)}(h rpc_call_synch]j9)}(h rpc_call_synch]h rpc_call_sync}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhj[hMubj )}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jpsbc.rpc_call_syncasbuh1hhjubj")}(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 )}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_messageh]h rpc_message}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jĐc.rpc_call_syncasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(hjnhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjIhhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhj[hMubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhjBhhubjg)}(hhh]jl)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hj͑hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjʑhhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjGh]hconst struct rpc_message *msg}(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.chMhjAubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjh]h int flags}(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.chMhjzubj)}(hhh]jl)}(hRPC call flagsh]hRPC call flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjhhhNhNubh)}(hhh](j)}(hint rpc_call_async (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h]j )}(hint rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](jM )}(hinth]hint}(hjڒhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj֒hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj֒hhhjhMubj3)}(hrpc_call_asynch]j9)}(hrpc_call_asynch]hrpc_call_async}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj֒hhhjhMubj )}(hp(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.rpc_call_asyncasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjphhhNhNubah}(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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjēmodnameN classnameNj j )}j ]jQc.rpc_call_asyncasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(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}(hj0hhhNhNubah}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(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 ]jQc.rpc_call_asyncasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(htk_opsh]htk_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjДubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjДubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjДubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj֒hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjҒhhhjhMubah}(h]j͒ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjϒhhubjg)}(hhh]jl)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jfhjϒhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flags ``const struct rpc_call_ops *tk_ops`` RPC call ops ``void *data`` user call datah](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjCubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjhh]hstruct rpc_clnt *clnt}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjh]hconst struct rpc_message *msg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hjڕh]h int flags}(hjܕhhhNhNubah}(h]h ]h"]h$]h&]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 flagsh]hRPC call flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԕubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(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.chMhj ubj)}(hhh]jl)}(h RPC call opsh]h RPC call ops}(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 *data`` user call datah](j)}(h``void *data``h]j)}(hjLh]h void *data}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjFubj)}(hhh]jl)}(huser call datah]huser call data}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid rpc_prepare_reply_pages (struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h]j )}(hvoid rpc_prepare_reply_pages(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMVubj3)}(hrpc_prepare_reply_pagesh]j9)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hjǖhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÖubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMVubj )}(hf(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjߖubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߖubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jɖsbc.rpc_prepare_reply_pagesasbuh1hhjߖ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ۖubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hpageh]hpage}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jc.rpc_prepare_reply_pagesasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۖubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjҗhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjΗubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΗubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjΗubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΗubj9)}(hbaseh]hbase}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΗubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۖubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۖubj )}(hunsigned int hdrsizeh](jM )}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(hhdrsizeh]hhdrsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjۖubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMVubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMVhjhhubjg)}(hhh]jl)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hj֘hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMVhjӘhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMZhjubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hjh]hstruct rpc_rqst *req}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMWhjubj)}(hhh]jl)}(hRPC request to prepareh]hRPC request to prepare}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMWhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMWhjubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjPh]hstruct page **pages}(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.chMXhjJubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMXhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMXhjubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMYhjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hj™h]hunsigned int len}(hjęhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZhjubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjۙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjיhMZhjؙubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjיhMZhjubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjh]hunsigned int hdrsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM\hjubj)}(hhh]jl)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hQsize_t rpc_peeraddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h]j )}(hPsize_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjQhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMqubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjyhMqubj3)}(h rpc_peeraddrh]j9)}(hjvh]h rpc_peeraddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjyhMqubj )}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjŚhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjšubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǚmodnameN classnameNj j )}j ]jtc.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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]jtc.rpc_peeraddrasbuh1hhjubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hsize_t bufsizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jtc.rpc_peeraddrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbufsizeh]hbufsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjyhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjyhMqubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMqhjJhhubjg)}(hhh]jl)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMqhjݛhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjyhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t bufsize`` length of target buffer **Description** Returns the number of bytes that are actually in the stored address.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMuhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj!h]hstruct rpc_clnt *clnt}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMrhjubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMrhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMrhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjZh]hstruct sockaddr *buf}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMshjTubj)}(hhh]jl)}(h target bufferh]h target buffer}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMshjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMshjubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hjh]hsize_t bufsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMthjubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(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.chMvhjubjl)}(hDReturns the number of bytes that are actually in the stored address.h]hDReturns the number of bytes that are actually in the stored address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjhhhNhNubh)}(hhh](j)}(hWconst char * rpc_peeraddr2str (struct rpc_clnt *clnt, enum rpc_display_format_t format)h]j )}(hUconst char *rpc_peeraddr2str(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubjM )}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj hMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj hMubj3)}(hrpc_peeraddr2strh]j9)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.rpc_peeraddr2strasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjĝhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hclnth]hclnt}(hjѝhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h enum rpc_display_format_t formath](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_display_format_th]hrpc_display_format_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.rpc_peeraddr2strasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hformath]hformat}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(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.return remote peer address in printable formath]h.return remote peer address in printable format}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubj)}(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)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hj؞h]h enum rpc_display_format_t format}(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)}(haddress formath]haddress format}(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&]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:83: ./net/sunrpc/clnt.chMhjzubjl)}(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.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hNint rpc_localaddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h]j )}(hMint rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhMubj3)}(h rpc_localaddrh]j9)}(h rpc_localaddrh]h rpc_localaddr}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjfhMubj )}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_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)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_localaddrasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t buflenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]jϟc.rpc_localaddrasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjfhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjfhMubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhMhjMhhubjg)}(hhh]jl)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hjРhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj͠hhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMhj ubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjJh]hstruct sockaddr *buf}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjDubj)}(hhh]jl)}(h target bufferh]h target buffer}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.chMhj}ubj)}(hhh]jl)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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.}(hjԡhhhNhNubah}(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.}(hjhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjhhhNhNubh)}(hhh](j)}(h/struct net * rpc_net_ns (struct rpc_clnt *clnt)h]j )}(h-struct net *rpc_net_ns(struct rpc_clnt *clnt)h](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMEubh)}(hhh]j9)}(hneth]hnet}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j rpc_net_nssb c.rpc_net_nsasbuh1hhjhhhj.hMEubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMEubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj.hMEubj3)}(h rpc_net_nsh]j9)}(hj^h]h rpc_net_ns}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMEubj )}(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\ c.rpc_net_nsasbuh1hhjubj")}(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 hjhhhj.hMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hMEubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMEhjhhubjg)}(hhh]jl)}(h-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(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.chMIhj8ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](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.chMKhjWubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.size_t rpc_max_payload (struct rpc_clnt *clnt)h]j )}(h-size_t rpc_max_payload(struct rpc_clnt *clnt)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_max_payloadsbc.rpc_max_payloadasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUubj")}(h h]h }(hjܣhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjۣhMUubj3)}(hrpc_max_payloadh]j9)}(hjأh]hrpc_max_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjۣhMUubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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֣c.rpc_max_payloadasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjۣhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjۣhMUubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjۣhMUhjhhubjg)}(hhh]jl)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjۣhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX+**Parameters** ``struct rpc_clnt *clnt`` RPC client to query **Description** For stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMYhjubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(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.chMVhjŤubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjŤubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj¤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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMXhjubjl)}(hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h]hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don’t support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1size_t rpc_max_bc_payload (struct rpc_clnt *clnt)h]j )}(h0size_t rpc_max_bc_payload(struct rpc_clnt *clnt)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j rpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhjGhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMiubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjohMiubj3)}(hrpc_max_bc_payloadh]j9)}(hjlh]hrpc_max_bc_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjohMiubj )}(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 ]jjc.rpc_max_bc_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 hjGhhhjohMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjohMiubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMihj@hhubjg)}(hhh]jl)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjohMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjhNhNubj)}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](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:83: ./net/sunrpc/clnt.chMmhj:ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj_h]hstruct rpc_clnt *clnt}(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.chMohjYubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMjhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMohjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void rpc_force_rebind (struct rpc_clnt *clnt)h]j )}(h,void rpc_force_rebind(struct rpc_clnt *clnt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjȦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjǦhMubj3)}(hrpc_force_rebindh]j9)}(hrpc_force_rebindh]hrpc_force_rebind}(hjڦhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֦ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjǦhMubj )}(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 jܦsbc.rpc_force_rebindasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjǦhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjǦhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjǦhMhjhhubjg)}(hhh]jl)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjǦhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hclient to rebindh]hclient to rebind}(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ϧhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hint rpc_clnt_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h]j )}(hint rpc_clnt_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hM ubj3)}(hrpc_clnt_test_and_add_xprth]j9)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hM ubj )}(ha(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.rpc_clnt_test_and_add_xprtasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hstruct rpc_xprt_switch *xpsh](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_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjިubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_clnt_test_and_add_xprtasbuh1hhjubj")}(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)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hstruct rpc_xprt *xprth](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_xprth]hrpc_xprt}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]jc.rpc_clnt_test_and_add_xprtasbuh1hhj/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)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hvoid *in_max_connecth](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hin_max_connecth]hin_max_connect}(hj̩hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hM hj hhubjg)}(hhh]jl)}(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&]uh1jfhj hhhj"hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, ``struct rpc_xprt *xprt`` pointer struct rpc_xprt ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj7h]hstruct rpc_clnt *clnt}(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.chM hj1ubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhM hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj.ubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjph]hstruct rpc_xprt_switch *xps}(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)}(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&]uh1jhjjubeh}(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)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjªhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hjh]hvoid *in_max_connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjܪubj)}(hhh]jl)}(hApointer to the max_connect value for the passed in xprt transporth]hApointer to the max_connect value for the passed in xprt transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjܪubeh}(h]h ]h"]h$]h&]uh1jhjhM hj.ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-rpc_clnt_setup_test_and_add_xprt (C function)"c.rpc_clnt_setup_test_and_add_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(h|int rpc_clnt_setup_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h]j )}(h{int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](jM )}(hinth]hint}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjJhM 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}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjJhM 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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j_sb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjuubj")}(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)}(hclnth]hclnt}(hjҫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hstruct rpc_xprt_switch *xpsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj")}(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)}(hxpsh]hxps}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(hstruct rpc_xprt *xprth](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)}(hrpc_xprth]hrpc_xprt}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjˬhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjǬubj")}(h h]h }(hj٬hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjǬubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjǬubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǬubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjJhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjJhM ubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhM hj1hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj1hhhjJhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(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)}(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)}(hC``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjPh]hstruct rpc_clnt *clnt}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjJubj)}(hhh]jl)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjGubj)}(hN``struct rpc_xprt_switch *xps`` the rpc_xprt_switch to hold the new transport h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjGubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj­h]hstruct rpc_xprt *xprt}(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)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hjۭhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj׭hM hjحubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׭hM hjGubj)}(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 hjGubeh}(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&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj+ubj)}(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:}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjPubj)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjcubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjMubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(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 hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjhhhNhNubh)}(hhh](j)}(hint rpc_clnt_add_xprt (struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *), void *data)h]j )}(hint rpc_clnt_add_xprt(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hjŮhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjĮhM ubj3)}(hrpc_clnt_add_xprth]j9)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hj׮hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӮubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjĮhM 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 jٮsbc.rpc_clnt_add_xprtasbuh1hhjubj")}(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)}(hclnth]hclnt}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xprt_create *xprtargsh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h 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_xprtasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hxprtargsh]hxprtargs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](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ѯubj )}(hjg 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)}(hsetuph]hsetup}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѯubj )}(hj h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj )}(hjg h]h(}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjѯubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѯubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j-c.rpc_clnt_add_xprtasbuh1hhjѯubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj )}(hj7uh]h,}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯ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)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j-c.rpc_clnt_add_xprtasbuh1hhjѯubj )}(hj h]h*}(hjӰhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj )}(hj7uh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯ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)}(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_xprtasbuh1hhjѯubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj )}(hj7uh]h,}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj")}(h h]h }(hjQhhhNhNubah}(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*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubj )}(hj h]h)}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѯubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j 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!Add a new transport to a rpc_clnth]h!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&]uh1jfhjhhhjĮhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct xprt_create *xprtargs`` pointer to struct xprt_create ``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection ``void *data`` pointer to setup function data **Description** Creates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh](j)}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM hjubj)}(h?``struct xprt_create *xprtargs`` pointer to struct xprt_create h](j)}(h ``struct xprt_create *xprtargs``h]j)}(hj_h]hstruct xprt_create *xprtargs}(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 hjYubj)}(hhh]jl)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjubj)}(h``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection h](j)}(hX``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)``h]j)}(hjh]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hjѲh]h void *data}(hjӲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϲubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj˲ubj)}(hhh]jl)}(hpointer to setup function datah]hpointer to setup function data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj˲ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubjl)}(hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.h]hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]sun-rpc-subsystemah ]h"]sun rpc subsystemah$]h&]uh1hhhhhhhhK9ubeh}(h]linux-networkingah ]h"]linux networkingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetwork device supporth]hNetwork device support}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h*void dev_add_pack (struct packet_type *pt)h]j )}(h)void dev_add_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMdubj3)}(h dev_add_packh]j9)}(h dev_add_packh]h dev_add_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMdubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjͳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hj޳hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj۳ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.dev_add_packasbuh1hhjubj")}(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)}(hpth]hpt}(hjhhhNhNubah}(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 jYjZhj{hhhjhMdubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMdhjxhhubjg)}(hhh]jl)}(hadd packet handlerh]hadd packet handler}(hjChhhNhNubah}(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&]uh1jfhjxhhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjYhNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhj_ubj)}(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.chMehj~ubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMehj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghj_ubj)}(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 }(hjٴhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjh]h packet_type}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjٴubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjٴhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMfhjմubjl)}(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).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjմubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhjYhhhNhNubh)}(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 }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhM~ubj3)}(h__dev_remove_packh]j9)}(h__dev_remove_packh]h__dev_remove_pack}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhM~ubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.__dev_remove_packasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjɵhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hpth]hpt}(hjֵhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubah}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjNhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjNhM~ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhM~hj5hhubjg)}(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&]uh1jfhj5hhhjNhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjAh]hstruct packet_type *pt}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj;ubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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 }(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)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhjYhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hdev_remove_packh]j9)}(hdev_remove_packh]hdev_remove_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](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 packet_typeh]h packet_type}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j sbc.dev_remove_packasbuh1hhj6ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hpth]hpt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(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)}(hremove packet handlerh]hremove packet handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjշjjշjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jl)}(h**Parameters**h]j)}(hj߷h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݷubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjٷubj)}(hhh]j)}(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&]uh1jhjٷubjl)}(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.chMhjٷubj)}(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 }(hjShhhNhNubh)}(h:c:type:`packet_type`h]j)}(hj]h]h packet_type}(hj_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjSubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjzhMhjOubjl)}(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.chMhjOubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjٷubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1int dev_get_iflink (const struct net_device *dev)h]j )}(h0int dev_get_iflink(const struct net_device *dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjɸhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjȸhMubj3)}(hdev_get_iflinkh]j9)}(hdev_get_iflinkh]hdev_get_iflink}(hj۸hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׸ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjȸ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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jݸsbc.dev_get_iflinkasbuh1hhjubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjȸhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjȸhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjȸhMhjhhubjg)}(hhh]jl)}(h!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjȸhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const struct net_device *dev`` targeted interface **Description** Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface h](j)}(h ``const struct net_device *dev``h]j)}(hjֹh]hconst struct net_device *dev}(hjعhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԹubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjйubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(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)}(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.}(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&]uh1jhj9hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhjYhhhNhNubh)}(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}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhMubj3)}(hdev_fill_metadata_dsth]j9)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhMubj )}(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_fill_metadata_dstasbuh1hhjubj")}(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 sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j׺c.dev_fill_metadata_dstasbuh1hhj 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 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)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` targeted interface ``struct sk_buff *skb`` The packet. **Description** For better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h.``struct net_device *dev`` targeted interface h](j)}(h``struct net_device *dev``h]j)}(hjѻh]hstruct net_device *dev}(hjӻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϻubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj˻ubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(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 *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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h The packet.h]h The packet.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjȻubeh}(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.chMhjubj)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]jl)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.}(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&]uh1jhjmhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hIstruct net_device * __dev_get_by_name (struct net *net, const char *name)h]j )}(hGstruct net_device *__dev_get_by_name(struct net *net, const char *name)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMdubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_get_by_namesbc.__dev_get_by_nameasbuh1hhjhhhjhMdubj")}(h h]h }(hjԼhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMdubj3)}(h__dev_get_by_nameh]j9)}(hjѼh]h__dev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMdubj )}(h#(struct net *net, const char *name)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hneth]hnet}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]jϼc.__dev_get_by_nameasbuh1hhj 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)}(hneth]hnet}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *nameh](j)}(hj h]hconst}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hnameh]hname}(hj½hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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&]uh1jfhjhhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jhj ubah}(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&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehj'ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMehjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMehj$ubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjfh]hconst char *name}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhj`ubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMfhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjubj)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h]jl)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](hFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjþhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubah}(h]h ]h"]h$]h&]uh1jhj۾hMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hKstruct net_device * dev_get_by_name_rcu (struct net *net, const char *name)h]j )}(hIstruct net_device *dev_get_by_name_rcu(struct net *net, const char *name)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j dev_get_by_name_rcusbc.dev_get_by_name_rcuasbuh1hhjhhhjhMyubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMyubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMyubj3)}(hdev_get_by_name_rcuh]j9)}(hj?h]hdev_get_by_name_rcu}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMyubj )}(h#(struct net *net, const char *name)h](j )}(hstruct net *neth](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)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j=c.dev_get_by_name_rcuasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjƿhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hneth]hnet}(hjӿhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hconst char *nameh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnameh]hname}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyhjWhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjYhNhNubj)}(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)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hjvubj)}(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.chMzhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{hjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hjvubjl)}(hFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](hsFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then }(hj%hhhNhNubj)}(h``NULL``h]hNULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhjYhhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjshMubh)}(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_nameasbuh1hhjbhhhjshMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjshMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbhhhjshMubj3)}(hnetdev_get_by_nameh]j9)}(hjh]hnetdev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjshMubj )}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *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)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshMubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhj[hhubjg)}(hhh]jl)}(hfind a device by its nameh]hfind a device by its name}(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&]uh1jfhj[hhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjYhNhNubj)}(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)}(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)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjh]hnetdevice_tracker *tracker}(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.chMhjubj)}(hhh]jl)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjGh]h gfp_t gfp}(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)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubeh}(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)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h]jl)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](hFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, is returned if no matching device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hEstruct net_device * __dev_get_by_index (struct net *net, int ifindex)h]j )}(hCstruct net_device *__dev_get_by_index(struct net *net, int ifindex)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhjhhhjhMubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__dev_get_by_indexh]j9)}(hj h]h__dev_get_by_index}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]Vh$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](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)}(hneth]hnet}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]jc.__dev_get_by_indexasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h int ifindexh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjYhNhNubj)}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj/ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjTh]hstruct net *net}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjNubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhjYhhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j dev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhj%hhhj6hMubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%hhhj6hMubj3)}(hdev_get_by_index_rcuh]j9)}(hjfh]hdev_get_by_index_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj6hMubj )}(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 ]jdc.dev_get_by_index_rcuasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifindexh]hifindex}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj6hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjYhNhNubj)}(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)}(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.chMhjuubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjuubj)}(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 }(hj(hhhNhNubj)}(h``NULL``h]hNULL}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.}(hj(hhhNhNubeh}(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&]uh1jhjHhMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhjYhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj|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_indexsbc.netdev_get_by_indexasbuh1hhjkhhhj|hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj|hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkhhhj|hMubj3)}(hnetdev_get_by_indexh]j9)}(hjh]hnetdev_get_by_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhj|hMubj )}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjubj")}(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 )}(h int ifindexh](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hifindexh]hifindex}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj|hMubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjdhhubjg)}(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.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjYhNhNubj)}(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)}(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.chMhjXubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj}h]hstruct net *net}(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.chMhjwubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(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&]uh1jhjhMhjtubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjXubj)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubah}(h]h ]h"]h$]h&]uh1jhjhMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h^struct net_device * dev_getbyhwaddr_rcu (struct net *net, unsigned short type, const char *ha)h]j )}(h\struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j dev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hdev_getbyhwaddr_rcuh]j9)}(hjh]hdev_getbyhwaddr_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct net *net, unsigned short type, const char *ha)h](j )}(hstruct net *neth](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)}(hneth]hnet}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jc.dev_getbyhwaddr_rcuasbuh1hhj(ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hconst char *hah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(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&]jjjjsjjsjjjuh1hhhhjYhNhNubj)}(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)}(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)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjh]hconst char *ha}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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}(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&]uh1jhjwubjl)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjwubj)}(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}(hjchhhNhNubah}(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&]uh1jhjqhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hZstruct net_device * dev_getbyhwaddr (struct net *net, unsigned short type, const char *ha)h]j )}(hXstruct net_device *dev_getbyhwaddr(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j dev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hdev_getbyhwaddrh]j9)}(hjh]hdev_getbyhwaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct net *net, unsigned short type, const char *ha)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(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 ]jc.dev_getbyhwaddrasbuh1hhjubj")}(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 )}(hunsigned short typeh](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 )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst char *hah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjYhNhNubj)}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj|ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjl)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjl)}(h **Context**h]j)}(hjVh]hContext}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjl)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjl)}(h **Return**h]j)}(hj}h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjl)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h&bool dev_valid_name (const char *name)h]j )}(h%bool dev_valid_name(const char *name)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hdev_valid_nameh]j9)}(hdev_valid_nameh]hdev_valid_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(const char *name)h]j )}(hconst char *nameh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnameh]hname}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h(check if name is okay for network deviceh]h(check if name is okay for network device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjihhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const char *name`` name string **Description** Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjubj)}(hhh]j)}(h!``const char *name`` name string h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjubj)}(hhh]jl)}(h name stringh]h name string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h=int dev_alloc_name (struct net_device *dev, const char *name)h]j )}(hhMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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.}(hjzhhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*unregister_netdevice_notifier (C function)c.unregister_netdevice_notifierhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]j )}(hubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj:ubj)}(hhh]jl)}(hdestination network deviceh]hdestination network device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj7ubj)}(h*``struct sk_buff *skb`` buffer to forward h](j)}(h``struct sk_buff *skb``h]j)}(hjyh]hstruct sk_buff *skb}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjsubj)}(hhh]jl)}(hbuffer to forwardh]hbuffer to forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM hj7ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h_return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed) h](j)}(hreturn values:h]hreturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)h]hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.h]hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.h]hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhjYhhhNhNubh)}(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}(hjBhhhNhNubah}(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)}(hdev_nit_active_rcuh]j9)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjOhM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(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 jdsbc.dev_nit_active_rcuasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubah}(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)}(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&]uh1jfhj7hhhjOhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device to check for the presence of taps **Description** The caller must hold the RCU lockh](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj8ubj)}(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)}(hj]h]hconst struct 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 hjWubj)}(hhh]jl)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjTubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj8ubjl)}(h!The caller must hold the RCU lockh]h!The caller must hold the RCU lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hKint netif_set_real_num_rx_queues (struct net_device *dev, unsigned int rxq)h]j )}(hJint netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_real_num_rx_queuesh]j9)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h*(struct net_device *dev, unsigned int rxq)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_set_real_num_rx_queuesasbuh1hhjubj")}(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 hjubj )}(hunsigned int rxqh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h#set actual number of RX queues usedh]h#set actual number of RX queues used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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 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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj)ubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhM hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM hj&ubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjhh]hunsigned int rxq}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjbubj)}(hhh]jl)}(hActual number of RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hM hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM hj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj ubj)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]jl)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhjYhhhNhNubh)}(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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.netif_set_real_num_queuesasbuh1hhj+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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hunsigned int txqh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htxqh]htxq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(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}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h*set actual number of RX and TX queues usedh]h*set actual number of RX and TX queues used}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjYhNhNubj)}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjpubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hjh]hunsigned int txq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hActual number of TX queuesh]hActual number of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hActual number of RX queuesh]hActual number of RX queues}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hjBh]h Description}(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.chM hjpubj)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjXubah}(h]h ]h"]h$]h&]uh1jhjjhM hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_size (struct net_device *dev, unsigned int size)h]j )}(hFvoid netif_set_tso_max_size(struct net_device *dev, unsigned int size)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_tso_max_sizeh]j9)}(hnetif_set_tso_max_sizeh]hnetif_set_tso_max_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h+(struct net_device *dev, unsigned int size)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_set_tso_max_sizeasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(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 sizeh](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 }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hsizeh]hsize}(hjxhhhNhNubah}(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(set the max size of TSO frames supportedh]h(set the max size of TSO frames supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int size`` max skb->len of a TSO frame **Description** Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``unsigned int size`` max skb->len of a TSO frame h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM 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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hSet the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](h~Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of }(hjmhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_segs (struct net_device *dev, unsigned int segs)h]j )}(hFvoid netif_set_tso_max_segs(struct net_device *dev, unsigned int segs)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_tso_max_segsh]j9)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h+(struct net_device *dev, unsigned int segs)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.netif_set_tso_max_segsasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int segsh](jM )}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubjM )}(hinth]hint}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hsegsh]hsegs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h,set the max number of segs supported for TSOh]h,set the max number of segs supported for TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX1**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int segs`` max number of TCP segments **Description** Set the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hj9h]hunsigned int segs}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj3ubj)}(hhh]jl)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hQvoid netif_inherit_tso_max (struct net_device *to, const struct net_device *from)h]j )}(hPvoid netif_inherit_tso_max(struct net_device *to, const struct net_device *from)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_inherit_tso_maxh]j9)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h6(struct net_device *to, const struct net_device *from)h](j )}(hstruct net_device *toh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsbc.netif_inherit_tso_maxasbuh1hhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct net_device *fromh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jBc.netif_inherit_tso_maxasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjYhNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj2ubj)}(hhh](j)}(h+``struct net_device *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hjWh]hstruct net_device *to}(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)}(hnetdev to updateh]hnetdev to update}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM hjNubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hjh]hconst struct net_device *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(h$netdev from which to copy the limitsh]h$netdev from which to copy the limits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h+int netif_get_num_default_rss_queues (void)h]j )}(h*int netif_get_num_default_rss_queues(void)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(h netif_get_num_default_rss_queuesh]j9)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#ubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hjQhhhNhNubah}(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&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjYhNhNubj)}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM! hjmubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubjl)}(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.chKhjmubjl)}(hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h]hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1void netif_device_detach (struct net_device *dev)h]j )}(h0void netif_device_detach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM ubj3)}(hnetif_device_detachh]j9)}(hnetif_device_detachh]hnetif_device_detach}(hj3hhhNhNubah}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j j5sbc.netif_device_detachasbuh1hhjKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj 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)}(hmark device as removedh]hmark device as removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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 hj ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hj 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.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.}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1void netif_device_attach (struct net_device *dev)h]j )}(h0void netif_device_attach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_device_attachh]j9)}(hnetif_device_attachh]hnetif_device_attach}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_device_attachasbuh1hhjubj")}(h h]h }(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 hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hmark device as attachedh]hmark device as attached}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjYhNhNubj)}(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)}(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.chM hjoubj)}(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&]uh1jhjoubjl)}(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 hjoubjl)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhjYhhhNhNubh)}(hhh](j)}(hMint dev_loopback_xmit (struct net *net, struct sock *sk, struct sk_buff *skb)h]j )}(hLint dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hMubj3)}(hdev_loopback_xmith]j9)}(hdev_loopback_xmith]hdev_loopback_xmit}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hneth]hnet}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.dev_loopback_xmitasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.dev_loopback_xmitasbuh1hhjubj")}(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)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]jc.dev_loopback_xmitasbuh1hhj/ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(hloop back **skb**h](h loop back }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net *net`` network namespace this loopback is happening in ``struct sock *sk`` sk needed to be a netfilter okfn ``struct sk_buff *skb`` buffer to transmith](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(hD``struct net *net`` network namespace this loopback is happening in h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hj<h]hstruct sock *sk}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj6ubj)}(hhh]jl)}(h sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h*``struct sk_buff *skb`` buffer to transmith](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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjoubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhjYhhhNhNubh)}(hhh](j)}(hEint __dev_queue_xmit (struct sk_buff *skb, struct net_device *sb_dev)h]j )}(hDint __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__dev_queue_xmith]j9)}(h__dev_queue_xmith]h__dev_queue_xmit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(struct sk_buff *skb, struct net_device *sb_dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(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.__dev_queue_xmitasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *sb_devh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jFc.__dev_queue_xmitasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hsb_devh]hsb_dev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(htransmit a bufferh]htransmit a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hXs**Parameters** ``struct sk_buff *skb`` buffer to transmit ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload **Description** Queue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt. When calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock. Regardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.) **Return** * 0 - buffer successfully transmitted * positive qdisc return code - NET_XMIT_DROP etc. * negative errno - other errorsh](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit h](j)}(h``struct sk_buff *skb``h]j)}(hj@h]hstruct sk_buff *skb}(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.chMhj:ubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjyh]hstruct net_device *sb_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.chMhjsubj)}(hhh]jl)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.h]hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.h]hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)h]hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj.L)}(hhh](j3L)}(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&]uh1j2Lhjubj3L)}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jl)}(hj,h]h/positive qdisc return code - NET_XMIT_DROP etc.}(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&]uh1j2Lhjubj3L)}(h)negative errno - other errorsh]jl)}(hjDh]h)negative errno - other errors}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubah}(h]h ]h"]h$]h&]uh1j2Lhjubeh}(h]h ]h"]h$]h&]jLj uh1j-Lhj#hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhjYhhhNhNubh)}(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 hj|hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMeubj3)}(hrps_may_expire_flowh]j9)}(hrps_may_expire_flowh]hrps_may_expire_flow}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMeubj )}(hC(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 rxq_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhj*ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj9)}(h rxq_indexh]h rxq_index}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flow_idh](h)}(hhh]j9)}(hu32h]hu32}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(hflow_idh]hflow_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 filter_idh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h filter_idh]h filter_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj|hhhjhMeubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMeubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMehjuhhubjg)}(hhh]jl)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjYhNhNubj)}(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)}(hj9h]h Parameters}(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.chMihj3ubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hjXh]hstruct net_device *dev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjRubj)}(hhh]jl)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMfhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMfhjOubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjh]h u16 rxq_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubj)}(hhh]jl)}(hRX queue indexh]hRX queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjOubj)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hjh]h u32 flow_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjubj)}(hhh]jl)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjOubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hjh]h u16 filter_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjubj)}(hhh]jl)}(h)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhj3ubjl)}(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 }(hjThhhNhNubj)}(h``true``h]htrue}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhjYhhhNhNubh)}(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.chMgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMgubj3)}(h __netif_rxh]j9)}(h __netif_rxh]h __netif_rx}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMgubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.__netif_rxasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjYhNhNubj)}(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)}(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.chMkhjqubj)}(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.chMhhjubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjqubj)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]jl)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjubah}(h]h ]h"]h$]h&]uh1jhjhMihjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhjYhhhNhNubh)}(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 hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hM|ubj3)}(hnetif_rxh]j9)}(hnetif_rxh]hnetif_rx}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hM|ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j jCsb c.netif_rxasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubah}(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)}(hpost buffer to the network codeh]hpost buffer to the network code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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.chMhjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hj!h]hstruct sk_buff *skb}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hjubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM}hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM}hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hXQThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jl)}(hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.h]hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hjrubjl)}(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.chMhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h7bool netdev_is_rx_handler_busy (struct net_device *dev)h]j )}(h6bool netdev_is_rx_handler_busy(struct net_device *dev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetdev_is_rx_handler_busyh]j9)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netdev_is_rx_handler_busyasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(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)}(h&check if receive handler is registeredh]h&check if receive handler is registered}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to check **Description** Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h+``struct net_device *dev`` device to check h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hdevice to checkh]hdevice to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(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.chMhj ubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhjYhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjahMubj3)}(hnetdev_rx_handler_registerh]j9)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjahMubj )}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)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.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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 ]jc.netdev_rx_handler_registerasbuh1hhjubj")}(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)}(h rx_handlerh]h rx_handler}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *rx_handler_datah](jM )}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hrx_handler_datah]hrx_handler_data}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhjahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjahMubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMhjHhhubjg)}(hhh]jl)}(hregister receive handlerh]hregister receive handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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)}(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 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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hj$h]hrx_handler_func_t *rx_handler}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hreceive handler to registerh]hreceive handler to register}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hj]h]hvoid *rx_handler_data}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjWubj)}(hhh]jl)}(h'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubeh}(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)}(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.}(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.chM hjubjl)}(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.}(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&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhjYhhhNhNubh)}(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.chM$ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM$ubj3)}(hnetdev_rx_handler_unregisterh]j9)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM$ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 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 j(sbc.netdev_rx_handler_unregisterasbuh1hhj>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 hjhhhjhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM$ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM$hjhhubjg)}(hhh]jl)}(hunregister receive handlerh]hunregister receive 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&]uh1jfhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to unregister a handler from **Description** Unregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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 to unregister a handler from h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj ubj)}(hhh]jl)}(h#device to unregister a handler fromh]h#device to unregister a handler from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM%hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM%hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjA h]h Description}(hjC 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)}(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.}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjW ubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(hjW ubeh}(h]h ]h"]h$]h&]uh1jhji hM&hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h0int netif_receive_skb_core (struct sk_buff *skb)h]j )}(h/int netif_receive_skb_core(struct sk_buff *skb)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMJubj3)}(hnetif_receive_skb_coreh]j9)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMJubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.netif_receive_skb_coreasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj( hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hj5 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMJubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMJhj hhubjg)}(hhh]jl)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhj\ hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjw jjw jjjuh1hhhhjYhNhNubj)}(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)}(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.chMNhj{ ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhj ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMKhj ubah}(h]h ]h"]h$]h&]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.chMMhj{ ubj)}(hXMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``.h](hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if }(hj hhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhj ubjl)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhj ubjl)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShj ubeh}(h]h ]h"]h$]h&]uh1jhj hMLhj{ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhjYhhhNhNubh)}(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}(hjZ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjV hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2ubj")}(h h]h }(hji hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV hhhjh hM2ubj3)}(hnetif_receive_skbh]j9)}(hnetif_receive_skbh]hnetif_receive_skb}(hj{ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjV hhhjh hM2ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j} sbc.netif_receive_skbasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjV hhhjh hM2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjR hhhjh hM2ubah}(h]jM ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjh hM2hjO hhubjg)}(hhh]jl)}(h#process receive buffer from networkh]h#process receive buffer from network}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hj hhubah}(h]h ]h"]h$]h&]uh1jfhjO hhhjh hM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2 jj2 jjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** netif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(h**Parameters**h]j)}(hj< h]h Parameters}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6hj6 ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hj[ h]hstruct sk_buff *skb}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM3hjU ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjp hM3hjq ubah}(h]h ]h"]h$]h&]uh1jhjU ubeh}(h]h ]h"]h$]h&]uh1jhjp hM3hjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5hj6 ubj)}(hXlnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.h]hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM4hj ubjl)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hj ubjl)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hj ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj6 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h4void netif_receive_skb_list (struct list_head *head)h]j )}(h3void netif_receive_skb_list(struct list_head *head)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMNubj3)}(hnetif_receive_skb_listh]j9)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hj$ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMNubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hj@ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj< ubj")}(h h]h }(hjM hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj< ubh)}(hhh]j9)}(h list_headh]h list_head}(hj^ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj` modnameN classnameNj j )}j ]j )}j j& sbc.netif_receive_skb_listasbuh1hhj< 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)}(hheadh]hhead}(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 hMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMNubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMNhj hhubjg)}(hhh]jl)}(h)process many receive buffers from networkh]h)process many receive buffers from network}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjYhNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhj ubj)}(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.chMOhj ubj)}(hhh]jl)}(hlist of skbs to process.h]hlist of skbs to process.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMOhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhj ubj)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhjUubjl)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjUubeh}(h]h ]h"]h$]h&]uh1jhjghMPhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h,void __napi_schedule (struct napi_struct *n)h]j )}(h+void __napi_schedule(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM:ubj3)}(h__napi_scheduleh]j9)}(h__napi_scheduleh]h__napi_schedule}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM:ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__napi_scheduleasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hj3hhhNhNubah}(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 for receiveh]hschedule for receive}(hj\hhhNhNubah}(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&]uh1jfhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjYhNhNubj)}(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)}(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>hjxubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hjubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=hjxubjl)}(hwThe entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h]hyThe entry’s receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhjYhhhNhNubh)}(hhh](j)}(h/bool napi_schedule_prep (struct napi_struct *n)h]j )}(h.bool napi_schedule_prep(struct napi_struct *n)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj*hMKubj3)}(hnapi_schedule_preph]j9)}(hnapi_schedule_preph]hnapi_schedule_prep}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj*hMKubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j j?sbc.napi_schedule_prepasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj*hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj*hMKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMKhjhhubjg)}(hhh]jl)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj*hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct napi_struct *n`` napi context **Description** Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMOhjubj)}(hhh]j)}(h'``struct napi_struct *n`` napi context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhjubj)}(hhh]jl)}(h napi contexth]h napi context}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMLhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMLhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNhjubjl)}(hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h]hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h3void __napi_schedule_irqoff (struct napi_struct *n)h]j )}(h2void __napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMkubj3)}(h__napi_schedule_irqoffh]j9)}(h__napi_schedule_irqoffh]h__napi_schedule_irqoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMkubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__napi_schedule_irqoffasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMkubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMkhjhhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjYhNhNubj)}(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)}(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.chMohjwubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMlhjubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubah}(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.chMnhjwubjl)}(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.chMmhjwubjl)}(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.chMohjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h3void netif_threaded_enable (struct net_device *dev)h]j )}(h2void netif_threaded_enable(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.chMgubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj9hMgubj3)}(hnetif_threaded_enableh]j9)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj9hMgubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jNsbc.netif_threaded_enableasbuh1hhjdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj9hMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#hhhj9hMgubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMghj hhubjg)}(hhh]jl)}(henable threaded NAPIsh]henable threaded NAPIs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj9hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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)}(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.chMkhjubj)}(hhh]j)}(h/``struct net_device *dev`` net_device instance 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.chMhhj&ubj)}(hhh]jl)}(hnet_device instanceh]hnet_device instance}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMhhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhhj#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.chMjhjubjl)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjubjl)}(hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj+hMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j j@sbc.napi_disableasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubah}(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)}(hprevent NAPI from schedulingh]hprevent NAPI from scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Stop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h]hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_enable (C function) c.napi_enablehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h(void napi_enable (struct napi_struct *n)h]j )}(h'void napi_enable(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h napi_enableh]j9)}(h napi_enableh]h napi_enable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.napi_enableasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hj3hhhNhNubah}(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)}(henable NAPI schedulingh]henable NAPI scheduling}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Enable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h](jl)}(h**Parameters**h]j)}(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.chMhjxubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubjl)}(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.chMhjxubjl)}(hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h]hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_has_upper_dev (C function)c.netdev_has_upper_devhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hPbool netdev_has_upper_dev (struct net_device *dev, struct net_device *upper_dev)h]j )}(hObool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj*hMYubj3)}(hnetdev_has_upper_devh]j9)}(hnetdev_has_upper_devh]hnetdev_has_upper_dev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj*hMYubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j j?sbc.netdev_has_upper_devasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_has_upper_devasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h upper_devh]h upper_dev}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj*hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj*hMYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMYhjhhubjg)}(hhh]jl)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj*hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjYhNhNubj)}(hXW**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` upper device to check **Description** Find out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(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.chM]hjhubj)}(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.chMZhjubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[hjubj)}(hhh]jl)}(hupper device to checkh]hupper device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubeh}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjhubjl)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_has_upper_dev_all_rcu (C function)c.netdev_has_upper_dev_all_rcuhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hXbool netdev_has_upper_dev_all_rcu (struct net_device *dev, struct net_device *upper_dev)h]j )}(hWbool netdev_has_upper_dev_all_rcu(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hjh]hbool}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMpubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjShMpubj3)}(hnetdev_has_upper_dev_all_rcuh]j9)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjShMpubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jhsbc.netdev_has_upper_dev_all_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 hjzubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_has_upper_dev_all_rcuasbuh1hhjubj")}(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)}(h upper_devh]h upper_dev}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjShMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjShMpubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjShMphj;hhubjg)}(hhh]jl)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMphjrhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjShMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX+**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` upper device to check **Description** Find out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h](jl)}(h**Parameters**h]j)}(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.chMthjubj)}(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.chMqhjubj)}(hhh]jl)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubj)}(hhh]jl)}(hupper device to checkh]hupper device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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.chMthjubjl)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_has_any_upper_dev (C function)c.netdev_has_any_upper_devhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h6bool netdev_has_any_upper_dev (struct net_device *dev)h]j )}(h5bool netdev_has_any_upper_dev(struct net_device *dev)h](jM )}(hjh]hbool}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj|hMubj3)}(hnetdev_has_any_upper_devh]j9)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhj|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 jsbc.netdev_has_any_upper_devasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj|hMubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjdhhubjg)}(hhh]jl)}(h(Check if device is linked to some deviceh]h(Check if device is linked to some device}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ hhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF jjF jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjP h]h Parameters}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJ ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjo h]hstruct net_device *dev}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhji ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjf ubah}(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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJ ubjl)}(htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h]htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhjYhhhNhNubh)}(hhh](j)}(hHstruct net_device * netdev_master_upper_dev_get (struct net_device *dev)h]j )}(hFstruct net_device *netdev_master_upper_dev_get(struct net_device *dev)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj !ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhj hhhj hMubj")}(h h]h }(hj/!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj )}(hj h]h*}(hj=!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hMubj3)}(hnetdev_master_upper_dev_geth]j9)}(hj,!h]hnetdev_master_upper_dev_get}(hjN!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hji!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje!ubj")}(h h]h }(hjv!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje!ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j*!c.netdev_master_upper_dev_getasbuh1hhje!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje!ubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hje!ubj9)}(hdevh]hdev}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hja!ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(hGet master upper deviceh]hGet master upper device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hj "h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj+"h]hstruct net_device *dev}(hj-"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj%"ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjD"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@"hMhjA"ubah}(h]h ]h"]h$]h&]uh1jhj%"ubeh}(h]h ]h"]h$]h&]uh1jhj@"hMhj""ubah}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**Description**h]j)}(hjf"h]h Description}(hjh"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd"ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubjl)}(hwFind a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h]hyFind a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RTNL lock.}(hj|"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hcstruct net_device * netdev_upper_get_next_dev_rcu (struct net_device *dev, struct list_head **iter)h]j )}(hastruct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter)h](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj"hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j netdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj"hhhj"hMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj"hMubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"hhhj"hMubj3)}(hnetdev_upper_get_next_dev_rcuh]j9)}(hj"h]hnetdev_upper_get_next_dev_rcu}(hj #hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj"hMubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj%#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!#ubj")}(h h]h }(hj2#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!#ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjC#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE#modnameN classnameNj j )}j ]j"c.netdev_upper_get_next_dev_rcuasbuh1hhj!#ubj")}(h h]h }(hja#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!#ubj )}(hj h]h*}(hjo#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!#ubj9)}(hdevh]hdev}(hj|#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h list_headh]h list_head}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j"c.netdev_upper_get_next_dev_rcuasbuh1hhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hiterh]hiter}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj"hhhj"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj"hMubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhj"hhubjg)}(hhh]jl)}(h Get the next dev from upper listh]h Get the next dev from upper list}(hj#$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj $hhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;$jj;$jjjuh1hhhhjYhNhNubj)}(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)}(hjE$h]h Parameters}(hjG$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj?$ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjd$h]hstruct net_device *dev}(hjf$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj^$ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj}$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjy$hMhjz$ubah}(h]h ]h"]h$]h&]uh1jhj^$ubeh}(h]h ]h"]h$]h&]uh1jhjy$hMhj[$ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj$h]hstruct list_head **iter}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj[$ubeh}(h]h ]h"]h$]h&]uh1jhj?$ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj?$ubjl)}(hpGets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h]hrGets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj?$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hVvoid * netdev_lower_get_next_private (struct net_device *dev, struct list_head **iter)h]j )}(hTvoid *netdev_lower_get_next_private(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj,%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj+%hM ubj )}(hj h]h*}(hj:%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%hhhj+%hM ubj3)}(hnetdev_lower_get_next_privateh]j9)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hjK%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj+%hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjg%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc%ubj")}(h h]h }(hjt%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc%ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jM%sbc.netdev_lower_get_next_privateasbuh1hhjc%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc%ubj9)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(h list_headh]h list_head}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j%c.netdev_lower_get_next_privateasbuh1hhj%ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hj#&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj )}(hj h]h*}(hj0&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hiterh]hiter}(hj=&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj+%hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj+%hM ubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+%hM hj%hhubjg)}(hhh]jl)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjg&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjd&hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj+%hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjYhNhNubj)}(hXy**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj&ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj&h]hstruct net_device *dev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj&ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj&ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj&h]hstruct list_head **iter}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj&ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj&ubjl)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold 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.}(hj2'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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhjYhhhNhNubh)}(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}(hja'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 ubj )}(hj h]h*}(hj~'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]'hhhjo'hM ubj3)}(h!netdev_lower_get_next_private_rcuh]j9)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]'hhhjo'hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j j'sb#c.netdev_lower_get_next_private_rcuasbuh1hhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj*(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h list_headh]h list_head}(hj;(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=(modnameN classnameNj j )}j ]j'#c.netdev_lower_get_next_private_rcuasbuh1hhj(ubj")}(h h]h }(hjY(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjg(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj )}(hj h]h*}(hjt(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hiterh]hiter}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]'hhhjo'hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjY'hhhjo'hM ubah}(h]jT'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjo'hM hjV'hhubjg)}(hhh]jl)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(hhubah}(h]h ]h"]h$]h&]uh1jfhjV'hhhjo'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj(h]hstruct net_device *dev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj(ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj%)h]hstruct list_head **iter}(hj')hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj)ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj>)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:)hM hj;)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj:)hM hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hj`)h]h Description}(hjb)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^)ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(ubjl)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold RCU read lock.}(hjv)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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhjYhhhNhNubh)}(hhh](j)}(hNvoid * netdev_lower_get_next (struct net_device *dev, struct list_head **iter)h]j )}(hLvoid *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj)hM ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)hhhj)hM ubj3)}(hnetdev_lower_get_nexth]j9)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj)hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj *hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj *ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j j)sbc.netdev_lower_get_nextasbuh1hhj)ubj")}(h h]h }(hj-*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj )}(hj h]h*}(hj;*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hdevh]hdev}(hjH*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hja*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]*ubj")}(h h]h }(hjn*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]*ubh)}(hhh]j9)}(h list_headh]h list_head}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j)*c.netdev_lower_get_nextasbuh1hhj]*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]*ubj9)}(hiterh]hiter}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj)hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj)hM ubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hM hj)hhubjg)}(hhh]jl)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(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+jjjuh1hhhhjYhNhNubj)}(hX`**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj +ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj0+h]hstruct net_device *dev}(hj2+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}(hjI+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjE+hM hjF+ubah}(h]h ]h"]h$]h&]uh1jhj*+ubeh}(h]h ]h"]h$]h&]uh1jhjE+hM hj'+ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hji+h]hstruct list_head **iter}(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)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~+hM hj+ubah}(h]h ]h"]h$]h&]uh1jhjc+ubeh}(h]h ]h"]h$]h&]uh1jhj~+hM hj'+ubeh}(h]h ]h"]h$]h&]uh1jhj +ubjl)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj +ubjl)}(hGets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h]hGets the next netdev_adjacent from the dev’s lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj +ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hBvoid * netdev_lower_get_first_private_rcu (struct net_device *dev)h]j )}(h@void *netdev_lower_get_first_private_rcu(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hM!ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+hhhj+hM!ubj3)}(h"netdev_lower_get_first_private_rcuh]j9)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj+hM!ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/,ubj")}(h h]h }(hj@,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/,ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQ,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS,modnameN classnameNj j )}j ]j )}j j,sb$c.netdev_lower_get_first_private_rcuasbuh1hhj/,ubj")}(h h]h }(hjq,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/,ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/,ubj9)}(hdevh]hdev}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+,ubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hM!ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hM!ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hM!hj+hhubjg)}(hhh]jl)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj,hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Gets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h](jl)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj,ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj,h]hstruct net_device *dev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj,ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj -hM!hj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hM!hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hj2-h]h Description}(hj4-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0-ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj,ubjl)}(hpGets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h]hrGets the first netdev_adjacent->private from the dev’s lower neighbour list. The caller must hold RCU read lock.}(hjH-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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhjYhhhNhNubh)}(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}(hjw-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs-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!hjs-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_rcuasbuh1hhjs-hhhj-hM!ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs-hhhj-hM!ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs-hhhj-hM!ubj3)}(hnetdev_master_upper_dev_get_rcuh]j9)}(hj-h]hnetdev_master_upper_dev_get_rcu}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs-hhhj-hM!ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj .ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j-!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}(hjH.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubah}(h]h ]h"]h$]h&]jPjQuh1j hjs-hhhj-hM!ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo-hhhj-hM!ubah}(h]jj-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hM!hjl-hhubjg)}(hhh]jl)}(hGet master upper deviceh]hGet master upper device}(hjr.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjo.hhubah}(h]h ]h"]h$]h&]uh1jfhjl-hhhj-hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjYhNhNubj)}(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)}(hj.h]hstruct net_device *dev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj.ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM!hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM!hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhjYhhhNhNubh)}(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}(hj3/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 }(hjB/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj//hhhjA/hM#ubj3)}(hnetdev_upper_dev_linkh]j9)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hjT/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj//hhhjA/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}(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.netdev_upper_dev_linkasbuh1hhjl/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 )}(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}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j/c.netdev_upper_dev_linkasbuh1hhj/ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj,0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(h upper_devh]h upper_dev}(hj90hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh/ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjR0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN0ubj")}(h h]h }(hj_0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN0ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjp0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjm0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjr0modnameN classnameNj j )}j ]j/c.netdev_upper_dev_linkasbuh1hhjN0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN0ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjN0ubj9)}(hextackh]hextack}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjh/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj//hhhjA/hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+/hhhjA/hM#ubah}(h]j&/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjA/hM#hj(/hhubjg)}(hhh]jl)}(hAdd a link to the upper deviceh]hAdd a link to the upper device}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj0hhubah}(h]h ]h"]h$]h&]uh1jfhj(/hhhjA/hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjYhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj0ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj1h]hstruct net_device *dev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj1ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj-1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)1hM#hj*1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj)1hM#hj 1ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjM1h]hstruct net_device *upper_dev}(hjO1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjG1ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hjf1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjb1hM#hjc1ubah}(h]h ]h"]h$]h&]uh1jhjG1ubeh}(h]h ]h"]h$]h&]uh1jhjb1hM#hj 1ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj1h]hstruct netlink_ext_ack *extack}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj1ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM#hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM#hj 1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj0ubjl)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhjYhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hM#ubj3)}(hnetdev_master_upper_dev_linkh]j9)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hj'2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hM#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}(hjC2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubj")}(h h]h }(hjP2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?2ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hja2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjc2modnameN classnameNj j )}j ]j )}j j)2sbc.netdev_master_upper_dev_linkasbuh1hhj?2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?2ubj9)}(hdevh]hdev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;2ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j}2c.netdev_master_upper_dev_linkasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(h upper_devh]h upper_dev}(hj 3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;2ubj )}(hvoid *upper_privh](jM )}(hvoidh]hvoid}(hj%3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!3ubj")}(h h]h }(hj33hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!3ubj )}(hj h]h*}(hjA3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!3ubj9)}(h upper_privh]h upper_priv}(hjN3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;2ubj )}(hvoid *upper_infoh](jM )}(hvoidh]hvoid}(hjg3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjc3ubj")}(h h]h }(hju3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc3ubj9)}(h upper_infoh]h upper_info}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;2ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j}2c.netdev_master_upper_dev_linkasbuh1hhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hextackh]hextack}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj2hM#ubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM#hj1hhubjg)}(hhh]jl)}(h%Add a master link to the upper deviceh]h%Add a master link to the upper device}(hj*4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj'4hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj2hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjB4jjB4jjjuh1hhhhjYhNhNubj)}(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)}(hjL4h]h Parameters}(hjN4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ4ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjF4ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjk4h]hstruct net_device *dev}(hjm4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hje4ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM#hj4ubah}(h]h ]h"]h$]h&]uh1jhje4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM#hjb4ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj4h]hstruct net_device *upper_dev}(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.chM#hj4ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM#hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM#hjb4ubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hj4h]hvoid *upper_priv}(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.chM#hj4ubj)}(hhh]jl)}(hupper device privateh]hupper device private}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM#hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM#hjb4ubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hj5h]hvoid *upper_info}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj5ubj)}(hhh]jl)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hj/5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+5hM#hj,5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj+5hM#hjb4ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjO5h]hstruct netlink_ext_ack *extack}(hjQ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjI5ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hjh5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjd5hM#hje5ubah}(h]h ]h"]h$]h&]uh1jhjI5ubeh}(h]h ]h"]h$]h&]uh1jhjd5hM#hjb4ubeh}(h]h ]h"]h$]h&]uh1jhjF4ubjl)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!#hjF4ubjl)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM #hjF4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhjYhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW#ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hMW#ubj3)}(hnetdev_upper_dev_unlinkh]j9)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMW#ubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,6modnameN classnameNj j )}j ]j )}j j5sbc.netdev_upper_dev_unlinkasbuh1hhj6ubj")}(h h]h }(hjJ6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjX6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hdevh]hdev}(hje6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj~6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz6ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jF6c.netdev_upper_dev_unlinkasbuh1hhjz6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz6ubj9)}(h upper_devh]h upper_dev}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hMW#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hMW#ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMW#hj5hhubjg)}(hhh]jl)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW#hj6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hMW#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjYhNhNubj)}(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!7h]h Parameters}(hj#7hhhNhNubah}(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[#hj7ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj@7h]hstruct net_device *dev}(hjB7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX#hj:7ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjY7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjU7hMX#hjV7ubah}(h]h ]h"]h$]h&]uh1jhj:7ubeh}(h]h ]h"]h$]h&]uh1jhjU7hMX#hj77ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjy7h]hstruct net_device *upper_dev}(hj{7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY#hjs7ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMY#hj7ubah}(h]h ]h"]h$]h&]uh1jhjs7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMY#hj77ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[#hj7ubjl)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ#hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhjYhhhNhNubh)}(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}(hj7hhhNhNubah}(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 }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj8hM#ubj3)}(hnetdev_bonding_info_changeh]j9)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj8hM#ubj )}(hB(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj68hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj28ubj")}(h h]h }(hjC8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj28ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjT8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV8modnameN classnameNj j )}j ]j )}j j8sbc.netdev_bonding_info_changeasbuh1hhj28ubj")}(h h]h }(hjt8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj28ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj28ubj9)}(hdevh]hdev}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj28ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.8ubj )}(h(struct netdev_bonding_info *bonding_infoh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]jp8c.netdev_bonding_info_changeasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(h bonding_infoh]h bonding_info}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj8hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj8hM#ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hM#hj7hhubjg)}(hhh]jl)}(h!Dispatch event about slave changeh]h!Dispatch event about slave change}(hj)9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj&9hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj8hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjA9jjA9jjjuh1hhhhjYhNhNubj)}(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)}(hjK9h]h Parameters}(hjM9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI9ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjE9ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjj9h]hstruct net_device *dev}(hjl9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjd9ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM#hj9ubah}(h]h ]h"]h$]h&]uh1jhjd9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM#hja9ubj)}(h>``struct netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hj9h]h(struct netdev_bonding_info *bonding_info}(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#hj9ubj)}(hhh]jl)}(hinfo to dispatchh]hinfo to dispatch}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM#hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM#hja9ubeh}(h]h ]h"]h$]h&]uh1jhjE9ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjE9ubjl)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjE9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhjYhhhNhNubh)}(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 }(hj1:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj0:hM$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjB:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD:modnameN classnameNj j )}j ]j )}j netdev_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhj:hhhj0:hM$ubj")}(h h]h }(hjc:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj0:hM$ubj )}(hj h]h*}(hjq:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:hhhj0:hM$ubj3)}(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:hhhj0:hM$ubj )}(h>(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j^:c.netdev_get_xmit_slaveasbuh1hhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hdevh]hdev}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj ;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 }(hjI;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ;ubj )}(hj h]h*}(hjW;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ;ubj9)}(hskbh]hskb}(hjd;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 hjy;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy;ubj9)}(h all_slavesh]h all_slaves}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhj0:hM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhj0:hM$ubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0:hM$hj:hhubjg)}(hhh]jl)}(h#Get the xmit slave of master deviceh]h#Get the xmit slave of master device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj;hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj0:hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjYhNhNubj)}(hXB**Parameters** ``struct net_device *dev`` device ``struct sk_buff *skb`` The packet ``bool all_slaves`` assume all the slaves are active **Description** The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj;ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj<h]hstruct net_device *dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj;ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM$hj<ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj<hM$hj;ubj)}(h#``struct sk_buff *skb`` The packet h](j)}(h``struct sk_buff *skb``h]j)}(hj<<h]hstruct sk_buff *skb}(hj><hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj6<ubj)}(hhh]jl)}(h The packeth]h The packet}(hjU<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQ<hM$hjR<ubah}(h]h ]h"]h$]h&]uh1jhj6<ubeh}(h]h ]h"]h$]h&]uh1jhjQ<hM$hj;ubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hju<h]hbool all_slaves}(hjw<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjo<ubj)}(hhh]jl)}(h assume all the slaves are activeh]h assume all the slaves are active}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM$hj<ubah}(h]h ]h"]h$]h&]uh1jhjo<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM$hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj;ubjl)}(hThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](htThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. }(hj<hhhNhNubj)}(h``NULL``h]hNULL}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh" is returned if no slave is found.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hVstruct net_device * netdev_sk_get_lowest_dev (struct net_device *dev, struct sock *sk)h]j )}(hTstruct net_device *netdev_sk_get_lowest_dev(struct net_device *dev, struct sock *sk)h](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj&=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(=modnameN classnameNj j )}j ]j )}j netdev_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhj=hhhj=hM$ubj")}(h h]h }(hjG=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM$ubj )}(hj h]h*}(hjU=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=hhhj=hM$ubj3)}(hnetdev_sk_get_lowest_devh]j9)}(hjD=h]hnetdev_sk_get_lowest_dev}(hjf=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hM$ubj )}(h)(struct net_device *dev, struct sock *sk)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj=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 ]jB=c.netdev_sk_get_lowest_devasbuh1hhj}=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}=ubj9)}(hdevh]hdev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy=ubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hsockh]hsock}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj >ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]jB=c.netdev_sk_get_lowest_devasbuh1hhj=ubj")}(h h]h }(hj->hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj;>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hskh]hsk}(hjH>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=hM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhj=hM$ubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM$hj<hhubjg)}(hhh]jl)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hjr>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjo>hhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhj=hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjYhNhNubj)}(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>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 sock *sk`` the 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj>ubj)}(hhh]jl)}(h the socketh]h the socket}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM$hj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hM$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)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hjA?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=?ubh) is returned if no lower device is found.}(hj=?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_lower_state_changed (C function)c.netdev_lower_state_changedhNtauh1hhjYhhhNhNubh)}(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}(hjz?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjv?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!hjv?hhhj?hM]%ubj3)}(hnetdev_lower_state_changedh]j9)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjv?hhhj?hM]%ubj )}(h6(struct net_device *lower_dev, void *lower_state_info)h](j )}(hstruct net_device *lower_devh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j j?sbc.netdev_lower_state_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)}(h lower_devh]h lower_dev}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hvoid *lower_state_infoh](jM )}(hvoidh]hvoid}(hj)@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%@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)}(hlower_state_infoh]hlower_state_info}(hjR@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjv?hhhj?hM]%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjr?hhhj?hM]%ubah}(h]jm?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hM]%hjo?hhubjg)}(hhh]jl)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hj|@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]%hjy@hhubah}(h]h ]h"]h$]h&]uh1jfhjo?hhhj?hM]%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjYhNhNubj)}(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)}(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.chMa%hj@ubj)}(hhh](j)}(h(``struct net_device *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hj@h]hstruct net_device *lower_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-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hj@h]hvoid *lower_state_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)}(hstate to dispatchh]hstate to dispatch}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj AhM_%hj Aubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhM_%hj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hj1Ah]h Description}(hj3AhhhNhNubah}(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.chMa%hj@ubjl)}(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.}(hjGAhhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_get_flags (C function)c.netif_get_flagshNtauh1hhjYhhhNhNubh)}(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}(hjvAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrAhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrAhhhjAhM%ubjM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrAhhhjAhM%ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrAhhhjAhM%ubj3)}(hnetif_get_flagsh]j9)}(hnetif_get_flagsh]hnetif_get_flags}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrAhhhjAhM%ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](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}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj BmodnameN classnameNj j )}j ]j )}j jAsbc.netif_get_flagsasbuh1hhjAubj")}(h h]h }(hj(BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hj6BhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hdevh]hdev}(hjCBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubah}(h]h ]h"]h$]h&]jPjQuh1j hjrAhhhjAhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnAhhhjAhM%ubah}(h]jiAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhM%hjkAhhubjg)}(hhh]jl)}(hget flags reported to userspaceh]hget flags reported to userspace}(hjmBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjjBhhubah}(h]h ]h"]h$]h&]uh1jfhjkAhhhjAhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjYhNhNubj)}(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)}(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.chM%hjBubj)}(hhh]j)}(h(``const struct net_device *dev`` device h](j)}(h ``const struct net_device *dev``h]j)}(hjBh]hconst struct net_device *dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjBubj)}(hhh]jl)}(hdeviceh]hdevice}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM%hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM%hjBubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjBh]h Description}(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.chM%hjBubjl)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netif_pre_changeaddr_notify (C function)c.netif_pre_changeaddr_notifyhNtauh1hhjYhhhNhNubh)}(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}(hj.ChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*ChhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj")}(h h]h }(hj=ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ChhhjHubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn'hjnGubjl)}(h)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hjVHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMm'hjnGubjl)}(h **Return**h]j)}(hjgHh]hReturn}(hjiHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeHubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMo'hjnGubjl)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj}HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMp'hjnGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_port_same_parent_id (C function)c.netdev_port_same_parent_idhNtauh1hhjYhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM'ubj3)}(hnetdev_port_same_parent_idh]j9)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM'ubj )}(h,(struct net_device *a, struct net_device *b)h](j )}(hstruct net_device *ah](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jHsbc.netdev_port_same_parent_idasbuh1hhjHubj")}(h h]h }(hj&IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj4IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hah]ha}(hjAIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct net_device *bh](j)}(hjh]hstruct}(hjZIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVIubj")}(h h]h }(hjgIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVIubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjxIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzImodnameN classnameNj j )}j ]j"Ic.netdev_port_same_parent_idasbuh1hhjVIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVIubj9)}(hjWh]hb}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhM'ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM'hjHhhubjg)}(hhh]jl)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjYhNhNubj)}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(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'hjIubj)}(hhh](j)}(h.``struct net_device *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hjJh]hstruct net_device *a}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjJubj)}(hhh]jl)}(hfirst network deviceh]hfirst network device}(hj4JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0JhM'hj1Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj0JhM'hjJubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hjTJh]hstruct net_device *b}(hjVJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjNJubj)}(hhh]jl)}(hsecond network deviceh]hsecond network device}(hjmJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjjJubah}(h]h ]h"]h$]h&]uh1jhjNJubeh}(h]h ]h"]h$]h&]uh1jhjiJhM'hjJubeh}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_update_features (C function)c.netdev_update_featureshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h4void netdev_update_features (struct net_device *dev)h]j )}(h3void netdev_update_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ+ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhMZ+ubj3)}(hnetdev_update_featuresh]j9)}(hnetdev_update_featuresh]hnetdev_update_features}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjJhMZ+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj KmodnameN classnameNj j )}j ]j )}j jJsbc.netdev_update_featuresasbuh1hhjJubj")}(h h]h }(hj)KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hj7KhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hdevh]hdev}(hjDKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubah}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjJhMZ+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhjJhMZ+ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMZ+hjJhhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hjnKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ+hjkKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjJhMZ+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjYhNhNubj)}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^+hjKubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hjKh]hstruct net_device *dev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[+hjKubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM[+hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM[+hjKubah}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]+hjKubj)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jl)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\+hjLubah}(h]h ]h"]h$]h&]uh1jhjLhM\+hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h4void netdev_change_features (struct net_device *dev)h]j )}(h3void netdev_change_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj9LhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5LhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi+ubj")}(h h]h }(hjHLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5LhhhjGLhMi+ubj3)}(hnetdev_change_featuresh]j9)}(hnetdev_change_featuresh]hnetdev_change_features}(hjZLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5LhhhjGLhMi+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjvLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrLubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j j\Lsbc.netdev_change_featuresasbuh1hhjrLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrLubj9)}(hdevh]hdev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnLubah}(h]h ]h"]h$]h&]jPjQuh1j hj5LhhhjGLhMi+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1LhhhjGLhMi+ubah}(h]j,Lah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGLhMi+hj.Lhhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMi+hjLhhubah}(h]h ]h"]h$]h&]uh1jfhj.LhhhjGLhMi+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjYhNhNubj)}(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)}(hjMh]h Parameters}(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.chMm+hjMubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj:Mh]hstruct net_device *dev}(hjfeatures set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]jl)}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk+hjMubah}(h]h ]h"]h$]h&]uh1jhjMhMk+hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_stacked_transfer_operstate (C function)"c.netif_stacked_transfer_operstatehNtauh1hhjYhhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz+ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjMhMz+ubj3)}(h netif_stacked_transfer_operstateh]j9)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhMz+ubj )}(h:(const struct net_device *rootdev, struct net_device *dev)h](j )}(h const struct net_device *rootdevh](j)}(hj h]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj)NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj:NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnetdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](jl)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[.hjTubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hjTh]hstruct net_device *dev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX.hjTubj)}(hhh]jl)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMX.hjUubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjUhMX.hjTubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hj7Uh]h!struct rtnl_link_stats64 *storage}(hj9UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Uubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY.hj1Uubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hjPUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLUhMY.hjMUubah}(h]h ]h"]h$]h&]uh1jhj1Uubeh}(h]h ]h"]h$]h&]uh1jhjLUhMY.hjTubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hjrUh]h Description}(hjtUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpUubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[.hjTubj)}(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 }(hjUhhhNhNubj)}(h **storage**h]hstorage}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh. 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.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ.hjUubah}(h]h ]h"]h$]h&]uh1jhjUhMZ.hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhjYhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjUhM.ubj3)}(hdev_fetch_sw_netstatsh]j9)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjUhM.ubj )}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Vubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Vubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj.VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0VmodnameN classnameNj j )}j ]j )}j jUsbc.dev_fetch_sw_netstatsasbuh1hhj Vubj")}(h h]h }(hjNVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Vubj )}(hj h]h*}(hj\VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Vubj9)}(hsh]hs}(hjiVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h0const struct pcpu_sw_netstats __percpu *netstatsh](j)}(hj h]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~Vubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Vubj)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~Vubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Vubh)}(hhh]j9)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jJVc.dev_fetch_sw_netstatsasbuh1hhj~Vubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Vubh__percpu}(hj~VhhhNhNubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Vubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~Vubj9)}(hnetstatsh]hnetstats}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~Vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjUhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhjUhM.ubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhM.hjUhhubjg)}(hhh]jl)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hj0WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj-Whhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjUhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHWjjHWjjjuh1hhhhjYhNhNubj)}(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)}(hjRWh]h Parameters}(hjTWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPWubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjLWubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjqWh]hstruct rtnl_link_stats64 *s}(hjsWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjkWubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM.hjWubah}(h]h ]h"]h$]h&]uh1jhjkWubeh}(h]h ]h"]h$]h&]uh1jhjWhM.hjhWubj)}(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)}(hjWh]h0const struct pcpu_sw_netstats __percpu *netstats}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjWubj)}(hhh]jl)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM.hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM.hjhWubeh}(h]h ]h"]h$]h&]uh1jhjLWubjl)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjLWubj)}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jl)}(hjWh](hCRead per-cpu network statistics and populate the related fields in }(hjWhhhNhNubj)}(h**s**h]hs}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjWubah}(h]h ]h"]h$]h&]uh1jhjXhM.hjLWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_tstats64 (C function)c.dev_get_tstats64hNtauh1hhjYhhhNhNubh)}(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}(hjEXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAXhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hjTXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAXhhhjSXhM.ubj3)}(hdev_get_tstats64h]j9)}(hdev_get_tstats64h]hdev_get_tstats64}(hjfXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAXhhhjSXhM.ubj )}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~Xubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Xubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j )}j jhXsbc.dev_get_tstats64asbuh1hhj~Xubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~Xubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~Xubj9)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzXubj )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jXc.dev_get_tstats64asbuh1hhjXubj")}(h h]h }(hj0YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hj>YhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hjkVh]hs}(hjKYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjAXhhhjSXhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=XhhhjSXhM.ubah}(h]j8Xah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjSXhM.hj:Xhhubjg)}(hhh]jl)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hjtYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjqYhhubah}(h]h ]h"]h$]h&]uh1jfhj:XhhhjSXhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjYhNhNubj)}(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)}(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)}(h9``struct net_device *dev`` device to get statistics from 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)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM.hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM.hjYubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjYh]hstruct rtnl_link_stats64 *s}(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)}(hplace to store statsh]hplace to store stats}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM.hjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhM.hjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hj)Zh]h Description}(hj+ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Zubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjYubj)}(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 }(hjCZhhhNhNubj)}(h**s**h]hs}(hjKZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCZubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hjCZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj?Zubah}(h]h ]h"]h$]h&]uh1jhjcZhM.hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhjYhhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjZhM.ubj3)}(h!netdev_sw_irq_coalesce_default_onh]j9)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjZhM.ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j jZsb#c.netdev_sw_irq_coalesce_default_onasbuh1hhjZubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hdevh]hdev}(hj [hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjZhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjZhM.ubah}(h]j}Zah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhM.hjZhhubjg)}(hhh]jl)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hjJ[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjG[hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjZhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb[jjb[jjjuh1hhhhjYhNhNubj)}(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)}(hjl[h]h Parameters}(hjn[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj[ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjf[ubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hj[h]hstruct net_device *dev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj[ubj)}(hhh]jl)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hM.hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM.hj[ubah}(h]h ]h"]h$]h&]uh1jhjf[ubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjf[ubjl)}(hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h]hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjf[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hstruct net_device * alloc_netdev_mqs (int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), unsigned int txqs, unsigned int rxqs)h]j )}(hstruct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hj \hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hM.ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,\modnameN classnameNj j )}j ]j )}j alloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhj\hhhj\hM.ubj")}(h h]h }(hjK\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hM.ubj )}(hj h]h*}(hjY\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\hhhj\hM.ubj3)}(halloc_netdev_mqsh]j9)}(hjH\h]halloc_netdev_mqs}(hjj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhj\hM.ubj )}(h(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j )}(hint sizeof_privh](jM )}(hinth]hint}(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 )}(hconst char *nameh](j)}(hj h]hconst}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubjM )}(hcharh]hchar}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hnameh]hname}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}\ubj )}(hunsigned char name_assign_typeh](jM )}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hj%]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubjM )}(hcharh]hchar}(hj3]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]ubj")}(h h]h }(hjA]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj9)}(hname_assign_typeh]hname_assign_type}(hjO]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}\ubj )}(h!void (*setup)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjh]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjd]ubj")}(h h]h }(hjv]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd]ubj )}(hjg 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)}(hsetuph]hsetup}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd]ubj )}(hj h]h)}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjd]ubj )}(hjg h]h(}(hj]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)}(h net_deviceh]h net_device}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]jF\c.alloc_netdev_mqsasbuh1hhjd]ubj )}(hj 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]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}\ubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hj'^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#^ubj")}(h h]h }(hj5^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#^ubjM )}(hinth]hint}(hjC^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#^ubj")}(h h]h }(hjQ^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#^ubj9)}(htxqsh]htxqs}(hj_^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}\ubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hjx^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjt^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt^ubjM )}(hinth]hint}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjt^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt^ubj9)}(hrxqsh]hrxqs}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}\ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhj\hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhj\hM.ubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hM.hj\hhubjg)}(hhh]jl)}(hallocate network deviceh]hallocate network device}(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^jjjuh1hhhhjYhNhNubj)}(hX>**Parameters** ``int sizeof_priv`` size of private data to allocate space for ``const char *name`` device name format string ``unsigned char name_assign_type`` origin of device name ``void (*setup)(struct net_device *)`` callback to initialize device ``unsigned int txqs`` the number of TX subqueues to allocate ``unsigned int rxqs`` the number of RX subqueues to allocate **Description** Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h](jl)}(h**Parameters**h]j)}(hj^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?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj_h]hint sizeof_priv}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj_ubj)}(hhh]jl)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj4_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0_hM.hj1_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj0_hM.hj_ubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hjT_h]hconst char *name}(hjV_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR_ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjN_ubj)}(hhh]jl)}(hdevice name format stringh]hdevice name format string}(hjm_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji_hM.hjj_ubah}(h]h ]h"]h$]h&]uh1jhjN_ubeh}(h]h ]h"]h$]h&]uh1jhji_hM.hj_ubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hj_h]hunsigned char name_assign_type}(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)}(horigin of device nameh]horigin of device name}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM.hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM.hj_ubj)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hj_h]h"void (*setup)(struct net_device *)}(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)}(hcallback to initialize deviceh]hcallback to initialize 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=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hj_h]hunsigned int txqs}(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 number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(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=``unsigned int rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hj8`h]hunsigned int rxqs}(hj:`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6`ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj2`ubj)}(hhh]jl)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues to allocate}(hjQ`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjM`hM.hjN`ubah}(h]h ]h"]h$]h&]uh1jhj2`ubeh}(h]h ]h"]h$]h&]uh1jhjM`hM.hj_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&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj^ubjl)}(hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h]hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfree_netdev (C function) c.free_netdevhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h)void free_netdev (struct net_device *dev)h]j )}(h(void free_netdev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhj`hM/ubj3)}(h free_netdevh]j9)}(h free_netdevh]h free_netdev}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hM/ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(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.free_netdevasbuh1hhj`ubj")}(h h]h }(hj3ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjAahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hdevh]hdev}(hjNahhhNhNubah}(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)}(hfree network deviceh]hfree network device}(hjxahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjuahhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device **Description** This function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h](jl)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjaubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjah]hstruct net_device *dev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjaubj)}(hhh]jl)}(hdeviceh]hdevice}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahM/hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM/hjaubah}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjaubjl)}(hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h]hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_dummy (C function)c.alloc_netdev_dummyhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h8struct net_device * alloc_netdev_dummy (int sizeof_priv)h]j )}(h6struct net_device *alloc_netdev_dummy(int sizeof_priv)h](j)}(hjh]hstruct}(hj9bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5bhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj")}(h h]h }(hjGbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5bhhhjFbhM/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjXbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZbmodnameN classnameNj j )}j ]j )}j alloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhj5bhhhjFbhM/ubj")}(h h]h }(hjybhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5bhhhjFbhM/ubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5bhhhjFbhM/ubj3)}(halloc_netdev_dummyh]j9)}(hjvbh]halloc_netdev_dummy}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5bhhhjFbhM/ubj )}(h(int sizeof_priv)h]j )}(hint sizeof_privh](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(h sizeof_privh]h sizeof_priv}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubah}(h]h ]h"]h$]h&]jPjQuh1j hj5bhhhjFbhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1bhhhjFbhM/ubah}(h]j,bah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFbhM/hj.bhhubjg)}(hhh]jl)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjbhhubah}(h]h ]h"]h$]h&]uh1jfhj.bhhhjFbhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``int sizeof_priv`` size of private data to allocate space for **Return** the allocated net_device on success, NULL otherwiseh](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjcubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj:ch]hint sizeof_priv}(hjfh]h Parameters}(hj@fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ghhhj=ghM0ubj3)}(hunregister_netdevice_manyh]j9)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hjPghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+ghhhj=ghM0ubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hjlghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhgubj")}(h h]h }(hjyghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhgubh)}(hhh]j9)}(h list_headh]h list_head}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jRgsbc.unregister_netdevice_manyasbuh1hhjhgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhgubj9)}(hheadh]hhead}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdgubah}(h]h ]h"]h$]h&]jPjQuh1j hj+ghhhj=ghM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'ghhhj=ghM0ubah}(h]j"gah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=ghM0hj$ghhubjg)}(hhh]jl)}(hunregister many devicesh]hunregister many devices}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjghhubah}(h]h ]h"]h$]h&]uh1jfhj$ghhhj=ghM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjYhNhNubj)}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj hubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hj0hh]hstruct list_head *head}(hj2hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.hubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj*hubj)}(hhh]jl)}(hlist of devicesh]hlist of devices}(hjIhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhhM0hjFhubah}(h]h ]h"]h$]h&]uh1jhj*hubeh}(h]h ]h"]h$]h&]uh1jhjEhhM0hj'hubah}(h]h ]h"]h$]h&]uh1jhj hubjl)}(h**Note**h]j)}(hjkhh]hNote}(hjmhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjihubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj hubj)}(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,}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjhubj)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhM0hjhubah}(h]h ]h"]h$]h&]uh1jhj hubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunregister_netdev (C function)c.unregister_netdevhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h/void unregister_netdev (struct net_device *dev)h]j )}(h.void unregister_netdev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjhhM0ubj3)}(hunregister_netdevh]j9)}(hunregister_netdevh]hunregister_netdev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjhhM0ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hj%ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj6ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8imodnameN classnameNj j )}j ]j )}j jhsbc.unregister_netdevasbuh1hhjiubj")}(h h]h }(hjVihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjdihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hdevh]hdev}(hjqihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjhhM0ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhjhhM0ubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhhM0hjhhhubjg)}(hhh]jl)}(hremove device from the kernelh]hremove device from the kernel}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjihhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhjhhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjYhNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjiubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjih]hstruct net_device *dev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjiubj)}(hhh]jl)}(hdeviceh]hdevice}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM0hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM0hjiubah}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjiubj)}(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.}(hj1jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj-jubjl)}(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@jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj-jubeh}(h]h ]h"]h$]h&]uh1jhj?jhM0hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_increment_features (C function)c.netdev_increment_featureshNtauh1hhjYhhhNhNubh)}(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}(hjxjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjujubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzjmodnameN classnameNj j )}j ]j )}j netdev_increment_featuressbc.netdev_increment_featuresasbuh1hhjqjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqjhhhjjhM1ubj3)}(hnetdev_increment_featuresh]j9)}(hjjh]hnetdev_increment_features}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqjhhhjjhM1ubj )}(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}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]jjc.netdev_increment_featuresasbuh1hhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hallh]hall}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hnetdev_features_t oneh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]jjc.netdev_increment_featuresasbuh1hhj kubj")}(h h]h }(hj0khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj kubj9)}(honeh]hone}(hj>khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj kubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hnetdev_features_t maskh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjZkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\kmodnameN classnameNj j )}j ]jjc.netdev_increment_featuresasbuh1hhjSkubj")}(h h]h }(hjxkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSkubj9)}(hmaskh]hmask}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqjhhhjjhM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmjhhhjjhM1ubah}(h]jhjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhM1hjjjhhubjg)}(hhh]jl)}(hincrement feature set by oneh]hincrement feature set by one}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjkhhubah}(h]h ]h"]h$]h&]uh1jfhjjjhhhjjhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjYhNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjkubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hjkh]hnetdev_features_t all}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjkubj)}(hhh]jl)}(hcurrent feature seth]hcurrent feature set}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM1hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhM1hjkubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hj*lh]hnetdev_features_t one}(hj,lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(lubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj$lubj)}(hhh]jl)}(hnew feature seth]hnew feature set}(hjClhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?lhM1hj@lubah}(h]h ]h"]h$]h&]uh1jhj$lubeh}(h]h ]h"]h$]h&]uh1jhj?lhM1hjkubj)}(h,``netdev_features_t mask`` mask feature set h](j)}(h``netdev_features_t mask``h]j)}(hjclh]hnetdev_features_t mask}(hjelhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjalubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj]lubj)}(hhh]jl)}(hmask feature seth]hmask feature set}(hj|lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxlhM1hjylubah}(h]h ]h"]h$]h&]uh1jhj]lubeh}(h]h ]h"]h$]h&]uh1jhjxlhM1hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjkubj)}(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 }(hjlhhhNhNubj)}(h**one**h]hone}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh/ to the master device with current feature set }(hjlhhhNhNubj)}(h**all**h]hall}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh+. Will not enable anything that is off in }(hjlhhhNhNubj)}(h**mask**h]hmask}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh. Returns the new feature set.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjlubah}(h]h ]h"]h$]h&]uh1jhjlhM1hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1netdev_compute_master_upper_features (C function)&c.netdev_compute_master_upper_featureshNtauh1hhjYhhhNhNubh)}(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#mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2ubj")}(h h]h }(hj2mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhj1mhM 2ubj3)}(h$netdev_compute_master_upper_featuresh]j9)}(h$netdev_compute_master_upper_featuresh]h$netdev_compute_master_upper_features}(hjDmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhj1mhM 2ubj )}(h,(struct net_device *dev, bool update_header)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj`mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\mubj")}(h h]h }(hjmmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\mubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj~mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j jFmsb&c.netdev_compute_master_upper_featuresasbuh1hhj\mubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\mubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\mubj9)}(hdevh]hdev}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXmubj )}(hbool update_headerh](jM )}(hjh]hbool}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(h update_headerh]h update_header}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXmubeh}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhj1mhM 2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhj1mhM 2ubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1mhM 2hjmhhubjg)}(hhh]jl)}(hcompute feature from lowersh]hcompute feature from lowers}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hjnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhj1mhM 2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/njj/njjjuh1hhhhjYhNhNubj)}(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)}(hj9nh]h Parameters}(hj;nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7nubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hj3nubj)}(hhh](j)}(h,``struct net_device *dev`` the upper device h](j)}(h``struct net_device *dev``h]j)}(hjXnh]hstruct net_device *dev}(hjZnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVnubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hjRnubj)}(hhh]jl)}(hthe upper deviceh]hthe upper device}(hjqnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmnhM 2hjnnubah}(h]h ]h"]h$]h&]uh1jhjRnubeh}(h]h ]h"]h$]h&]uh1jhjmnhM 2hjOnubj)}(hU``bool update_header`` whether to update upper device's header_len/headroom/tailroom h](j)}(h``bool update_header``h]j)}(hjnh]hbool update_header}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hjnubj)}(hhh]jl)}(h=whether to update upper device's header_len/headroom/tailroomh]h?whether to update upper device’s header_len/headroom/tailroom}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhM 2hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM 2hjOnubeh}(h]h ]h"]h$]h&]uh1jhj3nubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hj3nubj)}(h@Recompute the upper device's feature based on all lower devices.h]jl)}(hjnh]hBRecompute the upper device’s feature based on all lower devices.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 2hjnubah}(h]h ]h"]h$]h&]uh1jhjnhM 2hj3nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header (C function) c.eth_headerhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hint eth_header (struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h]j )}(hint eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](jM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj")}(h h]h }(hj)ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhj(ohKCubj3)}(h eth_headerh]j9)}(h eth_headerh]h eth_header}(hj;ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhj(ohKCubj )}(hz(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjWohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSoubj")}(h h]h }(hjdohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSoubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjuohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjroubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwomodnameN classnameNj j )}j ]j )}j j=osb c.eth_headerasbuh1hhjSoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSoubj9)}(hskbh]hskb}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubj )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jo c.eth_headerasbuh1hhjoubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hdevh]hdev}(hj phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hj9phhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5pubj")}(h h]h }(hjGphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5pubjM )}(hshorth]hshort}(hjUphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5pubj")}(h h]h }(hjcphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5pubj9)}(htypeh]htype}(hjqphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5pubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubj )}(hconst void *daddrh](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hdaddrh]hdaddr}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubj )}(hconst void *saddrh](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hsaddrh]hsaddr}(hj+qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjDqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@qubj")}(h h]h }(hjRqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@qubjM )}(hinth]hint}(hj`qhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@qubj")}(h h]h }(hjnqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@qubj9)}(hlenh]hlen}(hj|qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@qubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOoubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhj(ohKCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhj(ohKCubah}(h]j oah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(ohKChjohhubjg)}(hhh]jl)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChjqhhubah}(h]h ]h"]h$]h&]uh1jfhjohhhj(ohKCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``struct net_device *dev`` source device ``unsigned short type`` Ethernet type field ``const void *daddr`` destination address (NULL leave destination address) ``const void *saddr`` source address (NULL use device source address) ``unsigned int len`` packet length (<= skb->len) **Description** Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.h](jl)}(h**Parameters**h]j)}(hjqh]h Parameters}(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.chKGhjqubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjqh]hstruct sk_buff *skb}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjqubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhKDhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhKDhjqubj)}(h)``struct net_device *dev`` source device h](j)}(h``struct net_device *dev``h]j)}(hj rh]hstruct net_device *dev}(hj"rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKEhjrubj)}(hhh]jl)}(h source deviceh]h source device}(hj9rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5rhKEhj6rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj5rhKEhjqubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjYrh]hunsigned short type}(hj[rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKFhjSrubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hjrrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnrhKFhjorubah}(h]h ]h"]h$]h&]uh1jhjSrubeh}(h]h ]h"]h$]h&]uh1jhjnrhKFhjqubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjrh]hconst void *daddr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjrubj)}(hhh]jl)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKGhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKGhjqubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hjrh]hconst void *saddr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhjrubj)}(hhh]jl)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKHhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKHhjqubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hjsh]hunsigned int len}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhjrubj)}(hhh]jl)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshKIhjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjshKIhjqubeh}(h]h ]h"]h$]h&]uh1jhjqubjl)}(h**Description**h]j)}(hj?sh]h Description}(hjAshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=subah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhjqubjl)}(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.}(hjUshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhjYhhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j eth_get_headlensbc.eth_get_headlenasbuh1hhjshhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjshhhjshKuubj3)}(heth_get_headlenh]j9)}(hjsh]heth_get_headlen}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjshKuubj )}(h9(const struct net_device *dev, const void *data, u32 len)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj)}(hjh]hstruct}(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}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jsc.eth_get_headlenasbuh1hhjsubj")}(h h]h }(hj-thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hj;thhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hdevh]hdev}(hjHthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hconst void *datah](j)}(hj h]hconst}(hjathhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]tubj")}(h h]h }(hjnthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]tubjM )}(hvoidh]hvoid}(hj|thhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]tubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]tubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]tubj9)}(hdatah]hdata}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]tubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hu32 lenh](h)}(hhh]j9)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jsc.eth_get_headlenasbuh1hhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj9)}(hlenh]hlen}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjshKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|shhhjshKuubah}(h]jwsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshKuhjyshhubjg)}(hhh]jl)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjuhhubah}(h]h ]h"]h$]h&]uh1jfhjyshhhjshKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/ujj/ujjjuh1hhhhjYhNhNubj)}(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)}(hj9uh]h Parameters}(hj;uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7uubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhj3uubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjXuh]hconst struct net_device *dev}(hjZuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjRuubj)}(hhh]jl)}(hpointer to network deviceh]hpointer to network device}(hjquhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmuhKvhjnuubah}(h]h ]h"]h$]h&]uh1jhjRuubeh}(h]h ]h"]h$]h&]uh1jhjmuhKvhjOuubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjuh]hconst void *data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjuubj)}(hhh]jl)}(hpointer to start of frameh]hpointer to start of frame}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKwhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKwhjOuubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hjuh]hu32 len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhjuubj)}(hhh]jl)}(htotal length of frameh]htotal length of frame}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKxhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKxhjOuubeh}(h]h ]h"]h$]h&]uh1jhj3uubjl)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhj3uubjl)}(hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.h]hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhj3uubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_type_trans (C function)c.eth_type_transhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hC__be16 eth_type_trans (struct sk_buff *skb, struct net_device *dev)h]j )}(hB__be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)h](h)}(hhh]j9)}(h__be16h]h__be16}(hjMvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOvmodnameN classnameNj j )}j ]j )}j eth_type_transsbc.eth_type_transasbuh1hhjFvhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjovhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFvhhhjnvhKubj3)}(heth_type_transh]j9)}(hjkvh]heth_type_trans}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}vubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFvhhhjnvhKubj )}(h-(struct sk_buff *skb, struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jivc.eth_type_transasbuh1hhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hskbh]hskb}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,wmodnameN classnameNj j )}j ]jivc.eth_type_transasbuh1hhjwubj")}(h h]h }(hjHwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjVwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hdevh]hdev}(hjcwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFvhhhjnvhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBvhhhjnvhKubah}(h]j=vah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnvhKhj?vhhubjg)}(hhh]jl)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjwhhubah}(h]h ]h"]h$]h&]uh1jfhj?vhhhjnvhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjYhNhNubj)}(hX **Parameters** ``struct sk_buff *skb`` received socket data ``struct net_device *dev`` receiving network device **Description** The rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h](jl)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjwubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data h](j)}(h``struct sk_buff *skb``h]j)}(hjwh]hstruct sk_buff *skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjwubj)}(hhh]jl)}(hreceived socket datah]hreceived socket data}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjwubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hjxh]hstruct net_device *dev}(hj xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjxubj)}(hhh]jl)}(hreceiving network deviceh]hreceiving network device}(hj xhhhNhNubah}(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**Description**h]j)}(hjBxh]h Description}(hjDxhhhNhNubah}(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.chKhjwubjl)}(hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h]hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any ‘now in use’ protocol.}(hjXxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_cache (C function)c.eth_header_cachehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hVint eth_header_cache (const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h]j )}(hUint eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjxhKubj3)}(heth_header_cacheh]j9)}(heth_header_cacheh]heth_header_cache}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjxhKubj )}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j )}(hconst struct neighbour *neighh](j)}(hj h]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(h neighbourh]h neighbour}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j jxsbc.eth_header_cacheasbuh1hhjxubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hj+yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hneighh]hneigh}(hj8yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hjQyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMyubj")}(h h]h }(hj^yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMyubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hjoyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqymodnameN classnameNj j )}j ]jyc.eth_header_cacheasbuh1hhjMyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMyubj9)}(hhhh]hhh}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h __be16 typeh](h)}(hhh]j9)}(h__be16h]h__be16}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jyc.eth_header_cacheasbuh1hhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(htypeh]htype}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjxhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjxhKubah}(h]jzxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhKhj|xhhubjg)}(hhh]jl)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjzhhubah}(h]h ]h"]h$]h&]uh1jfhj|xhhhjxhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2zjj2zjjjuh1hhhhjYhNhNubj)}(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)}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:zubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj6zubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hj[zh]hconst struct neighbour *neigh}(hj]zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjUzubj)}(hhh]jl)}(hsource neighbourh]hsource neighbour}(hjtzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjpzhKhjqzubah}(h]h ]h"]h$]h&]uh1jhjUzubeh}(h]h ]h"]h$]h&]uh1jhjpzhKhjRzubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjzh]hstruct hh_cache *hh}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjzubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjRzubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hjzh]h __be16 type}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjzubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjRzubeh}(h]h ]h"]h$]h&]uh1jhj6zubjl)}(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.chKhj6zubjl)}(h6Create an Ethernet header template from the neighbour.h]h6Create an Ethernet header template from the neighbour.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj6zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$eth_header_cache_update (C function)c.eth_header_cache_updatehNtauh1hhjYhhhNhNubh)}(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}(hjM{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjI{hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hj\{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjI{hhhj[{hKubj3)}(heth_header_cache_updateh]j9)}(heth_header_cache_updateh]heth_header_cache_update}(hjn{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjI{hhhj[{hKubj )}(hO(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j jp{sbc.eth_header_cache_updateasbuh1hhj{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)}(hhhh]hhh}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj |hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj$|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj5|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7|modnameN classnameNj j )}j ]j{c.eth_header_cache_updateasbuh1hhj{ubj")}(h h]h }(hjS|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hja|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hdevh]hdev}(hjn|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hconst unsigned char *haddrh](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 )}(hcharh]hchar}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hhaddrh]hhaddr}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjI{hhhj[{hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjE{hhhj[{hKubah}(h]j@{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[{hKhjB{hhubjg)}(hhh]jl)}(hupdate cache entryh]hupdate cache entry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjB{hhhj[{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)}jj)}jjjuh1hhhhjYhNhNubj)}(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)}(hj3}h]h Parameters}(hj5}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1}ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj-}ubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjR}h]hstruct hh_cache *hh}(hjT}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjL}ubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjk}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg}hKhjh}ubah}(h]h ]h"]h$]h&]uh1jhjL}ubeh}(h]h ]h"]h$]h&]uh1jhjg}hKhjI}ubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj}ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjI}ubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hj}h]hconst unsigned char *haddr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj}ubj)}(hhh]jl)}(hnew hardware addressh]hnew hardware address}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjI}ubeh}(h]h ]h"]h$]h&]uh1jhj-}ubjl)}(h**Description**h]j)}(hj}h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj-}ubjl)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj-}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhjYhhhNhNubh)}(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}(hjG~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjI~modnameN classnameNj j )}j ]j )}j eth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhj@~hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hji~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@~hhhjh~hMubj3)}(heth_header_parse_protocolh]j9)}(hje~h]heth_header_parse_protocol}(hj{~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@~hhhjh~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 ]jc~c.eth_header_parse_protocolasbuh1hhj~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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubah}(h]h ]h"]h$]h&]jPjQuh1j hj@~hhhjh~hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<~hhhjh~hMubah}(h]j7~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjh~hMhj9~hhubjg)}(hhh]jl)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jfhj9~hhhjh~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjYhNhNubj)}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jl)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjNubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hjsh]hconst struct sk_buff *skb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjmubj)}(hhh]jl)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hAint eth_prepare_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@int eth_prepare_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(heth_prepare_mac_addr_changeh]j9)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jsbc.eth_prepare_mac_addr_changeasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *ph](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)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(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)}(hprepare for mac changeh]hprepare for mac change}(hj΀hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjˀhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjHh]hvoid *p}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjBubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hAvoid eth_commit_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@void eth_commit_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(heth_commit_mac_addr_changeh]j9)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjÁhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj߁hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjہubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjہubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jŁsbc.eth_commit_mac_addr_changeasbuh1hhjہ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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjہubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjׁubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hj h]hp}(hjzhhhNhNubah}(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)}(hcommit mac changeh]hcommit mac change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jl)}(h**Parameters**h]j)}(hjłh]h Parameters}(hjǂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÂubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjނubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjނubeh}(h]h ]h"]h$]h&]uh1jhjhMhjۂubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjh]hvoid *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjۂubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhjYhhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjshhhR/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!hjshhhjhM*ubj3)}(h eth_mac_addrh]j9)}(h eth_mac_addrh]h eth_mac_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjshhhjhM*ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj҃hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjσubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԃmodnameN classnameNj j )}j ]j )}j jsbc.eth_mac_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hj h]hp}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjshhhjhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjhM*ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM*hjlhhubjg)}(hhh]jl)}(h!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*hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``void *p`` socket address **Description** Change hardware address of device. This doesn't change hardware matching, so needs to be overridden for most real devices.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM+hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork 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)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjh]hvoid *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM,hjubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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.chM.hjubjl)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjubjl)}(hWThis doesn't change hardware matching, so needs to be overridden for most real devices.h]hYThis doesn’t change hardware matching, so needs to be overridden for most real devices.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhjYhhhNhNubh)}(hhh](j)}(h)void ether_setup (struct net_device *dev)h]j )}(h(void ether_setup(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMQubj3)}(h ether_setuph]j9)}(h ether_setuph]h ether_setup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMQubj )}(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 jsb c.ether_setupasbuh1hhjubj")}(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}hhhjhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMQubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMQhjvhhubjg)}(hhh]jl)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQhj>hhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjYhNhNubj)}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhj]ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMRhj|ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThj]ubjl)}(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.}(hjӆhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMShj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h^struct net_device * alloc_etherdev_mqs (int sizeof_priv, unsigned int txqs, unsigned int rxqs)h]j )}(h\struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j alloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjhhhjhMjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMjubj3)}(halloc_etherdev_mqsh]j9)}(hj?h]halloc_etherdev_mqs}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMjubj )}(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 hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(h sizeof_privh]h sizeof_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj͇hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjۇhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htxqsh]htxqs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrxqsh]hrxqs}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(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)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjhjahhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjYhNhNubj)}(hX2**Parameters** ``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device ``unsigned int txqs`` The number of TX queues this device has. ``unsigned int rxqs`` The number of RX queues this device has. **Description** Fill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device. Constructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjubj)}(hhh](j)}(hi``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device h](j)}(h``int sizeof_priv``h]j)}(hjh]hint sizeof_priv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMlhjubj)}(hhh]jl)}(hTSize of additional driver-private structure to be allocated for this Ethernet deviceh]hTSize of additional driver-private structure to be allocated for this Ethernet device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hj߈h]hunsigned int txqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݈ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjوubj)}(hhh]jl)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjوubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hjh]hunsigned int rxqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjubj)}(hhh]jl)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMnhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjubjl)}(hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.h]hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjubjl)}(hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h]hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hOint platform_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hNint platform_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hplatform_get_ethdev_addressh]j9)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hjȉhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĉubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jʉsbc.platform_get_ethdev_addressasbuh1hhjubj")}(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)}(hdevh]hdev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܉ubj )}(hstruct net_device *netdevh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jc.platform_get_ethdev_addressasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hnetdevh]hnetdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܉ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hj׊hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjԊhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjQh]hstruct net_device *netdev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjKubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubjl)}(hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h]hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhjYhhhNhNubh)}(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}(hjыhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj͋hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͋hhhjߋhM>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&]jPjQuh1j2hj͋hhhjߋhM>ubj )}(h*(struct fwnode_handle *fwnode, char *addr)h](j )}(hstruct fwnode_handle *fwnodeh](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 fwnode_handleh]h fwnode_handle}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j jsbc.fwnode_get_mac_addressasbuh1hhj 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)}(hfwnodeh]hfwnode}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj͋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 MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hjӌhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>hjЌhhubah}(h]h ]h"]h$]h&]uh1jfhjƋhhhjߋhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jkhj)hM?hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM?hj ubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hjMh]h char *addr}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM@hjGubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM@hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM@hj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjubjl)}(hXgSearch the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree.h]hX}Search the firmware node for the best MAC address to use. ‘mac-address’ is checked first, because that is supposed to contain to “most recent” MAC address. If that isn’t set, then ‘local-mac-address’ is checked next, because that is the default address. If that isn’t set, then the obsolete ‘address’ is checked, just in case we’re using an old device tree.}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMGhjubjl)}(hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h]hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define ‘mac-address’ and ‘local-mac-address’, with zero MAC addresses. Some older U-Boots only initialized ‘local-mac-address’. In this case, the real MAC is in ‘local-mac-address’, and ‘mac-address’ exists but is all zeros.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h;int device_get_mac_address (struct device *dev, char *addr)h]j )}(h:int device_get_mac_address(struct device *dev, char *addr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM_ubj3)}(hdevice_get_mac_addressh]j9)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM_ubj )}(h (struct device *dev, char *addr)h](j )}(hstruct 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)}(hdeviceh]hdevice}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jsbc.device_get_mac_addressasbuh1hhj$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 )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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 hj ubeh}(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)}(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&]uh1jfhjhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMchj ubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj.h]hstruct device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM`hj(ubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM`hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM`hj%ubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjgh]h char *addr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhjaubj)}(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.chMahj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMbhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hMint device_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hLint device_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj")}(h h]h }(hjЏhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϏhMmubj3)}(hdevice_get_ethdev_addressh]j9)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjޏubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjϏhMmubj )}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.device_get_ethdev_addressasbuh1hhjubj")}(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 net_device *netdevh](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 ]j8c.device_get_ethdev_addressasbuh1hhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hnetdevh]hnetdev}(hjǐhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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,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&]uh1jfhjhhhjϏhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjYhNhNubj)}(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.chMqhj ubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj2h]hstruct device *dev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMnhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMnhj)ubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjkh]hstruct net_device *netdev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjeubj)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMohj)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&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj ubjl)}(h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.h]h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.void netif_carrier_on (struct net_device *dev)h]j )}(h-void netif_carrier_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMrubj3)}(hnetif_carrier_onh]j9)}(hnetif_carrier_onh]hnetif_carrier_on}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMrubj )}(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 }(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_carrier_onasbuh1hhj$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 ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMrubah}(h]jޑah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMrhjhhubjg)}(hhh]jl)}(h set carrierh]h set carrier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÒjjÒjjjuh1hhhhjYhNhNubj)}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jl)}(h**Parameters**h]j)}(hj͒h]h Parameters}(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.chMvhjǒ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.chMshjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(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.chMuhjǒ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.chMthjǒubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhjYhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjzhMubj3)}(hnetif_carrier_offh]j9)}(hnetif_carrier_offh]hnetif_carrier_off}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjzhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjǓhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjēubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjɓmodnameN classnameNj j )}j ]j )}j jsbc.netif_carrier_offasbuh1hhjubj")}(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 hjhhhhjzhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhMubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhMhjahhubjg)}(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.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjYhNhNubj)}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjHubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjmh]hstruct net_device *dev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjgubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubah}(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&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjHubjl)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhjYhhhNhNubh)}(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&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(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_carrier_eventasbuh1hhj&ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(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)}(hreport carrier state eventh]hreport carrier state event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjŕjjŕjjjuh1hhhhjYhNhNubj)}(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)}(hjϕh]h Parameters}(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.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.chMhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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.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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhjYhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj{hKRubj3)}(his_link_local_ether_addrh]j9)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj{hKRubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjȖhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŖubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʖmodnameN classnameNj j )}j ]j )}j jsbc.is_link_local_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 hjjhhhj{hKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj{hKRubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hKRhjchhubjg)}(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.hhKRhj*hhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj{hKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjYhNhNubj)}(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)}(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.hhKVhjIubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjnh]hconst u8 *addr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKShjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKShjeubah}(h]h ]h"]h$]h&]uh1jhjIubjl)}(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.hhKUhjIubjl)}(hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.h]hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjIubjl)}(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.hhKXhjIubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKWhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h(bool is_zero_ether_addr (const u8 *addr)h]j )}(h'bool is_zero_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKiubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hKiubj3)}(his_zero_ether_addrh]j9)}(his_zero_ether_addrh]his_zero_ether_addr}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hKiubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hu8h]hu8}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.is_zero_ether_addrasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(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"hKiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hKiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hKihj hhubjg)}(hhh]jl)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjԘhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjјhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hKiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jkhj*hKjhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKjhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjPh]hReturn}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubjl)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubjl)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKnhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h-bool is_multicast_ether_addr (const u8 *addr)h]j )}(h,bool is_multicast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|ubj")}(h h]h }(hjʙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjəhK|ubj3)}(his_multicast_ether_addrh]j9)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjܙhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjؙubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjə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 jޙsbc.is_multicast_ether_addrasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjəhK|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjəhK|ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjəhK|hjhhubjg)}(hhh]jl)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjxhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjəhK|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a multicast address. By definition the broadcast address is also a multicast address.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK}hjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj՚hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjњhK}hjҚubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjњhK}hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.h]hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhjYhhhNhNubh)}(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 hj8hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjIhKubj3)}(his_local_ether_addrh]j9)}(his_local_ether_addrh]his_local_ether_addr}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjIhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.is_local_ether_addrasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjěhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(haddrh]haddr}(hjћhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjIhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjIhKubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhKhj1hhubjg)}(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&]uh1jfhj1hhhjIhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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.hhKhj6ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhKhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKhj3ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjwh]hReturn}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h'true if the address is a local address.h]h'true if the address is a local address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h-bool is_broadcast_ether_addr (const u8 *addr)h]j )}(h,bool is_broadcast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjʜhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjɜhKubj3)}(his_broadcast_ether_addrh]j9)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjܜhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj؜ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjɜ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 jޜsbc.is_broadcast_ether_addrasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjɜhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjɜhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjɜhKhjhhubjg)}(hhh]jl)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjɜhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is the broadcast address. **Description** Please note: addr must be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(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 **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.hhKhjubjl)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhjYhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjphKubj3)}(his_unicast_ether_addrh]j9)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjphKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.is_unicast_ether_addrasbuh1hhjubj")}(h h]h }(hjݞhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjphKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjphKubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphKhjXhhubjg)}(hhh]jl)}(h,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjphKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjYhNhNubj)}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjch]hconst u8 *addr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj]ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubjl)}(h)true if the address is a unicast address.h]h)true if the address is a unicast address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhjYhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjߟhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߟhhhjhKubj3)}(his_valid_ether_addrh]j9)}(his_valid_ether_addrh]his_valid_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjߟhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.is_valid_ether_addrasbuh1hhjubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjߟhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj۟hhhjhKubah}(h]j֟ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhj؟hhubjg)}(hhh]jl)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj؟hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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)}(hjĠh]h Parameters}(hjƠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjݠubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjݠubeh}(h]h ]h"]h$]h&]uh1jhjhKhjڠubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.h]hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h **Return**h]j)}(hjTh]hReturn}(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.hhKhjubjl)}(htrue if the address is valid.h]htrue if the address is valid.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhjYhhhNhNubh)}(hhh](j)}(h&bool eth_proto_is_802_3 (__be16 proto)h]j )}(h%bool eth_proto_is_802_3(__be16 proto)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(heth_proto_is_802_3h]j9)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(__be16 proto)h]j )}(h __be16 protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjءhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjաubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڡmodnameN classnameNj j )}j ]j )}j jsbc.eth_proto_is_802_3asbuh1hhjѡubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѡubj9)}(hprotoh]hproto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѡubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj͡ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj-hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjYhNhNubj)}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjLubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjqh]h __be16 proto}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjkubj)}(hhh]jl)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjhubah}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjLubjl)}(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.}(hj¢hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjLubjl)}(h **Return**h]j)}(hjӢh]hReturn}(hjբhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѢubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjLubjl)}(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.hhKhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhjYhhhNhNubh)}(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 }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj&hKubj3)}(heth_random_addrh]j9)}(heth_random_addrh]heth_random_addr}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj&hKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j;sbc.eth_random_addrasbuh1hhjQubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj&hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj&hKubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hKhj hhubjg)}(hhh]jl)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj&hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjգjjգjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.h](jl)}(h**Parameters**h]j)}(hjߣh]h Parameters}(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.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)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj٣ubjl)}(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.}(hjOhhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h"void eth_broadcast_addr (u8 *addr)h]j )}(h!void eth_broadcast_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhKubj3)}(heth_broadcast_addrh]j9)}(heth_broadcast_addrh]heth_broadcast_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_broadcast_addrasbuh1hhjubj")}(h h]h }(hjޤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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 hjzhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhKubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjshhubjg)}(hhh]jl)}(hAssign broadcast addressh]hAssign broadcast address}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjYhNhNubj)}(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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj?ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjdh]hu8 *addr}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj^ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj?ubjl)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hvoid eth_zero_addr (u8 *addr)h]j )}(hvoid eth_zero_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.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_zero_addrh]j9)}(h eth_zero_addrh]h eth_zero_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsbc.eth_zero_addrasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(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 hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjܥhhhjhMubah}(h]jץah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj٥hhubjg)}(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&]uh1jfhj٥hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the zero address to the given address array.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(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 containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߦhMhjubah}(h]h ]h"]h$]h&]uh1jhjĦubeh}(h]h ]h"]h$]h&]uh1jhjߦhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhjYhhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhM ubj3)}(heth_hw_addr_randomh]j9)}(heth_hw_addr_randomh]heth_hw_addr_random}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjXhM 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 jmsbc.eth_hw_addr_randomasbuh1hhjubj")}(h h]h }(hjŧhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjӧhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjXhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhM ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhM hj?hhubjg)}(hhh]jl)}(h>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(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&]uh1jfhj?hhhjXhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjYhNhNubj)}(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&]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;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjKh]hstruct net_device *dev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjEubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjBubah}(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)}(hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.h]hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhjYhhhNhNubh)}(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}(hjΨhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj˨ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjШmodnameN 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 }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetdev_hw_addrh]hnetdev_hw_addr}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]jc.eth_hw_addr_crcasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjǨhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjèhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct netdev_hw_addr *ha`` pointer to hardware address **Description** Calculate CRC from a hardware address as basis for filter hashes.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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.hhM!hjubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjߩh]hstruct netdev_hw_addr *ha}(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.hhMhj٩ubj)}(hhh]jl)}(hpointer to hardware addressh]hpointer to hardware address}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjubjl)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhjYhhhNhNubh)}(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}(hj_hhhNhNubah}(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 }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhM(ubj3)}(hether_addr_copyh]j9)}(hether_addr_copyh]hether_addr_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjmhM(ubj )}(h(u8 *dst, const u8 *src)h](j )}(hu8 *dsth](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_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)}(hdsth]hdst}(hjڪhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const u8 *srch](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.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}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjmhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhM(ubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhM(hjThhubjg)}(hhh]jl)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjmhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``u8 *dst`` Pointer to a six-byte array Ethernet address destination ``const u8 *src`` Pointer to a six-byte array Ethernet address source **Description** Please note: dst & src must both be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM,hjubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjh]hu8 *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM)hjubj)}(hhh]jl)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hjΫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjʫhM)hj˫ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʫhM)hjubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hjh]h const u8 *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*hjubj)}(hhh]jl)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(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&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM,hjubjl)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hj?hhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhjYhhhNhNubh)}(hhh](j)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]j )}(hubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj|hM>ubj3)}(heth_hw_addr_seth]j9)}(heth_hw_addr_seth]heth_hw_addr_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hM>ubj )}(h((struct net_device *dev, const u8 *addr)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjɬhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƬubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjˬmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]jc.eth_hw_addr_setasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjthhhNhNubah}(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'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM>hjhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj|hM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` pointer to net_device structure ``const u8 *addr`` address to assign **Description** Assign given address to the net_device, addr_assign_type is not changed.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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.hhMBhjubj)}(hhh](j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hj߭h]hstruct net_device *dev}(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֭ubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hM@hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM@hj֭ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMBhjubjl)}(hHAssign given address to the net_device, addr_assign_type is not changed.h]hHAssign given address to the net_device, addr_assign_type is not changed.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhjYhhhNhNubh)}(hhh](j)}(hIvoid eth_hw_addr_inherit (struct net_device *dst, struct net_device *src)h]j )}(hHvoid eth_hw_addr_inherit(struct net_device *dst, struct net_device *src)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMJubj3)}(heth_hw_addr_inherith]j9)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMJubj )}(h0(struct net_device *dst, struct net_device *src)h](j )}(hstruct net_device *dsth](j)}(hjh]hstruct}(hjծhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjѮubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѮubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_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)}(hdsth]hdst}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѮubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjͮubj )}(hstruct net_device *srch](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 net_deviceh]h net_device}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jc.eth_hw_addr_inheritasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjͮubeh}(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)}(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&]uh1jfhjhhhjhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX!**Parameters** ``struct net_device *dst`` pointer to net_device to copy dev_addr to ``struct net_device *src`` pointer to net_device to copy dev_addr from **Description** Copy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMNhjubj)}(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)}(hj h]hstruct net_device *dst}(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.hhMKhjubj)}(hhh]jl)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hG``struct net_device *src`` pointer to net_device to copy dev_addr from h](j)}(h``struct net_device *src``h]j)}(hjBh]hstruct net_device *src}(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.hhMLhj<ubj)}(hhh]jl)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMLhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMLhjubeh}(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:101: ./include/linux/etherdevice.hhMNhjubjl)}(hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h]hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhjYhhhNhNubh)}(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}(hj°hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYubj")}(h h]h }(hjаhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϰhMYubj3)}(hether_addr_equalh]j9)}(hether_addr_equalh]hether_addr_equal}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjްubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjϰhMYubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equalasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr1h]haddr1}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j8c.ether_addr_equalasbuh1hhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(haddr2h]haddr2}(hjDZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjϰhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjϰhMYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjϰhMYhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjϰhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjYhNhNubj)}(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]hj 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)}(hj2h]hconst u8 *addr1}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMZhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMZhj)ubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjkh]hconst u8 *addr2}(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)}(hbool 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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hu8h]hu8}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equal_64bitsasbuh1hhj2ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(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}(hjƳhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjóubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȳmodnameN classnameNj j )}j ]jpc.ether_addr_equal_64bitsasbuh1hhjubj")}(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 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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqhj&hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjYhNhNubj)}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhjEubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes h](j)}(h``const u8 *addr1``h]j)}(hjjh]hconst u8 *addr1}(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.hhMrhjdubj)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjaubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMshjubj)}(hhh]jl)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjaubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hj޴h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܴubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhjEubjl)}(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.hhMthjEubjl)}(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.hhMvhjEubjl)}(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.hhMzhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhjYhhhNhNubh)}(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}(hjAhhhNhNubah}(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 }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhMubj3)}(hether_addr_equal_unalignedh]j9)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjNhMubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.ether_addr_equal_unalignedasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjɵhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(haddr1h]haddr1}(hjֵhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(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 reftargetjmodnameN classnameNj j )}j ]jc.ether_addr_equal_unalignedasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr2h]haddr2}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjNhMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj6hhubjg)}(hhh]jl)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hXF**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: Use only when any Ethernet address may not be u16 aligned.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjh]hconst u8 *addr1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjʶhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjƶhMhjǶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƶhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMhj@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@hhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjYhNhNubj)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.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)}(hj_h]hconst u8 *addr}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjYubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj:ubjl)}(ha u64 value of the addressh]ha u64 value of the address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hu64_to_ether_addr (C function)c.u64_to_ether_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h(void u64_to_ether_addr (u64 u, u8 *addr)h]j )}(h'void u64_to_ether_addr(u64 u, u8 *addr)h](jM )}(hvoidh]hvoid}(hj߻hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjۻhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۻhhhjhMubj3)}(hu64_to_ether_addrh]j9)}(hu64_to_ether_addrh]hu64_to_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjۻhhhjhMubj )}(h(u64 u, u8 *addr)h](j )}(hu64 uh](h)}(hhh]j9)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j jsbc.u64_to_ether_addrasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(huh]hu}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j;c.u64_to_ether_addrasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjۻhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj׻hhhjhMubah}(h]jһah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjԻhhubjg)}(hhh]jl)}(h%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet address.}(hj̼hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjɼhhubah}(h]h ]h"]h$]h&]uh1jfhjԻhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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.hhMhjubj)}(hhh](j)}(h4``u64 u`` u64 to convert to an Ethernet MAC address h](j)}(h ``u64 u``h]j)}(hj h]hu64 u}(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.hhMhjubj)}(hhh]jl)}(h)u64 to convert to an Ethernet MAC addressh]h)u64 to convert to an Ethernet MAC address}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hH``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](j)}(h ``u8 *addr``h]j)}(hjFh]hu8 *addr}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(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}(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&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_dec (C function)c.eth_addr_dechNtauh1hhjYhhhNhNubh)}(hhh](j)}(hvoid eth_addr_dec (u8 *addr)h]j )}(hvoid eth_addr_dec(u8 *addr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_addr_dech]j9)}(h eth_addr_dech]h eth_addr_dec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݽubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jýsbc.eth_addr_decasbuh1hhjٽubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٽubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjٽubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٽubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjս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)}(hDecrement the given MAC addressh]hDecrement the given MAC address}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjBhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjYhNhNubj)}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjaubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_inc (C function)c.eth_addr_inchNtauh1hhjYhhhNhNubh)}(hhh](j)}(hvoid eth_addr_inc (u8 *addr)h]j )}(hvoid eth_addr_inc(u8 *addr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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)}(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&]jPjQuh1j2hjܾhhhjhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jsbc.eth_addr_incasbuh1hhjubj")}(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)}(haddrh]haddr}(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 jYjZhjؾhhhjhMubah}(h]jӾah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjվhhubjg)}(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&]uh1jfhjվhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(hR``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](j)}(h ``u8 *addr``h]j)}(hjƿh]hu8 *addr}(hjȿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĿubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hj߿hhhNhNubah}(h]h ]h"]h$]h&]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&]uh1jhjۿhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_add (C function)c.eth_addr_addhNtauh1hhjYhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMubj3)}(h eth_addr_addh]j9)}(h eth_addr_addh]h eth_addr_add}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMubj )}(h(u8 *addr, long offset)h](j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jCsbc.eth_addr_addasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h long offseth](jM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(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&]uh1jfhjhhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj5ubj)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubj)}(h``long offset`` Offset to add.h](j)}(h``long offset``h]j)}(hjth]h long offset}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjnubj)}(hhh]jl)}(hOffset to add.h]hOffset to add.}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_etherdev_addr (C function)c.is_etherdev_addrhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hJbool is_etherdev_addr (const struct net_device *dev, const u8 addr[6 + 2])h]j )}(hIbool is_etherdev_addr(const struct net_device *dev, const u8 addr[6 + 2])h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(his_etherdev_addrh]j9)}(his_etherdev_addrh]his_etherdev_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h4(const struct net_device *dev, const u8 addr[6 + 2])h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j jsbc.is_etherdev_addrasbuh1hhjubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjqhhhNhNubah}(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 )}(hconst u8 addr[6 + 2]h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j_c.is_etherdev_addrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(h[h]h[}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubhdesc_sig_literal_number)}(h6h]h6}(hjhhhNhNubah}(h]h ]mah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(h2h]h2}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj )}(h]h]h]}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjphhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``const struct net_device *dev`` Pointer to a device structure ``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address **Description** Compare passed address with all addresses of the device. Return true if the address if one of the device addresses. Note that this function calls ether_addr_equal_64bits() so take care of the right padding.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(hPointer to a device structureh]hPointer to a device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 addr[6 + 2]``h]j)}(hjh]hconst u8 addr[6 + 2]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(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:101: ./include/linux/etherdevice.hhMhjubjl)}(hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.h]hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.h]hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhjYhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhh\/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!hjxhhhjhM.ubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhjhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhM.ubj3)}(hcompare_ether_headerh]j9)}(hcompare_ether_headerh]hcompare_ether_header}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhM.ubj )}(h(const void *a, const void *b)h](j )}(h const void *ah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjCIh]ha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const void *bh](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-ubjM )}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hjWh]hb}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhM.ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM.hjqhhubjg)}(hhh]jl)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.hjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``const void *a`` Pointer to Ethernet header ``const void *b`` Pointer to Ethernet header **Description** Compare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjh]h const void *a}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM/hjubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h-``const void *b`` Pointer to Ethernet header h](j)}(h``const void *b``h]j)}(hjh]h const void *b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM0hjubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hM0hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjubjl)}(hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h]hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hSvoid eth_hw_addr_gen (struct net_device *dev, const u8 *base_addr, unsigned int id)h]j )}(hRvoid eth_hw_addr_gen(struct net_device *dev, const u8 *base_addr, unsigned int id)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMSubj3)}(heth_hw_addr_genh]j9)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMSubj )}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_genasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *base_addrh](j)}(hj h]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hu8h]hu8}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jc.eth_hw_addr_genasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(h base_addrh]h base_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int idh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMSubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjhhubjg)}(hhh]jl)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(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&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjYhNhNubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhj5ubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjZh]hstruct net_device *dev}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMThjTubj)}(hhh]jl)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMThjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMThjQubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hjh]hconst u8 *base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhjubj)}(hhh]jl)}(hbase Ethernet addressh]hbase Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjQubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hjh]hunsigned int id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMVhjubj)}(hhh]jl)}(h!offset to add to the base addressh]h!offset to add to the base address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXhj5ubjl)}(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.hhMWhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhjYhhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjZhMhubj3)}(heth_skb_pkt_typeh]j9)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjZhMhubj )}(h3(struct sk_buff *skb, const struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j josbc.eth_skb_pkt_typeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(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 }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jc.eth_skb_pkt_typeasbuh1hhjubj")}(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)}(hdevh]hdev}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjZhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjZhMhubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhMhhjAhhubjg)}(hhh]jl)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhhjhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjZhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hXQ**Parameters** ``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address ``const struct net_device *dev`` Network device used to compare packet address against **Description** If the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMlhjubj)}(hhh](j)}(hY``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMihjubj)}(hhh]jl)}(h@Assigned a packet type if address does not match **dev** addressh](h1Assigned a packet type if address does not match }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(hW``const struct net_device *dev`` Network device used to compare packet address against h](j)}(h ``const struct net_device *dev``h]j)}(hj#h]hconst struct net_device *dev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMjhjubj)}(hhh]jl)}(h5Network device used to compare packet address againsth]h5Network device used to compare packet address against}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMjhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMjhjubeh}(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:101: ./include/linux/etherdevice.hhMlhjubjl)}(hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h]hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h%int eth_skb_pad (struct sk_buff *skb)h]j )}(h$int eth_skb_pad(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_skb_padh]j9)}(h eth_skb_padh]h eth_skb_pad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.eth_skb_padasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj`hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct sk_buff *skb`` Buffer to pad **Description** An Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h Buffer to padh]h Buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h]hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hgro_nodeh]j )}(hstruct gro_nodeh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj1hKubj3)}(hgro_nodeh]j9)}(hjh]hgro_node}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj1hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hKhjhhubjg)}(hhh]jl)}(h,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjchhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hKubeh}(h]h ](jstructeh"]h$]h&]jjjj~jj~jjjuh1hhhhjYhNhNubj)}(hX"**Definition**:: struct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; }; **Members** ``bitmask`` bitmask to indicate used buckets in **hash** ``hash`` hashtable of pending aggregated skbs, separated by flows ``rx_list`` list of pending ``GRO_NORMAL`` skbs ``rx_count`` cached current length of **rx_list** ``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubjl)}(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.hhMmhjubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjh]hbitmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(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&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMbhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMbhjubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjSh]hrx_list}(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.hhMchjMubj)}(hhh]jl)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjlhhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh skbs}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhhMchjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMchjubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hjh]hrx_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjubj)}(hhh]jl)}(h$cached current length of **rx_list**h](hcached current length of }(hjhhhNhNubj)}(h **rx_list**h]hrx_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hjh]hcached_napi_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.bool napi_is_scheduled (struct napi_struct *n)h]j )}(h-bool napi_is_scheduled(struct napi_struct *n)h](jM )}(hjh]hbool}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjLhM ubj3)}(hnapi_is_scheduledh]j9)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjLhM ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(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 jasbc.napi_is_scheduledasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjLhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjLhM ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhM hj4hhubjg)}(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&]uh1jfhj4hhhjLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX?**Parameters** ``struct napi_struct *n`` NAPI context **Description** This check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results. NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead. Use only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled. **Return** True if NAPI is scheduled, False otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj>h]hstruct napi_struct *n}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj8ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjyh]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.h]h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.h]hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjl)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h*bool napi_schedule (struct napi_struct *n)h]j )}(h)bool napi_schedule(struct napi_struct *n)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM%ubj3)}(h napi_scheduleh]j9)}(h napi_scheduleh]h napi_schedule}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM%ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.napi_scheduleasbuh1hhj;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)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM%ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM%hjhhubjg)}(hhh]jl)}(hschedule NAPI pollh]hschedule NAPI poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX#**Parameters** ``struct napi_struct *n`` NAPI context **Description** Schedule NAPI poll routine to be called if it is not already running. **Return** true if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjubjl)}(hESchedule NAPI poll routine to be called if it is not already running.h]hESchedule NAPI poll routine to be called if it is not already running.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubjl)}(h **Return**h]j)}(hjdh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubjl)}(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.}(hjzhhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1void napi_schedule_irqoff (struct napi_struct *n)h]j )}(h0void napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9ubj3)}(hnapi_schedule_irqoffh]j9)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM9ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_schedule_irqoffasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(hschedule NAPI pollh]hschedule NAPI poll}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjehhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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)}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhjYhhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMEubj3)}(hnapi_complete_doneh]j9)}(hnapi_complete_doneh]hnapi_complete_done}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj6hMEubj )}(h&(struct napi_struct *n, int work_done)h](j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsbc.napi_complete_doneasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(h int work_doneh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h work_doneh]h work_done}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj6hMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj6hMEubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMEhjhhubjg)}(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&]uh1jfhjhhhj6hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjYhNhNubj)}(hX@**Parameters** ``struct napi_struct *n`` NAPI context ``int work_done`` number of packets processed **Description** Mark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete(). **Return** false if device should avoid rearming interrupts.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhj8ubj)}(hhh](j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj]h]hstruct napi_struct *n}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjWubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMFhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMFhjTubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hjh]h int work_done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubj)}(hhh]jl)}(hnumber of packets processedh]hnumber of packets processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjTubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhj8ubjl)}(hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().h]hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhj8ubjl)}(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.hhMLhj8ubjl)}(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.hhMLhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h3void napi_synchronize (const struct napi_struct *n)h]j )}(h2void napi_synchronize(const struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjKhM`ubj3)}(hnapi_synchronizeh]j9)}(hnapi_synchronizeh]hnapi_synchronize}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjKhM`ubj )}(h(const struct napi_struct *n)h]j )}(hconst struct napi_struct *nh](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j`sbc.napi_synchronizeasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhjKhM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjKhM`ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM`hj2hhubjg)}(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&]uh1jfhj2hhhjKhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjYhNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj3ubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjXh]hconst struct napi_struct *n}(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.hhMahjRubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMahjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMahjOubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchj3ubjl)}(hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h]hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h:bool napi_if_scheduled_mark_missed (struct napi_struct *n)h]j )}(h9bool napi_if_scheduled_mark_missed(struct napi_struct *n)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMqubj3)}(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&]jPjQuh1j2hjhhhjhMqubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jsbc.napi_if_scheduled_mark_missedasbuh1hhjubj")}(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)}(hjDh]hn}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMqhjhhubjg)}(hhh]jl)}(h.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** If napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(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.hhMshjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubjl)}(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.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhjYhhhNhNubh)}(hhh](j)}(hnetdev_priv_flagsh]j )}(henum netdev_priv_flagsh](j)}(hjh]henum}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjdhMzubj3)}(hnetdev_priv_flagsh]j9)}(hjQh]hnetdev_priv_flags}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjdhMzubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjdhMzubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhMzhjLhhubjg)}(hhh]jl)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j )}j jQsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjubh priv_flags}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjdhMzubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hX**Constants** ``IFF_802_1Q_VLAN`` 802.1Q VLAN device ``IFF_EBRIDGE`` Ethernet bridging device ``IFF_BONDING`` bonding master or slave ``IFF_ISATAP`` ISATAP interface (RFC4214) ``IFF_WAN_HDLC`` WAN HDLC device ``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst ``IFF_DONT_BRIDGE`` disallow bridging this ether dev ``IFF_DISABLE_NETPOLL`` disable netpoll at run-time ``IFF_MACVLAN_PORT`` device used as macvlan port ``IFF_BRIDGE_PORT`` device used as bridge port ``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port ``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit ``IFF_UNICAST_FLT`` Supports unicast filtering ``IFF_TEAM_PORT`` device used as team port ``IFF_SUPP_NOFCS`` device supports sending custom FCS ``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running ``IFF_MACVLAN`` Macvlan device ``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices ``IFF_L3MDEV_MASTER`` device is an L3 master device ``IFF_NO_QUEUE`` device can run without qdisc attached ``IFF_OPENVSWITCH`` device is a Open vSwitch master ``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device ``IFF_TEAM`` device is a team device ``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) ``IFF_MACSEC`` device is a MACsec device ``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook ``IFF_FAILOVER`` device is a failover master device ``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device ``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device ``IFF_NO_ADDRCONF`` prevent ipv6 addrconf ``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](jl)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h'``IFF_802_1Q_VLAN`` 802.1Q VLAN device h](j)}(h``IFF_802_1Q_VLAN``h]j)}(hjh]hIFF_802_1Q_VLAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``IFF_EBRIDGE`` Ethernet bridging device h](j)}(h``IFF_EBRIDGE``h]j)}(hj:h]h IFF_EBRIDGE}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jl)}(hEthernet bridging deviceh]hEthernet bridging device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hjsh]h IFF_BONDING}(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)}(hbonding master or slaveh]hbonding master or slave}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjh]h IFF_ISATAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hjh]h IFF_WAN_HDLC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hWAN HDLC deviceh]hWAN HDLC device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst h](j)}(h``IFF_XMIT_DST_RELEASE``h]j)}(hjh]hIFF_XMIT_DST_RELEASE}(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)}(h4dev_hard_start_xmit() is allowed to release skb->dsth]h4dev_hard_start_xmit() is allowed to release skb->dst}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hjXh]hIFF_DONT_BRIDGE}(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.hhMhjRubj)}(hhh]jl)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hjh]hIFF_DISABLE_NETPOLL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hjh]hIFF_MACVLAN_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``IFF_BRIDGE_PORT`` device used as bridge port h](j)}(h``IFF_BRIDGE_PORT``h]j)}(hjh]hIFF_BRIDGE_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice used as bridge porth]hdevice used as bridge port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hj<h]hIFF_OVS_DATAPATH}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubj)}(hhh]jl)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjuh]hIFF_TX_SKB_SHARING}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubj)}(hhh]jl)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjh]hIFF_UNICAST_FLT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hSupports unicast filteringh]hSupports unicast filtering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hjh]h IFF_TEAM_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice used as team porth]hdevice used as team port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``IFF_SUPP_NOFCS`` device supports sending custom FCS h](j)}(h``IFF_SUPP_NOFCS``h]j)}(hj h]hIFF_SUPP_NOFCS}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h"device supports sending custom FCSh]h"device supports sending custom FCS}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(hS``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running h](j)}(h``IFF_LIVE_ADDR_CHANGE``h]j)}(hjYh]hIFF_LIVE_ADDR_CHANGE}(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)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hjh]h IFF_MACVLAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hMacvlan deviceh]hMacvlan device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices h](j)}(h``IFF_XMIT_DST_RELEASE_PERM``h]j)}(hjh]hIFF_XMIT_DST_RELEASE_PERM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hjh]hIFF_L3MDEV_MASTER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice is an L3 master deviceh]hdevice is an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hj?h]h IFF_NO_QUEUE}(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.hhMhj9ubj)}(hhh]jl)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjxh]hIFF_OPENVSWITCH}(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.hhMhjrubj)}(hhh]jl)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hjh]hIFF_L3MDEV_SLAVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hjh]hIFF_TEAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice is a team deviceh]hdevice is a team device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hx``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) h](j)}(h``IFF_PHONY_HEADROOM``h]j)}(hj#h]hIFF_PHONY_HEADROOM}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(hO]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)h]h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hj]h]h IFF_MACSEC}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jl)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hjh]hIFF_NO_RX_HANDLER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjh]h IFF_FAILOVER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h"device is a failover master deviceh]h"device is a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hjh]hIFF_FAILOVER_SLAVE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjAh]hIFF_L3MDEV_RX_HANDLER}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj;ubj)}(hhh]jl)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM hjubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjzh]hIFF_NO_ADDRCONF}(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)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hx``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](j)}(h``IFF_TX_SKB_NO_LINEAR``h]j)}(hjh]hIFF_TX_SKB_NO_LINEAR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h]h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubjl)}(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.hhMhjYhhubjl)}(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 }(hj hhhNhNubh)}(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.hhMhj ubh, 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.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj2hMhjYhhubjl)}(hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.h]hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h net_deviceh]j )}(hstruct net_deviceh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjrhMubj3)}(h net_deviceh]j9)}(hj_h]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjrhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjrhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMhjZhhubjg)}(hhh]jl)}(hThe DEVICE structure.h]hThe DEVICE structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjrhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(hXh**Definition**:: struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; }; **Members** ``{unnamed_struct}`` anonymous ``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions ``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels ``netmem_tx`` device netmem TX mode ``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions ``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. ``_tx`` Array of TX queues ``gso_partial_features`` value(s) from NETIF_F_GSO\* ``real_num_tx_queues`` Number of TX queues currently active in device ``gso_max_size`` Maximum size of generic segmentation offload ``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. ``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO ``num_tc`` Number of traffic classes in the net device ``mtu`` Interface MTU value ``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed ``tc_to_txq`` XXX: need comments on this one ``xps_maps`` XXX: need comments on this one ``nf_hooks_egress`` netfilter hooks executed for egress packets ``tcx_egress`` BPF & clsact qdisc specific data for egress processing ``{unnamed_union}`` anonymous ``lstats`` Loopback statistics: packets, bytes ``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes ``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes ``state`` Generic network queuing layer state, see netdev_state_t ``flags`` Interface flags (a la BSD) ``hard_header_len`` Maximum hardware header length. ``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. ``features`` Currently active device features ``ip6_ptr`` IPv6 specific data ``xdp_prog`` XDP sockets filter program pointer ``ptype_specific`` Device-specific, protocol-specific packet handlers ``ifindex`` interface index ``real_num_rx_queues`` Number of RX queues currently active in device ``_rx`` Array of RX queues ``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) ``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. ``rx_handler`` handler for received packets ``rx_handler_data`` XXX: need comments on this one ``nd_net`` Network namespace this network device is inside protected by **lock** ``npinfo`` XXX: need comments on this one ``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing ``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. ``name_node`` Name hashlist node ``ifalias`` SNMP alias ``mem_end`` Shared memory end ``mem_start`` Shared memory start ``base_addr`` Device I/O address ``dev_list`` The global list of network devices ``napi_list`` List entry used for polling NAPI devices ``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev ``close_list`` List entry used when we are closing the device ``ptype_all`` Device-specific packet handlers for all protocols ``adj_list`` Directly linked devices, like slaves for bonding ``xdp_features`` XDP capability supported by the device ``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. ``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. ``gflags`` Global flags ( kept as legacy ) ``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb ``hw_features`` User-changeable features ``wanted_features`` User-requested features ``vlan_features`` Mask of features inheritable by VLAN devices ``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. ``mpls_features`` Mask of features inheritable by MPLS ``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. ``min_mtu`` Interface Minimum MTU value ``max_mtu`` Interface Maximum MTU value ``type`` Interface hardware type ``min_header_len`` Minimum hardware header length ``name_assign_type`` network interface name assignment type ``group`` The group the device belongs to ``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead ``core_stats`` core networking counters, do not use this in drivers ``carrier_up_count`` Number of times the carrier has been up ``carrier_down_count`` Number of times the carrier has been down ``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. ``ethtool_ops`` Management operations ``l3mdev_ops`` Layer 3 master device operations ``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. ``xfrmdev_ops`` Transformation offload operations ``tlsdev_ops`` Transport Layer Security offload operations ``operstate`` RFC2863 operstate ``link_mode`` Mapping policy to operstate ``if_port`` Selectable AUI, TP, ... ``dma`` DMA channel ``perm_addr`` Permanent hw address ``addr_assign_type`` Hw address assignment type ``addr_len`` Hardware address length ``upper_level`` Maximum depth level of upper devices. ``lower_level`` Maximum depth level of lower devices. ``threaded`` napi threaded state. ``neigh_priv_len`` Used in neigh_alloc() ``dev_id`` Used to differentiate devices that share the same link layer address ``dev_port`` Used to differentiate devices that share the same function ``irq`` Device IRQ number ``priv_len`` Size of the ->priv flexible array ``addr_list_lock`` XXX: need comments on this one ``uc`` unicast mac addresses ``mc`` multicast mac addresses ``dev_addrs`` list of device hw addresses ``queues_kset`` Group of all Kobjects in the Tx and RX queues ``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. ``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode ``allmulti`` Counter, enables or disables allmulticast mode ``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() ``work_node`` List entry for async netdev_work processing ``work_tracker`` Refcount tracker for async netdev_work ``work_pending`` Driver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched()) ``work_core_pending`` Core-defined pending netdev_work (NETDEV_WORK_*) ``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work ``rx_mode_retry_timer`` Timer that re-queues rx_mode work after failure ``rx_mode_retry_count`` Number of consecutive retries already scheduled ``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. ``ip_ptr`` IPv4 specific data ``fib_nh_head`` nexthops associated with this netdev ``vlan_info`` VLAN info ``dsa_ptr`` dsa specific data ``tipc_ptr`` TIPC specific data ``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering ``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct ``mpls_ptr`` mpls_dev struct pointer ``mctp_ptr`` MCTP specific data ``psp_dev`` PSP crypto device registered for this netdev ``dev_addr`` Hw address (before bcast, because most packets are unicast) ``num_rx_queues`` Number of RX queues allocated at register_netdev() time ``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver ``ingress_queue`` XXX: need comments on this one ``nf_hooks_ingress`` netfilter hooks executed for ingress packets ``broadcast`` hw bcast address ``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined ``index_hlist`` Device index hash chain ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time ``qdisc`` Root qdisc from userspace point of view ``tx_queue_len`` Max frames per queue allowed ``tx_global_lock`` XXX: need comments on this one ``xdp_bulkq`` XDP device bulk queue ``qdisc_hash`` qdisc hash table ``watchdog_timer`` List of timers ``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) ``watchdog_lock`` protect watchdog_ref_held ``watchdog_ref_held`` True if the watchdog device ref is taken. ``proto_down_reason`` reason a netdev interface is held down ``todo_list`` Delayed register/unregister ``pcpu_refcnt`` Number of references to this device ``dev_refcnt`` Number of references to this device ``refcnt_tracker`` Tracker directory for tracked references to this device ``link_watch_list`` XXX: need comments on this one ``reg_state`` Register/unregister state machine ``dismantle`` Device is going to be freed ``moving_ns`` device is changing netns, protected by **lock** ``rtnl_link_initializing`` Device being created, suppress events ``needs_free_netdev`` Should unregister perform free_netdev? ``priv_destructor`` Called from unregister ``ml_priv`` Mid-layer private ``ml_priv_type`` Mid-layer private type ``garp_port`` GARP ``mrp_port`` MRP ``dm_private`` Drop monitor private ``dev`` Class/net/name entry ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups ``sysfs_rx_queue_group`` Space for optional per-rx queue attributes ``rtnl_link_ops`` Rtnl_link_ops ``stat_ops`` Optional ops for queue-aware statistics ``queue_mgmt_ops`` Optional ops for queue management ``tso_max_size`` Device (as in HW) limit on the max TSO request size ``tso_max_segs`` Device (as in HW) limit on the max TSO segment count ``dcbnl_ops`` Data Center Bridging netlink ops ``prio_tc_map`` XXX: need comments on this one ``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp ``priomap`` XXX: need comments on this one ``link_topo`` Physical link topology tracking attached PHYs ``phydev`` Physical device may attach itself for hardware timestamping ``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. ``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock ``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. ``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). ``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). ``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN ``netns_immutable`` interface can't change network namespaces ``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes ``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. ``macsec_ops`` MACsec offloading ops ``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device ``udp_tunnel_nic`` UDP tunnel offload state ``cfg`` net_device queue-related configuration ``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. ``ethtool`` ethtool related state ``xdp_state`` stores info on attached XDP BPF programs ``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. ``linkwatch_dev_tracker`` refcount tracker used by linkwatch. ``watchdog_dev_tracker`` refcount tracker used by watchdog. ``dev_registered_tracker`` tracker for reference held while registered ``offload_xstats_l3`` L3 HW stats for this netdevice. ``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. ``dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. ``page_pools`` page pools created for this netdevice ``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). ``max_pacing_offload_horizon`` max EDT offload horizon in nsec. ``napi_config`` An array of napi_config structures containing per-NAPI settings. ``num_napi_configs`` number of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues). ``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. ``gro_flush_timeout`` timeout for GRO layer in NAPI ``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). ``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. ``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: - take after rtnl_lock - for the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit) ``net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h ``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. ``hwprov`` Tracks which PTP performs hardware packet time stamping. ``priv`` Flexible array containing private datah](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hX&struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; };h]hX&struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjubj)}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hKhj ubj)}(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)}(hjMh]h priv_flags}(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)}(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}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM#hj ubj)}(h``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels h](j)}(h``lltx``h]j)}(hjh]hlltx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hjubj)}(hhh]jl)}(h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnelsh]h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hj ubj)}(h$``netmem_tx`` device netmem TX mode h](j)}(h ``netmem_tx``h]j)}(hjh]h netmem_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubj)}(hhh]jl)}(hdevice netmem TX modeh]hdevice netmem TX mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hj ubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hjh]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjubj)}(hhh]jl)}(hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functionsh]hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj ubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hj4h]h header_ops}(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.hhMhhj.ubj)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhhj ubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hjnh]h_tx}(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)}(hArray of TX queuesh]hArray of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hjh]hgso_partial_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjubj)}(hhh]jl)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj ubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjh]hreal_num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h.Number of TX queues currently active in deviceh]h.Number of TX queues currently active in device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj ubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hjRh]hgso_ipv4_max_size}(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)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(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&]uh1jhjghMhj ubj)}(hR``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO h](j)}(h``gso_max_segs``h]j)}(hjh]h gso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h@Maximum number of segments that can be passed to the NIC for GSOh]h@Maximum number of segments that can be passed to the NIC for GSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hjh]hnum_tc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.h hM hjubj)}(hhh]jl)}(h+Number of traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(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.hhMshjubj)}(hhh]jl)}(hInterface MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshj ubj)}(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)}(hj8h]hneeded_headroom}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hj2ubj)}(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}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM{hj ubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjrh]h tc_to_txq}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjlubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjh]hxps_maps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjh]hnf_hooks_egress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h+netfilter hooks executed for egress packetsh]h+netfilter hooks executed for egress packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjVh]h{unnamed_union}}(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.hhKhjPubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhj ubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hjh]hlstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hjh]htstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hj:h]hstate}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hj4ubj)}(hhh]jl)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM4hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM4hj ubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hjsh]hflags}(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.hhMjhjmubj)}(hhh]jl)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMjhj ubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjh]hhard_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubj)}(hhh]jl)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj ubj)}(h``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. h](j)}(h``pcpu_stat_type``h]j)}(hjh]hpcpu_stat_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.h]hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjh]hfeatures}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjubj)}(hhh]jl)}(h Currently active device featuresh]h Currently active device features}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM>hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM>hj ubj)}(h``ip6_ptr`` IPv6 specific data h](j)}(h ``ip6_ptr``h]j)}(hjXh]hip6_ptr}(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.hhMhjRubj)}(hhh]jl)}(hIPv6 specific datah]hIPv6 specific data}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj ubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjh]hxdp_prog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hjh]hptype_specific}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubj)}(hhh]jl)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hj ubj)}(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.hhMNhjubj)}(hhh]jl)}(hinterface indexh]hinterface index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj ubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hj<h]hreal_num_rx_queues}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubj)}(hhh]jl)}(h.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj ubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hjuh]h_rx}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubj)}(hhh]jl)}(hArray of RX queuesh]hArray of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjh]h gro_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjubj)}(hhh]jl)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj ubj)}(hd``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. h](j)}(h``gro_ipv4_max_size``h]j)}(hjh]hgro_ipv4_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj ubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hj"h]h rx_handler}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hhandler for received packetsh]hhandler for received packets}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj ubj)}(h3``rx_handler_data`` XXX: need comments on this one h](j)}(h``rx_handler_data``h]j)}(hj[h]hrx_handler_data}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhj ubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hjh]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjh]hnpinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h``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)}(hjNh]hname}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjHubj)}(hhh]jl)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM+hj ubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjh]h name_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjubj)}(hhh]jl)}(hName hashlist nodeh]hName hashlist node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hj ubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjh]hifalias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjubj)}(hhh]jl)}(h SNMP aliash]h SNMP alias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hj ubj)}(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.hhM/hjubj)}(hhh]jl)}(hShared memory endh]hShared memory end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj ubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hj3h]h mem_start}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hj-ubj)}(hhh]jl)}(hShared memory starth]hShared memory start}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM0hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM0hj ubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjlh]h base_addr}(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.hhM1hjfubj)}(hhh]jl)}(hDevice I/O addressh]hDevice I/O address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM1hj ubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hjh]hdev_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjubj)}(hhh]jl)}(h"The global list of network devicesh]h"The global list of network devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj ubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjh]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubj)}(hhh]jl)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj ubj)}(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.hhM8hjubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM8hj ubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hjQh]h close_list}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjKubj)}(hhh]jl)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhM9hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM9hj ubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjh]h ptype_all}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jl)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj ubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjh]hadj_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubj)}(hhh]jl)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hj ubj)}(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.hhMkhjubj)}(hhh]jl)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhj ubj)}(hB``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. h](j)}(h``xdp_metadata_ops``h]j)}(hj5h]hxdp_metadata_ops}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hj/ubj)}(hhh]jl)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM_hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM_hj ubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjnh]hxsk_tx_metadata_ops}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hjhubj)}(hhh]jl)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj ubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hjh]hgflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjubj)}(hhh]jl)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj ubj)}(h``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb h](j)}(h``needed_tailroom``h]j)}(hjh]hneeded_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hjubj)}(hhh]jl)}(hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skbh]hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj ubj)}(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}(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,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hjSh]hwanted_features}(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.hhMAhjMubj)}(hhh]jl)}(hUser-requested featuresh]hUser-requested features}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMAhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMAhj ubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjh]h vlan_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubj)}(hhh]jl)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj ubj)}(h``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. h](j)}(h``hw_enc_features``h]j)}(hjh]hhw_enc_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubj)}(hhh]jl)}(hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.h]hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj ubj)}(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.hhMIhjubj)}(hhh]jl)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhj ubj)}(hf``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. h](j)}(h``mangleid_features``h]j)}(hj8h]hmangleid_features}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhj2ubj)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMLhj ubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjrh]hmin_mtu}(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.hhMthjlubj)}(hhh]jl)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMthj ubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hjh]hmax_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jl)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj ubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubj)}(hhh]jl)}(hInterface hardware typeh]hInterface hardware type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhj ubj)}(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.hhMxhjubj)}(hhh]jl)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMxhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMxhj ubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjVh]hname_assign_type}(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&network interface name assignment typeh]h&network interface name assignment type}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj ubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hjh]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjubj)}(hhh]jl)}(hThe group the device belongs toh]hThe group the device belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhj ubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hjh]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjubj)}(hhh]jl)}(hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 insteadh]hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 instead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj ubj)}(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.hhMUhjubj)}(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.hhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj ubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hj<h]hcarrier_up_count}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhj6ubj)}(hhh]jl)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMVhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMVhj ubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hjuh]hcarrier_down_count}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjoubj)}(hhh]jl)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj ubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hjh]hwireless_handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjubj)}(hhh]jl)}(hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.h]hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj ubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjh]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jl)}(hManagement operationsh]hManagement operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj ubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hj!h]h l3mdev_ops}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubj)}(hhh]jl)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMbhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMbhj ubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjZh]h ndisc_ops}(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)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMdhj ubj)}(h2``xfrmdev_ops`` Transformation offload operations h](j)}(h``xfrmdev_ops``h]j)}(hjh]h xfrmdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubj)}(hhh]jl)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj ubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjh]h tlsdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjubj)}(hhh]jl)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj ubj)}(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.hhMohjubj)}(hhh]jl)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohj ubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hj?h]h link_mode}(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.hhMphj9ubj)}(hhh]jl)}(hMapping policy to operstateh]hMapping policy to operstate}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMphjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMphj ubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjxh]hif_port}(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.hhMqhjrubj)}(hhh]jl)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMqhj ubj)}(h``dma`` DMA channel h](j)}(h``dma``h]j)}(hjh]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjubj)}(hhh]jl)}(h DMA channelh]h DMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhj ubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjh]h perm_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hPermanent hw addressh]hPermanent hw address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hj#h]haddr_assign_type}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hHw address assignment typeh]hHw address assignment type}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj ubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hj\h]haddr_len}(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)}(hHardware address lengthh]hHardware address length}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj ubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hjh]h upper_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjh]h lower_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hjh]hthreaded}(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)}(hnapi threaded state.h]hnapi threaded state.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hj@h]hneigh_priv_len}(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)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj ubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjyh]hdev_id}(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)}(hDUsed to differentiate devices that share the same link layer addressh]hDUsed to differentiate devices that share the same link layer address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hjh]hdev_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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.hhM2hjubj)}(hhh]jl)}(hDevice IRQ numberh]hDevice IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hj ubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hj&h]hpriv_len}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhj ubj)}(hhh]jl)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMmhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMmhj ubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hj_h]haddr_list_lock}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj ubj)}(h``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hjh]huc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjh]hmc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hj h]h dev_addrs}(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)}(hlist of device hw addressesh]hlist of device hw addresses}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hjCh]h queues_kset}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]jl)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj ubj)}(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)}(hj|h]h unlink_list}(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)}(hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.h]hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM<hj ubj)}(h``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode h](j)}(h``promiscuity``h]j)}(hjh]h promiscuity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous modeh]hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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)}(hj)h]h uc_promisc}(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)}(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()}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(h:``work_node`` List entry for async netdev_work processing h](j)}(h ``work_node``h]j)}(hjch]h work_node}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj]ubj)}(hhh]jl)}(h+List entry for async netdev_work processingh]h+List entry for async netdev_work processing}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj ubj)}(h8``work_tracker`` Refcount tracker for async netdev_work h](j)}(h``work_tracker``h]j)}(hjh]h work_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&Refcount tracker for async netdev_workh]h&Refcount tracker for async netdev_work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hd``work_pending`` Driver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched()) h](j)}(h``work_pending``h]j)}(hjh]h work_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hRDriver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched())h]hRDriver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hG``work_core_pending`` Core-defined pending netdev_work (NETDEV_WORK_*) h](j)}(h``work_core_pending``h]j)}(hjh]hwork_core_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h0Core-defined pending netdev_work (NETDEV_WORK_*)h]h0Core-defined pending netdev_work (NETDEV_WORK_*)}(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``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work h](j)}(h``rx_mode_addr_cache``h]j)}(hjHh]hrx_mode_addr_cache}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBubj)}(hhh]jl)}(h*Recycled snapshot entries for rx_mode workh]h*Recycled snapshot entries for rx_mode work}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj ubj)}(hH``rx_mode_retry_timer`` Timer that re-queues rx_mode work after failure h](j)}(h``rx_mode_retry_timer``h]j)}(hjh]hrx_mode_retry_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj{ubj)}(hhh]jl)}(h/Timer that re-queues rx_mode work after failureh]h/Timer that re-queues rx_mode work after failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hH``rx_mode_retry_count`` Number of consecutive retries already scheduled h](j)}(h``rx_mode_retry_count``h]j)}(hjh]hrx_mode_retry_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h/Number of consecutive retries already scheduledh]h/Number of consecutive retries already scheduled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj ubj)}(h``ip_ptr`` IPv4 specific data h](j)}(h ``ip_ptr``h]j)}(hj-h]hip_ptr}(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)}(hIPv4 specific datah]hIPv4 specific data}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj ubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjfh]h fib_nh_head}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0 hj`ubj)}(hhh]jl)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hM0 hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM0 hj ubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hjh]h vlan_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h VLAN infoh]h VLAN info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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.hhMhj ubj)}(hhh]jl)}(hTIPC specific datah]hTIPC specific data}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj ubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hjJh]h ieee80211_ptr}(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)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj ubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjh]hieee802154_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h9``psp_dev`` PSP crypto device registered for this netdev h](j)}(h ``psp_dev``h]j)}(hj/h]hpsp_dev}(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,PSP crypto device registered for this netdevh]h,PSP crypto device registered for this netdev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj ubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjhh]hdev_addr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubj)}(hhh]jl)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj ubj)}(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&]uh1jhjhMhj ubj)}(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.hhMBhjubj)}(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.hhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj ubj)}(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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hjOh]hnf_hooks_ingress}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubj)}(hhh]jl)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hjh]h broadcast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hhw bcast addressh]hhw bcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(hJ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time h](j)}(h``num_tx_queues``h]j)}(hj4h]h num_tx_queues}(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)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj ubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjmh]hqdisc}(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)}(h'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj ubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hjQh]h qdisc_hash}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jl)}(hqdisc hash tableh]hqdisc hash table}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj ubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hjh]hwatchdog_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hList of timersh]hList of timers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(h,``watchdog_lock`` protect watchdog_ref_held h](j)}(h``watchdog_lock``h]j)}(hjh]h watchdog_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hprotect watchdog_ref_heldh]hprotect watchdog_ref_held}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h@``watchdog_ref_held`` True if the watchdog device ref is taken. h](j)}(h``watchdog_ref_held``h]j)}(hj6h]hwatchdog_ref_held}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jl)}(h)True if the watchdog device ref is taken.h]h)True if the watchdog device ref is taken.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj ubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjoh]hproto_down_reason}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hjh]h todo_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDelayed register/unregisterh]hDelayed register/unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjh]h pcpu_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h#Number of references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj ubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hjSh]hrefcnt_tracker}(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)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhj ubj)}(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&]uh1jhjhMhj ubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hjh]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hjh]h dismantle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDevice is going to be freedh]hDevice is going to be freed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hj7h]h moving_ns}(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.hhM hj1ubj)}(hhh]jl)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hjPhhhNhNubj)}(h**lock**h]hlock}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jkhjLhM hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj ubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hj~h]hrtnl_link_initializing}(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)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hjh]hneeds_free_netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjh]hpriv_destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hCalled from unregisterh]hCalled from unregister}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hj)h]hml_priv}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubj)}(hhh]jl)}(hMid-layer privateh]hMid-layer private}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjbh]h ml_priv_type}(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)}(hMid-layer private typeh]hMid-layer private type}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj ubj)}(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.hhMhjubj)}(hhh]jl)}(hGARPh]hGARP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjh]hmrp_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hMRPh]hMRP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hj h]h dm_private}(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)}(hDrop monitor privateh]hDrop monitor private}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj ubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hjFh]hdev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubj)}(hhh]jl)}(hClass/net/name entryh]hClass/net/name entry}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj ubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjyubj)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hjh]hsysfs_rx_queue_group}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjh]h rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hj+h]hstat_ops}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh]jl)}(h'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj ubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hjdh]hqueue_mgmt_ops}(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)}(h!Optional ops for queue managementh]h!Optional ops for queue management}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hjh]h tso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h4Device (as in HW) limit on the max TSO segment counth]h4Device (as in HW) limit on the max TSO segment count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jl)}(h Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj ubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hjHh]h prio_tc_map}(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.hhM hjBubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(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)}(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.hhMhj{ubj)}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hjh]hpriomap}(hjhhhNhNubah}(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&]uh1jhjhMhj ubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjh]h link_topo}(hjhhhNhNubah}(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 link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hj,h]hphydev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj&ubj)}(hhh]jl)}(h;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(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&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj ubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hjfh]hsfp_bus}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]jl)}(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_busuh1hhj{hMhjubh structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj ubj)}(hH``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock h](j)}(h``qdisc_tx_busylock``h]j)}(hjh]hqdisc_tx_busylock}(hjhhhNhNubah}(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)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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)}(hjh]h proto_down}(hjhhhNhNubah}(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)}(hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.h]hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(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)}(hj5 h]hirq_affinity_auto}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj/ ubj)}(hhh]jl)}(hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).h]hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjK ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjJ hM hj ubj)}(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)}(hjo h]hrx_cpu_rmap_auto}(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.hhM#hji ubj)}(hhh]jl)}(hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().h]hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().}(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&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hM#hj ubj)}(h``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV h](j)}(h``see_all_hwtstamp_requests``h]j)}(hj h]hsee_all_hwtstamp_requests}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hj ubj)}(hhh]jl)}(hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEVh]hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren’t HWTSTAMP_SOURCE_NETDEV}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM(hj ubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hj h]hchange_proto_down}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hj ubj)}(hhh]jl)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM)hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM)hj ubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hj h]hnetns_immutable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hj ubj)}(hhh]jl)}(h)interface can't change network namespacesh]h+interface can’t change network namespaces}(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 ubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hjU h]hfcoe_mtu}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjO ubj)}(hhh]jl)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjj hM+hjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hM+hj ubj)}(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)}(hj h]hnet_notifier_list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj ubj)}(hhh]jl)}(hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.h]hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hj ubj)}(hhh]jl)}(hMACsec offloading opsh]hMACsec offloading ops}(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)}(hf``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device h](j)}(h``udp_tunnel_nic_info``h]j)}(hj h]hudp_tunnel_nic_info}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hj ubj)}(hhh]jl)}(hMstatic structure describing the UDP tunnel offload capabilities of the deviceh]hMstatic structure describing the UDP tunnel offload capabilities of the device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj ubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hj; h]hudp_tunnel_nic}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hj5 ubj)}(hhh]jl)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP hM5hjQ ubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jhjP hM5hj ubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjt h]hcfg}(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)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(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)}(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 hj ubj)}(hhh]j)}(hhh]j)}(hsame as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h1same as **cfg** but when device is being activelyh](hsame as }(hj hhhNhNubj)}(h**cfg**h]hcfg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh" but when device is being actively}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhj hM hj ubj)}(hhh]jl)}(hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.h]hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.}(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 hj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj ubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hj# h]hethtool}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj! ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hj ubj)}(hhh]jl)}(hethtool related stateh]hethtool related state}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8 hM6hj9 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj8 hM6hj ubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hj\ h]h xdp_state}(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.hhM7hjV ubj)}(hhh]jl)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjq hM7hjr ubah}(h]h ]h"]h$]h&]uh1jhjV ubeh}(h]h ]h"]h$]h&]uh1jhjq hM7hj ubj)}(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}(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.hhMDhj ubj)}(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 hMDhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMDhj ubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hj h]hlinkwatch_dev_tracker}(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.hhMEhj ubj)}(hhh]jl)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(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<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hj h]hwatchdog_dev_tracker}(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.hhMFhj ubj)}(hhh]jl)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj. hMFhj/ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj. hMFhj ubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjR h]hdev_registered_tracker}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjL ubj)}(hhh]jl)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjh ubah}(h]h ]h"]h$]h&]uh1jhjL ubeh}(h]h ]h"]h$]h&]uh1jhjg hMHhj ubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hj h]hoffload_xstats_l3}(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.hhMIhj ubj)}(hhh]jl)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMIhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMIhj ubj)}(h``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.hhMNhj ubj)}(hhh]jl)}(hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.h]hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMNhj ubj)}(h```dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. h](j)}(h ``dpll_pin``h]j)}(hj h]hdpll_pin}(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.hhMQhj ubj)}(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.hhMPhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj ubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hj9h]h page_pools}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj3ubj)}(hhh]jl)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM hj ubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjrh]h irq_moder}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjlubj)}(hhh]jl)}(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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hjh]hmax_pacing_offload_horizon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubj)}(hhh]jl)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj ubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjh]h napi_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjubj)}(hhh]jl)}(h@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj ubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjubj)}(hhh]jl)}(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).}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMWhj ubj)}(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)}(hjXh]hnapi_defer_hard_irqs}(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.hhMZhjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMZhj ubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hjh]hgro_flush_timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhjubj)}(hhh]jl)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj ubj)}(h``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h``up``h]j)}(hjh]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hcopy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h@copy of **state**'s IFF_UP, but safe to read with just **lock**.h](hcopy of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(’s IFF_UP, but safe to read with just }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jl)}(h{May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close).h](hGMay report false negatives while the device is being opened or closed (}(hj hhhNhNubj)}(h**lock**h]hlock}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, does not protect .ndo_open, or .ndo_close).}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(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)}(hjeh]hrequest_ops_lock}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj_ubj)}(hhh]jl)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hj~hhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh and }(hj~hhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh under the }(hj~hhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM hj ubj)}(hX``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: - take after rtnl_lock - for the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit) h](j)}(h``lock``h]j)}(hjh]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM: hjubj)}(hhh](jl)}(hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.h]hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**.h](hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting }(hjhhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj.L)}(hhh](j3L)}(h+simply protected by the instance **lock**; h]jl)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hjBhhhNhNubj)}(h**lock**h]hlock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh;}(hjBhhhNhNubeh}(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&]uh1j2Lhj;ubj3L)}(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;}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjiubah}(h]h ]h"]h$]h&]uh1j2Lhj;ubj3L)}(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&]uh1j2Lhj;ubj3L)}(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&]uh1j2Lhj;ubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjbhM hjubj)}(hhh](j)}(hSimply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** h](j)}(hSimply protects:h]hSimply protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM% hjubj)}(hhh]jl)}(hu**gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded**h](j)}(h**gro_flush_timeout**h]hgro_flush_timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **napi_list**h]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **threaded**h]hthreaded}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM% hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM( hjRubj)}(hhh]jl)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh, }(hjhhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh, }hjhsbj)}(h **nd_net**h]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh, }hjhsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jkhjdhM( hjeubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjdhM( hjubj)}(h@Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** h](j)}(h Ops protects:h]h Ops protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+ hjubj)}(hhh]jl)}(h1**cfg**, **cfg_pending**, **ethtool**, **hwprov**h](j)}(h**cfg**h]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**cfg_pending**h]h cfg_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **ethtool**h]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **hwprov**h]hhwprov}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM+ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+ hjubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops protects:}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM. hj2ubj)}(hhh]jl)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh, }(hjHhhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jkhjDhM. hjEubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjDhM. hjubj)}(h^Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue h](j)}(hAlso protects some fields in:h]hAlso protects some fields in:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1 hj~ubj)}(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&]uh1jkhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM1 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h Ordering:h]h Ordering:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3 hjubj.L)}(hhh](j3L)}(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.hhM5 hjubah}(h]h ]h"]h$]h&]uh1j2Lhjubj3L)}(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.hhM7 hjubah}(h]h ]h"]h$]h&]uh1j2Lhjubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjhM5 hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM: hj ubj)}(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.hhMA hj ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%hMA hj,ubj)}(hhh]jl)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMA hj>ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj%hMA hj)ubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMA hj ubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hjsh]h neighbours}(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.hhM]hjmubj)}(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.hhM\hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM]hj ubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hjh]hhwprov}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjubj)}(hhh]jl)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj ubj)}(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.hhMmhjubj)}(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.hhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubjl)}(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.hhMqhjYhhubj)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubjl)}(hinterface address info:h]hinterface address info:}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hj?ubjl)}(hKFIXME: cleanup struct net_device such that network protocol info moves out.h]hKFIXME: cleanup struct net_device such that network protocol info moves out.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hj?ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjYhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhjYhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.netdev_privasbuh1hhjubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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}(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&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_from_priv (C function)c.netdev_from_privhNtauh1hhjYhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjEhM ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j netdev_from_privsbc.netdev_from_privasbuh1hhj4hhhjEhM ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjEhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4hhhjEhM ubj3)}(hnetdev_from_privh]j9)}(hjuh]hnetdev_from_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjEhM ubj )}(h(const void *priv)h]j )}(hconst void *privh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hprivh]hpriv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjEhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjEhM ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhM hj-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 hjhhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhjEhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjYhNhNubj)}(ht**Parameters** ``const void *priv`` network device private data **Return** net_device to which **priv** belongsh](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj<ubj)}(hhh]j)}(h1``const void *priv`` network device private data h](j)}(h``const void *priv``h]j)}(hjah]hconst void *priv}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj[ubj)}(hhh]jl)}(hnetwork device private datah]hnetwork device private data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhM hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj<ubjl)}(h$net_device to which **priv** belongsh](hnet_device to which }(hjhhhNhNubj)}(h**priv**h]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh belongs}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hnvoid netif_napi_add (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]j )}(hlvoid netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhME ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhME ubj3)}(hnetif_napi_addh]j9)}(hnetif_napi_addh]hnetif_napi_add}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhME 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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.netif_napi_addasbuh1hhj,ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hstruct 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 ]jjc.netif_napi_addasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjg 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)}(hpollh]hpoll}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hj h]h)}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjg h]h(}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jjc.netif_napi_addasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj7uh]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 hjhhhjhME ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhME ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhME hjhhubjg)}(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.hhME hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhME ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjYhNhNubj)}(hX0**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** netif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMI hj'ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjLh]hstruct net_device *dev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMF hjFubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMF hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMF hjCubj)}(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.hhMG hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMG hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMG hjCubj)}(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.hhMH hjubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMH hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMH hjCubeh}(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.hhMJ 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 }(hjhhhNhNubjY)}(h*any*h]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjubh% of the other NAPI-related functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMI hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhjYhhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMo ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj^hMo ubj3)}(hnetif_napi_add_configh]j9)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj^hMo 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 jssbc.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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netif_napi_add_configasbuh1hhjubj")}(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)}(hnapih]hnapi}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hjg h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubj )}(hj h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hjg h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(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_configasbuh1hhjkubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj )}(hj7uh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubjM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj )}(hj h]h)}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int indexh](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hindexh]hindex}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj^hMo ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj^hMo ubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMo hjEhhubjg)}(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.hhMo hjhhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj^hMo ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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.hhMs 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.hhMp hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjubj)}(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.hhMq hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMq hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMq hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjPh]h&int (*poll)(struct napi_struct *, int)}(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.hhMr hjJubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMr hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMr 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.hhMt 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.hhMs hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMt hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhjYhhhNhNubh)}(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.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_napi_add_txh]j9)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj- hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj> hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj; ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@ modnameN classnameNj j )}j ]j )}j j sbc.netif_napi_add_txasbuh1hhj ubj")}(h h]h }(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)}(hdevh]hdev}(hjy hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(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 ]jZ c.netif_napi_add_txasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hnapih]hnapi}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hjg 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)}(hpollh]hpoll}(hj8!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubj )}(hj h]h)}(hjF!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hjg 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 }(hjm!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj~!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]jZ c.netif_napi_add_txasbuh1hhj ubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj )}(hj7uh]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 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)}(h0initialize a NAPI context to be used for Tx onlyh]h0initialize a NAPI context to be used for Tx only}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjYhNhNubj)}(hXm**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** This variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj"ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj<"h]hstruct net_device *dev}(hj>"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj6"ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjU"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQ"hM hjR"ubah}(h]h ]h"]h$]h&]uh1jhj6"ubeh}(h]h ]h"]h$]h&]uh1jhjQ"hM hj3"ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hju"h]hstruct napi_struct *napi}(hjw"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjo"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&]uh1jhjo"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM hj3"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 hj3"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj"ubjl)}(hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h]hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h0void __netif_napi_del (struct napi_struct *napi)h]j )}(h/void __netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(hj.#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj=#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*#hhhj<#hM ubj3)}(h__netif_napi_delh]j9)}(h__netif_napi_delh]h__netif_napi_del}(hjO#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*#hhhj<#hM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](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 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 jQ#sbc.__netif_napi_delasbuh1hhjg#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)}(hnapih]hnapi}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjc#ubah}(h]h ]h"]h$]h&]jPjQuh1j hj*#hhhj<#hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&#hhhj<#hM ubah}(h]j!#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<#hM hj##hhubjg)}(hhh]jl)}(hremove a NAPI contexth]hremove a NAPI context}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj#hhubah}(h]h ]h"]h$]h&]uh1jfhj##hhhj<#hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjYhNhNubj)}(hX **Parameters** ``struct napi_struct *napi`` NAPI context **Description** Warning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](jl)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj $ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj/$h]hstruct napi_struct *napi}(hj1$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}(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 hj&$ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj $ubjl)}(hWarning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](hOWarning: caller must observe RCU grace period before freeing memory containing }(hj$hhhNhNubj)}(h**napi**h]hnapi}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj $ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.void netif_napi_del (struct napi_struct *napi)h]j )}(h-void netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hM ubj3)}(hnetif_napi_delh]j9)}(hnetif_napi_delh]hnetif_napi_del}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj %hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j j$sbc.netif_napi_delasbuh1hhj$ubj")}(h h]h }(hj<%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjJ%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hnapih]hnapi}(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$hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hM ubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hM hj$hhubjg)}(hhh]jl)}(hremove a NAPI contexth]hremove a NAPI context}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct napi_struct *napi`` NAPI context **Description** netif_napi_del() removes a NAPI context from the network device NAPI listh](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj%ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj%h]hstruct napi_struct *napi}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj%ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj%ubj)}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jl)}(hj&h]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj&ubah}(h]h ]h"]h$]h&]uh1jhj$&hM hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhjYhhhNhNubh)}(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}(hjK&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjG&hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyubj")}(h h]h }(hjZ&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjG&hhhjY&hMyubj3)}(hnetif_start_queueh]j9)}(hnetif_start_queueh]hnetif_start_queue}(hjl&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjG&hhhjY&hMyubj )}(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 jn&sbc.netif_start_queueasbuh1hhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hdevh]hdev}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubah}(h]h ]h"]h$]h&]jPjQuh1j hjG&hhhjY&hMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjC&hhhjY&hMyubah}(h]j>&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjY&hMyhj@&hhubjg)}(hhh]jl)}(hallow transmith]hallow transmit}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj'hhubah}(h]h ]h"]h$]h&]uh1jfhj@&hhhjY&hMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#'jj#'jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine.h](jl)}(h**Parameters**h]j)}(hj-'h]h Parameters}(hj/'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj''ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjL'h]hstruct net_device *dev}(hjN'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzhjF'ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhja'hMzhjb'ubah}(h]h ]h"]h$]h&]uh1jhjF'ubeh}(h]h ]h"]h$]h&]uh1jhja'hMzhjC'ubah}(h]h ]h"]h$]h&]uh1jhj''ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hj''ubj)}(h>Allow upper layers to call the device hard_start_xmit routine.h]jl)}(hj'h]h>Allow upper layers to call the device hard_start_xmit routine.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hj'ubah}(h]h ]h"]h$]h&]uh1jhj'hM{hj''ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.void netif_wake_queue (struct net_device *dev)h]j )}(h-void netif_wake_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hMubj3)}(hnetif_wake_queueh]j9)}(hnetif_wake_queueh]hnetif_wake_queue}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj'hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj0(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2(modnameN classnameNj j )}j ]j )}j j'sbc.netif_wake_queueasbuh1hhj(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)}(hdevh]hdev}(hjk(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj (ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj'hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj'hMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMhj'hhubjg)}(hhh]jl)}(hrestart transmith]hrestart transmit}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj(h]hstruct net_device *dev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]jl)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.}(hj+)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj')ubah}(h]h ]h"]h$]h&]uh1jhj9)hMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.void netif_stop_queue (struct net_device *dev)h]j )}(h-void netif_stop_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj`)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjo)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\)hhhjn)hMubj3)}(hnetif_stop_queueh]j9)}(hnetif_stop_queueh]hnetif_stop_queue}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj})ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\)hhhjn)hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j j)sbc.netif_stop_queueasbuh1hhj)ubj")}(h h]h }(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\)hhhjn)hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjX)hhhjn)hMubah}(h]jS)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjn)hMhjU)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&]uh1jfhjU)hhhjn)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8*jj8*jjjuh1hhhhjYhNhNubj)}(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)}(hjB*h]h Parameters}(hjD*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<*ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(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.hhMhj[*ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv*hMhjw*ubah}(h]h ]h"]h$]h&]uh1jhj[*ubeh}(h]h ]h"]h$]h&]uh1jhjv*hMhjX*ubah}(h]h ]h"]h$]h&]uh1jhj<*ubjl)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<*ubj)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]jl)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*hMhj<*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_queue_stopped (C function)c.netif_queue_stoppedhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h7bool netif_queue_stopped (const struct net_device *dev)h]j )}(h6bool netif_queue_stopped(const struct net_device *dev)h](jM )}(hjh]hbool}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj*hMubj3)}(hnetif_queue_stoppedh]j9)}(hnetif_queue_stoppedh]hnetif_queue_stopped}(hj +hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj*hMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj'+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#+ubj")}(h h]h }(hj4+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#+ubj)}(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)}(h net_deviceh]h net_device}(hj`+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjb+modnameN classnameNj j )}j ]j )}j j +sbc.netif_queue_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+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj*hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj*hMubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMhj*hhubjg)}(hhh]jl)}(h%test if transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if transmit queue on device is currently unable to send.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj,h]hconst struct net_device *dev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjA,h]h Description}(hjC,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?,ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+ubj)}(h=Test if transmit queue on device is currently unable to send.h]jl)}(hjY,h]h=Test if transmit queue on device is currently unable to send.}(hj[,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjW,ubah}(h]h ]h"]h$]h&]uh1jhjh,hMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhjYhhhNhNubh)}(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}(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_queue_set_dql_min_limith]j9)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hMubj )}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j,sb c.netdev_queue_set_dql_min_limitasbuh1hhj,ubj")}(h h]h }(hj -hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(h dev_queueh]h dev_queue}(hj%-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hunsigned int min_limith](jM )}(hunsignedh]hunsigned}(hj>-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:-ubj")}(h h]h }(hjL-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:-ubjM )}(hinth]hint}(hjZ-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:-ubj")}(h h]h }(hjh-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:-ubj9)}(h min_limith]h min_limit}(hjv-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhj,hhubjg)}(hhh]jl)}(hset dql minimum limith]hset dql minimum limit}(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-jjjuh1hhhhjYhNhNubj)}(hXR**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue ``unsigned int min_limit`` dql minimum limit **Description** Forces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](jl)}(h**Parameters**h]j)}(hj-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-ubj)}(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}(hj3.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/.hMhj0.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)}(hjU.h]h Description}(hjW.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS.ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-ubjl)}(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 }(hjk.hhhNhNubj)}(h **min_limit**h]h min_limit}(hjs.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk.ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hjk.hhhNhNubeh}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhjYhhhNhNubh)}(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*}(hj5/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(h dev_queueh]h dev_queue}(hjB/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubah}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhj.hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjl/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhji/hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjYhNhNubj)}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhjYhhhNhNubh)}(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}(hj-0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj<0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)0hhhj;0hM ubj3)}(h!netdev_txq_bql_complete_prefetchwh]j9)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hjN0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)0hhhj;0hM ubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hjj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf0ubj")}(h h]h }(hjw0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf0ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j )}j jP0sb#c.netdev_txq_bql_complete_prefetchwasbuh1hhjf0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf0ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf0ubj9)}(h dev_queueh]h dev_queue}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb0ubah}(h]h ]h"]h$]h&]jPjQuh1j hj)0hhhj;0hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%0hhhj;0hM ubah}(h]j 0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;0hM hj"0hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj0hhubah}(h]h ]h"]h$]h&]uh1jfhj"0hhhj;0hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjYhNhNubj)}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 1ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj.1h]hstruct netdev_queue *dev_queue}(hj01hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj(1ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hjG1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC1hM hjD1ubah}(h]h ]h"]h$]h&]uh1jhj(1ubeh}(h]h ]h"]h$]h&]uh1jhjC1hM hj%1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubjl)}(h**Description**h]j)}(hji1h]h Description}(hjk1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 1ubjl)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj 1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhjYhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj1hMubj3)}(hnetdev_tx_sent_queueh]j9)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj1hMubj )}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj 2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 2modnameN classnameNj j )}j ]j )}j j1sbc.netdev_tx_sent_queueasbuh1hhj1ubj")}(h h]h }(hj)2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hj72hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(h dev_queueh]h dev_queue}(hjD2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj]2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjY2ubj")}(h h]h }(hjk2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY2ubjM )}(hinth]hint}(hjy2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjY2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY2ubj9)}(hbytesh]hbytes}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj1hMubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMhj1hhubjg)}(hhh]jl)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjYhNhNubj)}(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)}(hj2h]h Parameters}(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.hhMhj2ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj3h]hstruct netdev_queue *dev_queue}(hj3hhhNhNubah}(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)}(hnetwork device queueh]hnetwork device queue}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hj93h]hunsigned int bytes}(hj;3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj73ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj33ubj)}(hhh]jl)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hjR3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjN3hMhjO3ubah}(h]h ]h"]h$]h&]uh1jhj33ubeh}(h]h ]h"]h$]h&]uh1jhjN3hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hjt3h]h Description}(hjv3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubj)}(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. }(hj3hhhNhNubj)}(h **bytes**h]hbytes}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj3hhhNhNubj)}(h **bytes**h]hbytes}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhjYhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj3hMUubj3)}(hnetdev_sent_queueh]j9)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj3hMUubj )}(h,(struct net_device *dev, unsigned int bytes)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj$4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 4ubj")}(h h]h }(hj14hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 4ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjB4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD4modnameN classnameNj j )}j ]j )}j j 4sbc.netdev_sent_queueasbuh1hhj 4ubj")}(h h]h }(hjb4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 4ubj )}(hj h]h*}(hjp4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 4ubj9)}(hdevh]hdev}(hj}4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubjM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hbytesh]hbytes}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj3hMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj3hMUubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMUhj3hhubjg)}(hhh]jl)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhj4hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj3hMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjYhNhNubj)}(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)}(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.hhMYhj5ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj95h]hstruct net_device *dev}(hj;5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj75ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhj35ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjR5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjN5hMVhjO5ubah}(h]h ]h"]h$]h&]uh1jhj35ubeh}(h]h ]h"]h$]h&]uh1jhjN5hMVhj05ubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hjr5h]hunsigned int bytes}(hjt5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjl5ubj)}(hhh]jl)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMWhj5ubah}(h]h ]h"]h$]h&]uh1jhjl5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMWhj05ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhj5ubj)}(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. }(hj5hhhNhNubj)}(h **bytes**h]hbytes}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj5hhhNhNubj)}(h **bytes**h]hbytes}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhj5ubah}(h]h ]h"]h$]h&]uh1jhj5hMXhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhjYhhhNhNubh)}(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 6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlubj")}(h h]h }(hj/6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj.6hMlubj3)}(hnetdev_tx_completed_queueh]j9)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hjA6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj.6hMlubj )}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj]6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY6ubj")}(h h]h }(hjj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY6ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj{6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}6modnameN classnameNj j )}j ]j )}j jC6sbc.netdev_tx_completed_queueasbuh1hhjY6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY6ubj9)}(h dev_queueh]h dev_queue}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU6ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubjM )}(hinth]hint}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hpktsh]hpkts}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU6ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj 7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hj.7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubjM )}(hinth]hint}(hj<7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hjJ7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj9)}(hbytesh]hbytes}(hjX7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj.6hMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj.6hMlubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.6hMlhj6hhubjg)}(hhh]jl)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj.6hMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjYhNhNubj)}(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)}(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.hhMphj7ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj7h]hstruct netdev_queue *dev_queue}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhj7ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMmhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMmhj7ubj)}(h<``unsigned int pkts`` number of packets (currently ignored) h](j)}(h``unsigned int pkts``h]j)}(hj7h]hunsigned int pkts}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhj7ubj)}(hhh]jl)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMnhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMnhj7ubj)}(hF``unsigned int bytes`` number of bytes dequeued from the device queue h](j)}(h``unsigned int bytes``h]j)}(hj58h]hunsigned int bytes}(hj78hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj38ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohj/8ubj)}(hhh]jl)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hjN8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ8hMohjK8ubah}(h]h ]h"]h$]h&]uh1jhj/8ubeh}(h]h ]h"]h$]h&]uh1jhjJ8hMohj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hjp8h]h Description}(hjr8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhj7ubj)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphj8ubah}(h]h ]h"]h$]h&]uh1jhj8hMphj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhjYhhhNhNubh)}(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}(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)}(hnetdev_completed_queueh]j9)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hMubj )}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj 9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j8sbc.netdev_completed_queueasbuh1hhj8ubj")}(h h]h }(hj:9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjH9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hdevh]hdev}(hjU9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hjn9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjj9ubj")}(h h]h }(hj|9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj9ubjM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj9ubj9)}(hpktsh]hpkts}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubjM )}(hinth]hint}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hbytesh]hbytes}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(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)}(h,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hj!:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9:jj9:jjjuh1hhhhjYhNhNubj)}(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)}(hjC:h]h Parameters}(hjE:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=:ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjb:h]hstruct net_device *dev}(hjd: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&]uh1jkhjw:hMhjx:ubah}(h]h ]h"]h$]h&]uh1jhj\:ubeh}(h]h ]h"]h$]h&]uh1jhjw:hMhjY:ubj)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hj:h]hunsigned int pkts}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jl)}(h-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjY:ubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium h](j)}(h``unsigned int bytes``h]j)}(hj:h]hunsigned int bytes}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jl)}(h+actual number of bytes sent over the mediumh]h+actual number of bytes sent over the medium}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjY:ubeh}(h]h ]h"]h$]h&]uh1jhj=:ubjl)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=:ubj)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h]jl)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](hrReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, }(hj);hhhNhNubj)}(h **bytes**h]hbytes}(hj1;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj);ubh must exactly match the }(hj);hhhNhNubj)}(h **bytes**h]hbytes}(hjC;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj);ubh% amount passed to netdev_sent_queue()}(hj);hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%;ubah}(h]h ]h"]h$]h&]uh1jhj[;hMhj=:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhjYhhhNhNubh)}(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}(hj3<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubj )}(hu32 qidh](h)}(hhh]j9)}(hu32h]hu32}(hjO<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ<modnameN classnameNj j )}j ]j<c.netdev_tx_reset_subqueueasbuh1hhjH<ubj")}(h h]h }(hjm<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH<ubj9)}(hqidh]hqid}(hj{<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~;hhhj;hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjz;hhhj;hMubah}(h]ju;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hMhjw;hhubjg)}(hhh]jl)}(h/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&]uh1jfhjw;hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjYhNhNubj)}(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}(hj8=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj4=hMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_reset_queue (C function)c.netdev_reset_queuehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h6void netdev_reset_queue (struct net_device *dev_queue)h]j )}(h5void netdev_reset_queue(struct net_device *dev_queue)h](jM )}(hvoidh]hvoid}(hjy=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hju=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!hju=hhhj=hMubj3)}(hnetdev_reset_queueh]j9)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hju=hhhj=hMubj )}(h(struct net_device *dev_queue)h]j )}(hstruct net_device *dev_queueh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j j=sbc.netdev_reset_queueasbuh1hhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(h dev_queueh]h dev_queue}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hju=hhhj=hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjq=hhhj=hMubah}(h]jl=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMhjn=hhubjg)}(hhh]jl)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(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&]uh1jfhjn=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQ>jjQ>jjjuh1hhhhjYhNhNubj)}(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)}(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``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hjz>h]hstruct net_device *dev_queue}(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>ubah}(h]h ]h"]h$]h&]uh1jhjU>ubjl)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjU>ubj)}(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}(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>hMhjU>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhjYhhhNhNubh)}(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}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ?modnameN classnameNj j )}j ]j )}j netdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhj?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_cap_txqueueh]j9)}(hj%?h]hnetdev_cap_txqueue}(hj;?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj(?hMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjV?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR?ubj")}(h h]h }(hjc?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR?ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjt?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv?modnameN classnameNj j )}j ]j#?c.netdev_cap_txqueueasbuh1hhjR?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjR?ubj9)}(hdevh]hdev}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjN?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.netdev_cap_txqueueasbuh1hhj?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 hjN?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)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj(?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7@jj7@jjjuh1hhhhjYhNhNubj)}(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)}(hjA@h]h Parameters}(hjC@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;@ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj`@h]hstruct net_device *dev}(hjb@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.hhMhjZ@ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjy@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhju@hMhjv@ubah}(h]h ]h"]h$]h&]uh1jhjZ@ubeh}(h]h ]h"]h$]h&]uh1jhju@hMhjW@ubj)}(h)``u16 queue_index`` given tx 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)}(hgiven tx queue indexh]hgiven tx 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@hMhjW@ubeh}(h]h ]h"]h$]h&]uh1jhj;@ubjl)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;@ubj)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@hMhj;@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhjYhhhNhNubh)}(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#AhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj1AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhj0AhMubj3)}(h netif_runningh]j9)}(h netif_runningh]h netif_running}(hjCAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Aubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhj0AhMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj_AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Aubj")}(h h]h }(hjlAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Aubj)}(hjh]hstruct}(hjzAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Aubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Aubh)}(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 jEAsbc.netif_runningasbuh1hhj[Aubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Aubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[Aubj9)}(hdevh]hdev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[Aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWAubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhj0AhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhj0AhMubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0AhMhjAhhubjg)}(hhh]jl)}(h test if uph]h test if up}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhj0AhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if the device has been brought up.h](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hj!BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj>Bh]hconst struct net_device *dev}(hj@BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCc.netif_start_subqueueasbuh1hhjrCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrCubj9)}(h queue_indexh]h queue_index}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(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!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjYhNhNubj)}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjDh]hstruct net_device *dev}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Dubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(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$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjIDh]hu16 queue_index}(hjKDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCDubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjbDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^DhMhj_Dubah}(h]h ]h"]h$]h&]uh1jhjCDubeh}(h]h ]h"]h$]h&]uh1jhj^DhMhjDubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubjl)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_stop_subqueue (C function)c.netif_stop_subqueuehNtauh1hhjYhhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjDhMubj3)}(hnetif_stop_subqueueh]j9)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjDhMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&EmodnameN classnameNj j )}j ]j )}j jDsbc.netif_stop_subqueueasbuh1hhjEubj")}(h h]h }(hjDEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjREhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hdevh]hdev}(hj_EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj{EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}EmodnameN classnameNj j )}j ]j@Ec.netif_stop_subqueueasbuh1hhjtEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtEubj9)}(h queue_indexh]h queue_index}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubeh}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjDhMubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhjDhhubjg)}(hhh]jl)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjYhNhNubj)}(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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjFh]hstruct net_device *dev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Fubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj+FhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'FhMhj(Fubah}(h]h ]h"]h$]h&]uh1jhj Fubeh}(h]h ]h"]h$]h&]uh1jhj'FhMhj Fubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjKFh]hu16 queue_index}(hjMFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEFubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjdFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`FhMhjaFubah}(h]h ]h"]h$]h&]uh1jhjEFubeh}(h]h ]h"]h$]h&]uh1jhj`FhMhj Fubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubjl)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__netif_subqueue_stopped (C function)c.__netif_subqueue_stoppedhNtauh1hhjYhhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjFhMubj3)}(h__netif_subqueue_stoppedh]j9)}(h__netif_subqueue_stoppedh]h__netif_subqueue_stopped}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjFhMubj )}(h/(const struct net_device *dev, u16 queue_index)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj)}(hjh]hstruct}(hj"GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hj/GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj@GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBGmodnameN classnameNj j )}j ]j )}j jFsbc.__netif_subqueue_stoppedasbuh1hhjGubj")}(h h]h }(hj`GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjnGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hdevh]hdev}(hj{GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j\Gc.__netif_subqueue_stoppedasbuh1hhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(h queue_indexh]h queue_index}(hjGhhhNhNubah}(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 jYjZhjFhhhjFhMubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhjFhhubjg)}(hhh]jl)}(htest status of subqueueh]htest status of subqueue}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjYhNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Hubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj.Hh]hconst struct net_device *dev}(hj0HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Hubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(Hubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjCHhMhjDHubah}(h]h ]h"]h$]h&]uh1jhj(Hubeh}(h]h ]h"]h$]h&]uh1jhjCHhMhj%Hubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjgHh]hu16 queue_index}(hjiHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaHubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|HhMhj}Hubah}(h]h ]h"]h$]h&]uh1jhjaHubeh}(h]h ]h"]h$]h&]uh1jhj|HhMhj%Hubeh}(h]h ]h"]h$]h&]uh1jhj Hubjl)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Hubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj Hubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_subqueue_stopped (C function)c.netif_subqueue_stoppedhNtauh1hhjYhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM ubj3)}(hnetif_subqueue_stoppedh]j9)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM ubj )}(h3(const struct net_device *dev, struct sk_buff *skb)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj#IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hj0IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj)}(hjh]hstruct}(hj>IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjKIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj\IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^ImodnameN classnameNj j )}j ]j )}j j Isbc.netif_subqueue_stoppedasbuh1hhjIubj")}(h h]h }(hj|IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hdevh]hdev}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jxIc.netif_subqueue_stoppedasbuh1hhjIubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhM ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM hjHhhubjg)}(hhh]jl)}(htest status of subqueueh]htest status of subqueue}(hj1JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj.Jhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIJjjIJjjjuh1hhhhjYhNhNubj)}(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)}(hjSJh]h Parameters}(hjUJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMJubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjrJh]hconst struct net_device *dev}(hjtJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjlJubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjlJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjiJubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer h](j)}(h``struct sk_buff *skb``h]j)}(hjJh]hstruct sk_buff *skb}(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)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjiJubeh}(h]h ]h"]h$]h&]uh1jhjMJubjl)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMJubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_wake_subqueue (C function)c.netif_wake_subqueuehNtauh1hhjYhhhNhNubh)}(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}(hj+KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'KhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj:KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'Khhhj9KhMubj3)}(hnetif_wake_subqueueh]j9)}(hnetif_wake_subqueueh]hnetif_wake_subqueue}(hjLKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'Khhhj9KhMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdKubj")}(h h]h }(hjuKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdKubh)}(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 jNKsbc.netif_wake_subqueueasbuh1hhjdKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdKubj9)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`Kubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]jKc.netif_wake_subqueueasbuh1hhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj9)}(h queue_indexh]h queue_index}(hj LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`Kubeh}(h]h ]h"]h$]h&]jPjQuh1j hj'Khhhj9KhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#Khhhj9KhMubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9KhMhj Khhubjg)}(hhh]jl)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hj3LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0Lhhubah}(h]h ]h"]h$]h&]uh1jfhj Khhhj9KhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKLjjKLjjjuh1hhhhjYhNhNubj)}(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)}(hjULh]h Parameters}(hjWLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOLubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjtLh]hstruct net_device *dev}(hjvLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjnLubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjnLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjkLubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjLh]hu16 queue_index}(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)}(hsub queue indexh]hsub queue index}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjkLubeh}(h]h ]h"]h$]h&]uh1jhjOLubjl)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOLubjl)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume individual transmit queue of a device with multiple transmit queues.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_attr_test_mask (C function)c.netif_attr_test_maskhNtauh1hhjYhhhNhNubh)}(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}(hj-MhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)MhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-ubj")}(h h]h }(hj;MhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Mhhhj:MhM-ubj3)}(hnetif_attr_test_maskh]j9)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hjMMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)Mhhhj:MhM-ubj )}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hjiMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeMubj")}(h h]h }(hjwMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeMubjM )}(hlongh]hlong}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeMubj9)}(hjh]hj}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaMubj )}(hconst unsigned long *maskh](j)}(hj h]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hlongh]hlong}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hj NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hmaskh]hmask}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaMubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hj3NhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/Nubj")}(h h]h }(hjANhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/NubjM )}(hinth]hint}(hjONhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/Nubj")}(h h]h }(hj]NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/Nubj9)}(hnr_bitsh]hnr_bits}(hjkNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/Nubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaMubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)Mhhhj:MhM-ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%Mhhhj:MhM-ubah}(h]j Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:MhM-hj"Mhhubjg)}(hhh]jl)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjNhhubah}(h]h ]h"]h$]h&]uh1jfhj"Mhhhj:MhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjYhNhNubj)}(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)}(hjNh]h Parameters}(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.hhM1hjNubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hjNh]hunsigned long j}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjNubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhM.hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM.hjNubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hjOh]hconst unsigned long *mask}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Oubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj Oubj)}(hhh]jl)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hj(OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$OhM/hj%Oubah}(h]h ]h"]h$]h&]uh1jhj Oubeh}(h]h ]h"]h$]h&]uh1jhj$OhM/hjNubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjHOh]hunsigned int nr_bits}(hjJOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjBOubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjaOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]OhM0hj^Oubah}(h]h ]h"]h$]h&]uh1jhjBOubeh}(h]h ]h"]h$]h&]uh1jhj]OhM0hjNubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjNubjl)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_attr_test_online (C function)c.netif_attr_test_onlinehNtauh1hhjYhhhNhNubh)}(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}(hjOhhhNhNubah}(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 }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjOhM=ubj3)}(hnetif_attr_test_onlineh]j9)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjOhM=ubj )}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubjM )}(hlongh]hlong}(hj PhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hj.PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hjMh]hj}(hjhjjQubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM>hjQubah}(h]h ]h"]h$]h&]uh1jhjjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM>hjgQubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjQh]h const unsigned long *online_mask}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjQubj)}(hhh]jl)}(h*bitmask for CPUs/Rx queues that are onlineh]h*bitmask for CPUs/Rx queues that are online}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM?hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM?hjgQubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjQh]hunsigned int nr_bits}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjQubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM@hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM@hjgQubeh}(h]h ]h"]h$]h&]uh1jhjKQubjl)}(h **Return**h]j)}(hjRh]hReturn}(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.hhMBhjKQubjl)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(hj3RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjKQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_attrmask_next (C function)c.netif_attrmask_nexthNtauh1hhjYhhhNhNubh)}(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}(hjbRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^RhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQubj")}(h h]h }(hjqRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^RhhhjpRhMQubjM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^RhhhjpRhMQubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^RhhhjpRhMQubj3)}(hnetif_attrmask_nexth]j9)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^RhhhjpRhMQubj )}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hjDh]hn}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hconst unsigned long *srcph](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubjM )}(hunsignedh]hunsigned}(hj ShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubjM )}(hlongh]hlong}(hj&ShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hj4ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjBShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hsrcph]hsrcp}(hjOShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjhShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdSubj")}(h h]h }(hjvShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdSubjM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdSubj9)}(hnr_bitsh]hnr_bits}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^RhhhjpRhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZRhhhjpRhMQubah}(h]jURah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjpRhMQhjWRhhubjg)}(hhh]jl)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjShhubah}(h]h ]h"]h$]h&]uh1jfhjWRhhhjpRhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *srcp`` the cpumask/Rx queue mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjSubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj Th]hint n}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Tubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjTubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj$ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj ThMRhj!Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj ThMRhjTubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hjDTh]hconst unsigned long *srcp}(hjFThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShj>Tubj)}(hhh]jl)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hj]ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYThMShjZTubah}(h]h ]h"]h$]h&]uh1jhj>Tubeh}(h]h ]h"]h$]h&]uh1jhjYThMShjTubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj}Th]hunsigned int nr_bits}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Tubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjwTubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMThjTubah}(h]h ]h"]h$]h&]uh1jhjwTubeh}(h]h ]h"]h$]h&]uh1jhjThMThjTubeh}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h **Return**h]j)}(hjTh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjSubjl)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhjYhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMgubj")}(h h]h }(hj UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhj UhMgubj3)}(hnetif_attrmask_next_andh]j9)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhj UhMgubj )}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hj:UhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6Uubj")}(h h]h }(hjHUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6Uubj9)}(hjDh]hn}(hjVUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6Uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2Uubj )}(hconst unsigned long *src1ph](j)}(hj h]hconst}(hjnUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjUubj")}(h h]h }(hj{UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjUubjM )}(hunsignedh]hunsigned}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjUubjM )}(hlongh]hlong}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjUubj9)}(hsrc1ph]hsrc1p}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2Uubj )}(hconst unsigned long *src2ph](j)}(hj h]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hlongh]hlong}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hj,VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hj:VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hsrc2ph]hsrc2p}(hjGVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2Uubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hj`VhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\Vubj")}(h h]h }(hjnVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\VubjM )}(hinth]hint}(hj|VhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\Vubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\Vubj9)}(hnr_bitsh]hnr_bits}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\Vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2Uubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhj UhMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhj UhMgubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj UhMghjThhubjg)}(hhh]jl)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjVhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhj UhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjYhNhNubj)}(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)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjVubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjWh]hint n}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjVubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhhjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhMhhjVubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihj6Wubj)}(hhh]jl)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hjUWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQWhMihjRWubah}(h]h ]h"]h$]h&]uh1jhj6Wubeh}(h]h ]h"]h$]h&]uh1jhjQWhMihjVubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hjuWh]hconst unsigned long *src2p}(hjwWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjoWubj)}(hhh]jl)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMjhjWubah}(h]h ]h"]h$]h&]uh1jhjoWubeh}(h]h ]h"]h$]h&]uh1jhjWhMjhjVubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjWh]hunsigned int nr_bits}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjWubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMkhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMkhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjVubjl)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h7bool netif_is_multiqueue (const struct net_device *dev)h]j )}(h6bool netif_is_multiqueue(const struct net_device *dev)h](jM )}(hjh]hbool}(hj.XhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*XhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj_jj>_jjjuh1hhhhjYhNhNubj)}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](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:104: ./include/linux/netdevice.hhMhjB_ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjg_h]hconst struct net_device *dev}(hji_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhja_ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|_hMhj}_ubah}(h]h ]h"]h$]h&]uh1jhja_ubeh}(h]h ]h"]h$]h&]uh1jhj|_hMhj^_ubah}(h]h ]h"]h$]h&]uh1jhjB_ubjl)}(h**Description**h]j)}(hj_h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjB_ubjl)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjB_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhjYhhhNhNubh)}(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}(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_dormant_onh]j9)}(hnetif_dormant_onh]hnetif_dormant_on}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhj_hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj$`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj `ubj")}(h h]h }(hj1`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj `ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjB`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD`modnameN classnameNj j )}j ]j )}j j `sbc.netif_dormant_onasbuh1hhj `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`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)}(hmark device as dormant.h]hmark device as dormant.}(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`jjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device **Description** Mark device as dormant (as per RFC2863). The dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj`h]hstruct net_device *dev}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjahhhNhNubah}(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#ah]h Description}(hj%ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!aubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubjl)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hj9ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubjl)}(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.}(hjHahhhNhNubah}(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&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhjYhhhNhNubh)}(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}(hjwahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsahhhZ/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!hjsahhhjahM ubj3)}(hnetif_dormant_offh]j9)}(hnetif_dormant_offh]hnetif_dormant_off}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjsahhhjahM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j jasbc.netif_dormant_offasbuh1hhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hdevh]hdev}(hj bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubah}(h]h ]h"]h$]h&]jPjQuh1j hjsahhhjahM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjoahhhjahM ubah}(h]jjaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahM hjlahhubjg)}(hhh]jl)}(hset device as not dormant.h]hset device as not dormant.}(hj7bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj4bhhubah}(h]h ]h"]h$]h&]uh1jfhjlahhhjahM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjObjjObjjjuh1hhhhjYhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jl)}(h**Parameters**h]j)}(hjYbh]h Parameters}(hj[bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjSbubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjxbh]hstruct net_device *dev}(hjzbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hjrbubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM!hjbubah}(h]h ]h"]h$]h&]uh1jhjrbubeh}(h]h ]h"]h$]h&]uh1jhjbhM!hjobubah}(h]h ]h"]h$]h&]uh1jhjSbubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjSbubjl)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjSbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant (C function)c.netif_dormanthNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1bool netif_dormant (const struct net_device *dev)h]j )}(h0bool netif_dormant(const struct net_device *dev)h](jM )}(hjh]hbool}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjchM,ubj3)}(h netif_dormanth]j9)}(h netif_dormanth]h netif_dormant}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjchM,ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj4chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0cubj")}(h h]h }(hjAchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0cubj)}(hjh]hstruct}(hjOchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0cubj")}(h h]h }(hj\chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0cubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjmchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjocmodnameN classnameNj j )}j ]j )}j jcsbc.netif_dormantasbuh1hhj0cubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0cubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0cubj9)}(hdevh]hdev}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,cubah}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjchM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjchM,ubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchM,hjbhhubjg)}(hhh]jl)}(htest if device is dormanth]htest if device is dormant}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjchhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjchM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjYhNhNubj)}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjcubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjdh]hconst struct net_device *dev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj dubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(dhM-hj)dubah}(h]h ]h"]h$]h&]uh1jhj dubeh}(h]h ]h"]h$]h&]uh1jhj(dhM-hj dubah}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h**Description**h]j)}(hjNdh]h Description}(hjPdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLdubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjcubjl)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hjddhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_on (C function)c.netif_testing_onhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h.void netif_testing_on (struct net_device *dev)h]j )}(h-void netif_testing_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjdhM8ubj3)}(hnetif_testing_onh]j9)}(hnetif_testing_onh]hnetif_testing_on}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjdhM8ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j )}j jdsbc.netif_testing_onasbuh1hhjdubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hdevh]hdev}(hj)ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubah}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjdhM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjdhM8ubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM8hjdhhubjg)}(hhh]jl)}(hmark device as under test.h]hmark device as under test.}(hjSehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjPehhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhjdhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkejjkejjjuh1hhhhjYhNhNubj)}(hX4**Parameters** ``struct net_device *dev`` network device **Description** Mark device as under test (as per RFC2863). The testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h](jl)}(h**Parameters**h]j)}(hjueh]h Parameters}(hjwehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjseubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjoeubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjeh]hstruct net_device *dev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjeubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehM9hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM9hjeubah}(h]h ]h"]h$]h&]uh1jhjoeubjl)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjoeubjl)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjoeubjl)}(hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h]hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjoeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_off (C function)c.netif_testing_offhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h/void netif_testing_off (struct net_device *dev)h]j )}(h.void netif_testing_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj#fhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHubj")}(h h]h }(hj2fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhj1fhMHubj3)}(hnetif_testing_offh]j9)}(hnetif_testing_offh]hnetif_testing_off}(hjDfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@fubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhj1fhMHubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj`fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\fubj")}(h h]h }(hjmfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\fub$h)}(hhh]j9)}(h net_deviceh]h net_device}(hj~fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j jFfsbc.netif_testing_offasbuh1hhj\fubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\fubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\fubj9)}(hdevh]hdev}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\fubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXfubah}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhj1fhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj1fhMHubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1fhMHhjfhhubjg)}(hhh]jl)}(hset device as not under test.h]hset device as not under test.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjfhhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhj1fhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjYhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.h](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjfubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj$gh]hstruct net_device *dev}(hj&ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjgubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj=ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9ghMIhj:gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj9ghMIhjgubah}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hj_gh]h Description}(hjaghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]gubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjfubjl)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hjughhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing (C function)c.netif_testinghNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1bool netif_testing (const struct net_device *dev)h]j )}(h0bool netif_testing(const struct net_device *dev)h](jM )}(hjh]hbool}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMTubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghMTubj3)}(h netif_testingh]j9)}(h netif_testingh]h netif_testing}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghMTubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jgsbc.netif_testingasbuh1hhjgubj")}(h h]h }(hj9hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjGhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdevh]hdev}(hjThhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghMTubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjghMTubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMThjghhubjg)}(hhh]jl)}(htest if device is under testh]htest if device is under test}(hj~hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThj{hhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjYhNhNubj)}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](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.hhMXhjhubj)}(hhh]j)}(h0``const struct net_device *dev`` 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjhubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMUhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMUhjhubah}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjhubjl)}(hCheck if device is under testh]hCheck if device is under test}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_oper_up (C function)c.netif_oper_uphNtauh1hhjYhhhNhNubh)}(hhh](j)}(h1bool netif_oper_up (const struct net_device *dev)h]j )}(h0bool netif_oper_up(const struct net_device *dev)h](jM )}(hjh]hbool}(hj?ihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;ihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`ubj")}(h h]h }(hjMihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ihhhjLihM`ubj3)}(h netif_oper_uph]j9)}(h netif_oper_uph]h netif_oper_up}(hj_ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[iubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;ihhhjLihM`ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj{ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwiubj)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwiubh)}(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 ]j )}j jaisbc.netif_oper_upasbuh1hhjwiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwiubj9)}(hdevh]hdev}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsiubah}(h]h ]h"]h$]h&]jPjQuh1j hj;ihhhjLihM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7ihhhjLihM`ubah}(h]j2iah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLihM`hj4ihhubjg)}(hhh]jl)}(htest if device is operationalh]htest if device is operational}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hjjhhubah}(h]h ]h"]h$]h&]uh1jfhj4ihhhjLihM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jjj1jjjjuh1hhhhjYhNhNubj)}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](jl)}(h**Parameters**h]j)}(hj;jh]h Parameters}(hj=jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9jubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj5jubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjZjh]hconst struct net_device *dev}(hj\jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjTjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjsjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjojhMahjpjubah}(h]h ]h"]h$]h&]uh1jhjTjubeh}(h]h ]h"]h$]h&]uh1jhjojhMahjQjubah}(h]h ]h"]h$]h&]uh1jhj5jubjl)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchj5jubjl)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj5jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_device_present (C function)c.netif_device_presenthNtauh1hhjYhhhNhNubh)}(hhh](j)}(h8bool netif_device_present (const struct net_device *dev)h]j )}(h7bool netif_device_present(const struct net_device *dev)h](jM )}(hjh]hbool}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjjhMnubj3)}(hnetif_device_presenth]j9)}(hnetif_device_presenth]hnetif_device_present}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjjhMnubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj#khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj)}(hjh]hstruct}(hj1khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj>khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjOkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQkmodnameN classnameNj j )}j ]j )}j jjsbc.netif_device_presentasbuh1hhjkubj")}(h h]h }(hjokhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hj}khhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhjjhMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjjhMnubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMnhjjhhubjg)}(hhh]jl)}(his device available or removedh]his device available or removed}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has not been removed from system.h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(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.hhMrhjkubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjkh]hconst struct net_device *dev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjkubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj lhMohj lubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj lhMohjkubah}(h]h ]h"]h$]h&]uh1jhjkubjl)}(h**Description**h]j)}(hj0lh]h Description}(hj2lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.lubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjkubjl)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hjFlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_tx_lock (C function)c.netif_tx_lockhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h+void netif_tx_lock (struct net_device *dev)h]j )}(h*void netif_tx_lock(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjulhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqlhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqlhhhjlhMubj3)}(h netif_tx_lockh]j9)}(h netif_tx_lockh]h netif_tx_lock}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqlhhhjlhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j jlsbc.netif_tx_lockasbuh1hhjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hdevh]hdev}(hj mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubah}(h]h ]h"]h$]h&]jPjQuh1j hjqlhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmlhhhjlhMubah}(h]jhlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjjlhhubjg)}(hhh]jl)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hj5mhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2mhhubah}(h]h ]h"]h$]h&]uh1jfhjjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMmjjMmjjjuh1hhhhjYhNhNubj)}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](jl)}(h**Parameters**h]j)}(hjWmh]h Parameters}(hjYmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQmubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjvmh]hstruct net_device *dev}(hjxmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjpmubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjpmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmmubah}(h]h ]h"]h$]h&]uh1jhjQmubjl)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQmubjl)}(h Get network device transmit lockh]h Get network device transmit lock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_sync (C function)c.__dev_uc_synchNtauh1hhjYhhhNhNubh)}(hhh](j)}(hint __dev_uc_sync (struct net_device *dev, int (*sync)(struct net_device *, const unsigned char *), int (*unsync)(struct net_device *, const unsigned char *))h]j )}(hint __dev_uc_sync(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](jM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjnhMubj3)}(h __dev_uc_synch]j9)}(h __dev_uc_synch]h __dev_uc_sync}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjnhMubj )}(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}(hj3nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/nubj")}(h h]h }(hj@nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/nubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSnmodnameN classnameNj j )}j ]j )}j jnsbc.__dev_uc_syncasbuh1hhj/nubj")}(h h]h }(hjqnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/nubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/nubj9)}(hdevh]hdev}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/nubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+nubj )}(h5int (*sync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hjg h]h(}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hsynch]hsync}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubj )}(hj h]h)}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj )}(hjg h]h(}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#omodnameN classnameNj j )}j ]jmnc.__dev_uc_syncasbuh1hhjnubj )}(hj h]h*}(hj?ohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj )}(hj7uh]h,}(hjLohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj")}(h h]h }(hjYohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj)}(hj h]hconst}(hjgohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjtohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubjM )}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubjM )}(hcharh]hchar}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj )}(hj h]h)}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+nubj )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hjg h]h(}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hunsynch]hunsync}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubj )}(hj h]h)}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hjg h]h(}(hj"phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj)}(hjh]hstruct}(hj/phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj )}(hjg h]h(}(hjKshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj)}(hjh]hstruct}(hjXshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjeshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjvshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjssubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxsmodnameN classnameNj j )}j ]jrc.__dev_uc_unsyncasbuh1hhjrubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj )}(hj7uh]h,}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj)}(hj h]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubjM )}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubjM )}(hcharh]hchar}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj )}(hj h]h)}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGrhhhjYrhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjCrhhhjYrhMubah}(h]j>rah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYrhMhj@rhhubjg)}(hhh]jl)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hj7thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4thhubah}(h]h ]h"]h$]h&]uh1jfhj@rhhhjYrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOtjjOtjjjuh1hhhhjYhNhNubj)}(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_uc_sync().h](jl)}(h**Parameters**h]j)}(hjYth]h Parameters}(hj[thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjStubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjxth]hstruct net_device *dev}(hjzthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjrtubj)}(hhh]jl)}(hdevice to synch]hdevice to sync}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjrtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjotubj)}(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)}(hjth]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjtubj)}(hhh]jl)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjotubeh}(h]h ]h"]h$]h&]uh1jhjStubjl)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjStubj)}(hDRemove all addresses that were added to the device by dev_uc_sync().h]jl)}(hjuh]hDRemove all addresses that were added to the device by dev_uc_sync().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuhMhjStubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_sync (C function)c.__dev_mc_synchNtauh1hhjYhhhNhNubh)}(hhh](j)}(hint __dev_mc_sync (struct net_device *dev, int (*sync)(struct net_device *, const unsigned char *), int (*unsync)(struct net_device *, const unsigned char *))h]j )}(hint __dev_mc_sync(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](jM )}(hinth]hint}(hj:uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6uhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjIuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6uhhhjHuhMubj3)}(h __dev_mc_synch]j9)}(h __dev_mc_synch]h __dev_mc_sync}(hj[uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6uhhhjHuhMubj )}(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}(hjwuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsuubh)}(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.__dev_mc_syncasbuh1hhjsuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsuubj9)}(hdevh]hdev}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjouubj )}(h5int (*sync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hjg h]h(}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hsynch]hsync}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubj )}(hj h]h)}(hj-vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hjg h]h(}(hj:vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj)}(hjh]hstruct}(hjGvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjTvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjevhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgvmodnameN classnameNj j )}j ]juc.__dev_mc_syncasbuh1hhjuubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj7uh]h,}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj)}(hj h]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hunsignedh]hunsigned}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hcharh]hchar}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj )}(hj h]h)}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjouubj )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hj#whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hjg h]h(}(hj1whhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj )}(hj h]h*}(hj>whhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hunsynch]hunsync}(hjKwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubj )}(hj h]h)}(hjYwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj )}(hjg h]h(}(hjfwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj)}(hjh]hstruct}(hjswhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]juc.__dev_mc_syncasbuh1hhjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj )}(hj7uh]h,}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj)}(hj h]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubjM )}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubjM )}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj )}(hj h]h)}(hj)xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjouubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6uhhhjHuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2uhhhjHuhMubah}(h]j-uah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHuhMhj/uhhubjg)}(hhh]jl)}(h#Synchronize device's multicast listh]h%Synchronize device’s multicast list}(hjRxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOxhhubah}(h]h ]h"]h$]h&]uh1jfhj/uhhhjHuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjxjjjxjjjuh1hhhhjYhNhNubj)}(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)}(hjtxh]h Parameters}(hjvxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrxubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjnxubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjxh]hstruct net_device *dev}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxubj)}(hhh]jl)}(hdevice to synch]hdevice to sync}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(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)}(hjxh]h7int (*sync)(struct net_device *, const unsigned char *)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxubj)}(hhh]jl)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(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)}(hjyh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxubj)}(hhh]jl)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjnxubjl)}(h**Description**h]j)}(hj@yh]h Description}(hjByhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>yubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjnxubj)}(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.}(hjZyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVyubah}(h]h ]h"]h$]h&]uh1jhjhyhMhjnxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_unsync (C function)c.__dev_mc_unsynchNtauh1hhjYhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhM"ubj3)}(h__dev_mc_unsynch]j9)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjyhM"ubj )}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j )}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j jysbc.__dev_mc_unsyncasbuh1hhjyubj")}(h h]h }(hj zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hdevh]hdev}(hj%zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(h7int (*unsync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hj>zhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:zubj")}(h h]h }(hjLzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:zubj )}(hjg h]h(}(hjZzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj )}(hj h]h*}(hjgzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj9)}(hunsynch]hunsync}(hjtzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:zubj )}(hj h]h)}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj )}(hjg h]h(}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:zubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:zubh)}(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 ]jzc.__dev_mc_unsyncasbuh1hhj:zubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj )}(hj7uh]h,}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:zubj)}(hj h]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:zubj")}(h h]h }(hj {hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:zubjM )}(hunsignedh]hunsigned}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:zubj")}(h h]h }(hj){hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:zubjM )}(hcharh]hchar}(hj7{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:zubj )}(hj h]h*}(hjE{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubj )}(hj h]h)}(hjR{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhjyhM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjyhM"ubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhM"hjyhhubjg)}(hhh]jl)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hj{{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjx{hhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjyhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_mc_sync().h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hj{ubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hj{h]hstruct net_device *dev}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hj{ubj)}(hhh]jl)}(hdevice to synch]hdevice to sync}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hM#hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM#hj{ubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj{h]h9int (*unsync)(struct net_device *, const unsigned char *)}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hj{ubj)}(hhh]jl)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj |hM$hj |ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj |hM$hj{ubeh}(h]h ]h"]h$]h&]uh1jhj{ubjl)}(h**Description**h]j)}(hj0|h]h Description}(hj2|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)}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jl)}(hjH|h]hDRemove all addresses that were added to the device by dev_mc_sync().}(hjJ|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjF|ubah}(h]h ]h"]h$]h&]uh1jhjW|hM%hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper (C struct) c.net_shaperhNtauh1hhjYhhhY/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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{|hhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{|hhhj|hKubj3)}(h net_shaperh]j9)}(hjy|h]h net_shaper}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{|hhhj|hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjw|hhhj|hKubah}(h]jq|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hKhjt|hhubjg)}(hhh]jl)}(hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.h]hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK!hj|hhubah}(h]h ]h"]h$]h&]uh1jfhjt|hhhj|hKubeh}(h]h ](jstructeh"]h$]h&]jjjj|jj|jjjuh1hhhhjYhjs|hNubj)}(hX**Definition**:: struct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; }; **Members** ``parent`` Unique identifier for the shaper parent, usually implied ``handle`` Unique identifier for this shaper ``metric`` Specify if the rate limits refers to PPS or BPS ``bw_min`` Minimum guaranteed rate for this shaper ``bw_max`` Maximum peak rate allowed for this shaper ``burst`` Maximum burst for the peek rate of this shaper ``priority`` Scheduling priority for this shaper ``weight`` Scheduling weight for this shaperh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh:}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hj|ubj)}(hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };h]hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };}hj|sbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj|ubjl)}(h **Members**h]j)}(hj}h]hMembers}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj }ubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hj|ubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hj.}h]hparent}(hj0}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,}ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hj(}ubj)}(hhh]jl)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjG}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC}hK$hjD}ubah}(h]h ]h"]h$]h&]uh1jhj(}ubeh}(h]h ]h"]h$]h&]uh1jhjC}hK$hj%}ubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hjg}h]hhandle}(hji}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje}ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hja}ubj)}(hhh]jl)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|}hK%hj}}ubah}(h]h ]h"]h$]h&]uh1jhja}ubeh}(h]h ]h"]h$]h&]uh1jhj|}hK%hj%}ubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hj}h]hmetric}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hj}ubj)}(hhh]jl)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hK&hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hK&hj%}ubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hj}h]hbw_min}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj}ubj)}(hhh]jl)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hK'hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hK'hj%}ubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hj~h]hbw_max}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hj ~ubj)}(hhh]jl)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hj+~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'~hK(hj(~ubah}(h]h ]h"]h$]h&]uh1jhj ~ubeh}(h]h ]h"]h$]h&]uh1jhj'~hK(hj%}ubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hjK~h]hburst}(hjM~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI~ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjE~ubj)}(hhh]jl)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hjd~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`~hK)hja~ubah}(h]h ]h"]h$]h&]uh1jhjE~ubeh}(h]h ]h"]h$]h&]uh1jhj`~hK)hj%}ubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hj~h]hpriority}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hj~~ubj)}(hhh]jl)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK*hj~ubah}(h]h ]h"]h$]h&]uh1jhj~~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK*hj%}ubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hj~h]hweight}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hj~ubj)}(hhh]jl)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK*hj%}ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhjs|hNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhjYhhhjs|hNubh)}(hhh](j)}(hnet_shaper_opsh]j )}(hstruct net_shaper_opsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hK1ubj3)}(hnet_shaper_opsh]j9)}(hjh]hnet_shaper_ops}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hK1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hK1ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hK1hj hhubjg)}(hhh]jl)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK=hjVhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hK1ubeh}(h]h ](jstructeh"]h$]h&]jjjjqjjqjjjuh1hhhhjYhjs|hNubj)}(hX**Definition**:: struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); }; **Members** ``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. ``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. ``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. ``capabilities`` get the shaper features supported by the device Fills the bitmask **cap** with the supported capabilities for the specified **scope** and device specified by **binding**.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh:}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKAhjuubj)}(hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };h]hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKChjuubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKJhjuubj)}(hhh](j)}(hX``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. h](j)}(h ``group``h]j)}(hjh]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKVhjubj)}(hhh](jl)}(h-create the specified shapers scheduling grouph]h-create the specified shapers scheduling group}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKOhjubjl)}(hXiNest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE.h](h Nest the }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh shapers identified under the * }(hjhhhNhNubj)}(h**node**h]hnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; shaper. All the shapers belong to the device specified by }(hjhhhNhNubj)}(h **binding**h]hbinding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. The }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh arrays size is specified by }(hjhhhNhNubj)}(h**leaves_count**h]h leaves_count}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. Create either the }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and the }(hjhhhNhNubj)}(h**node**h]hnode}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhL shaper; or if they already exists, links them together in the desired way. }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& scope must be NET_SHAPER_SCOPE_QUEUE.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKQhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKVhjubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hjh]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK`hjubj)}(hhh](jl)}(hUpdates the specified shaperh]hUpdates the specified shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK^hjubjl)}(hIUpdates or creates the **shaper** on the device specified by **binding**.h](hUpdates or creates the }(hjǀhhhNhNubj)}(h **shaper**h]hshaper}(hjπhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǀubh on the device specified by }(hjǀhhhNhNubj)}(h **binding**h]hbinding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǀubh.}(hjǀhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhK`hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK`hjubj)}(h``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. h](j)}(h ``delete``h]j)}(hj h]hdelete}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKjhjubj)}(hhh](jl)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKghj!ubjl)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hhjYhhubjl)}(hQDevice not supporting any kind of nesting should not provide the group operation.h]hQDevice not supporting any kind of nesting should not provide the group operation.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKEhjYhhubjl)}(hyEach shaper is uniquely identified within the device with a 'handle' comprising the shaper scope and a scope-specific id.h]h}Each shaper is uniquely identified within the device with a ‘handle’ comprising the shaper scope and a scope-specific id.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKHhjYhhubeh}(h]driver-supportah ]h"]driver supportah$]h&]uh1hhjHhhhhhKZubh)}(hhh](h)}(h PHY Supporth]h PHY Support}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_print_status (C function)c.phy_print_statushNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1void phy_print_status (struct phy_device *phydev)h]j )}(h0void phy_print_status(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhKtubj3)}(hphy_print_statush]j9)}(hphy_print_statush]hphy_print_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhKtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjςhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hĵubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjтmodnameN classnameNj j )}j ]j )}j jsbc.phy_print_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)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhKtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhKtubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKthjihhubjg)}(hhh]jl)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthj1hhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhKtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjJhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](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:113: ./drivers/net/phy/phy.chKxhjPubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjuh]hstruct phy_device *phydev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKzhjoubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKuhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhjJhhhNhNubh)}(hhh](j)}(hLint phy_get_rate_matching (struct phy_device *phydev, phy_interface_t iface)h]j )}(hKint phy_get_rate_matching(struct phy_device *phydev, phy_interface_t iface)h](jM )}(hinth]hint}(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_get_rate_matchingh]j9)}(hphy_get_rate_matchingh]hphy_get_rate_matching}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj˃hhhj݃hKubj )}(h2(struct phy_device *phydev, phy_interface_t iface)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]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_get_rate_matchingasbuh1hhjubj")}(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 )}(hphy_interface_t ifaceh](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.phy_get_rate_matchingasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj9)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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'determine if rate matching is supportedh]h'determine if rate matching is supported}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` The phy device to return rate matching for ``phy_interface_t iface`` The interface mode to use **Description** This determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching. **Return** The type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hKhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hKhjubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hjQh]hphy_interface_t iface}(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.chKhjKubj)}(hhh]jl)}(hThe interface mode to useh]hThe interface mode to use}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(hThis determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching.h](h8This determines the type of rate matching (if any) that }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh supports using }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h **iface**h]hiface}(hj΅hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh may be }(hjhhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6 to determine if any interface supports rate matching.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](hThe type of rate matching }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh supports for }(hjhhhNhNubj)}(h **iface**h]hiface}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, or }(hjhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h0int phy_restart_aneg (struct phy_device *phydev)h]j )}(h/int phy_restart_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjhKubj3)}(hphy_restart_anegh]j9)}(hphy_restart_anegh]hphy_restart_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjцhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΆubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjӆmodnameN classnameNj j )}j ]j )}j jsbc.phy_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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjhKubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjkhhubjg)}(hhh]jl)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj3hhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjJhNhNubj)}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjRubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjqubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjRubjl)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hjȇhhhNhNubj)}(h **phydev**h]hphydev}(hjЇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȇubh6. Returns >= 0 on success or negative errno on error.}(hjȇhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h-int phy_aneg_done (struct phy_device *phydev)h]j )}(h,int phy_aneg_done(struct phy_device *phydev)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(h phy_aneg_doneh]j9)}(h phy_aneg_doneh]h phy_aneg_done}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(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_aneg_doneasbuh1hhjBubj")}(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 hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Return the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(hReturn the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](h-Return the auto-negotiation status from this }(hj[hhhNhNubj)}(h **phydev**h]hphydev}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hEbool phy_check_valid (int speed, int duplex, unsigned long *features)h]j )}(hDbool phy_check_valid(int speed, int duplex, unsigned long *features)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_check_validh]j9)}(hphy_check_validh]hphy_check_valid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h0(int speed, int duplex, unsigned long *features)h](j )}(h int speedh](jM )}(hinth]hint}(hj؉hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjԉubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjԉubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԉubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjЉubj )}(h int duplexh](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)}(hduplexh]hduplex}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjЉubj )}(hunsigned long *featuresh](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 )}(hlongh]hlong}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjЉubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hScheck if there is a valid PHY setting which matches speed, duplex, and feature maskh]hScheck if there is a valid PHY setting which matches speed, duplex, and feature mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɊjjɊjjjuh1hhhhjJhNhNubj)}(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)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hspeed to matchh]hspeed to match}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hj+h]h int duplex}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj%ubj)}(hhh]jl)}(hduplex to matchh]hduplex to match}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhjubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hjdh]hunsigned long *features}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj^ubj)}(hhh]jl)}(hA mask of the valid settingsh]hA mask of the valid settings}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjubeh}(h]h ]h"]h$]h&]uh1jhj͊ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj͊ubjl)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj͊ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hIint phy_mii_ioctl (struct phy_device *phydev, struct ifreq *ifr, int cmd)h]j )}(hHint phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM-ubj3)}(h phy_mii_ioctlh]j9)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM-ubj )}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jsbc.phy_mii_ioctlasbuh1hhjubj")}(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 )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[c.phy_mii_ioctlasbuh1hhjubj")}(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)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint cmdh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j 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)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjFhhubah}(h]h ]h"]h$]h&]uh1jfhjًhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjJhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjeubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjÍh]hstruct ifreq *ifr}(hjōhhhNhNubah}(h]h ]h"]h$]h&]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 jjifrequh1hhj؍hM/hj܍ubh for socket ioctl’s}(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!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjh]hint cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM0hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjeubjl)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hEint phy_do_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)h]j )}(hDint phy_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_do_ioctlh]j9)}(h phy_do_ioctlh]h phy_do_ioctl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj؎hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԎubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjԎubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.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}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԎubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjЎubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(hifreqh]hifreq}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]jc.phy_do_ioctlasbuh1hhjFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjЎubj )}(hint cmdh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjȏhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcmdh]hcmd}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chMhjubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjAh]hstruct net_device *dev}(hjChhhNhNubah}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjzh]hstruct ifreq *ifr}(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)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubj)}(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&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhjJhhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj:hMubj3)}(hphy_do_ioctl_runningh]j9)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj:hMubj )}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jOsbc.phy_do_ioctl_runningasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hdevh]hdev}(hj‘hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hstruct ifreq *ifrh](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)}(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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjבubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hint cmdh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hcmdh]hcmd}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(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]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hMhj!hhubjg)}(hhh]jl)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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 struct3h]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)}(hj h]hstruct ifreq *ifr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hj*h]h struct ifreq}(hj,hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhj hMhj$ubh for socket ioctl’s}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjɒubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjch]hint cmd}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj]ubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjɒ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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhjJhhhNhNubh)}(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 hjߓhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߓhhhjhM ubj3)}(hphy_trigger_machineh]j9)}(hphy_trigger_machineh]hphy_trigger_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjߓhhhjhM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jsbc.phy_trigger_machineasbuh1hhjubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j 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$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&]uh1jfhjؓhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chMhjubj)}(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.chMhjޔubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubah}(h]h ]h"]h$]h&]uh1jhjޔubeh}(h]h ]h"]h$]h&]uh1jhjhMhj۔ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hAint phy_ethtool_get_strings (struct phy_device *phydev, u8 *data)h]j )}(h@int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data)h](jM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhjLhM ubj3)}(hphy_ethtool_get_stringsh]j9)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhjLhM ubj )}(h%(struct phy_device *phydev, u8 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(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 jasbc.phy_ethtool_get_stringsasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjǕhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hphydevh]hphydev}(hjԕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(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*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhjLhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhjLhM ubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhM hj3hhubjg)}(hhh]jl)}(hGet the statistic counter namesh]hGet the statistic counter names}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjPhhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhjLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjJhNhNubj)}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](jl)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM$hjoubj)}(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&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhjJhhhNhNubh)}(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 }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj5hM3ubj3)}(hphy_ethtool_get_sset_counth]j9)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj5hM3ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jJsbc.phy_ethtool_get_sset_countasbuh1hhj`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#hhhj5hM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj5hM3ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM3hjhhubjg)}(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&]uh1jfhjhhhj5hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM7hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(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.chM9hj"ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM5hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhjJhhhNhNubh)}(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 hj~hhhV/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!hj~hhhjhMMubj3)}(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&]jPjQuh1j2hj~hhhjhMMubj )}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_statsasbuh1hhjubj")}(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 hjubj )}(hstruct ethtool_stats *statsh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h ethtool_statsh]h ethtool_stats}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jc.phy_ethtool_get_statsasbuh1hhj-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)}(hstatsh]hstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(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}(hjݙhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~hhhjhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhMMubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMMhjwhhubjg)}(hhh]jl)}(hGet the statistic countersh]hGet the statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(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.chMQhj#ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjBubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMOhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMOhj?ubj)}(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.chMPhj{ubj)}(hhh]jl)}(hWhat counters to geth]hWhat counters to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMPhj?ubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjh]h u64 *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMRhjubj)}(hhh]jl)}(hWhere to store the countersh]hWhere to store the counters}(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ϚhMRhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhjJhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(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}(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_start_cable_testasbuh1hhjMubj")}(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 )}(hstruct netlink_ext_ack *extackh](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)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjޛubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_testasbuh1hhjubj")}(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)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMMhj hhubjg)}(hhh]jl)}(hStart a cable testh]hStart a cable test}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjAhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjJhNhNubj)}(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)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhj`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.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&]uh1jhjhMOhj|ubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(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ӜhMQhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h}int phy_start_cable_test_tdr (struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h]j )}(h|int phy_start_cable_test_tdr(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(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}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j;sbc.phy_start_cable_test_tdrasbuh1hhjQubj")}(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 hjMubj )}(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 }(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÝubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubj )}(h#const struct phy_tdr_config *configh](j)}(hj h]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hphy_tdr_configh]hphy_tdr_config}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jc.phy_start_cable_test_tdrasbuh1hhj3ubj")}(h h]h }(hjhhhNhNubah}(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 hjMubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj&hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hMhj hhubjg)}(hhh]jl)}(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&]uh1jfhj hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjMh]hstruct netlink_ext_ack *extack}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjGubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj ubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjh]h#const struct phy_tdr_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h Configuration of the test to runh]h Configuration of the test to run}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhjJhhhNhNubh)}(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 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ܟhhhjhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjܟhhhjhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܟhhhjhMubj3)}(hphy_inband_capsh]j9)}(hphy_inband_capsh]hphy_inband_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjܟhhhjhMubj )}(h6(struct phy_device *phydev, phy_interface_t interface)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_inband_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)}(hphydevh]hphydev}(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.phy_inband_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ܟhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj؟hhhjhMubah}(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}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(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)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjEh]hstruct phy_device *phydev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj?ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj^hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjhh]hstruct phy_device}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjZhMhj^ubeh}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h=``phy_interface_t interface`` the interface mode for the PHY h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]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.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hEint phy_config_inband (struct phy_device *phydev, unsigned int modes)h]j )}(hDint phy_config_inband(struct phy_device *phydev, unsigned int modes)h](jM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhM'ubj3)}(hphy_config_inbandh]j9)}(hphy_config_inbandh]hphy_config_inband}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhM'ubj )}(h/(struct phy_device *phydev, unsigned int modes)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.phy_config_inbandasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjɢhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hphydevh]hphydev}(hj֢hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodesh]hmodes}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjNhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjNhM'ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhM'hj5hhubjg)}(hhh]jl)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(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&]uh1jfhj5hhhjNhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjJhNhNubj)}(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)}(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.chM+hjmubj)}(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&]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:113: ./drivers/net/phy/phy.chM+hjmubj)}(hhh]j)}(h]disables, enables or enables-with-bypass in-band signalling between the PHY and host system. h](j)}(h;disables, enables or enables-with-bypass in-band signallingh]h;disables, enables or enables-with-bypass in-band signalling}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hjubj)}(hhh]jl)}(h between the PHY and host system.h]h between the PHY and host system.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM,hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM,hjubah}(h]h ]h"]h$]h&]uh1jhjmubjl)}(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:113: ./drivers/net/phy/phy.chM.hjmubjl)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/int _phy_start_aneg (struct phy_device *phydev)h]j )}(h.int _phy_start_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMCubj3)}(h_phy_start_anegh]j9)}(h_phy_start_anegh]h_phy_start_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMCubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj٤hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjդubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjդubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc._phy_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}(hj2hhhNhNubah}(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}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjJhNhNubj)}(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)}(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.chMGhjxubj)}(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&]uh1jhjxubjl)}(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.chMFhjxubj)}(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&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhjJhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMcubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjVhMcubj3)}(hphy_start_anegh]j9)}(hphy_start_anegh]hphy_start_aneg}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjVhMcubj )}(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 jksbc.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}(hjަhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjVhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjVhMcubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhMchj=hhubjg)}(hhh]jl)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMchjhhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhjVhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjJhNhNubj)}(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)}(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.chMghj$ubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjIh]hstruct phy_device *phydev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjCubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMdhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMdhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhjJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_speed_downh]j9)}(hphy_speed_downh]hphy_speed_down}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h&(struct phy_device *phydev, bool sync)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsbc.phy_speed_downasbuh1hhj-ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(h bool synch](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsynch]hsync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool sync`` perform action synchronously **Description** Typically used to save energy when waiting for a WoL packet WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]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 Ih](j)}(h``struct phy_device *phydev``h]j)}(hj)h]hstruct phy_device *phydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj#ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjbh]h bool sync}(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)}(hperform action synchronouslyh]hperform action synchronously}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(hX2WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h]hX6WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you’re sure it’s safe with the respective network chip.}(hj©hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhjJhhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j jsbc.phy_speed_upasbuh1hhj*ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubah}(h]h ]h"]h$]h&]jPjQuh1j 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ɪjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjͪubjl)}(h**Description**h]j)}(hj-h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]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}(hjChhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2void phy_start_machine (struct phy_device *phydev)h]j )}(h1void phy_start_machine(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjhMubj3)}(hphy_start_machineh]j9)}(hphy_start_machineh]hphy_start_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjͫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʫubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϫmodnameN classnameNj j )}j ]j )}j jsbc.phy_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 hjnhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjghhubjg)}(hhh]jl)}(h start PHY state machine trackingh]h start PHY state machine tracking}(hj2hhhNhNubah}(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&]uh1jfhjghhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjJhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjNubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjsh]hstruct phy_device *phydev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjmubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubah}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjNubj)}(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.}(hjݬhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjڬubah}(h]h ]h"]h$]h&]uh1jhjǬubeh}(h]h ]h"]h$]h&]uh1jhj٬hMhjĬubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h*void phy_error (struct phy_device *phydev)h]j )}(h)void phy_error(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hMMubj3)}(h phy_errorh]j9)}(h phy_errorh]h phy_error}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj,hMMubj )}(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 jAsb c.phy_errorasbuh1hhjWubj")}(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,hMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMMhjhhubjg)}(hhh]jl)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjޭhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjۭhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj,hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Moves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMNhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMNhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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.}(hjphhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhjJhhhNhNubh)}(hhh](j)}(h6void phy_request_interrupt (struct phy_device *phydev)h]j )}(h5void phy_request_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_request_interrupth]j9)}(hphy_request_interrupth]hphy_request_interrupt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjܮhhhNhNubah}(h]h ]jah"]h$]h&]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_request_interruptasbuh1hhjخ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Ԯ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}(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&]jjjjwjjwjjjuh1hhhhjJhNhNubj)}(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.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&]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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj{ubj)}(hhh]j)}(hRequest and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](j)}(h3Request and enable the interrupt for the given PHY.h]h3Request and enable the interrupt for the given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h]h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.}(hj hhhNhNubah}(h]h ]h"]h$]h&]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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhjJhhhNhNubh)}(hhh](j)}(h3void phy_free_interrupt (struct phy_device *phydev)h]j )}(h2void phy_free_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(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_free_interrupth]j9)}(hphy_free_interrupth]hphy_free_interrupt}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjXhMubj )}(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 jmsbc.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 hjFhhhjXhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhMubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMhj?hhubjg)}(hhh]jl)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjJhNhNubj)}(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)}(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)}(hjKh]hstruct phy_device *phydev}(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)}(htarget phy_device structh]htarget phy_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjBubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhjJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM{ubj3)}(hphy_stoph]j9)}(hphy_stoph]hphy_stop}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsb c.phy_stopasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+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)}(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&]uh1jfhjhhhjhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjβjjβjjjuh1hhhhjJhNhNubj)}(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&]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|hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjҲubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhjJhhhNhNubh)}(hhh](j)}(h*void phy_start (struct phy_device *phydev)h]j )}(h)void phy_start(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:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj_hMubj3)}(h phy_starth]j9)}(h phy_starth]h phy_start}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj_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 jtsb c.phy_startasbuh1hhjubj")}(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 hjMhhhj_hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj_hMubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hMhjFhhubjg)}(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&]uh1jfhjFhhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjJhNhNubj)}(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)}(hj3h]h Parameters}(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.chMhj-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:113: ./drivers/net/phy/phy.chMhjLubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubah}(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)}(hIndicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](j)}(h,Indicates the attached device's readiness toh]h.Indicates the attached device’s readiness to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h]hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2void phy_mac_interrupt (struct phy_device *phydev)h]j )}(h1void phy_mac_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hphy_mac_interrupth]j9)}(hphy_mac_interrupth]hphy_mac_interrupt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j sbc.phy_mac_interruptasbuh1hhj6ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(hMAC says the link has changedh]hMAC says the link has changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjյjjյjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` phy_device struct with changed link **Description** The MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h](jl)}(h**Parameters**h]j)}(hjߵh]h Parameters}(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)}(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&]uh1jhjٵubjl)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjٵubjl)}(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.}(hjOhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhjJhhhNhNubh)}(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}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhV/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!hjzhhhjhMubj3)}(h phy_loopbackh]j9)}(h phy_loopbackh]h phy_loopback}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhMubj )}(h3(struct phy_device *phydev, bool enable, int speed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_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}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(henableh]henable}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](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)}(hspeedh]hspeed}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhMubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjshhubjg)}(hhh]jl)}(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&]uh1jfhjshhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj߷ubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hj!h]h bool enable}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(henable or disable loopback modeh]henable or disable loopback mode}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj߷ubj)}(h.``int speed`` enable loopback mode with speed h](j)}(h ``int speed``h]j)}(hjZh]h int speed}(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)}(henable loopback mode with speedh]henable loopback mode with speed}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhj߷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)}(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)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]j )}(hhhhNhNubah}(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_eee_tx_clock_stop_capableasbuh1hhj: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 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}(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ٹjjjuh1hhhhjJhNhNubj)}(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.chM2hjݹ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.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&]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.chM1hjݹubjl)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjݹubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhjJhhhNhNubh)}(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 hj~hhhV/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!hj~hhhjhMBubj3)}(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&]jPjQuh1j2hj~hhhjhMBubj )}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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_eee_rx_clock_stopasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj9)}(hclk_stop_enableh]hclk_stop_enable}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~hhhjhMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjhMBubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMBhjwhhubjg)}(hhh]jl)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjshhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhjhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubeh}(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: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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjubjl)}(h **Return**h]j)}(hjRh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMHhjubjl)}(h0 or negative error.h]h0 or negative error.}(hjhhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhjJhhhNhNubh)}(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 jsbc.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}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjмubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj̼ubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hclk_stop_enableh]hclk_stop_enable}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(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.chMYhjubj)}(hhh]jl)}(h!PHY may stop the clock during LPIh]h!PHY may stop the clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjýubeh}(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&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.cThM[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.}(hjVhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhjJhhhNhNubh)}(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&]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_get_eee_errasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhjhMuubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjzhhubjg)}(hhh]jl)}(hreport the EEE wake error counth]hreport the EEE wake error count}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuhjBhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjJhNhNubj)}(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)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMyhjaubj)}(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&]uh1jhjhMvhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjh]h Description}(hjÿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMxhjaubjl)}(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.chMxhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hNint phy_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hMint phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_get_eeeh]j9)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j j)sbc.phy_ethtool_get_eeeasbuh1hhj?ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubj )}(hstruct 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 ]j}c.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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjJhNhNubj)}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjRubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjqubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjRubjl)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hjhhhNhNubj)}(h**data**h]hdata}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhjJhhhNhNubh)}(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}(hjBhhhNhNubah}(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 }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjPhMubj3)}(hphy_ethtool_set_eeeh]j9)}(hphy_ethtool_set_eeeh]hphy_ethtool_set_eee}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjPhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)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_ethtool_set_eeeasbuh1hhj{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 hjwubj )}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.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)}(hdatah]hdata}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhjPhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjPhMubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMhj7hhubjg)}(hhh]jl)}(hset EEE supported and statush]hset EEE supported and status}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjohhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it is to program the Advertisement EEE register.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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.chMhjubjl)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhjJhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhV/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!hjhhhhjzhMubj3)}(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&]jPjQuh1j2hjhhhhjzhMubj )}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_set_wolasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jc.phy_ethtool_set_wolasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hwolh]hwol}(hjrhhhNhNubah}(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)}(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&]uh1jfhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Configuration requestedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hConfiguration requestedh]hConfiguration requested}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhjJhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhV/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!hjlhhhj~hMubj3)}(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&]jPjQuh1j2hjlhhhj~hMubj )}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_wolasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]jc.phy_ethtool_get_wolasbuh1hhjubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hwolh]hwol}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj~hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj~hMubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hMhjehhubjg)}(hhh]jl)}(h)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&]uh1jfhjehhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Store the current configuration hereh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``struct ethtool_wolinfo *wol`` Store the current configuration hereh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h$Store the current configuration hereh]h$Store the current configuration here}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhjJhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhV/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!hjphhhjhM&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&]jPjQuh1j2hjphhhjhM&ubj )}(h(struct net_device *ndev)h]j )}(hstruct net_device *ndevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_nway_resetasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hndevh]hndev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(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)}(hRestart auto negotiationh]hRestart auto negotiation}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&hj1hhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjJhNhNubj)}(hS**Parameters** ``struct net_device *ndev`` Network device to restart autoneg forh](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:113: ./drivers/net/phy/phy.chM*hjPubj)}(hhh]j)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](j)}(h``struct net_device *ndev``h]j)}(hjuh]hstruct net_device *ndev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhjJhhhNhNubh)}(hhh](j)}(hEint phy_config_interrupt (struct phy_device *phydev, bool interrupts)h]j )}(hDint phy_config_interrupt(struct phy_device *phydev, bool interrupts)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_config_interrupth]j9)}(hphy_config_interrupth]hphy_config_interrupt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h,(struct phy_device *phydev, bool interrupts)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(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_config_interruptasbuh1hhjubj")}(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 )}(hbool interruptsh](jM )}(hjh]hbool}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj9)}(h interruptsh]h interrupts}(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)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool interrupts`` interrupt flags to configure for this **phydev** **Description** Returns 0 on success or < 0 on error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hj=h]hbool interrupts}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj7ubj)}(hhh]jl)}(h0interrupt flags to configure for this **phydev**h](h&interrupt flags to configure for this }(hjVhhhNhNubj)}(h **phydev**h]hphydev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jkhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhjubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hcunsigned int phy_supported_speeds (struct phy_device *phy, unsigned int *speeds, unsigned int size)h]j )}(hbunsigned int phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_supported_speedsh]j9)}(hphy_supported_speedsh]hphy_supported_speeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(hA(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j j sbc.phy_supported_speedsasbuh1hhj 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)}(hphyh]hphy}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int *speedsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsizeh]hsize}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h5return all speeds currently supported by a phy deviceh]h5return all speeds currently supported by a phy device}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjShhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjJhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjrubj)}(hhh](j)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hjh]hunsigned int *speeds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h$buffer to store supported speeds in.h]h$buffer to store supported speeds in.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hj h]hunsigned int size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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:116: ./drivers/net/phy/phy.chKhjrubjl)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]j )}(h5void phy_sanitize_settings(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_sanitize_settingsh]j9)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_sanitize_settingsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(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 hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]j|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhj~hhubjg)}(hhh]jl)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjFhhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjJhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjeubj)}(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&]uh1jhjeubjl)}(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.chKhjeubj)}(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&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhjJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjBhMubj3)}(h__phy_hwtstamp_geth]j9)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMubj )}(hB(struct phy_device *phydev, struct kernel_hwtstamp_config *config)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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jWsbc.__phy_hwtstamp_getasbuh1hhjmubj")}(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%struct kernel_hwtstamp_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_hwtstamp_getasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjahhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjJhNhNubj)}(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)}(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)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hj/hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhjJhhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhMubj3)}(h__phy_hwtstamp_seth]j9)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhMubj )}(hb(struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_hwtstamp_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%struct kernel_hwtstamp_config *configh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.__phy_hwtstamp_setasbuh1hhj 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)}(hconfigh]hconfig}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(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_setasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(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.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&]uh1jfhjShhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hj?h]hstruct phy_device *phydev}(hjAhhhNhNubah}(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.chMhj9ubj)}(hhh]jl)}(hthe PHY device structureh]hthe PHY device structure}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjxh]h%struct kernel_hwtstamp_config *config}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjrubj)}(hhh]jl)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhjhMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hOvoid phy_queue_state_machine (struct phy_device *phydev, unsigned long jiffies)h]j )}(hNvoid phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_queue_state_machineh]j9)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct phy_device *phydev, unsigned long jiffies)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_queue_state_machineasbuh1hhjDubj")}(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@ubj )}(hunsigned long jiffiesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjiffiesh]hjiffies}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned long jiffies`` Run the state machine after these jiffiesh](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj8ubj)}(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.chMhjWubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(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&]uh1jhjhMhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhjJhhhNhNubh)}(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&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMbubj )}(hl(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj-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}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jsbc.__phy_ethtool_get_phy_statsasbuh1hhj)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)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(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 ]jgc.__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&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hethtool_phy_statsh]hethtool_phy_stats}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]jgc.__phy_ethtool_get_phy_statsasbuh1hhj ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(h phydev_statsh]h phydev_stats}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMbubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMbhjhhubjg)}(hhh]jl)}(h$Retrieve standardized PHY statisticsh]h$Retrieve standardized PHY statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure ``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure **Description** Fetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMchjubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(hW``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure h](j)}(h+``struct ethtool_eth_phy_stats *phy_stats``h]j)}(hj h]h'struct ethtool_eth_phy_stats *phy_stats}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdhjubj)}(hhh]jl)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(hR``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure h](j)}(h*``struct ethtool_phy_stats *phydev_stats``h]j)}(hjCh]h&struct ethtool_phy_stats *phydev_stats}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMehj=ubj)}(hhh]jl)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMehjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMehjubeh}(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: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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hlvoid __phy_ethtool_get_link_ext_stats (struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h]j )}(hkvoid __phy_ethtool_get_link_ext_stats(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMxubj3)}(h __phy_ethtool_get_link_ext_statsh]j9)}(h __phy_ethtool_get_link_ext_statsh]h __phy_ethtool_get_link_ext_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMxubj )}(hF(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h)struct ethtool_link_ext_stats *link_statsh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(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 ]j:"c.__phy_ethtool_get_link_ext_statsasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(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&]jjjj jj jjjuh1hhhhjJhNhNubj)}(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)}(hj4h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMyhj.ubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMyhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMyhj+ubj)}(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)}(hjmh]h)struct ethtool_link_ext_stats *link_stats}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMzhjgubj)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhjJhhhNhNubh)}(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&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_plca_cfgasbuh1hhj&ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(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 ]jdc.phy_ethtool_get_plca_cfgasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hGet PLCA RS configurationh]hGet PLCA RS configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration **Description** Retrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h](jl)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj9ubj)}(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.chMhjXubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubj)}(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&]uh1jhjhMhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj9ubjl)}(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.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhjJhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j j:sbc.plca_check_validasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjubj")}(h h]h }(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}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hstruct netlink_ext_ack *extackh](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)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hMhj hhubjg)}(hhh]jl)}(h(Check PLCA configuration before enablingh]h(Check PLCA configuration before enabling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chMhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj ubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjLh]h#const struct phy_plca_cfg *plca_cfg}(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.chMhjFubj)}(hhh]jl)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h]hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h}int phy_ethtool_set_plca_cfg (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]j )}(h|int phy_ethtool_set_plca_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_set_plca_cfgh]j9)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(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_ethtool_set_plca_cfgasbuh1hhj>ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(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 ]j|c.phy_ethtool_set_plca_cfgasbuh1hhjubj")}(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)}(hplca_cfgh]hplca_cfg}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j|c.phy_ethtool_set_plca_cfgasbuh1hhj;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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hXY**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Sets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hj:h]h#const struct phy_plca_cfg *plca_cfg}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubj)}(hhh]jl)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjsh]hstruct netlink_ext_ack *extack}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjmubj)}(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&]uh1jhjmubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhjJhhhNhNubh)}(hhh](j)}(h\int phy_ethtool_get_plca_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]j )}(h[int phy_ethtool_get_plca_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubj3)}(hphy_ethtool_get_plca_statush]j9)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.ubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_plca_statusasbuh1hhj,ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(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 ]jjc.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 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)}(hGet PLCA RS status informationh]hGet PLCA RS status information}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.hj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjJhNhNubj)}(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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM2hj?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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM/hj^ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM/hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM/hj[ubj)}(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&]uh1jhjhM0hj[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.chM2hj?ubjl)}(hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h]hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM1hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhjJhhhNhNubh)}(hhh](j)}(h5int phy_check_link_status (struct phy_device *phydev)h]j )}(h4int phy_check_link_status(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj+hMubj3)}(hphy_check_link_statush]j9)}(hphy_check_link_statush]hphy_check_link_status}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj+hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j j@sbc.phy_check_link_statusasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubah}(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 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&]uh1jfhjhhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Check for link and whether autoneg was triggered / is running and set state accordinglyh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]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}(hjohhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1void phy_stop_machine (struct phy_device *phydev)h]j )}(h0void phy_stop_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM)ubj3)}(hphy_stop_machineh]j9)}(hphy_stop_machineh]hphy_stop_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM)ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_stop_machineasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j 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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)hj[hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjJhNhNubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hjzubj)}(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&]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:116: ./drivers/net/phy/phy.chM,hjzubj)}(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.}(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&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_barrier (C function)c.phy_write_barrierhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2void phy_write_barrier (struct phy_device *phydev)h]j )}(h1void phy_write_barrier(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjWhM\ubj3)}(hphy_write_barrierh]j9)}(hphy_write_barrierh]hphy_write_barrier}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjWhM\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 jlsbc.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 hj~ubah}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjWhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjWhM\ubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhM\hj>hhubjg)}(hhh]jl)}(h3ensure the last write completed for this PHY deviceh]h3ensure the last write completed for this PHY device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjWhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjJhNhNubj)}(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)}(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.chM`hj%ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjJh]hstruct phy_device *phydev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM]hjDubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM]hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM]hjAubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h6int phy_disable_interrupts (struct phy_device *phydev)h]j )}(h5int phy_disable_interrupts(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMlubj3)}(hphy_disable_interruptsh]j9)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMlubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsbc.phy_disable_interruptsasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(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 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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhjJhhhNhNubh)}(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}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN 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 }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhjIhM}ubj3)}(h phy_interrupth]j9)}(hjFh]h phy_interrupt}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhjIhM}ubj )}(h(int irq, void *phy_dat)h](j )}(hint irqh](jM )}(hinth]hint}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hirqh]hirq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(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 hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhjIhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjIhM}ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhM}hjhhubjg)}(hhh]jl)}(hPHY interrupt handlerh]hPHY interrupt handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjIhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hj@h]hint irq}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM~hj:ubj)}(hhh]jl)}(hinterrupt lineh]hinterrupt line}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM~hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM~hj7ubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjyh]h void *phy_dat}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjsubj)}(hhh]jl)}(hphy_device pointerh]hphy_device pointer}(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:116: ./drivers/net/phy/phy.chMhjubjl)}(hHandle PHY interrupth]hHandle PHY interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]j )}(h4int phy_enable_interrupts(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_enable_interruptsh]j9)}(hphy_enable_interruptsh]hphy_enable_interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(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_enable_interruptsasbuh1hhj2ubj")}(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)}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhjJhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhMubj3)}(hphy_update_statsh]j9)}(hphy_update_statsh]hphy_update_stats}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.phy_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 hjPhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhMubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjIhhubjg)}(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&]uh1jfhjIhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjJhNhNubj)}(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)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj0ubj)}(hhh]j)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. h](j)}(h``struct phy_device *phydev``h]j)}(hjUh]hstruct phy_device *phydev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjOubj)}(hhh]jl)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj0ubjl)}(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.chMhj0ubjl)}(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.chMhj0ubjl)}(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.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hAunsigned int phy_get_next_update_time (struct phy_device *phydev)h]j )}(h@unsigned int phy_get_next_update_time(struct phy_device *phydev)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj hMubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hphy_get_next_update_timeh]j9)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j;sbc.phy_get_next_update_timeasbuh1hhjQubj")}(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 hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(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&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX:**Parameters** ``struct phy_device *phydev`` Pointer to the phy_device structure **Description** This function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used. **Return** The time for the next polling event in jiffiesh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the phy_device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h#Pointer to the phy_device structureh]h#Pointer to the phy_device structure}(hj2hhhNhNubah}(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)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(h **Return**h]j)}(hj{h]hReturn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1void phy_state_machine (struct work_struct *work)h]j )}(h0void phy_state_machine(struct work_struct *work)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMiubj3)}(hphy_state_machineh]j9)}(hphy_state_machineh]hphy_state_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMiubj )}(h(struct work_struct *work)h]j )}(hstruct work_struct *workh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h work_structh]h work_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_state_machineasbuh1hhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hworkh]hwork}(hjVhhhNhNubah}(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.chMihj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h\void phy_ethtool_set_eee_noneg (struct phy_device *phydev, const struct eee_config *old_cfg)h]j )}(h[void phy_ethtool_set_eee_noneg(struct phy_device *phydev, const struct eee_config *old_cfg)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj)hMubj3)}(hphy_ethtool_set_eee_nonegh]j9)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj)hMubj )}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)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_ethtool_set_eee_nonegasbuh1hhjTubj")}(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 hjPubj )}(h const struct eee_config *old_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h eee_configh]h eee_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_set_eee_nonegasbuh1hhjubj")}(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)}(hold_cfgh]hold_cfg}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(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)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjchhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjJhNhNubj)}(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)}(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)}(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.}(hj1hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhjJhhhNhNubh)}(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}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjmhKubjM )}(hcharh]hchar}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhjmhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjmhKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\hhhjmhKubj3)}(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&]jPjQuh1j2hj\hhhjmhKubj )}(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 hj\hhhjmhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjmhKubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhKhjUhhubjg)}(hhh]jl)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjmhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjJhNhNubj)}(h1**Parameters** ``int speed`` Speed of the linkh](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.chKhj'ubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hjLh]h int speed}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjFubj)}(hhh]jl)}(hSpeed of the linkh]hSpeed of the link}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhjJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hduplexh]hduplex}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKHubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKHhjhhubjg)}(hhh]jl)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKHhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h9const char * phy_rate_matching_to_str (int rate_matching)h]j )}(h7const char *phy_rate_matching_to_str(int rate_matching)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKYubjM )}(hcharh]hchar}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKYubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKYubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhKYubj3)}(hphy_rate_matching_to_strh]j9)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKYubj )}(h(int rate_matching)h]j )}(hint rate_matchingh](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)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKYhjhhubjg)}(hhh]jl)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK[hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(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_delayshNtauh1hhjJhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j phy_fix_phy_mode_for_mac_delayssb!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjJhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjrhKnubj3)}(hphy_fix_phy_mode_for_mac_delaysh]j9)}(hjoh]hphy_fix_phy_mode_for_mac_delays}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjrhKnubj )}(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 ]jm!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool mac_txidh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_txidh]hmac_txid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool mac_rxidh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_rxidh]hmac_rxid}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjrhKnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhjrhKnubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhKnhjChhubjg)}(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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnhj^hhubah}(h]h ]h"]h$]h&]uh1jfhjChhhjrhKnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjJhNhNubj)}(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.chKrhj}ubj)}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKshj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hKshjubeh}(h]h ]h"]h$]h&]uh1jhj}ubjl)}(h **Return**h]j)}(hjOh]hReturn}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhj}ubjl)}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h7int phy_interface_num_ports (phy_interface_t interface)h]j )}(h6int phy_interface_num_ports(phy_interface_t interface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_interface_num_portsh]j9)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_interface_num_portsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.h]hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj)hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjJhNhNubj)}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(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.chKhjHubj)}(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)}(hjmh]hphy_interface_t interface}(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.chKhjgubj)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hAvoid phy_set_max_speed (struct phy_device *phydev, u32 max_speed)h]j )}(h@void phy_set_max_speed(struct phy_device *phydev, u32 max_speed)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_set_max_speedh]j9)}(hphy_set_max_speedh]hphy_set_max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h*(struct phy_device *phydev, u32 max_speed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j jsbc.phy_set_max_speedasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(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 max_speedh](h)}(hhh]j9)}(hu32h]hu32}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j>c.phy_set_max_speedasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chKhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(h ``u32 max_speed`` Maximum speed h](j)}(h``u32 max_speed``h]j)}(hjIh]h u32 max_speed}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjCubj)}(hhh]jl)}(h Maximum speedh]h Maximum speed}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h7void phy_resolve_aneg_pause (struct phy_device *phydev)h]j )}(h6void phy_resolve_aneg_pause(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9ubj3)}(hphy_resolve_aneg_pauseh]j9)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM9ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsbc.phy_resolve_aneg_pauseasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(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 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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Once autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjubjl)}(hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h]hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhjJhhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhMOubj3)}(hphy_resolve_aneg_linkmodeh]j9)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjXhMOubj )}(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 jmsbc.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 hjFhhhjXhMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhMOubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMOhj?hhubjg)}(hhh]jl)}(h,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhjXhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjJhNhNubj)}(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)}(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.chMShj&ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjKh]hstruct phy_device *phydev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhjEubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMPhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMPhjBubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hEint __phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]j )}(hDint __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__phy_read_mmdh]j9)}(h__phy_read_mmdh]h__phy_read_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j jsbc.__phy_read_mmdasbuh1hhjubj")}(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 int devadh](jM )}(hinth]hint}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(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 ]jBc.__phy_read_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hGConvenience function for reading a register from an MMD on a given PHY.h]hGConvenience function for reading a register from an MMD on a given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjJhNhNubj)}(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)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj$ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjIh]hstruct phy_device *phydev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjCubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_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)}(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.chMhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@ubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj$ubjl)}(hSame rules as for __phy_read();h]hSame rules as for __phy_read();}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hCint phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]j )}(hBint phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhMubj3)}(h phy_read_mmdh]j9)}(h phy_read_mmdh]h phy_read_mmd}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhMubj )}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.phy_read_mmdasbuh1hhjtubj")}(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 hjpubj )}(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 hjpubj )}(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 ]jc.phy_read_mmdasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhMhj0hhubjg)}(hhh]jl)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(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)}(hj+h]h u32 regnum}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%ubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]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();}(hj|hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhjJhhhNhNubh)}(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&]uh1j8hjubah}(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*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hdevadh]hdevad}(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.__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.}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj- hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjH jjH jjjuh1hhhhjJhNhNubj)}(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)}(hjR h]h Parameters}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjL ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjq h]hstruct phy_device *phydev}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjk 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&]uh1jhjk ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjh ubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hj h]h int devad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjh ubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjh ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj h]hu16 val}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj5 hhhNhNubj)}(h **regnum**h]hregnum}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jkhj1 hMhj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hMhjh ubeh}(h]h ]h"]h$]h&]uh1jhjL ubjl)}(h**Description**h]j)}(hje h]h Description}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjL ubjl)}(h Same rules as for __phy_write();h]h Same 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.chMhjL ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hMint phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hLint phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(h phy_write_mmdh]j9)}(h phy_write_mmdh]h phy_write_mmd}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.phy_write_mmdasbuh1hhj ubj")}(h h]h }(hj% hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj3 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}(hjY hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjU ubj")}(h h]h }(hjg hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU ubj9)}(hdevadh]hdevad}(hju hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjU ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j! c.phy_write_mmdasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j! c.phy_write_mmdasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hvalh]hval}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj, hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjG jjG jjjuh1hhhhjJhNhNubj)}(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)}(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:119: ./drivers/net/phy/phy-core.chMhjK ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjp h]hstruct phy_device *phydev}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjj ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjg ubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hj h]h int devad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjg ubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjg ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj h]hu16 val}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj4 hhhNhNubj)}(h **regnum**h]hregnum}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jkhj0 hMhj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj0 hMhjg ubeh}(h]h ]h"]h$]h&]uh1jhjK 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:119: ./drivers/net/phy/phy-core.chMhjK ubjl)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjK ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhjJhhhNhNubh)}(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}(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.chM$ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM$ubj3)}(hphy_modify_changedh]j9)}(hphy_modify_changedh]hphy_modify_changed}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hM$ubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]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 j sbc.phy_modify_changedasbuh1hhj ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj2hhhNhNubah}(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 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_changedasbuh1hhjTubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]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 hj ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.phy_modify_changedasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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%Function for modifying a PHY registerh]h%Function for modifying a PHY register}(hjAhhhNhNubah}(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 hhhj hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjJhNhNubj)}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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)}(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%hj|ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjyubj)}(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&hjyubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM'hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM'hjyubj)}(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.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 }(hjFhhhNhNubj)}(h **regnum**h]hregnum}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jkhjBhM(hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM(hjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**NOTE**h]j)}(hjvh]hNOTE}(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.chM*hj]ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM*hj]ubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM.hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hKint __phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hJint __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM=ubj3)}(h __phy_modifyh]j9)}(h __phy_modifyh]h __phy_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM=ubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsbc.__phy_modifyasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(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}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]jAc.__phy_modifyasbuh1hhjuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(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 ]jAc.__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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jAc.__phy_modifyasbuh1hhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM=ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM=hjhhubjg)}(hhh]jl)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hj_hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjJhNhNubj)}(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.chMAhj~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.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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM@hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM@hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjNh]hu16 set}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMAhjHubj)}(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 }(hjghhhNhNubj)}(h **regnum**h]hregnum}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jkhjchMAhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMAhjubeh}(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.chMChj~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.chMChj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hIint phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hHint phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMRubj3)}(h phy_modifyh]j9)}(h phy_modifyh]h phy_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMRubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j jsb c.phy_modifyasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jS 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 ]jS c.phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jS c.phy_modifyasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjJhhhNhNubah}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhjqhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(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.chMUhj!ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMUhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMUhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj`h]hu16 set}(hjbhhhNhNubah}(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.chMVhjZubj)}(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 }(hjyhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jkhjuhMVhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMVhjubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hbint __phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(haint __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMiubj3)}(h__phy_modify_mmd_changedh]j9)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMiubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc.__phy_modify_mmd_changedasbuh1hhj'ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.__phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.__phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jec.__phy_modify_mmd_changedasbuh1hhj^ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMihjhhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **Description** Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMmhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMjhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj5h]h int devad}(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.chMkhj/ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMkhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMkhjubj)}(h)``u32 regnum`` register number to modify 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:119: ./drivers/net/phy/phy-core.chMlhjhubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMmhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMnhjubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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.chMphjubjl)}(h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | seth]h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohjubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhjJhhhNhNubh)}(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 hjyhhh[/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!hjyhhhjhMubj3)}(hphy_modify_mmd_changedh]j9)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjhMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jc.phy_modify_mmd_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 ]jc.phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjhMubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjrhhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjJhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjfubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj6h]hu16 mask}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjoh]hu16 set}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(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.chMhjfubjl)}(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.chMhjfubjl)}(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.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hZint __phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hYint __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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_modify_mmdh]j9)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j j/sbc.__phy_modify_mmdasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(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 hjAubj )}(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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]jc.__phy_modify_mmdasbuh1hhj4ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hmaskh]hmask}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(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_mmdasbuh1hhj|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 hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chMhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/ hMhj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hMhj ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjS h]h int devad}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjM ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh hMhji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hMhj ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj h]hu16 mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj h]hu16 set}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj!hhhNhNubj)}(h **regnum**h]hregnum}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjG!h]hNOTE}(hjI!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE!ubah}(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.}(hj]!hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hXint phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hWint phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj!hMubj3)}(hphy_modify_mmdh]j9)}(hphy_modify_mmdh]hphy_modify_mmd}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j j!sbc.phy_modify_mmdasbuh1hhj!ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hphydevh]hphydev}(hj""hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h int devadh](jM )}(hinth]hint}(hj;"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7"ubj")}(h h]h }(hjI"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7"ubj9)}(hdevadh]hdevad}(hjW"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjs"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju"modnameN classnameNj j )}j ]j"c.phy_modify_mmdasbuh1hhjl"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjl"ubj9)}(hregnumh]hregnum}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j"c.phy_modify_mmdasbuh1hhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hmaskh]hmask}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j"c.phy_modify_mmdasbuh1hhj"ubj")}(h h]h }(hj!#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hseth]hset}(hj/#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj!hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhj!hhubjg)}(hhh]jl)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjY#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjV#hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq#jjq#jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj{#h]h Parameters}(hj}#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy#ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhju#ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj#h]hstruct phy_device *phydev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj#ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj#h]h int devad}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj#ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj $h]h u32 regnum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj $ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj$ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj%$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!$hMhj"$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj!$hMhj#ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjE$h]hu16 mask}(hjG$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj?$ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj^$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ$hMhj[$ubah}(h]h ]h"]h$]h&]uh1jhj?$ubeh}(h]h ]h"]h$]h&]uh1jhjZ$hMhj#ubj)}(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.chMhjx$ubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj$hhhNhNubj)}(h **regnum**h]hregnum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jkhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjx$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhju#ubjl)}(h**NOTE**h]j)}(hj$h]hNOTE}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhju#ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhju#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h-int phy_save_page (struct phy_device *phydev)h]j )}(h,int phy_save_page(struct phy_device *phydev)h](jM )}(hinth]hint}(hj %hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj%hMubj3)}(h phy_save_pageh]j9)}(h phy_save_pageh]h phy_save_page}(hj-%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj%hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjI%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE%ubj")}(h h]h }(hjV%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE%ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjg%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji%modnameN classnameNj j )}j ]j )}j j/%sbc.phy_save_pageasbuh1hhjE%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjE%ubj9)}(hphydevh]hphydev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjA%ubah}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj%hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj%hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hMhj%hhubjg)}(hhh]jl)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjJhNhNubj)}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` **Description** Take the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%ubj)}(hhh]j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj &h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj&&hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj0&h]hstruct phy_device}(hj2&hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj.&ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj"&hMhj&&ubeh}(h]h ]h"]h$]h&]uh1jkhj"&hMhj#&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj"&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hjg&h]h Description}(hji&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje&ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%ubjl)}(hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hj}&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h9int phy_select_page (struct phy_device *phydev, int page)h]j )}(h8int phy_select_page(struct phy_device *phydev, int page)h](jM )}(hinth]hint}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj&hMubj3)}(hphy_select_pageh]j9)}(hphy_select_pageh]hphy_select_page}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj&hMubj )}(h%(struct phy_device *phydev, int page)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 'modnameN classnameNj j )}j ]j )}j j&sbc.phy_select_pageasbuh1hhj&ubj")}(h h]h }(hj''hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj5'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hphydevh]hphydev}(hjB'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 hjW'ubj")}(h h]h }(hji'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjW'ubj9)}(hpageh]hpage}(hjw'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjW'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj&hMubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hMhj&hhubjg)}(hhh]jl)}(h8take the bus lock, save the current page, and set a pageh]h8take the bus lock, save the current page, and set a page}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` desired page **Description** Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jl)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj'h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj'hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj(h]hstruct phy_device}(hj(hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj'hMhj'ubeh}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj'ubj)}(h``int page`` desired page h](j)}(h ``int page``h]j)}(hj:(h]hint page}(hj<(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8(ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4(ubj)}(hhh]jl)}(h desired pageh]h desired page}(hjS(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO(hMhjP(ubah}(h]h ]h"]h$]h&]uh1jhj4(ubeh}(h]h ]h"]h$]h&]uh1jhjO(hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hju(h]h Description}(hjw(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs(ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'ubjl)}(hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hFint phy_restore_page (struct phy_device *phydev, int oldpage, int ret)h]j )}(hEint phy_restore_page(struct phy_device *phydev, int oldpage, int ret)h](jM )}(hinth]hint}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj(hMubj3)}(hphy_restore_pageh]j9)}(hphy_restore_pageh]hphy_restore_page}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj(hMubj )}(h1(struct phy_device *phydev, int oldpage, int ret)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j j(sbc.phy_restore_pageasbuh1hhj(ubj")}(h h]h }(hj5)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjC)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hphydevh]hphydev}(hjP)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(h int oldpageh](jM )}(hinth]hint}(hji)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hje)ubj")}(h h]h }(hjw)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje)ubj9)}(holdpageh]holdpage}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hint reth](jM )}(hinth]hint}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(hreth]hret}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhj(hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj(hMubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hMhj(hhubjg)}(hhh]jl)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjJhNhNubj)}(hXL**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() ``int ret`` operation's return code **Description** Release the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations. **Return** **oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj%*h]hstruct phy_device *phydev}(hj'*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj>*hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjH*h]hstruct phy_device}(hjJ*hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjF*ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj:*hMhj>*ubeh}(h]h ]h"]h$]h&]uh1jkhj:*hMhj;*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj:*hMhj*ubj)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hj}*h]h int oldpage}(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.chMhjw*ubj)}(hhh]jl)}(hDthe old page, return value from phy_save_page() or phy_select_page()h]hDthe old page, return value from phy_save_page() or phy_select_page()}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjw*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hj*h]hint ret}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubj)}(hhh]jl)}(hoperation's return codeh]hoperation’s return code}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubjl)}(hRelease the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations.h](h%Release the MDIO bus lock, restoring }(hj+hhhNhNubj)}(h **oldpage**h]holdpage}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubjl)}(h **Return**h]j)}(hj*+h]hReturn}(hj,+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(+ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubjl)}(h**oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](j)}(h **oldpage**h]holdpage}(hjD+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@+ubh' if it was a negative value, otherwise }(hj@+hhhNhNubj)}(h**ret**h]hret}(hjV+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@+ubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hj@+hhhNhNubj)}(h**ret**h]hret}(hjh+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@+ubh.}(hj@+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hDint phy_read_paged (struct phy_device *phydev, int page, u32 regnum)h]j )}(hCint phy_read_paged(struct phy_device *phydev, int page, u32 regnum)h](jM )}(hinth]hint}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hM7ubj3)}(hphy_read_pagedh]j9)}(hphy_read_pagedh]hphy_read_paged}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj+hM7ubj )}(h1(struct phy_device *phydev, int page, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j )}j j+sbc.phy_read_pagedasbuh1hhj+ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj*,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hphydevh]hphydev}(hj7,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hint pageh](jM )}(hinth]hint}(hjP,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjL,ubj")}(h h]h }(hj^,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjL,ubj9)}(hpageh]hpage}(hjl,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j,c.phy_read_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+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hM7ubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hM7hj+hhubjg)}(hhh]jl)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7hj,hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number **Description** Same rules as for phy_read().h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hj,ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(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 }(hj8-hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjB-h]hstruct phy_device}(hjD-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj@-ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj4-hM8hj8-ubeh}(h]h ]h"]h$]h&]uh1jkhj4-hM8hj5-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj4-hM8hj-ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjw-h]hint page}(hjy-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju-ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjq-ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hM9hj-ubah}(h]h ]h"]h$]h&]uh1jhjq-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM9hj-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.chM:hj-ubj)}(hhh]jl)}(hregister numberh]hregister number}(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)}(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;hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhjJhhhNhNubh)}(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}(hj0.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,.hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKubj")}(h h]h }(hj?.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,.hhhj>.hMKubj3)}(hphy_write_pagedh]j9)}(hphy_write_pagedh]hphy_write_paged}(hjQ.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,.hhhj>.hMKubj )}(h:(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjm.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji.ubj")}(h h]h }(hjz.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji.ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j )}j jS.sbc.phy_write_pagedasbuh1hhji.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji.ubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hji.ubj9)}(hphydevh]hphydev}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje.ubj )}(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 hje.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 }(hj5/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hregnumh]hregnum}(hjC/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje.ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj_/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja/modnameN classnameNj j )}j ]j.c.phy_write_pagedasbuh1hhjX/ubj")}(h h]h }(hj}/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX/ubj9)}(hvalh]hval}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,.hhhj>.hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(.hhhj>.hMKubah}(h]j#.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>.hMKhj%.hhubjg)}(hhh]jl)}(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%.hhhj>.hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjJhNhNubj)}(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 }(hj0hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj0h]hstruct phy_device}(hj0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj 0hMLhj0ubeh}(h]h ]h"]h$]h&]uh1jkhj 0hMLhj 0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj 0hMLhj/ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjN0h]hint page}(hjP0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMMhjH0ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjg0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjc0hMMhjd0ubah}(h]h ]h"]h$]h&]uh1jhjH0ubeh}(h]h ]h"]h$]h&]uh1jhjc0hMMhj/ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj0h]h u32 regnum}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMNhj0ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMNhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMNhj/ubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hj0h]hu16 val}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhj0ubj)}(hhh]jl)}(hvalue to writeh]hvalue to write}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMOhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMOhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQhj/ubjl)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hj1hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(haint phy_modify_paged_changed (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]j )}(h`int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj@1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<1hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`ubj")}(h h]h }(hjO1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<1hhhjN1hM`ubj3)}(hphy_modify_paged_changedh]j9)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hja1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<1hhhjN1hM`ubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj}1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy1ubh)}(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 jc1sbc.phy_modify_paged_changedasbuh1hhjy1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjy1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjy1ubj9)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hju1ubj )}(hint pageh](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hpageh]hpage}(hj 2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hju1ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj'2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)2modnameN classnameNj j )}j ]j1c.phy_modify_paged_changedasbuh1hhj 2ubj")}(h h]h }(hjE2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 2ubj9)}(hregnumh]hregnum}(hjS2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hju1ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjo2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjq2modnameN classnameNj j )}j ]j1c.phy_modify_paged_changedasbuh1hhjh2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh2ubj9)}(hmaskh]hmask}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hju1ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j1c.phy_modify_paged_changedasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hseth]hset}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hju1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<1hhhjN1hM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj81hhhjN1hM`ubah}(h]j31ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjN1hM`hj51hhubjg)}(hhh]jl)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`hj 3hhubah}(h]h ]h"]h$]h&]uh1jfhj51hhhjN1hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%3jj%3jjjuh1hhhhjJhNhNubj)}(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)}(hj/3h]h Parameters}(hj13hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-3ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhj)3ubj)}(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)}(hjN3h]hstruct phy_device *phydev}(hjP3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMahjH3ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjg3hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjq3h]hstruct phy_device}(hjs3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjo3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjc3hMahjg3ubeh}(h]h ]h"]h$]h&]uh1jkhjc3hMahjd3ubah}(h]h ]h"]h$]h&]uh1jhjH3ubeh}(h]h ]h"]h$]h&]uh1jhjc3hMahjE3ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj3h]hint page}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMbhj3ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMbhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMbhjE3ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj3h]h u32 regnum}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMchj3ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMchj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMchjE3ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj4h]hu16 mask}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhj4ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj14hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-4hMdhj.4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj-4hMdhjE3ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjQ4h]hu16 set}(hjS4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMehjK4ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf4hMehjg4ubah}(h]h ]h"]h$]h&]uh1jhjK4ubeh}(h]h ]h"]h$]h&]uh1jhjf4hMehjE3ubeh}(h]h ]h"]h$]h&]uh1jhj)3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMghj)3ubjl)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfhj)3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhjJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMwubj3)}(hphy_modify_pagedh]j9)}(hphy_modify_pagedh]hphy_modify_paged}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMwubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 5ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj,5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.5modnameN classnameNj j )}j ]j )}j j4sbc.phy_modify_pagedasbuh1hhj 5ubj")}(h h]h }(hjL5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 5ubj )}(hj h]h*}(hjZ5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 5ubj9)}(hphydevh]hphydev}(hjg5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hint pageh](jM )}(hinth]hint}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|5ubj9)}(hpageh]hpage}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]jH5c.phy_modify_pagedasbuh1hhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]jH5c.phy_modify_pagedasbuh1hhj5ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hmaskh]hmask}(hj,6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjH6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ6modnameN classnameNj j )}j ]jH5c.phy_modify_pagedasbuh1hhjA6ubj")}(h h]h }(hjf6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA6ubj9)}(hseth]hset}(hjt6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hMwubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hMwubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMwhj4hhubjg)}(hhh]jl)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwhj6hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjJhNhNubj)}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj6ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj6h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMxhj6ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj6hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj7h]hstruct phy_device}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj6hMxhj6ubeh}(h]h ]h"]h$]h&]uh1jkhj6hMxhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMxhj6ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj77h]hint page}(hj97hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj57ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMyhj17ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjP7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjL7hMyhjM7ubah}(h]h ]h"]h$]h&]uh1jhj17ubeh}(h]h ]h"]h$]h&]uh1jhjL7hMyhj6ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjp7h]h u32 regnum}(hjr7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn7ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMzhjj7ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMzhj7ubah}(h]h ]h"]h$]h&]uh1jhjj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMzhj6ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj7h]hu16 mask}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj7ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM{hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM{hj6ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj7h]hu16 set}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM|hj7ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM|hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM|hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM~hj6ubjl)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hj38hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM}hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhjJhhhNhNubh)}(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}(hjb8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2ubj")}(h h]h }(hjq8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^8hhhjp8hK2ubj3)}(hgenphy_c45_pma_resumeh]j9)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^8hhhjp8hK2ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j j8sbc.genphy_c45_pma_resumeasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj^8hhhjp8hK2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZ8hhhjp8hK2ubah}(h]jU8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjp8hK2hjW8hhubjg)}(hhh]jl)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hj"9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2hj9hhubah}(h]h ]h"]h$]h&]uh1jfhjW8hhhjp8hK2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:9jj:9jjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjD9h]h Parameters}(hjF9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB9ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK6hj>9ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjc9h]hstruct phy_device *phydev}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK8hj]9ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj|9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK3hjy9ubah}(h]h ]h"]h$]h&]uh1jhj]9ubeh}(h]h ]h"]h$]h&]uh1jhjx9hK8hjZ9ubah}(h]h ]h"]h$]h&]uh1jhj>9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhjJhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hK@ubj3)}(hgenphy_c45_pma_suspendh]j9)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hK@ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(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 j9sbc.genphy_c45_pma_suspendasbuh1hhj9ubj")}(h h]h }(hj8:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjF:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hphydevh]hphydev}(hjS:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hK@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hK@ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hK@hj9hhubjg)}(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@hjz:hhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhj9hK@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhjJhhhNhNubh)}(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}(hj9;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj&;hKNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjU;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ;ubj")}(h h]h }(hjb;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ;ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjs;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjp;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju;modnameN classnameNj j )}j ]j )}j j;;sb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhjQ;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ;ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQ;ubj9)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjM;ubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj&;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;jjjuh1hhhhjJhNhNubj)}(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}(hj2<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKPhj/<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj.<hKThj<ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhjJhhhNhNubh)}(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}(hjs<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjo<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!hjo<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&]jPjQuh1j2hjo<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 hjo<hhhj<hKlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjk<hhhj<hKlubah}(h]jf<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hKlhjh<hhubjg)}(hhh]jl)}(hconfigures a forced speedh]hconfigures a forced speed}(hj3=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhj0=hhubah}(h]h ]h"]h$]h&]uh1jfhjh<hhhj<hKlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjK=jjK=jjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjU=h]h Parameters}(hjW=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS=ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKphjO=ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjt=h]hstruct phy_device *phydev}(hjv=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKrhjn=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&]uh1jhjn=ubeh}(h]h ]h"]h$]h&]uh1jhj=hKrhjk=ubah}(h]h ]h"]h$]h&]uh1jhjO=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h9int genphy_c45_an_config_aneg (struct phy_device *phydev)h]j )}(h8int genphy_c45_an_config_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hMubj3)}(hgenphy_c45_an_config_anegh]j9)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_aneg}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj >hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(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_an_config_anegasbuh1hhj>ubj")}(h h]h }(hjI>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjW>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hphydevh]hphydev}(hjd>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=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}(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>jjjuh1hhhhjJhNhNubj)}(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)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hj>ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj>h]hstruct phy_device *phydev}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj>ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>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:122: ./drivers/net/phy/phy-c45.chMhj>ubjl)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj>ubjl)}(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.}(hj/?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhjJhhhNhNubh)}(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}(hj^?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZ?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj")}(h h]h }(hjm?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ?hhhjl?hM9ubj3)}(hgenphy_c45_an_disable_anegh]j9)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZ?hhhjl?hM9ubj )}(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_an_disable_anegasbuh1hhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hphydevh]hphydev}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubah}(h]h ]h"]h$]h&]jPjQuh1j hjZ?hhhjl?hM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjV?hhhjl?hM9ubah}(h]jQ?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjl?hM9hjS?hhubjg)}(hhh]jl)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj@hhubah}(h]h ]h"]h$]h&]uh1jfhjS?hhhjl?hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6@jj6@jjjuh1hhhhjJhNhNubj)}(hX **Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers. Returns zero on success, negative errno code on failure.h](jl)}(h**Parameters**h]j)}(hj@@h]h Parameters}(hjB@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hj:@ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj_@h]hstruct phy_device *phydev}(hja@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:hjY@ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjx@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjt@hM:hju@ubah}(h]h ]h"]h$]h&]uh1jhjY@ubeh}(h]h ]h"]h$]h&]uh1jhjt@hM:hjV@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:122: ./drivers/net/phy/phy-c45.chM<hj:@ubjl)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hj:@ubjl)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hj:@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhjJhhhNhNubh)}(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}(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.chMNubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj@hMNubj3)}(hgenphy_c45_restart_anegh]j9)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Aubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj@hMNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj+AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'Aubj")}(h h]h }(hj8AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'Aubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjIAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKAmodnameN classnameNj j )}j ]j )}j jAsbc.genphy_c45_restart_anegasbuh1hhj'Aubj")}(h h]h }(hjiAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'Aubj )}(hj h]h*}(hjwAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'Aubj9)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'Aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#Aubah}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhj@hMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhj@hMNubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMNhj@hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjAhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjJhNhNubj)}(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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjAubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjAh]hstruct phy_device *phydev}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhjAubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMOhjBubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjBhMOhjAubah}(h]h ]h"]h$]h&]uh1jhjAubjl)}(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:122: ./drivers/net/phy/phy-c45.chMQhjAubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj@BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjAubjl)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hjOBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhjJhhhNhNubh)}(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}(hj~BhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzBhhhjBhMbubj3)}(h!genphy_c45_check_and_restart_anegh]j9)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzBhhhjBhMbubj )}(h)(struct phy_device *phydev, bool restart)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsb#c.genphy_c45_check_and_restart_anegasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hphydevh]hphydev}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(h bool restarth](jM )}(hjh]hbool}(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)}(hrestarth]hrestart}(hjHChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hjzBhhhjBhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvBhhhjBhMbubah}(h]jqBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMbhjsBhhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjrChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjoChhubah}(h]h ]h"]h$]h&]uh1jfhjsBhhhjBhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjJhNhNubj)}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjCubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjCubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMchjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMchjCubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjCh]h bool restart}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhjCubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMdhjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhMdhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hj'Dh]h Description}(hj)DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Dubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.cMhMfhjCubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj=DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjCubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjLDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhjJhhhNhNubh)}(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}(hj{DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwDhhhjDhMubj3)}(hgenphy_c45_aneg_doneh]j9)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwDhhhjDhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j jDsbc.genphy_c45_aneg_doneasbuh1hhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hjwDhhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjsDhhhjDhMubah}(h]jnDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhjpDhhubjg)}(hhh]jl)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hj;EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8Ehhubah}(h]h ]h"]h$]h&]uh1jfhjpDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSEjjSEjjjuh1hhhhjJhNhNubj)}(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)}(hj]Eh]h Parameters}(hj_EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Eubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjWEubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj|Eh]hstruct phy_device *phydev}(hj~EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjvEubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjvEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjsEubah}(h]h ]h"]h$]h&]uh1jhjWEubjl)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjWEubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjWEubjl)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjWEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhjJhhhNhNubh)}(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}(hj FhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjFhMubj3)}(hgenphy_c45_read_linkh]j9)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hj,FhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Fubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjFhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjHFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDFubj")}(h h]h }(hjUFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDFubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjfFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhFmodnameN classnameNj j )}j ]j )}j j.Fsbc.genphy_c45_read_linkasbuh1hhjDFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDFubj9)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@Fubah}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjFhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhjFhMubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhjFhhubjg)}(hhh]jl)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjJhNhNubj)}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj Gh]hstruct phy_device *phydev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjGubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj%GhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!GhMhj"Gubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhj!GhMhjGubah}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h**Description**h]j)}(hjGGh]h Description}(hjIGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFubjl)}(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.}(hj]GhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhjJhhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjGhMubj3)}(hgenphy_c45_read_lpah]j9)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjGhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j jGsbc.genphy_c45_read_lpaasbuh1hhjGubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hphydevh]hphydev}(hj"HhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubah}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhjGhMubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhjGhhubjg)}(hhh]jl)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hjLHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjIHhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdHjjdHjjjuh1hhhhjJhNhNubj)}(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)}(hjnHh]h Parameters}(hjpHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhHubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjHh]hstruct phy_device *phydev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjHubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjhHubjl)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhHubjl)}(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 }(hjHhhhNhNubj)}(h **phydev**h]hphydev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh. 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.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhjJhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:ubj")}(h h]h }(hj.IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhhhj-IhM:ubj3)}(h'genphy_c45_pma_baset1_read_master_slaveh]j9)}(h'genphy_c45_pma_baset1_read_master_slaveh]h'genphy_c45_pma_baset1_read_master_slave}(hj@IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhjIubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj Jh]hstruct phy_device *phydev}(hj"JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM@hjJubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj9JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hj6Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj5JhM@hjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhjJhhhNhNubh)}(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}(hjzJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvJhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvJhhhjJhMVubj3)}(hgenphy_c45_read_pmah]j9)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvJhhhjJhMVubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jJsbc.genphy_c45_read_pmaasbuh1hhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hphydevh]hphydev}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubah}(h]h ]h"]h$]h&]jPjQuh1j hjvJhhhjJhMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrJhhhjJhMVubah}(h]jmJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMVhjoJhhubjg)}(hhh]jl)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hj:KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhj7Khhubah}(h]h ]h"]h$]h&]uh1jfhjoJhhhjJhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRKjjRKjjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj\Kh]h Parameters}(hj^KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMZhjVKubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj{Kh]hstruct phy_device *phydev}(hj}KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM\hjuKubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhjKubah}(h]h ]h"]h$]h&]uh1jhjuKubeh}(h]h ]h"]h$]h&]uh1jhjKhM\hjrKubah}(h]h ]h"]h$]h&]uh1jhjVKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhjJhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMubj3)}(hgenphy_c45_read_mdixh]j9)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj0LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2LmodnameN classnameNj j )}j ]j )}j jKsbc.genphy_c45_read_mdixasbuh1hhjLubj")}(h h]h }(hjPLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hj^LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hphydevh]hphydev}(hjkLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Lubah}(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)}(hread mdix status from PMAh]hread mdix status from PMA}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjLh]hstruct phy_device *phydev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]j )}(hMhMubj3)}(hgenphy_c45_read_eee_abilitiesh]j9)}(hgenphy_c45_read_eee_abilitiesh]hgenphy_c45_read_eee_abilities}(hjQMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,Mhhhj>MhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjmMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiMubj")}(h h]h }(hjzMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j jSMsbc.genphy_c45_read_eee_abilitiesasbuh1hhjiMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiMubj9)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeMubah}(h]h ]h"]h$]h&]jPjQuh1j hj,Mhhhj>MhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(Mhhhj>MhMubah}(h]j#Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>MhMhj%Mhhubjg)}(hhh]jl)}(hread supported EEE link modesh]hread supported EEE link modes}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhj%Mhhhj>MhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj Nubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj1Nh]hstruct phy_device *phydev}(hj3NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Nubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj+Nubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjJNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjGNubah}(h]h ]h"]h$]h&]uh1jhj+Nubeh}(h]h ]h"]h$]h&]uh1jhjFNhMhj(Nubah}(h]h ]h"]h$]h&]uh1jhj Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_an_config_eee_aneg (C function)c.genphy_c45_an_config_eee_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h=int genphy_c45_an_config_eee_aneg (struct phy_device *phydev)h]j )}(hPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCPmodnameN classnameNj j )}j ]j )}j j Psb&c.genphy_c45_pma_baset1_read_abilitiesasbuh1hhjPubj")}(h h]h }(hjaPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjoPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hphydevh]hphydev}(hj|PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhjOhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjOhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMhjOhhubjg)}(hhh]jl)}(h)read supported baset1 link modes from PMAh]h)read supported baset1 link modes from PMA}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the extended BASE-T1 ability registerh](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjPh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hj"Qh]h Description}(hj$QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Qubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPubjl)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hj8QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hAint genphy_c45_pma_read_ext_abilities (struct phy_device *phydev)h]j )}(h@int genphy_c45_pma_read_ext_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hjgQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjvQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcQhhhjuQhMubj3)}(h!genphy_c45_pma_read_ext_abilitiesh]j9)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_abilities}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjcQhhhjuQhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jQsb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hphydevh]hphydev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubah}(h]h ]h"]h$]h&]jPjQuh1j hjcQhhhjuQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_QhhhjuQhMubah}(h]jZQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuQhMhj\Qhhubjg)}(hhh]jl)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hj'RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj$Rhhubah}(h]h ]h"]h$]h&]uh1jfhj\QhhhjuQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?Rjj?Rjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the PMA/PMD extended ability register (Register 1.11).h](jl)}(h**Parameters**h]j)}(hjIRh]h Parameters}(hjKRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjCRubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjhRh]hstruct phy_device *phydev}(hjjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbRubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}RhMhj~Rubah}(h]h ]h"]h$]h&]uh1jhjbRubeh}(h]h ]h"]h$]h&]uh1jhj}RhMhj_Rubah}(h]h ]h"]h$]h&]uh1jhjCRubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjCRubjl)}(hYRead the supported link modes from the PMA/PMD extended ability register (Register 1.11).h]hYRead the supported link modes from the PMA/PMD extended ability register (Register 1.11).}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjCRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_pma_read_abilities (C function)c.genphy_c45_pma_read_abilitieshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h=int genphy_c45_pma_read_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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjEUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhjJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjUhMubj3)}(hgenphy_c45_config_anegh]j9)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hj VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjUhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Vubj")}(h h]h }(hj4VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Vubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjEVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGVmodnameN classnameNj j )}j ]j )}j j Vsbc.genphy_c45_config_anegasbuh1hhj#Vubj")}(h h]h }(hjeVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Vubj )}(hj h]h*}(hjsVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#Vubj9)}(hphydevh]hphydev}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubah}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhjUhMubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhjUhhubjg)}(hhh]jl)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(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&]uh1jfhjUhhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(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.chMhjVubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjVh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjVubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjVubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjVubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjCWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?Wubj)}(hhh]jl)}(headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h]headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.}(hjUWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQWhMhjRWubah}(h]h ]h"]h$]h&]uh1jhj?Wubeh}(h]h ]h"]h$]h&]uh1jhjQWhMhjYh]h Description}(hj@YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM?hj]ubeh}(h]h ]h"]h$]h&]uh1jhji]ubjl)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMAhji]ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMBhj^ubj)}(hhh]jl)}(hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.}(hj2^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&]uh1jhji]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhjJhhhNhNubh)}(hhh](j)}(h[int genphy_c45_plca_get_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]j )}(hZint genphy_c45_plca_get_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](jM )}(hinth]hint}(hjr^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjn^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!hjn^hhhj^hMubj3)}(hgenphy_c45_plca_get_statush]j9)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjn^hhhj^hMubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j^sbc.genphy_c45_plca_get_statusasbuh1hhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubj )}(hstruct phy_plca_status *plca_sth](j)}(hjh]hstruct}(hj!_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj._hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hphy_plca_statush]hphy_plca_status}(hj?_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjA_modnameN classnameNj j )}j ]j^c.genphy_c45_plca_get_statusasbuh1hhj_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)}(hplca_sth]hplca_st}(hjx_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjn^hhhj^hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjj^hhhj^hMubah}(h]je^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMhjg^hhubjg)}(hhh]jl)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jfhjg^hhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_status *plca_st`` output structure to store the PLCA status **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj_h]hstruct phy_device *phydev}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj_ubj)}(hN``struct phy_plca_status *plca_st`` output structure to store the PLCA status h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hj`h]hstruct phy_plca_status *plca_st}(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)}(h)output structure to store the PLCA statush]h)output structure to store the PLCA status}(hj5`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1`hMhj2`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj1`hMhj_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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hjt`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjp`ubj)}(hhh]jl)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjp`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjm`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hKint genphy_c45_eee_is_active (struct phy_device *phydev, unsigned long *lp)h]j )}(hJint genphy_c45_eee_is_active(struct phy_device *phydev, unsigned long *lp)h](jM )}(hinth]hint}(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_eee_is_activeh]j9)}(hgenphy_c45_eee_is_activeh]hgenphy_c45_eee_is_active}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hMubj )}(h.(struct phy_device *phydev, unsigned long *lp)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#amodnameN classnameNj j )}j ]j )}j j`sbc.genphy_c45_eee_is_activeasbuh1hhj`ubj")}(h h]h }(hjAahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjOahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hphydevh]hphydev}(hj\ahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubj )}(hunsigned long *lph](jM )}(hunsignedh]hunsigned}(hjuahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqaubjM )}(hlongh]hlong}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqaubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqaubj9)}(hlph]hlp}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqaubeh}(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)}(hget EEE statush]hget EEE status}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjahhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``unsigned long *lp`` variable to store LP advertised linkmodes **Description** this function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h](jl)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj%bh]hstruct phy_device *phydev}(hj'bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#bubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj>bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:bhMhj;bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj:bhMhjbubj)}(h@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hj^bh]hunsigned long *lp}(hj`bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\bubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjXbubj)}(hhh]jl)}(h)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(hjwbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjsbhMhjtbubah}(h]h ]h"]h$]h&]uh1jhjXbubeh}(h]h ]h"]h$]h&]uh1jhjsbhMhjbubeh}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubjl)}(hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h]hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hUint genphy_c45_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hTint genphy_c45_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(hgenphy_c45_ethtool_get_eeeh]j9)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hj(chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj9chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;cmodnameN classnameNj j )}j ]j )}j jcsbc.genphy_c45_ethtool_get_eeeasbuh1hhjcubj")}(h h]h }(hjYchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjgchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hphydevh]hphydev}(hjtchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jUcc.genphy_c45_ethtool_get_eeeasbuh1hhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hdatah]hdata}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(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)}(hget EEE supported and statush]hget EEE supported and status}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj dhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&djj&djjjuh1hhhhjJhNhNubj)}(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)}(hj0dh]h Parameters}(hj2dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.dubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj*dubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOdh]hstruct phy_device *phydev}(hjQdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjIdubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjddhMhjedubah}(h]h ]h"]h$]h&]uh1jhjIdubeh}(h]h ]h"]h$]h&]uh1jhjddhMhjFdubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjdh]hstruct ethtool_keee *data}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjdubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFdubeh}(h]h ]h"]h$]h&]uh1jhj*dubjl)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj*dubjl)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj*dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhjJhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehMubj3)}(hgenphy_c45_ethtool_set_eeeh]j9)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hj)ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%eubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAeubj")}(h h]h }(hjRehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAeubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjcehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjeemodnameN classnameNj j )}j ]j )}j j+esbc.genphy_c45_ethtool_set_eeeasbuh1hhjAeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAeubj9)}(hphydevh]hphydev}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=eubj )}(hstruct ethtool_keee *datah](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]jec.genphy_c45_ethtool_set_eeeasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hdatah]hdata}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=eubeh}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhjehMubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjdhhubjg)}(hhh]jl)}(hset EEE supported and statush]hset EEE supported and status}(hj8fhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj5fhhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPfjjPfjjjuh1hhhhjJhNhNubj)}(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)}(hjZfh]h Parameters}(hj\fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXfubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjTfubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyfh]hstruct phy_device *phydev}(hj{fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjsfubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjsfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjpfubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjfh]hstruct ethtool_keee *data}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjfubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjpfubeh}(h]h ]h"]h$]h&]uh1jhjTfubjl)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjTfubjl)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjTfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_oatc14_cable_test_get_status (C function))c.genphy_c45_oatc14_cable_test_get_statushNtauh1hhjJhhhNhNubh)}(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}(hj2ghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRubj")}(h h]h }(hjAghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ghhhj@ghMRubj3)}(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}(hjSghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.ghhhj@ghMRubj )}(h+(struct phy_device *phydev, bool *finished)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjoghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkgubj")}(h h]h }(hj|ghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkgubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jUgsb)c.genphy_c45_oatc14_cable_test_get_statusasbuh1hhjkgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkgubj9)}(hphydevh]hphydev}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjggubj )}(hbool *finishedh](jM )}(hjh]hbool}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hfinishedh]hfinished}(hj hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjggubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.ghhhj@ghMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*ghhhj@ghMRubah}(h]j%gah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@ghMRhj'ghhubjg)}(hhh]jl)}(h/Get status of OATC14 10Base-T1S PHY cable test.h]h/Get status of OATC14 10Base-T1S PHY cable test.}(hj3hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhj0hhhubah}(h]h ]h"]h$]h&]uh1jfhj'ghhhj@ghMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKhjjKhjjjuh1hhhhjJhNhNubj)}(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)}(hjUhh]h Parameters}(hjWhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjShubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjOhubj)}(hhh](j)}(hB``struct phy_device *phydev`` pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjthh]hstruct phy_device *phydev}(hjvhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMThjnhubj)}(hhh]jl)}(h#pointer to the PHY device structureh]h#pointer to the PHY device structure}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMThjhubah}(h]h ]h"]h$]h&]uh1jhjnhubeh}(h]h ]h"]h$]h&]uh1jhjhhMThjkhubj)}(hI``bool *finished`` pointer to a boolean set true if the test is complete h](j)}(h``bool *finished``h]j)}(hjhh]hbool *finished}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUhjhubj)}(hhh]jl)}(h5pointer to a boolean set true if the test is completeh]h5pointer to a boolean set true if the test is complete}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMUhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMUhjkhubeh}(h]h ]h"]h$]h&]uh1jhjOhubjl)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhjOhubjl)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjOhubjl)}(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 ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMZhjOhubjl)}(h **Return**h]j)}(hjih]hReturn}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM^hjOhubjl)}(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).}(hj4ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM_hjOhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/genphy_c45_oatc14_cable_test_start (C function)$c.genphy_c45_oatc14_cable_test_starthNtauh1hhjJhhhNhNubh)}(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}(hjcihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_ihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjrihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ihhhjqihMubj3)}(h"genphy_c45_oatc14_cable_test_starth]j9)}(h"genphy_c45_oatc14_cable_test_starth]h"genphy_c45_oatc14_cable_test_start}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_ihhhjqihMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j jisb$c.genphy_c45_oatc14_cable_test_startasbuh1hhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hphydevh]hphydev}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubah}(h]h ]h"]h$]h&]jPjQuh1j hj_ihhhjqihMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[ihhhjqihMubah}(h]jViah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqihMhjXihhubjg)}(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#jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj jhhubah}(h]h ]h"]h$]h&]uh1jfhjXihhhjqihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jjj;jjjjuh1hhhhjJhNhNubj)}(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)}(hjEjh]h Parameters}(hjGjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?jubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjdjh]hstruct phy_device *phydev}(hjfjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj^jubj)}(hhh]jl)}(h#Pointer to the PHY device structureh]h#Pointer to the PHY device structure}(hj}jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyjhMhjzjubah}(h]h ]h"]h$]h&]uh1jhj^jubeh}(h]h ]h"]h$]h&]uh1jhjyjhMhj[jubah}(h]h ]h"]h$]h&]uh1jhj?jubjl)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?jubjl)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?jubjl)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?jubjl)}(h **Return**h]j)}(hjjh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?jubj.L)}(hhh](j3L)}(h 0 on successh]jl)}(hjjh]h 0 on success}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjjubah}(h]h ]h"]h$]h&]uh1j2Lhjjubj3L)}(h6-EOPNOTSUPP if the PHY does not support HDD capabilityh]jl)}(hjkh]h6-EOPNOTSUPP if the PHY does not support HDD capability}(hj khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjkubah}(h]h ]h"]h$]h&]uh1j2Lhjjubj3L)}(h8A negative error code on I/O or register access failuresh]jl)}(hj kh]h8A negative error code on I/O or register access failures}(hj"khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjkubah}(h]h ]h"]h$]h&]uh1j2Lhjjubeh}(h]h ]h"]h$]h&]jLj uh1j-LhjjhMhj?jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_oatc14_get_sqi_max (C function)c.genphy_c45_oatc14_get_sqi_maxhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h=int genphy_c45_oatc14_get_sqi_max (struct phy_device *phydev)h]j )}(hlh]h Parameters}(hj@lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:xubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjJhhubjl)}(h0Describes the interface between the MAC and PHY.h]h0Describes the interface between the MAC and PHY.}(hjRxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKohjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modes (C function) c.phy_modeshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2const char * phy_modes (phy_interface_t interface)h]j )}(h0const char *phy_modes(phy_interface_t interface)h](j)}(hj h]hconst}(hjzxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvxhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvxhhhjxhKubjM )}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvxhhhjxhKubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvxhhhjxhKubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvxhhhjxhKubj3)}(h phy_modesh]j9)}(h phy_modesh]h phy_modes}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvxhhhjxhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j jxsb c.phy_modesasbuh1hhjxubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(h interfaceh]h interface}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubah}(h]h ]h"]h$]h&]jPjQuh1j hjvxhhhjxhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrxhhhjxhKubah}(h]jmxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhKhjoxhhubjg)}(hhh]jl)}(h;map phy_interface_t enum to device tree binding of phy-modeh]h;map phy_interface_t enum to device tree binding of phy-mode}(hj:yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj7yhhubah}(h]h ]h"]h$]h&]uh1jfhjoxhhhjxhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRyjjRyjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``phy_interface_t interface`` enum phy_interface_t value **Description** maps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](jl)}(h**Parameters**h]j)}(hj\yh]h Parameters}(hj^yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZyubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjVyubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hj{yh]hphy_interface_t interface}(hj}yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjuyubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKhjyubah}(h]h ]h"]h$]h&]uh1jhjuyubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjryubah}(h]h ]h"]h$]h&]uh1jhjVyubjl)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjVyubjl)}(hmaps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](h maps enum }(hjyhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjyh]hphy_interface_t}(hjyhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjyubh defined in this file into the device tree binding of ‘phy-mode’, so that Ethernet device driver can get PHY interface from device tree.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjyhKhjVyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hlong rgmii_clock (int speed)h]j )}(hlong rgmii_clock(int speed)h](jM )}(hlongh]hlong}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'ubj")}(h h]h }(hj-zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhj,zhM'ubj3)}(h rgmii_clockh]j9)}(h rgmii_clockh]h rgmii_clock}(hj?zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;zubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhj,zhM'ubj )}(h (int speed)h]j )}(h int speedh](jM )}(hinth]hint}(hj[zhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWzubj")}(h h]h }(hjizhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWzubj9)}(hspeedh]hspeed}(hjwzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSzubah}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhj,zhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhj,zhM'ubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,zhM'hjzhhubjg)}(hhh]jl)}(h map link speed to the clock rateh]h map link speed to the clock rate}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjzhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhj,zhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjJhNhNubj)}(hX_**Parameters** ``int speed`` link speed value **Description** maps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled. **Return** clock rate or negative errnoh](jl)}(h**Parameters**h]j)}(hjzh]h Parameters}(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.hhM+hjzubj)}(hhh]j)}(h``int speed`` link speed value h](j)}(h ``int speed``h]j)}(hjzh]h int speed}(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)}(hlink speed valueh]hlink speed value}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM(hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM(hjzubah}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hj{h]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjzubjl)}(hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.h]hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.}(hj3{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjzubjl)}(h **Return**h]j)}(hjD{h]hReturn}(hjF{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB{ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjzubjl)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjZ{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hmdio_bus_statsh]j )}(hstruct mdio_bus_statsh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hM4ubj3)}(hmdio_bus_statsh]j9)}(hj{h]hmdio_bus_stats}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{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)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhj{hhubah}(h]h ]h"]h$]h&]uh1jfhj~{hhhj{hM4ubeh}(h]h ](jstructeh"]h$]h&]jjjj{jj{jjjuh1hhhhjJhNhNubj)}(hX**Definition**:: struct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; }; **Members** ``transfers`` Total number of transfers, i.e. **writes** + **reads** ``errors`` Number of MDIO transfers that returned an error ``writes`` Number of write transfers ``reads`` Number of read transfers ``syncp`` Synchronisation for incrementing statisticsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh:}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj{ubj)}(hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };h]hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };}hj|sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj{ubjl)}(h **Members**h]j)}(hj|h]hMembers}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hj{ubj)}(hhh](j)}(hE``transfers`` Total number of transfers, i.e. **writes** + **reads** h](j)}(h ``transfers``h]j)}(hj8|h]h transfers}(hj:|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhj2|ubj)}(hhh]jl)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hjQ|hhhNhNubj)}(h **writes**h]hwrites}(hjY|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ|ubh + }(hjQ|hhhNhNubj)}(h **reads**h]hreads}(hjk|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ|ubeh}(h]h ]h"]h$]h&]uh1jkhjM|hMRhjN|ubah}(h]h ]h"]h$]h&]uh1jhj2|ubeh}(h]h ]h"]h$]h&]uh1jhjM|hMRhj/|ubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hj|h]herrors}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj|ubj)}(hhh]jl)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMShj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMShj/|ubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hj|h]hwrites}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj|ubj)}(hhh]jl)}(hNumber of write transfersh]hNumber of write transfers}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMThj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMThj/|ubj)}(h#``reads`` Number of read transfers h](j)}(h ``reads``h]j)}(hj}h]hreads}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj|ubj)}(hhh]jl)}(hNumber of read transfersh]hNumber of read transfers}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMUhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMUhj/|ubj)}(h5``syncp`` Synchronisation for incrementing statisticsh](j)}(h ``syncp``h]j)}(hj<}h]hsyncp}(hj>}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj6}ubj)}(hhh]jl)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hjU}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjR}ubah}(h]h ]h"]h$]h&]uh1jhj6}ubeh}(h]h ]h"]h$]h&]uh1jhjQ}hMUhj/|ubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhjJhhhNhNubh)}(hhh](j)}(hmii_bush]j )}(hstruct mii_bush](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hM\ubj3)}(hmii_bush]j9)}(hj}h]hmii_bus}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hM\ubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hM\hj}hhubjg)}(hhh]jl)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj}hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hM\ubeh}(h]h ](jstructeh"]h$]h&]jjjj}jj}jjjuh1hhhhjJhNhNubj)}(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}(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.hhMehj}ubj)}(hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };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; };}hj~sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj}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``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hjE~h]howner}(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.hhMdhj?~ubj)}(hhh]jl)}(hWho owns this deviceh]hWho owns this device}(hj^~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ~hMdhj[~ubah}(h]h ]h"]h$]h&]uh1jhj?~ubeh}(h]h ]h"]h$]h&]uh1jhjZ~hMdhj<~ubj)}(hA``name`` User friendly name for this MDIO device, or driver name 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.hhMehjx~ubj)}(hhh]jl)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMehj~ubah}(h]h ]h"]h$]h&]uh1jhjx~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMehj<~ubj)}(hB``id`` Unique identifier for this bus, typical from bus hierarchy h](j)}(h``id``h]j)}(hj~h]hid}(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.hhMfhj~ubj)}(hhh]jl)}(h:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMfhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMfhj<~ubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hj~h]hpriv}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj~ubj)}(hhh]jl)}(hDriver private datah]hDriver private data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMghj<~ubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hj)h]hread}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhj#ubj)}(hhh]jl)}(h"Perform a read transfer on the bush]h"Perform a read transfer on the bus}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMqhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMqhj<~ubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjbh]hwrite}(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.hhMshj\ubj)}(hhh]jl)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMshjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMshj<~ubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hjh]hread_c45}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubj)}(hhh]jl)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj<~ubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hjh]h write_c45}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj<~ubj)}(h%``reset`` Perform a reset of the bus h](j)}(h ``reset``h]j)}(hj h]hreset}(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)}(hPerform a reset of the bush]hPerform a reset of the bus}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMzhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMzhj<~ubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hjFh]hstats}(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)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(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)}(hY``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time h](j)}(h ``mdio_lock``h]j)}(hjh]h mdio_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jl)}(hJA lock to ensure that only one thing can read/write the MDIO bus at a timeh]hJA lock to ensure that only one thing can read/write the MDIO bus at a time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<~ubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjh]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hParent device of this bush]hParent device of this bus}(hjҀhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj΀hMhjπubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj΀hMhj<~ubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hState of bus structureh]hState of bus structure}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<~ubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hj+h]hdev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj%ubj)}(hhh]jl)}(hKernel device representationh]hKernel device representation}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj<~ubj)}(h-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjdh]hmdio_map}(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)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj<~ubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hjh]hphy_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<~ubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjցh]hphy_ignore_ta_mask}(hj؁hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԁubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjЁubj)}(hhh]jl)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjЁubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<~ubj)}(hW``irq`` An array of interrupts, each PHY's interrupt at the index matching its address h](j)}(h``irq``h]j)}(hjh]hirq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jl)}(hNAn array of interrupts, each PHY's interrupt at the index matching its addressh]hPAn array of interrupts, each PHY’s interrupt at the index matching its address}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj<~ubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hjIh]hreset_delay_us}(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&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj<~ubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjh]hreset_post_delay_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubj)}(hhh]jl)}(h)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<~ubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjh]h reset_gpiod}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hjԂhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjЂhMhjтubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЂhMhj<~ubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hjh]h shared_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h$protect access to the shared elementh]h$protect access to the shared element}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj<~ubj)}(h-``shared`` shared state across different PHYsh](j)}(h ``shared``h]j)}(hj-h]hshared}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj'ubj)}(hhh]jl)}(h"shared state across different PHYsh]h"shared state across different PHYs}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj<~ubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubjl)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhjJhhhNhNubh)}(hhh](j)}(h%struct mii_bus * mdiobus_alloc (void)h]j )}(h#struct mii_bus *mdiobus_alloc(void)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj̓hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʃubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjσmodnameN classnameNj j )}j ]j )}j mdiobus_allocsbc.mdiobus_allocasbuh1hhjhhhjhMubj")}(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 mdiobus_alloch]j9)}(hjh]h mdiobus_alloc}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubah}(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)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjOhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(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)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjnubjl)}(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.hhKhjnubjl)}(hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h]hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h phy_stateh]j )}(henum phy_stateh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(h phy_stateh]j9)}(hj h]h phy_state}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(hPHY state machine states:h]hPHY state machine states:}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jenumeh"]h$]h&]jjjjmjjmjjjuh1hhhhjJhNhNubj)}(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}(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)}(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)}(hjh]hPHY_DOWN}(hjhhhNhNubah}(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 device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY**h](hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to }(hjhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP h](j)}(h ``PHY_READY``h]j)}(hjޅh]h PHY_READY}(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)}(hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UPh]hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj؅ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(ha``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** h](j)}(h``PHY_HALTED``h]j)}(hjh]h PHY_HALTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hQPHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP**h](hGPHY is up, but no polling or interrupts are done. - phy_start moves to }(hj1hhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(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)}(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)}(hj`h]h PHY_ERROR}(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)}(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 }(hjyhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(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)}(h``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** h](j)}(h ``PHY_UP``h]j)}(hjh]hPHY_UP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING**h](hfThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to }(hjhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjɆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjۆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_RUNNING``h]j)}(hjh]h PHY_RUNNING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED**h](hdPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set }(hjhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if link goes down - phy_stop moves to }(hjhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj\h]h PHY_NOLINK}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh]jl)}(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 }(hjuhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh( if link comes back - phy_stop moves to }(hjuhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(hX;``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](j)}(h``PHY_CABLETEST``h]j)}(hjh]h PHY_CABLETEST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hX)PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](hXPHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to }(hjχhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjׇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjχubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj̇ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˇhMhjubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_c45_device_idsh]j )}(hstruct phy_c45_device_idsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj+hM ubj3)}(hphy_c45_device_idsh]j9)}(hjh]hphy_c45_device_ids}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj+hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj+hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hM hjhhubjg)}(hhh]jl)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(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&]uh1jfhjhhhj+hM ubeh}(h]h ](jstructeh"]h$]h&]jjjjxjjxjjjuh1hhhhjJhNhNubj)}(hXT**Definition**:: struct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; }; **Members** ``devices_in_package`` IEEE 802.3 devices in package register value. ``mmds_present`` bit vector of MMDs present. ``device_ids`` The device identifier for each present device.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj|ubj)}(hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };h]hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hj͈h]hdevices_in_package}(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 hjLjubj)}(hhh]jl)}(h-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjLjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjĈubj)}(h-``mmds_present`` bit vector of MMDs present. h](j)}(h``mmds_present``h]j)}(hjh]h mmds_present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(hbit vector of MMDs present.h]hbit vector of MMDs present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjĈubj)}(h=``device_ids`` The device identifier for each present device.h](j)}(h``device_ids``h]j)}(hj?h]h device_ids}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj9ubj)}(hhh]jl)}(h.The device identifier for each present device.h]h.The device identifier for each present device.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM hjĈubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_oatc14_sqi_capability (C struct)c.phy_oatc14_sqi_capabilityhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_oatc14_sqi_capabilityh]j )}(h struct phy_oatc14_sqi_capabilityh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_oatc14_sqi_capabilityh]j9)}(hjh]hphy_oatc14_sqi_capability}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Definition**:: struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; }; **Members** ``updated`` Indicates whether the SQI capability fields have been updated. ``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. ``sqiplus_bits`` Bits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(h]struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; };h]h]struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hj)h]hMembers}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjubj)}(hhh](j)}(hK``updated`` Indicates whether the SQI capability fields have been updated. h](j)}(h ``updated``h]j)}(hjHh]hupdated}(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>Indicates whether the SQI capability fields have been updated.h]h>Indicates whether the SQI capability fields have been updated.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubj)}(hX``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. h](j)}(h ``sqi_max``h]j)}(hjh]hsqi_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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.}(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&]uh1jhjhMhj?ubj)}(hXv``sqiplus_bits`` Bits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h](j)}(h``sqiplus_bits``h]j)}(hjh]h sqiplus_bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjubj)}(hhh]jl)}(hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h]hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)}(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ЊhM#hj?ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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'hjJhhubjl)}(hThis structure is used by the OATC14 10Base-T1S PHY driver to store the SQI and SQI+ capability information retrieved from the PHY.h]hThis structure is used by the OATC14 10Base-T1S PHY driver to store the SQI and SQI+ capability information retrieved from the PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h phy_deviceh]j )}(hstruct phy_deviceh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjIhM*ubj3)}(h phy_deviceh]j9)}(hj6h]h phy_device}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjIhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjIhM*ubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhM*hj1hhubjg)}(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&]uh1jfhj1hhhjIhM*ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX!**Definition**:: struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; }; **Members** ``mdio`` MDIO bus this PHY is on ``drv`` Pointer to the driver for this PHY instance ``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. ``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. ``phy_id`` UID for this device found during discovery ``c45_ids`` 802.3-c45 Device Identifiers if is_c45. ``is_c45`` Set to true if this PHY uses clause 45 addressing. ``is_internal`` Set to true if this PHY is internal to a MAC. ``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. ``is_gigabit_capable`` Set to true if PHY supports 1000Mbps ``has_fixups`` Set to true if this PHY has fixups/quirks. ``suspended`` Set to true if this PHY has been suspended successfully. ``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. ``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. ``loopback_enabled`` Set true if this PHY has been loopbacked successfully. ``downshifted_rate`` Set true if link speed has been downshifted. ``is_on_sfp_module`` Set true if PHY is located on an SFP module. ``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY ``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. ``is_genphy_driven`` PHY is driven by one of the generic PHY drivers ``autoneg`` Flag autoneg being used ``link`` Current link state ``autoneg_complete`` Flag auto negotiation of the link has completed ``pause`` Current pause ``asym_pause`` Current asymmetric pause ``interrupts`` Flag interrupts have been enabled ``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed ``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume ``default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one ``rate_matching`` Current rate matching mode ``state`` State of the PHY for management purposes ``dev_flags`` Device-specific flags used by the PHY driver. ``interface`` enum phy_interface_t value ``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. ``speed`` Current link speed ``duplex`` Current duplex ``port`` Current port ``master_slave_get`` Current master/slave advertisement ``master_slave_set`` User requested master/slave configuration ``master_slave_state`` Current master/slave configuration ``supported`` Combined MAC/PHY supported linkmodes ``advertising`` Currently advertised linkmodes ``lp_advertising`` Current link partner advertised linkmodes ``adv_old`` Saved advertised while power saving for WoL ``supported_eee`` supported PHY EEE linkmodes ``advertising_eee`` Currently advertised EEE linkmodes ``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised ``enable_tx_lpi`` When True, MAC should transmit LPI to PHY ``eee_active`` phylib private state, indicating that EEE has been negotiated ``autonomous_eee_disabled`` Set when autonomous EEE has been disabled, used to re-apply after PHY soft reset ``eee_cfg`` User configuration of EEE ``host_interfaces`` PHY interface modes supported by host ``phy_led_triggers`` Array of LED triggers ``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** ``last_triggered`` last LED trigger for link speed ``led_link_trigger`` LED trigger for link up/down ``leds`` list of PHY LED structures ``irq`` IRQ number of the PHY's interrupt (-1 if none) ``priv`` Pointer to driver private data ``shared`` Pointer to private data shared by phys in one package ``skb`` Netlink message for cable diagnostics ``ehdr`` nNtlink header for cable diagnostics ``nest`` Netlink nest used for cable diagnostics ``state_queue`` Work queue for state machine ``lock`` Mutex for serialization access to PHY ``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached ``sfp_bus`` SFP bus attached to this PHY's fiber port ``phylink`` Pointer to phylink instance for this PHY ``attached_dev`` The attached enet driver's device instance ptr ``mii_ts`` Pointer to time stamper callbacks ``psec`` Pointer to Power Sourcing Equipment control struct ``ports`` List of PHY ports structures ``n_ports`` Number of ports currently attached to the PHY ``max_n_ports`` Max number of ports this PHY can expose ``mdix`` Current crossover ``mdix_ctrl`` User setting of crossover ``pma_extable`` Cached value of PMA/PMD Extended Abilities Register ``link_down_events`` Number of times link was lost ``phy_link_change`` Callback for phylink for notification of link change ``adjust_link`` Callback for the enet controller to respond to changes: in the link state. ``macsec_ops`` MACsec offloading ops. ``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjubj)}(hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; };h]hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjubjl)}(h **Members**h]j)}(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!``mdio`` MDIO bus this PHY is on h](j)}(h``mdio``h]j)}(hjh]hmdio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjubj)}(hhh]jl)}(hMDIO bus this PHY is onh]hMDIO bus this PHY is on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(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.hhM3hjubj)}(hhh]jl)}(h+Pointer to the driver for this PHY instanceh]h+Pointer to the driver for this PHY instance}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM3hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM3hjubj)}(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)}(hj]h]hdevlink}(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.hhM5hjWubj)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM5hjubj)}(h``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. h](j)}(h ``phyindex``h]j)}(hjh]hphyindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hjubj)}(hhh]jl)}(hUnique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet.h]hUnique id across the phy’s parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn’t assigned an id yet.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjˌubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h4``c45_ids`` 802.3-c45 Device Identifiers if is_c45. h](j)}(h ``c45_ids``h]j)}(hj h]hc45_ids}(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'802.3-c45 Device Identifiers if is_c45.h]h'802.3-c45 Device Identifiers if is_c45.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h>``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjCh]his_c45}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hj=ubj)}(hhh]jl)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM;hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM;hjubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hj|h]h is_internal}(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.hhM<hjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(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.}(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<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hjh]his_gigabit_capable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubj)}(hhh]jl)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hj'h]h has_fixups}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hj!ubj)}(hhh]jl)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM?hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM?hjubj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hj`h]h suspended}(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.hhM@hjZubj)}(hhh]jl)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM@hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM@hjubj)}(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&]uh1jhjhMAhjubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. bh](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&]uh1jhjhMBhjubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hj h]hloopback_enabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjubj)}(hhh]jl)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMChj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMChjubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjDh]hdownshifted_rate}(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.hhMDhj>ubj)}(hhh]jl)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMDhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMDhjubj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hj}h]his_on_sfp_module}(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.hhMEhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(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ˏhMFhjubj)}(hU``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. h](j)}(h``wol_enabled``h]j)}(hjh]h wol_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubj)}(hhh]jl)}(hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.h]hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hj)h]his_genphy_driven}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMIhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMIhjubj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hjbh]hautoneg}(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.hhMnhj\ubj)}(hhh]jl)}(hFlag autoneg being usedh]hFlag autoneg being used}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMnhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMnhjubj)}(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&]uh1jhjhMphjubj)}(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&]uh1jhjhMqhjubj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hj h]hpause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_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_hjubj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hjFh]h asym_pause}(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)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hM`hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM`hjubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjh]h interrupts}(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.hhMuhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(h}``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed h](j)}(h``irq_suspended``h]j)}(hjh]h irq_suspended}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumedh]hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed}(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͑hMwhjubj)}(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}(hj hhhNhNubah}(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&]uh1jhjhMyhjubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hj,h]hdefault_timestamp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM{hjubj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hjfh]h rate_matching}(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.hhMohj`ubj)}(hhh]jl)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMohj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMohjubj)}(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&]uh1jhjhMJhjubj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hjؒh]h dev_flags}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֒ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjҒubj)}(hhh]jl)}(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&]uh1jhjhMKhjubj)}(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|hj ubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM|hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM|hjubj)}(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)}(hjJh]hpossible_interfaces}(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]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.}(hjchhhNhNubah}(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&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM~hjubj)}(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\hj~ubj)}(hhh]jl)}(hCurrent link speedh]hCurrent link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjh]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubj)}(hhh]jl)}(hCurrent duplexh]hCurrent duplex}(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``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&]uh1jkhj hM^hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM^hjubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hj/h]hmaster_slave_get}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj)ubj)}(hhh]jl)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h?``master_slave_set`` User requested master/slave configuration h](j)}(h``master_slave_set``h]j)}(hjhh]hmaster_slave_set}(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)User requested master/slave configurationh]h)User requested master/slave configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hjh]hmaster_slave_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h"Current master/slave configurationh]h"Current master/slave configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hjڔh]h supported}(hjܔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؔubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjԔubj)}(hhh]jl)}(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&]uh1jhjhMahjubj)}(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.hhMbhj ubj)}(hhh]jl)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMbhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMbhjubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjLh]hlp_advertising}(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.hhMkhjFubj)}(hhh]jl)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMkhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMkhjubj)}(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&]uh1jhjhMchjubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjh]h supported_eee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjubj)}(hhh]jl)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hjוhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjӕhMdhjԕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӕhMdhjubj)}(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&]uh1jkhj hMehj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMehjubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hj0h]heee_disabled_modes}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhj*ubj)}(hhh]jl)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMmhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMmhjubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjih]h enable_tx_lpi}(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.hhMfhjcubj)}(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&]uh1jkhj~hMfhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMfhjubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hjh]h eee_active}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjubj)}(hhh]jl)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(hm``autonomous_eee_disabled`` Set when autonomous EEE has been disabled, used to re-apply after PHY soft reset h](j)}(h``autonomous_eee_disabled``h]j)}(hjۖh]hautonomous_eee_disabled}(hjݖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٖubah}(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&]uh1jhjhMihjubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjh]heee_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubj)}(hhh]jl)}(hUser configuration of EEEh]hUser configuration of EEE}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMjhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMjhjubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hjNh]hhost_interfaces}(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.hhMlhjHubj)}(hhh]jl)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMlhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMlhjubj)}(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&]uh1jhjhMhjubj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hjh]hphy_num_led_triggers}(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*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hjٗhhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٗubeh}(h]h ]h"]h$]h&]uh1jkhj՗hMhj֗ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj՗hMhjubj)}(h3``last_triggered`` last LED trigger for link speed h](j)}(h``last_triggered``h]j)}(hjh]hlast_triggered}(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)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hj@h]hled_link_trigger}(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)}(hLED trigger for link up/downh]hLED trigger for link up/down}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjyh]hleds}(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)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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ǘhMRhjubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPointer to driver private datah]hPointer to driver private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h.``skb`` Netlink message for cable diagnostics h](j)}(h``skb``h]j)}(hj]h]hskb}(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.hhMhjWubj)}(hhh]jl)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hjh]h state_queue}(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)}(hWork queue for state machineh]hWork queue for state machine}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hjAh]hlock}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;ubj)}(hhh]jl)}(h%Mutex for serialization access to PHYh]h%Mutex for serialization access to PHY}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(hK``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached h](j)}(h``sfp_bus_attached``h]j)}(hjzh]hsfp_bus_attached}(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.hhMThjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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ȚhMUhjubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubj)}(hhh]jl)}(h(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(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.hhMVhjubj)}(hhh]jl)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMVhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMVhjubj)}(h-``mii_ts`` Pointer to time stamper callbacks h](j)}(h ``mii_ts``h]j)}(hj^h]hmii_ts}(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.hhMhjXubj)}(hhh]jl)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h:``n_ports`` Number of ports currently attached to the PHY h](j)}(h ``n_ports``h]j)}(hj h]hn_ports}(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-Number of ports currently attached to the PHYh]h-Number of ports currently attached to the PHY}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``max_n_ports`` Max number of ports this PHY can expose h](j)}(h``max_n_ports``h]j)}(hjBh]h max_n_ports}(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)}(h'Max number of ports this PHY can exposeh]h'Max number of ports this PHY can expose}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h``mdix`` Current crossover h](j)}(h``mdix``h]j)}(hj{h]hmdix}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjuubj)}(hhh]jl)}(hCurrent crossoverh]hCurrent crossover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(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ɜhMshjubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hjh]h pma_extable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjubj)}(hhh]jl)}(h3Cached value of PMA/PMD Extended Abilities Registerh]h3Cached value of PMA/PMD Extended Abilities Register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(h3``link_down_events`` Number of times link was lost h](j)}(h``link_down_events``h]j)}(hj&h]hlink_down_events}(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)}(hNumber of times link was losth]hNumber of times link was lost}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(hI``phy_link_change`` Callback for phylink for notification of link change h](j)}(h``phy_link_change``h]j)}(hj_h]hphy_link_change}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjYubj)}(hhh]jl)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMYhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMYhjubj)}(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&]uh1jhjhMXhjubj)}(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&]uh1jhjhMZhjubj)}(hN``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYh](j)}(h``oatc14_sqi_capability``h]j)}(hj h]hoatc14_sqi_capability}(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)}(h4SQI capability information for OATC14 10Base-T1S PHYh]h4SQI capability information for OATC14 10Base-T1S PHY}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(h**Description**h]j)}(hjNh]h Description}(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.hhMhjJhhubj)}(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]j.L)}(hhh](j3L)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjkubah}(h]h ]h"]h$]h&]uh1j2Lhjhubj3L)}(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&]uh1j2Lhjhubj3L)}(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&]uh1j2Lhjhubeh}(h]h ]h"]h$]h&]jLj;uh1j-Lhj}hMKhjdubah}(h]h ]h"]h$]h&]uh1jhj}hMKhjJhhubjl)}(hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interruptsh]hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjJhhubjl)}(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.hhMUhjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_tdr_configh]j )}(hstruct phy_tdr_configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM[ubj3)}(hphy_tdr_configh]j9)}(hjh]hphy_tdr_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM[ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM[hjhhubjg)}(hhh]jl)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hj7hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM[ubeh}(h]h ](jstructeh"]h$]h&]jjjjRjjRjjjuh1hhhhjJhNhNubj)}(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}(hj^hhhNhNubah}(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>hjVubj)}(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; };}hjwsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjVubjl)}(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.hhMGhjVubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjh]hfirst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjubj)}(hhh]jl)}(h(Distance for first data collection pointh]h(Distance for first data collection point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hjh]hlast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޟubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjڟubj)}(hhh]jl)}(h'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&]uh1jhjڟubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hjh]hstep}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(hhh]jl)}(h#Step between data collection pointsh]h#Step between data collection points}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM?hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM?hjubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hjRh]hpair}(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 of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(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?hjubeh}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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.hhMChjJhhubjl)}(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@hjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhjJhhhNhNubh)}(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&]jjjj-jj-jjjuh1hhhhjJhNhNubj)}(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)}(hj7h]h Constants}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj1ubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjVh]hLINK_INBAND_DISABLE}(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.hhMVhjPubj)}(hhh]jl)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMVhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMVhjMubj)}(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&]uh1jhjhMYhjMubj)}(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\hjޡubah}(h]h ]h"]h$]h&]uh1jhj¡ubeh}(h]h ]h"]h$]h&]uh1jhjݡhM[hjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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^hjJhhubjl)}(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.hhMThjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h phy_plca_cfgh]j )}(hstruct phy_plca_cfgh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjVhM\ubj3)}(h phy_plca_cfgh]j9)}(hjCh]h phy_plca_cfg}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjVhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjVhM\ubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhM\hj>hhubjg)}(hhh]jl)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(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&]uh1jfhj>hhhjVhM\ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(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.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&]uh1jhj hMghjubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hj2h]henabled}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihj,ubj)}(hhh]jl)}(hoPLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled.h]hqPLCA configured mode (enabled/disabled). -1 = not available / don’t set. 0 = disabled, anything else = enabled.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMihjubj)}(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)}(hjlh]hnode_id}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjfubj)}(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&]uh1jhjfubeh}(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].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(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&]uh1jhjޣubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjڣubj)}(hhh]jl)}(hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255].h]hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjubah}(h]h ]h"]h$]h&]uh1jhjڣubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(hX.``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``burst_cnt``h]j)}(hjh]h burst_cnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(hXcontrols how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255].h]hX!controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don’t set. Allowed values [0 .. 255].}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMwhjubj)}(hX``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](j)}(h ``burst_tmr``h]j)}(hjTh]h burst_tmr}(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.hhMzhjNubj)}(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].}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMzhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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~hjJhhubjl)}(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{hjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhjJhhhNhNubh)}(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&]jjjj/jj/jjjuh1hhhhjJhNhNubj)}(h**Definition**:: struct phy_plca_status { bool pst; }; **Members** ``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh:}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3ubj)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hjTsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3ubjl)}(h **Members**h]j)}(hjeh]hMembers}(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.hhMhj3ubj)}(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.hhMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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.hhMhjJhhubjl)}(hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.h]hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.}(hjܥhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_ledh]j )}(hstruct phy_ledh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ledh]j9)}(hjh]hphy_led}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjj^jj^jjjuh1hhhhjJhNhNubj)}(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}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh:}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbubj)}(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.hhMhjbubjl)}(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.hhMhjbubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jl)}(hStandard LED class structureh]hStandard LED class structure}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hj^h]hindex}(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.hhMhjXubj)}(hhh]jl)}(hNumber of the LEDh]hNumber of the LED}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_capability (C struct)c.phy_mse_capabilityhNtauh1hhjJhhhNhNubh)}(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}(hjاhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԧubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjŧhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjŧhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjŧhMhjhhubjg)}(hhh]jl)}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX[**Definition**:: struct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; }; **Members** ``max_average_mse`` The maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units). ``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). ``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). ``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). ``supported_caps`` A bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };h]hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };}hj7sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hjHh]hMembers}(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.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)}(hjgh]hmax_average_mse}(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.hhM hjaubj)}(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.hhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj^ubj)}(h``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). h](j)}(h``max_peak_mse``h]j)}(hjh]h max_peak_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjubj)}(hhh]jl)}(hThe maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).h]hThe maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hj^ubj)}(h``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). h](j)}(h``refresh_rate_ps``h]j)}(hjۨh]hrefresh_rate_ps}(hjݨhhhNhNubah}(h]h ]h"]h$]h&]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)}(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&hj^ubj)}(ht``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). h](j)}(h``num_symbols``h]j)}(hjh]h num_symbols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjubj)}(hhh]jl)}(hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).h]hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM(hj^ubj)}(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)}(hjOh]hsupported_caps}(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)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM*hj^ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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.hjJhhubjl)}(hStandardization notes:h]hStandardization notes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubj.L)}(hhh](j3L)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*) h]jl)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)h]hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1j2Lhjubj3L)}(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&]uh1j2Lhjubeh}(h]h ]h"]h$]h&]jLj;uh1j-Lhj̩hMhjJhhubjl)}(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 hjJhhubjl)}(hXCallers should only request measurements for channels and types that are indicated as supported by the **supported_caps** bitmask. If **supported_caps** is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.h](hgCallers should only request measurements for channels and types that are indicated as supported by the }(hjhhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bitmask. If }(hjhhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubjl)}(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 }(hj4hhhNhNubj)}(h**max_average_mse**h]hmax_average_mse}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh or }(hj4hhhNhNubj)}(h**max_peak_mse**h]h max_peak_mse}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh value.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_snapshot (C struct)c.phy_mse_snapshothNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_mse_snapshoth]j )}(hstruct phy_mse_snapshoth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhjhMubj3)}(hphy_mse_snapshoth]j9)}(hjzh]hphy_mse_snapshot}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjuhhubjg)}(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.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjڪjjڪjjjuh1hhhhjJhNhNubj)}(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.hhM9hjުubj)}(h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };h]h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjުubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjުubj)}(hhh](j)}(hX``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). h](j)}(h``average_mse``h]j)}(hj/h]h average_mse}(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.hhMAhj)ubj)}(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).}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMAhj&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)}(hjih]hpeak_mse}(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.hhMFhjcubj)}(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&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMFhj&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.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj&ubeh}(h]h ]h"]h$]h&]uh1jhjުubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(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.hhMOhjJhhubjl)}(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.hhM6hjJhhubjl)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h phy_driverh]j )}(hstruct phy_driverh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj@hM?ubj3)}(h phy_driverh]j9)}(hj-h]h phy_driver}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj@hM?ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj@hM?ubah}(h]j&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hM?hj(hhubjg)}(hhh]jl)}(h*Driver structure for a particular PHY typeh]h*Driver structure for a particular PHY type}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjrhhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj@hM?ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjubah}(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.hhMWhjܬubj)}(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&]uh1jhjܬubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj٬ubj)}(h``phy_id`` The result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field h](j)}(h ``phy_id``h]j)}(hjh]hphy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjubj)}(hhh]jl)}(hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this fieldh]hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMZhj٬ubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjUh]hname}(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.hhM[hjOubj)}(hhh]jl)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhM[hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM[hj٬ubj)}(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\hj٬ubj)}(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^hjubj)}(hhh]jl)}(hGA mandatory list of features (speed, duplex, etc) supported by this PHYh]hGA mandatory list of features (speed, duplex, etc) supported by this PHY}(hjhhhNhNubah}(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^hj٬ubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjubj)}(hhh]jl)}(hNA bitfield defining certain other features this PHY supports (like interrupts)h]hNA bitfield defining certain other features this PHY supports (like interrupts)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj٬ubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hj;h]h driver_data}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj5ubj)}(hhh]jl)}(hStatic driver datah]hStatic driver data}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMahjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMahj٬ubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjth]h soft_reset}(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.hhMuhjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj٬ubj)}(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{hj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hj!h]h get_features}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.h]hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj٬ubj)}(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)}(hj[h]h inband_caps}(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)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(h9``suspend`` Suspend the hardware, saving state if needed h](j)}(h ``suspend``h]j)}(hjh]hsuspend}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h,Suspend the hardware, saving state if neededh]h,Suspend the hardware, saving state if needed}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj٬ubj)}(h:``resume`` Resume the hardware, restoring state if needed h](j)}(h ``resume``h]j)}(hjSh]hresume}(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)}(h.Resume the hardware, restoring state if neededh]h.Resume the hardware, restoring state if needed}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(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.hhMhjubj)}(hhh]jl)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hj߰hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj۰hMhjܰubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۰hMhj٬ubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjh]h read_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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)}(hj8h]h config_intr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh]jl)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj٬ubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hjrh]hhandle_interrupt}(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)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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.hhMhjޱubj)}(hhh]jl)}(hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.h]hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjޱubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(h``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. h](j)}(h ``set_wol``h]j)}(hjh]hset_wol}(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)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj٬ubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjXh]hget_wol}(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)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(hX``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. h](j)}(h ``write_mmd``h]j)}(hjh]h write_mmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.h]hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hj@h]h read_page}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj:ubj)}(hhh]jl)}(h+Return the current PHY register page numberh]h+Return the current PHY register page number}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj٬ubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjyh]h write_page}(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)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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&]uh1jhjdzhMhj٬ubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjh]h module_eeprom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj٬ubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hj&h]hcable_test_start}(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)}(hStart a cable testh]hStart a cable test}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj٬ubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hj_h]hcable_test_tdr_start}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubj)}(hhh]jl)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj٬ubj)}(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&]uh1jhjhMhj٬ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5: structure where Ethernet PHY stats will be stored. }(hjhhhNhNubj)}(h **stats**h]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?: structure where additional PHY-specific stats will be stored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubjl)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hj0hhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj0hhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh' and will not be returned to userspace.}(hj0hhhNhNubeh}(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)hj٬ubj)}(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)}(hjuh]hget_link_stats}(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.hhM8hjoubj)}(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 }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjɵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj۵hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' and will not be returned to userspace.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM8hj٬ubj)}(hX``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. h](j)}(h``update_stats``h]j)}(hjh]h update_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubj)}(hhh](jl)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hjhhhNhNubj)}(h**dev**h]hdev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh<: The PHY device for which statistics updates are triggered.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubjl)}(hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces.h](hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the }(hj@hhhNhNubj)}(h`get_phy_stats`h]h get_phy_stats}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh and }(hj@hhhNhNubj)}(h`get_link_stats`h]hget_link_stats}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh interfaces.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjubjl)}(h9Return: 0 on success or a negative error code on failure.h]h9Return: 0 on success or a negative error code on failure.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj٬ubj)}(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&]uh1jhjhMNhj٬ubj)}(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&]uh1jhjhMPhj٬ubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hjh]h get_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h#Return the statistic counter valuesh]h#Return the statistic counter values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj٬ubj)}(h``disable_autonomous_eee`` Disable PHY-autonomous EEE Some PHYs manage EEE autonomously, preventing the MAC from controlling LPI signaling. This callback disables autonomous EEE at the PHY. Return: 0 on success, negative errno on failure. h](j)}(h``disable_autonomous_eee``h]j)}(hj>h]hdisable_autonomous_eee}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hj8ubj)}(hhh](jl)}(hDisable PHY-autonomous EEEh]hDisable PHY-autonomous EEE}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjTubjl)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjTubjl)}(h0Return: 0 on success, negative errno on failure.h]h0Return: 0 on success, negative errno on failure.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM]hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM]hj٬ubj)}(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&]uh1jhjhMbhj٬ubj)}(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&]uh1jhjhMehj٬ubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphjubj)}(hhh]jl)}(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.hhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphj٬ubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjAh]hget_sqi}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj;ubj)}(hhh]jl)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMshjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMshj٬ubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjzh]h get_sqi_max}(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.hhMuhjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj٬ubj)}(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.}(hj/hhhNhNubah}(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ȸhMhj٬ubj)}(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)}(hjPh]hget_mse_snapshot}(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)}(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 }(hjihhhNhNubj)}(h**dev**h]hdev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh: PHY device }(hjihhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh*: Channel identifier (PHY_MSE_CHANNEL_*) }(hjihhhNhNubj)}(h **snapshot**h]hsnapshot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh: Output (filled on success)}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfubjl)}(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.hhMhjfubjl)}(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.hhMhjfubjl)}(h?worst_peak_mse is latched and must be treated as read-to-clear.h]h?worst_peak_mse is latched and must be treated as read-to-clear.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfubjl)}(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.hhMhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhj٬ubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hj2h]h get_plca_cfg}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj,ubj)}(hhh]jl)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj٬ubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjkh]h set_plca_cfg}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjeubj)}(hhh]jl)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hjh]hget_plca_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(h``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. h](j)}(h``led_brightness_set``h]j)}(hjݺh]hled_brightness_set}(hjߺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۺubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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&]uh1jhjhMhj٬ubj)}(hX/``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. h](j)}(h``led_blink_set``h]j)}(hjh]h led_blink_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly.h]hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can’t match the values specified exactly.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj٬ubj)}(h``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)}(hjQh]hled_hw_is_supported}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubj)}(hhh](jl)}(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. }(hjjhhhNhNubj)}(h**dev**h]hdev}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh: PHY device which has the LED }(hjjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh: Which LED of the PHY device }(hjjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh& The core is interested in these rules}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjgubjl)}(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&]uh1jkhjfhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj٬ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" The rules used to control the LED}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjɻubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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)}(hjMh]hled_hw_control_get}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjGubj)}(hhh](jl)}(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 }(hjfhhhNhNubj)}(h**dev**h]hdev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh: PHY device which has the LED }(hjfhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh: Which LED of the PHY device }(hjfhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh- Pointer to the rules used to control the LED}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjcubjl)}(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.hhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj٬ubj)}(hX)``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. h](j)}(h``led_polarity_set``h]j)}(hj޼h]hled_polarity_set}(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)}(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 }(hj<hhhNhNubj)}(h **modes**h]hmodes}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh% to make it correctly turn ON or OFF.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjؼubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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)}(hj}h]hget_next_update_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh](jl)}(hmediums and port->lanes fields must be set, possibly according to strapping information. The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port. Returns 0, or an error code. h](j)}(h``attach_mii_port``h]j)}(hjh]hattach_mii_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hhAttach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being addedh](h,Attach the given MII port to the PHY device }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device to notify }(hjhhhNhNubj)}(h**port**h]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: The port being added}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hDCalled when an MII port that needs to be driven by the PHY is found.h]hDCalled when an MII port that needs to be driven by the PHY is found.}(hj2hhhNhNubah}(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.}(hjAhhhNhNubah}(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.}(hjPhhhNhNubah}(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.}(hj_hhhNhNubah}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj٬ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: The port being added}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hCalled when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe().h]hCalled when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe().}(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.}(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(hj٬ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubjl)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(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,hjJhhubjl)}(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).}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_id_compare (C function)c.phy_id_comparehNtauh1hhjJhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj|hM8ubj3)}(hphy_id_compareh]j9)}(hphy_id_compareh]hphy_id_compare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhj|hM8ubj )}(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}(hjܿhhhNhNubah}(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}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]jʿc.phy_id_compareasbuh1hhj9ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hmaskh]hmask}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhj|hM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj|hM8ubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hM8hjdhhubjg)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hjhhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj|hM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(hj h]hu32 id1}(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.hhM9hjubj)}(hhh]jl)}(h first PHY IDh]h first PHY ID}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h``u32 id2`` second PHY ID h](j)}(h ``u32 id2``h]j)}(hjBh]hu32 id2}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hj<ubj)}(hhh]jl)}(h second PHY IDh]h second PHY ID}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM:hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM:hjubj)}(hC``u32 mask`` the PHY ID mask, set bits are significant in matching h](j)}(h ``u32 mask``h]j)}(hj{h]hu32 mask}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjuubj)}(hhh]jl)}(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&]uh1jhjuubeh}(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 }(hjhhhNhNubj)}(h**id1**h]hid1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh specified by }(hjhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) match. This uses an equivalent test to (}(hjhhhNhNubj)}(h**id**h]hid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) == (}(hjhhhNhNubj)}(h **phy_id**h]hphy_id}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }hjsbj)}(h**mask**h]hmask}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_id_compare_vendor (C function)c.phy_id_compare_vendorhNtauh1hhjJhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMFubj3)}(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&]jPjQuh1j2hjuhhhjhMFubj )}(h(u32 id, u32 vendor_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_id_compare_vendorasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 vendor_maskh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_id_compare_vendorasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h vendor_maskh]h vendor_mask}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhMFubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMFhjnhhubjg)}(hhh]jl)}(h#compare **id** with **vendor** maskh](hcompare }(hjXhhhNhNubj)}(h**id**h]hid}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh with }(hjXhhhNhNubj)}(h **vendor**h]hvendor}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh mask}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjUhhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``u32 id`` PHY ID ``u32 vendor_mask`` PHY Vendor mask **Return** true if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubj)}(hhh](j)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h$``u32 vendor_mask`` PHY Vendor mask h](j)}(h``u32 vendor_mask``h]j)}(hjh]hu32 vendor_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubj)}(hhh]jl)}(hPHY Vendor maskh]hPHY Vendor mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMHhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMHhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj1h]hReturn}(hj3hhhNhNubah}(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.hhMJhjubjl)}(hPtrue if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](htrue if the bits from }(hjGhhhNhNubj)}(h**id**h]hid}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh match }(hjGhhhNhNubj)}(h **vendor**h]hvendor}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh# using the generic PHY Vendor mask.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_id_compare_model (C function)c.phy_id_compare_modelhNtauh1hhjJhhhNhNubh)}(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}(hjhhhNhNubah}(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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_id_compare_modelasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 model_maskh](h)}(hhh]j9)}(hu32h]hu32}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]jc.phy_id_compare_modelasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h model_maskh]h model_mask}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMSubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjhhubjg)}(hhh]jl)}(h"compare **id** with **model** maskh](hcompare }(hjyhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh with }(hjyhhhNhNubj)}(h **model**h]hmodel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh mask}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``u32 id`` PHY ID ``u32 model_mask`` PHY Model mask **Return** true if the bits from **id** match **model** using the generic PHY Model mask.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubj)}(hhh](j)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h"``u32 model_mask`` PHY Model mask h](j)}(h``u32 model_mask``h]j)}(hjh]hu32 model_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjubj)}(hhh]jl)}(hPHY Model maskh]hPHY Model mask}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMUhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMUhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjRh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(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 }(hjhhhhNhNubj)}(h**id**h]hid}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh match }(hjhhhhNhNubj)}(h **model**h]hmodel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh" using the generic PHY Model mask.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphydev_id_compare (C function)c.phydev_id_comparehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h:bool phydev_id_compare (struct phy_device *phydev, u32 id)h]j )}(h9bool phydev_id_compare(struct phy_device *phydev, u32 id)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM`ubj3)}(hphydev_id_compareh]j9)}(hphydev_id_compareh]hphydev_id_compare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM`ubj )}(h#(struct phy_device *phydev, u32 id)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phydev_id_compareasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]j1c.phydev_id_compareasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM`ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM`hjhhubjg)}(hhh]jl)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the PHY’s Clause 22 ID}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMahj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMahj ubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjNh]hu32 id}(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.hhMbhjHubj)}(hhh]jl)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMbhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMbhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjubjl)}(hCompare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](h Compare the }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh clause 22 ID with the provided }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhY and return true or false depending whether it matches, using the bound driver mask. The }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be bound to a driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/bool phy_is_started (struct phy_device *phydev)h]j )}(h.bool phy_is_started(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMtubj3)}(hphy_is_startedh]j9)}(hphy_is_startedh]hphy_is_started}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j )}j j&sbc.phy_is_startedasbuh1hhj<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 hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` The phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` The phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhjJhhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjkhM}ubj3)}(hphy_driver_is_genphyh]j9)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjkhM}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_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 hjZhhhjkhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjkhM}ubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhM}hjShhubjg)}(hhh]jl)}(hUConvenience function to check whether PHY is driven by one of the generic PHY driversh]hUConvenience function to check whether PHY is driven by one of the generic PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhjShhhjkhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true if PHY is driven by one of the genphy driversh](jl)}(h**Parameters**h]j)}(hj?h]h Parameters}(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.hhMhj9ubj)}(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.hhMhjXubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(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.hhMhj9ubjl)}(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.hhMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hDvoid phy_disable_eee_mode (struct phy_device *phydev, u32 link_mode)h]j )}(hCvoid phy_disable_eee_mode(struct phy_device *phydev, u32 link_mode)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_disable_eee_modeh]j9)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j jsbc.phy_disable_eee_modeasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 ]jUc.phy_disable_eee_modeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h link_modeh]h link_mode}(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)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(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.hhMhj!ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h-``u32 link_mode`` The EEE mode to be disabledh](j)}(h``u32 link_mode``h]j)}(hj`h]h u32 link_mode}(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)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(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&]uh1jhjuhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_can_wakeup (C function)c.phy_can_wakeuphNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/bool phy_can_wakeup (struct phy_device *phydev)h]j )}(h.bool phy_can_wakeup(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_can_wakeuph]j9)}(hphy_can_wakeuph]hphy_can_wakeup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_can_wakeupasbuh1hhjubj")}(h h]h }(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)}(h9indicate whether PHY has driver model wakeup capabilitiesh]h9indicate whether PHY has driver model wakeup capabilities}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_may_wakeup (C function)c.phy_may_wakeuphNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/bool phy_may_wakeup (struct phy_device *phydev)h]j )}(h.bool phy_may_wakeup(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjGhMubj3)}(hphy_may_wakeuph]j9)}(hphy_may_wakeuph]hphy_may_wakeup}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjGhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j\sbc.phy_may_wakeupasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjGhMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhj/hhubjg)}(hhh]jl)}(h'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&]uh1jfhj/hhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true/false depending on the PHY driver's device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj:h]hstruct phy_device *phydev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj4ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjuh]hReturn}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h4int phy_read (struct phy_device *phydev, u32 regnum)h]j )}(h3int phy_read(struct phy_device *phydev, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_readh]j9)}(hphy_readh]hphy_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct phy_device *phydev, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.phy_readasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej  reftargetjnmodnameN classnameNj j )}j ]j1 c.phy_readasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j 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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj<h]h u32 regnum}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjwh]hNOTE}(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.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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h6int __phy_read (struct phy_device *phydev, u32 regnum)h]j )}(h5int __phy_read(struct phy_device *phydev, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h __phy_readh]j9)}(h __phy_readh]h __phy_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct phy_device *phydev, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.__phy_readasbuh1hhjubj")}(h h]h }(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 u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j3 c.__phy_readasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj>h]h u32 regnum}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj8ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjyh]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h>int phy_write (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(h=int phy_write(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_writeh]j9)}(h phy_writeh]h phy_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.phy_writeasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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 ]j5 c.phy_writeasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(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 ]j5 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.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjJhNhNubj)}(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)}(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.hhMhj*ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**NOTE**h]j)}(hj h]hNOTE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhjJhhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hMubj3)}(h __phy_writeh]j9)}(h __phy_writeh]h __phy_write}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hMubj )}(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 jrsb 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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.__phy_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j c.__phy_writeasbuh1hhjBubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hvalh]hval}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hMubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjDhhubjg)}(hhh]jl)}(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&]uh1jfhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjRh]hu16 val}(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)}(hvalue to write to **regnum**h](hvalue to write to }(hjkhhhNhNubj)}(h **regnum**h]hregnum}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hSint __phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hRint __phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__phy_modify_changedh]j9)}(h__phy_modify_changedh]h__phy_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jsbc.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjvhhhNhNubah}(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 ]jWc.__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 ]jWc.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]jWc.__phy_modify_changedasbuh1hhjubj")}(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)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.hhMhj ubj)}(hhh]jl)}(hregister numberh]hregister number}(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'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjJh]hu16 mask}(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)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.hhMhj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhjJhhhNhNubh)}(hhh](j)}(hphy_read_mmd_poll_timeouth]j )}(hphy_read_mmd_poll_timeouth]j3)}(hphy_read_mmd_poll_timeouth]j9)}(hj h]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 jYjZhj hhhj)hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hM hjhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjhhhj)hM ubeh}(h]h ](jmacroeh"]h$]h&]jjjjBjjBjjjuh1hhhhjJhNhNubjl)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hjHh]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(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.hhM hjJhhubj)}(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}(hjbhhhNhNubah}(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&]uh1jhjphM hjJhhubj)}(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)}(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.hhMhjwubj)}(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&]uh1jhj ubah}(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)}(hjGh]hval}(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)}(h"Variable to read the register intoh]h"Variable to read the register into}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjh]hcond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(hhh]jl)}(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&]uh1jhjzubeh}(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)}(hjh]h timeout_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h$Timeout in us, 0 means never timeouth]h$Timeout in us, 0 means never timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hj>h]hsleep_before_read}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj8ubj)}(hhh]jl)}(h.if it is true, sleep **sleep_us** before read.h](hif it is true, sleep }(hjWhhhNhNubj)}(h **sleep_us**h]hsleep_us}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh before read.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(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.hhMhjwubjl)}(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.hhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhjJhhhNhNubh)}(hhh](j)}(hCint __phy_set_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(hBint __phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMOubj3)}(h__phy_set_bitsh]j9)}(h__phy_set_bitsh]h__phy_set_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMOubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(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 phy_deviceh]h phy_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bitsasbuh1hhj-ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jkc.__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 hj)ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jkc.__phy_set_bitsasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMOubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMOhjhhubjg)}(hhh]jl)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjAhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjJhNhNubj)}(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)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj`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.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&]uh1jhjhMPhj|ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjhMQhj|ubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMRhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMRhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj`ubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhjJhhhNhNubh)}(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}(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)}(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&]jPjQuh1j2hjshhhjhM\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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhj"ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hregnumh]hregnum}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(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 ]jc.__phy_clear_bitsasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(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)}(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&]uh1jfhjlhhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjAh]h u32 regnum}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hj;ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM^hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM^hjubj)}(h``u16 val`` bits to clear 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.hhM_hjtubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhjJhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubj3)}(h phy_set_bitsh]j9)}(h phy_set_bitsh]h phy_set_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMjubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jsbc.phy_set_bitsasbuh1hhj3ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jqc.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 hj/ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jqc.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 hj/ubeh}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjJhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjfubj)}(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&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhjJhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehMuubj3)}(hphy_clear_bitsh]j9)}(hphy_clear_bitsh]hphy_clear_bits}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehMuubj )}(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 jzsbc.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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.phy_clear_bitsasbuh1hhjubj")}(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 ]jc.phy_clear_bitsasbuh1hhjJubj")}(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 hjShhhjehMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehMuubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMuhjLhhubjg)}(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&]uh1jfhjLhhhjehMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clearh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj!h]h u32 regnum}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMwhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMwhjubj)}(h``u16 val`` bits to clearh](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.hhMyhjTubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMyhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhjJhhhNhNubh)}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bits_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}(hjJhhhNhNubah}(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}(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 ]j+c.__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 ]j+c.__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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjJhNhNubj)}(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)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjzh]hstruct phy_device *phydev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubj)}(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&]uh1jhjhMhjqubj)}(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&]uh1jhjhMhjqubj)}(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.hhMhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(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.hhMhjUubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hTint __phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hSint __phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__phy_clear_bits_mmdh]j9)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_clear_bits_mmdasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hdevadh]hdevad}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(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_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 ]jc.__phy_clear_bits_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(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&]jjjjBjjBjjjuh1hhhhjJhNhNubj)}(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)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjFubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjkh]hstruct phy_device *phydev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjeubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(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&]uh1jhjhMhjbubj)}(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&]uh1jhjhMhjbubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjbubeh}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjFubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhjJhhhNhNubh)}(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*}(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}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hdevadh]hdevad}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.phy_set_bits_mmdasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.phy_set_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}(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&]jjjj3jj3jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to seth](jl)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj\h]hstruct phy_device *phydev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubj)}(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&]uh1jhjhMhjSubj)}(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&]uh1jhjhMhjSubj)}(h``u16 val`` bits to seth](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 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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhjJhhhNhNubh)}(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}(hjahhhNhNubah}(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_clear_bits_mmdh]j9)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjohMubj )}(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 hj ubj")}(h h]h }(hjhhhNhNubah}(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}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jc.phy_clear_bits_mmdasbuh1hhjAubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hregnumh]hregnum}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(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 hj]hhhjohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjohMubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMhjVhhubjg)}(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&]uh1jfhjVhhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(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.hhMhj!ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj`h]h int devad}(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%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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&]uh1jhjhMhjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhjJhhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj9hMubj3)}(hphy_interrupt_is_validh]j9)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj9hMubj )}(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.phy_interrupt_is_validasbuh1hhjdubj")}(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(hhhj9hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj9hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMhj!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!hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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)}(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.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.hhMhj&ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjEhhhNhNubah}(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**NOTE**h]j)}(hjgh]hNOTE}(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.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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1bool phy_polling_mode (struct phy_device *phydev)h]j )}(h0bool phy_polling_mode(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_polling_modeh]j9)}(hphy_polling_modeh]hphy_polling_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_polling_modeasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1bool phy_has_hwtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_hwtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_has_hwtstamph]j9)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(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_has_hwtstampasbuh1hhj>ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h-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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1bool phy_has_rxtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_rxtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjmhMubj3)}(hphy_has_rxtstamph]j9)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjmhMubj )}(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 hj\hhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjmhMubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjUhhubjg)}(hhh]jl)}(h3Tests whether a PHY supports receive time stamping.h]h3Tests whether a PHY supports receive time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjJhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj`h]hstruct phy_device *phydev}(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)}(hthe phy_device structh]hthe phy_device struct}(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&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/bool phy_has_tsinfo (struct phy_device *phydev)h]j )}(h.bool phy_has_tsinfo(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_has_tsinfoh]j9)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_has_tsinfoasbuh1hhjubj")}(h h]h }(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)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhjJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.phy_has_txtstampasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhj hhubjg)}(hhh]jl)}(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&]uh1jfhj hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhjJhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhT/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!hjjhhhj{hMubj3)}(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&]jPjQuh1j2hjjhhhj{hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_is_default_hwtstampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj{hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj{hMubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMhjchhubjg)}(hhh]jl)}(h)Is the PHY hwtstamp the default timestamph]h)Is the PHY hwtstamp the default timestamp}(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&]uh1jfhjchhhj{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjJhNhNubj)}(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)}(hjOh]h Parameters}(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.hhMhjIubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjnh]hstruct phy_device *phydev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhubj)}(hhh]jl)}(hPointer to phy_deviceh]hPointer to phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubah}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubjl)}(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.hhMhjIubjl)}(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.hhMhjIubjl)}(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.hhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhjJhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hM&ubj )}(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 j7sb c.phy_on_sfpasbuh1hhjMubj")}(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"hM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hM&hj hhubjg)}(hhh]jl)}(h=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&]uh1jfhj hhhj"hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(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,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhjJhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhT/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!hjkhhhj|hM/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&]jPjQuh1j2hjkhhhj|hM/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 hjkhhhj|hM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj|hM/ubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hM/hjdhhubjg)}(hhh]jl)}(hPConvenience function for testing if a PHY interface mode is RGMII (all variants)h]hPConvenience function for testing if a PHY interface mode is RGMII (all variants)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjhhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj|hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hM**Parameters** ``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](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.hhM3hj"ubj)}(hhh]j)}(h;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hjGh]hphy_interface_t mode}(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.hhM5hjAubj)}(hhh]jl)}(h"the :c:type:`phy_interface_t` enumh](hthe }(hj`hhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjjh]hphy_interface_t}(hjlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hj`ubh enum}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM1hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM5hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h7bool phy_interface_mode_is_8023z (phy_interface_t mode)h]j )}(h6bool phy_interface_mode_is_8023z(phy_interface_t mode)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM:ubj3)}(hphy_interface_mode_is_8023zh]j9)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM:ubj )}(h(phy_interface_t mode)h]j )}(hphy_interface_t modeh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_interface_mode_is_8023zasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hj1hhhNhNubah}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` **Description** Returns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjwubj)}(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&]uh1jhjwubjl)}(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>hjwubjl)}(hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h]hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhjJhhhNhNubh)}(hhh](j)}(h7bool phy_interface_is_rgmii (struct phy_device *phydev)h]j )}(h6bool phy_interface_is_rgmii(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjHhMHubj3)}(hphy_interface_is_rgmiih]j9)}(hphy_interface_is_rgmiih]hphy_interface_is_rgmii}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjHhMHubj )}(h(struct phy_device *phydev)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.phy_interface_is_rgmiiasbuh1hhjsubj")}(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 hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjHhMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjHhMHubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMHhj0hhubjg)}(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&]uh1jfhj0hhhjHhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj;h]hstruct phy_device *phydev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj5ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMNhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhjJhhhNhNubh)}(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*}(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 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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjJhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(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.hhMVhjpubj)}(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&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhjJhhhNhNubh)}(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&]jjjjjjjjjuh1hhhhjJhNhNubjl)}(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 hjJhhubj)}(h)Helper macro for registering PHY drivers h]jl)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj;ubah}(h]h ]h"]h$]h&]uh1jhjMhM hjJhhubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjTubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hjyh]h __phy_drivers}(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.hhM hjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM hjpubj)}(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 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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjTubjl)}(hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h]hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhjJhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMubj3)}(hgenphy_match_phy_deviceh]j9)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMubj )}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.genphy_match_phy_deviceasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.genphy_match_phy_deviceasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydrvh]hphydrv}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj'hhubjg)}(hhh]jl)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(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)}(hj2 h]h Description}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0 ubah}(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.}(hjH hhhNhNubah}(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)}(hjY h]hReturn}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW 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.}(hjo hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hOstruct phy_device * get_phy_device (struct mii_bus *bus, int addr, bool is_c45)h]j )}(hMstruct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j get_phy_devicesbc.get_phy_deviceasbuh1hhj hhhj hMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhj hMubj3)}(hget_phy_deviceh]j9)}(hj h]hget_phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h,(struct mii_bus *bus, int addr, bool is_c45)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj% hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj6 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8 modnameN classnameNj j )}j ]j c.get_phy_deviceasbuh1hhj 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)}(hbush]hbus}(hjo hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hint addrh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h bool is_c45h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(his_c45h]his_c45}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(hDreads the specified PHY device and returns its **phy_device** structh](h/reads the specified PHY device and returns its }(hj hhhNhNubj)}(h**phy_device**h]h phy_device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh struct}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj, jj, jjjuh1hhhhjJhNhNubj)}(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)}(hj6 h]h Parameters}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hj0 ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjU h]hstruct mii_bus *bus}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjO ubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjj hMhjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hMhjL ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj h]hint addr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(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 hjL ubj)}(hB``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol h](j)}(h``bool is_c45``h]j)}(hj h]h bool is_c45}(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)}(h1If true the PHY uses the 802.3 clause 45 protocolh]h1If true the PHY uses the 802.3 clause 45 protocol}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM!hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM!hjL ubeh}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM#hj0 ubjl)}(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}(hj2 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"hj0 ubjl)}(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 }(hjK hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjU h]hstruct phy_device}(hjW hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjS 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$hjK ubh.}(hjK hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjr hM$hj0 ubjl)}(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 }(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_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hj} ubh.}(hj} hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM'hj0 ubjl)}(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 }(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_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+hj ubh on success, }(hj hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh if there is no PHY present, or }(hj hhhNhNubj)}(h``-EIO``h]h-EIO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on bus access error.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM+hj0 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhjJhhhNhNubh)}(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 }(hj4 hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj! hhhj3 hMRubj3)}(hphy_device_registerh]j9)}(hphy_device_registerh]hphy_device_register}(hjF hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj! hhhj3 hMRubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](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)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj} ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jH sbc.phy_device_registerasbuh1hhj^ ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ ubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZ ubah}(h]h ]h"]h$]h&]jPjQuh1j hj! hhhj3 hMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj3 hMRubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3 hMRhj hhubjg)}(hhh]jl)}(h'Register the phy device on the MDIO bush]h'Register the phy device on the MDIO bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMRhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj3 hMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjJhNhNubj)}(h`**Parameters** ``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMVhjubj)}(hhh]j)}(hN``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](j)}(h``struct phy_device *phydev``h]j)}(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.chMXhj ubj)}(hhh]jl)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhjJhhhNhNubh)}(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 hj|hhh]/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!hj|hhhjhMyubj3)}(hphy_device_removeh]j9)}(hphy_device_removeh]hphy_device_remove}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhjhMyubj )}(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*}(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 hj|hhhjhMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjhMyubah}(h]jsah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMyhjuhhubjg)}(hhh]jl)}(h;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from the MDIO bus}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyhj=hhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjJhNhNubj)}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hj\ubj)}(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.chMzhj{ubj)}(hhh]jl)}(hphy_device structure to removeh]hphy_device structure to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjxubah}(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.chM|hj\ubjl)}(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{hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h/int phy_get_c45_ids (struct phy_device *phydev)h]j )}(h.int phy_get_c45_ids(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_get_c45_idsh]j9)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(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_get_c45_idsasbuh1hhj: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"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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs **Description** Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hI``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hjShhhNhNubj)}(h``-EIO``h]h-EIO}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh on bus access error, or }(hjShhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh, if the “devices in package” is invalid.}(hjShhhNhNubeh}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_next (C function)c.phy_find_nexthNtauh1hhjJhhhNhNubh)}(hhh](j)}(hOstruct phy_device * phy_find_next (struct mii_bus *bus, struct phy_device *pos)h]j )}(hMstruct phy_device *phy_find_next(struct mii_bus *bus, struct phy_device *pos)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j phy_find_nextsbc.phy_find_nextasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h phy_find_nexth]j9)}(hjh]h phy_find_next}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h-(struct mii_bus *bus, struct phy_device *pos)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(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.phy_find_nextasbuh1hhjubj")}(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 )}(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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h$finds the next PHY device on the bush]h$finds the next PHY device on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjJhNhNubj)}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(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.chMhj-ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjRh]hstruct mii_bus *bus}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjLubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubj)}(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&]uh1jhjhMhjIubeh}(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:128: ./drivers/net/phy/phy_device.chMhj-ubjl)}(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.chMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhjJhhhNhNubh)}(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}(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_connect_directh]j9)}(hphy_connect_directh]hphy_connect_direct}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hs(struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device*), phy_interface_t interface)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(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 j.sbc.phy_connect_directasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hjg h]h(}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hhandlerh]hhandler}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubj )}(hj h]h)}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj )}(hjg h]h(}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(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 hj@ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjubj")}(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 hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjJhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj^ubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj}ubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(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&]uh1jhjhMhjzubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hj.h]hphy_interface_t interface}(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.chMhj(ubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhjJhhhNhNubh)}(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}(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_connectsb c.phy_connectasbuh1hhjhhhjhMubj")}(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_connecth]j9)}(hjh]h phy_connect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hl(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *bus_idh](j)}(hj h]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjg h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hj h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjg 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}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h)}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.phy_connectasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj}hhubjg)}(hhh]jl)}(h*connect an ethernet device to a PHY deviceh]h*connect an ethernet device to a PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hj(h]hstruct net_device *dev}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hjah]hconst char *bus_id}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj[ubj)}(hhh]jl)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hXkConvenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](j)}(h,Convenience function for connecting etherneth]h,Convenience function for connecting ethernet}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jl)}(hX>devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h]hXBdevices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don’t want, or can’t use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj:ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhjJhhhNhNubh)}(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 hjzhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhM ubj3)}(hphy_disconnecth]j9)}(hphy_disconnecth]hphy_disconnect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_disconnectasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjzhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhM ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjshhubjg)}(hhh]jl)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhjJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j jsbc.phy_attach_directasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjohhhNhNubah}(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 ]jPc.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 ]jPc.phy_attach_directasbuh1hhjubj")}(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 )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]jPc.phy_attach_directasbuh1hhj<ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(h interfaceh]h interface}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j 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&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.chMhj ubj)}(hhh]jl)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hjLh]h u32 flags}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjFubj)}(hhh]jl)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h+void phy_detach (struct phy_device *phydev)h]j )}(h*void phy_detach(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj0 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj, hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvubj")}(h h]h }(hj? hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj, hhhj> hMvubj3)}(h phy_detachh]j9)}(h phy_detachh]h phy_detach}(hjQ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj, hhhj> hMvubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jS sb c.phy_detachasbuh1hhji 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> hMvubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj( hhhj> hMvubah}(h]j# ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj> hMvhj% hhubjg)}(hhh]jl)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvhj hhubah}(h]h ]h"]h$]h&]uh1jfhj% hhhj> hMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMzhj !ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1!h]hstruct phy_device *phydev}(hj3!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/!ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhj+!ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjJ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjF!hMwhjG!ubah}(h]h ]h"]h$]h&]uh1jhj+!ubeh}(h]h ]h"]h$]h&]uh1jhjF!hMwhj(!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.chMyhj !ubjl)}(hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h]hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMxhj !ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h:int phy_reset_after_clk_enable (struct phy_device *phydev)h]j )}(h9int phy_reset_after_clk_enable(struct phy_device *phydev)h](jM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj!hMubj3)}(hphy_reset_after_clk_enableh]j9)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj "hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj "ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j j!sbc.phy_reset_after_clk_enableasbuh1hhj!ubj")}(h h]h }(hj,"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj:"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hphydevh]hphydev}(hjG"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubah}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj!hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhj!hhubjg)}(hhh]jl)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hjq"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjn"hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjJhNhNubj)}(hX8**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Some PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj"h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubj)}(hhh]j)}(hSome PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](j)}(h:Some PHYs are known to need a reset after their refclk wash]h:Some PHYs are known to need a reset after their refclk was}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj#ubj)}(hhh]jl)}(henabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h]henabled. This function evaluates the flags and perform the reset if it’s needed. Returns < 0 on error, 0 if the phy wasn’t reset and 1 if the phy was reset.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h3int genphy_setup_forced (struct phy_device *phydev)h]j )}(h2int genphy_setup_forced(struct phy_device *phydev)h](jM )}(hinth]hint}(hj]#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjY#hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMnubj")}(h h]h }(hjl#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY#hhhjk#hMnubj3)}(hgenphy_setup_forcedh]j9)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hj~#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjY#hhhjk#hMnubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j j#sbc.genphy_setup_forcedasbuh1hhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubah}(h]h ]h"]h$]h&]jPjQuh1j hjY#hhhjk#hMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjU#hhhjk#hMnubah}(h]jP#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjk#hMnhjR#hhubjg)}(hhh]jl)}(h.configures/forces speed/duplex from **phydev**h](h$configures/forces speed/duplex from }(hj$hhhNhNubj)}(h **phydev**h]hphydev}(hj%$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMnhj$hhubah}(h]h ]h"]h$]h&]uh1jfhjR#hhhjk#hMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjC$jjC$jjjuh1hhhhjJhNhNubj)}(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)}(hjM$h]h Parameters}(hjO$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK$ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMrhjG$ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMohjf$ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMohj$ubah}(h]h ]h"]h$]h&]uh1jhjf$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMohjc$ubah}(h]h ]h"]h$]h&]uh1jhjG$ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMqhjG$ubj)}(hhh]j)}(hConfigures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](j)}(h)Configures MII_BMCR to force speed/duplexh]h)Configures MII_BMCR to force speed/duplex}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMrhj$ubj)}(hhh]jl)}(h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h]h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMrhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMrhj$ubah}(h]h ]h"]h$]h&]uh1jhjG$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]j )}(h2int genphy_restart_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj%%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj$%hMubj3)}(hgenphy_restart_anegh]j9)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hj7%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj$%hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjS%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO%ubj")}(h h]h }(hj`%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjO%ubh)}(hhh]j9)}(h 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 j9%sbc.genphy_restart_anegasbuh1hhjO%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjO%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjO%ubj9)}(hphydevh]hphydev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjK%ubah}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj$%hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%hhhj$%hMubah}(h]j %ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$%hMhj %hhubjg)}(hhh]jl)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj %hhhj$%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjJhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj%ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj&ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj0&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj-&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj,&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhjJhhhNhNubh)}(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}(hjq&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm&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!hjm&hhhj&hMubj3)}(hgenphy_check_and_restart_anegh]j9)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm&hhhj&hMubj )}(h)(struct phy_device *phydev, bool restart)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j j&sbc.genphy_check_and_restart_anegasbuh1hhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hphydevh]hphydev}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(h bool restarth](jM )}(hjh]hbool}(hj 'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj-'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hrestarth]hrestart}(hj;'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjm&hhhj&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji&hhhj&hMubah}(h]jd&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj&hMhjf&hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjb'hhubah}(h]h ]h"]h$]h&]uh1jfhjf&hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}'jj}'jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** Check, and restart auto-negotiation if needed.h](jl)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj'h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj'ubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hj'h]h bool restart}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hj(h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hj0(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhjJhhhNhNubh)}(hhh](j)}(hBint __genphy_config_aneg (struct phy_device *phydev, bool changed)h]j )}(hAint __genphy_config_aneg(struct phy_device *phydev, bool changed)h](jM )}(hinth]hint}(hj_(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[(hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjn(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[(hhhjm(hMubj3)}(h__genphy_config_anegh]j9)}(h__genphy_config_anegh]h__genphy_config_aneg}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[(hhhjm(hMubj )}(h)(struct phy_device *phydev, bool changed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j j(sbc.__genphy_config_anegasbuh1hhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hphydevh]hphydev}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(h bool changedh](jM )}(hjh]hbool}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj )ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj )ubj9)}(hchangedh]hchanged}(hj))hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj )ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[(hhhjm(hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjW(hhhjm(hMubah}(h]jR(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjm(hMhjT(hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hjS)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjP)hhubah}(h]h ]h"]h$]h&]uh1jfhjT(hhhjm(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjk)jjk)jjjuh1hhhhjJhNhNubj)}(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)}(hju)h]h Parameters}(hjw)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs)ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjo)ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj)h]hstruct phy_device *phydev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj)ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubj)}(h.``bool changed`` whether autoneg is requested h](j)}(h``bool changed``h]j)}(hj)h]h bool changed}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj)ubj)}(hhh]jl)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubeh}(h]h ]h"]h$]h&]uh1jhjo)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 hjo)ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj%*hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj!*ubj)}(hhh]jl)}(h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h]h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.}(hj7*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3*hM hj4*ubah}(h]h ]h"]h$]h&]uh1jhj!*ubeh}(h]h ]h"]h$]h&]uh1jhj3*hM hj*ubah}(h]h ]h"]h$]h&]uh1jhjo)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhjJhhhNhNubh)}(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}(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.chM6 ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs*hhhj*hM6 ubj3)}(hgenphy_c37_config_anegh]j9)}(hgenphy_c37_config_anegh]hgenphy_c37_config_aneg|}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjs*hhhj*hM6 ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j j*sbc.genphy_c37_config_anegasbuh1hhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hphydevh]hphydev}(hj +hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubah}(h]h ]h"]h$]h&]jPjQuh1j hjs*hhhj*hM6 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjo*hhhj*hM6 ubah}(h]jj*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hM6 hjl*hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj7+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM6 hj4+hhubah}(h]h ]h"]h$]h&]uh1jfhjl*hhhj*hM6 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO+jjO+jjjuh1hhhhjJhNhNubj)}(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)}(hjY+h]h Parameters}(hj[+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW+ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM: hjS+ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjx+h]hstruct phy_device *phydev}(hjz+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv+ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM7 hjr+ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM7 hj+ubah}(h]h ]h"]h$]h&]uh1jhjr+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM7 hjo+ubah}(h]h ]h"]h$]h&]uh1jhjS+ubjl)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM9 hjS+ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; hj+ubj)}(hhh]jl)}(hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h]hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM: hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM; hj+ubah}(h]h ]h"]h$]h&]uh1jhjS+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h0int genphy_aneg_done (struct phy_device *phydev)h]j )}(h/int genphy_aneg_done(struct phy_device *phydev)h](jM )}(hinth]hint}(hj#,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf ubj")}(h h]h }(hj2,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj1,hMf ubj3)}(hgenphy_aneg_doneh]j9)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hjD,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj1,hMf 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 jF,sbc.genphy_aneg_doneasbuh1hhj\,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 hjX,ubah}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj1,hMf ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj1,hMf ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1,hMf hj,hhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf hj,hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhj1,hMf ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMj hj,ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj$-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.chMg hj-ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj=-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9-hMg hj:-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj9-hMg 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.chMi hj,ubj)}(hhh]j)}(hReads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](j)}(h1Reads the status register and returns 0 either ifh]h1Reads the status register and returns 0 either if}(hj|-hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMj hjx-ubj)}(hhh]jl)}(hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h]hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMj hj-ubah}(h]h ]h"]h$]h&]uh1jhjx-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMj hju-ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2int genphy_update_link (struct phy_device *phydev)h]j )}(h1int genphy_update_link(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.chMv ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj-hMv ubj3)}(hgenphy_update_linkh]j9)}(hgenphy_update_linkh]hgenphy_update_link}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj-hMv 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_update_linkasbuh1hhj.ubj")}(h h]h }(hjI.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hjW.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hphydevh]hphydev}(hjd.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubah}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj-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)}(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.chMv hj.hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjJhNhNubj)}(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.chMz 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.chMw hj.ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj.hhhNhNubah}(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&]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.chMy 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}(hj5/hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hj1/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.}(hjG/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC/hMz hjD/ubah}(h]h ]h"]h$]h&]uh1jhj1/ubeh}(h]h ]h"]h$]h&]uh1jhjC/hMz hj./ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhjJhhhNhNubh)}(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 }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hphydevh]hphydev}(hj0hhhNhNubah}(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]jz/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}(hjG0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjD0hhubah}(h]h ]h"]h$]h&]uh1jfhj|/hhhj/hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_0jj_0jjjuh1hhhhjJhNhNubj)}(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)}(hji0h]h Parameters}(hjk0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg0ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjc0ubj)}(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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj0ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj0hhhNhNubah}(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&]uh1jhjc0ubjl)}(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.chM hjc0ubjl)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjc0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhjJhhhNhNubh)}(hhh](j)}(h2int genphy_read_status (struct phy_device *phydev)h]j )}(h1int genphy_read_status(struct phy_device *phydev)h](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj1hM ubj3)}(hgenphy_read_statush]j9)}(hgenphy_read_statush]hgenphy_read_status}(hj)1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj1hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjE1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA1ubj")}(h h]h }(hjR1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjc1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje1modnameN classnameNj j )}j ]j )}j j+1sbc.genphy_read_statusasbuh1hhjA1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjA1ubj9)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj1hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj1hM ubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM hj0hhubjg)}(hhh]jl)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj1hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjJhNhNubj)}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj 2h]hstruct phy_device *phydev}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj2ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj"2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hjD2h]h Description}(hjF2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB2ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1ubj)}(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}(hja2hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj]2ubj)}(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.}(hjs2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjp2ubah}(h]h ]h"]h$]h&]uh1jhj]2ubeh}(h]h ]h"]h$]h&]uh1jhjo2hM hjZ2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhjJhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhh]/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!hj2hhhj2hM+ ubj3)}(hgenphy_c37_read_statush]j9)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hM+ ubj )}(h*(struct phy_device *phydev, bool *changed)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}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j j2sbc.genphy_c37_read_statusasbuh1hhj2ubj")}(h h]h }(hj/3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj=3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hphydevh]hphydev}(hjJ3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h bool *changedh](jM )}(hjh]hbool}(hjc3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_3ubj")}(h h]h }(hjp3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_3ubj )}(hj h]h*}(hj~3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_3ubj9)}(hchangedh]hchanged}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hM+ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hM+ ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM+ hj2hhubjg)}(hhh]jl)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjJhNhNubj)}(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)}(hj3h]h Parameters}(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/ hj3ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hj3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 4hM, hj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj 4hM, hj3ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hj/4h]h bool *changed}(hj14hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-4ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj)4ubj)}(hhh]jl)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hjH4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjD4hM- hjE4ubah}(h]h ]h"]h$]h&]uh1jhj)4ubeh}(h]h ]h"]h$]h&]uh1jhjD4hM- hj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hjj4h]h Description}(hjl4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh4ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hj3ubj)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hj4ubj)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hj4ubjl)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hj4hhhNhNubj)}(h **changed**h]hchanged}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh! is set to true, false otherwise.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM2 hj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhjJhhhNhNubh)}(hhh](j)}(h1int genphy_soft_reset (struct phy_device *phydev)h]j )}(h0int genphy_soft_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk ubj")}(h h]h }(hj 5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj 5hMk ubj3)}(hgenphy_soft_reseth]j9)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj 5hMk ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj85hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj45ubj")}(h h]h }(hjE5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj45ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjV5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX5modnameN classnameNj j )}j ]j )}j j5sbc.genphy_soft_resetasbuh1hhj45ubj")}(h h]h }(hjv5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj45ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj45ubj9)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj45ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj05ubah}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj 5hMk ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj 5hMk ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 5hMk hj4hhubjg)}(hhh]jl)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj 5hMk ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjJhNhNubj)}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hj5ubj)}(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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl hj5ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMl hj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMl hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj76h]h Description}(hj96hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj56ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hj5ubjl)}(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.}(hjM6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hj5ubjl)}(h **Return**h]j)}(hj^6h]hReturn}(hj`6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\6ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hj5ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjt6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhjJhhhNhNubh)}(hhh](j)}(h5int genphy_read_abilities (struct phy_device *phydev)h]j )}(h4int genphy_read_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hM ubj3)}(hgenphy_read_abilitiesh]j9)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hM ubj )}(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 reftargetj7modnameN classnameNj j )}j ]j )}j j6sbc.genphy_read_abilitiesasbuh1hhj6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj,7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hphydevh]hphydev}(hj97hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(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)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hjc7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj`7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{7jj{7jjjuh1hhhhjJhNhNubj)}(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)}(hj7h]h Parameters}(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 hj7ubj)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(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 hj7ubjl)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubjl)}(h **Return**h]j)}(hj8h]hReturn}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhjJhhhNhNubh)}(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}(hjK8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjG8hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjZ8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjG8hhhjY8hM ubj3)}(hphy_remove_link_modeh]j9)}(hphy_remove_link_modeh]hphy_remove_link_mode}(hjl8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjG8hhhjY8hM ubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j )}j jn8sbc.phy_remove_link_modeasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(h u32 link_modeh](h)}(hhh]j9)}(hu32h]hu32}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j8c.phy_remove_link_modeasbuh1hhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(h link_modeh]h link_mode}(hj)9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjG8hhhjY8hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjC8hhhjY8hM ubah}(h]j>8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjY8hM hj@8hhubjg)}(hhh]jl)}(hRemove a supported link modeh]hRemove a supported link mode}(hjS9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjP9hhubah}(h]h ]h"]h$]h&]uh1jfhj@8hhhjY8hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjk9jjk9jjjuh1hhhhjJhNhNubj)}(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)}(hju9h]h Parameters}(hjw9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs9ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjo9ubj)}(hhh](j)}(hL``struct phy_device *phydev`` phy_device structure to remove link mode from 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)}(h-phy_device structure to remove link mode fromh]h-phy_device structure to remove link mode from}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj9ubj)}(h*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hj9h]h u32 link_mode}(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)}(hLink mode to be removedh]hLink mode to be removed}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj9ubeh}(h]h ]h"]h$]h&]uh1jhjo9ubjl)}(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 hjo9ubjl)}(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 hjo9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h8void phy_advertise_supported (struct phy_device *phydev)h]j )}(h7void phy_advertise_supported(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjM:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjI: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!hjI:hhhj[:hM* ubj3)}(hphy_advertise_supportedh]j9)}(hphy_advertise_supportedh]hphy_advertise_supported}(hjn:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjI: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 jp: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 hjI:hhhj[:hM* ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjE:hhhj[:hM* ubah}(h]j@:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[:hM* hjB: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&]uh1jfhjB:hhhj[:hM* ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%;jj%;jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called to advertise all supported modes, doesn't touch pause mode advertising.h](jl)}(h**Parameters**h]j)}(hj/;h]h Parameters}(hj1;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)}(hjN;h]hstruct phy_device *phydev}(hjP;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL;ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hjH;ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjg;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjc;hM+ hjd;ubah}(h]h ]h"]h$]h&]uh1jhjH;ubeh}(h]h ]h"]h$]h&]uh1jhjc;hM+ hjE;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)}(hNCalled to advertise all supported modes, doesn't touch pause mode advertising.h]hPCalled to advertise all supported modes, doesn’t touch pause mode advertising.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj);ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h6void phy_advertise_eee_all (struct phy_device *phydev)h]j )}(h5void phy_advertise_eee_all(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhj;hM; ubj3)}(hphy_advertise_eee_allh]j9)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj;hM; ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj <hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj)<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+<modnameN classnameNj j )}j ]j )}j j;sbc.phy_advertise_eee_allasbuh1hhj<ubj")}(h h]h }(hjI<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hjW<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(hphydevh]hphydev}(hjd<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj;hM; ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhj;hM; ubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hM; hj;hhubjg)}(hhh]jl)}(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.chM; hj<hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj;hM; ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Per default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h](jl)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hj<ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj<h]hstruct phy_device *phydev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< hj<ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM< hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM< hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hj =h]h Description}(hj =hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM> hj<ubjl)}(hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h]hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.}(hj =hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM> hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhjJhhhNhNubh)}(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}(hjO=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjK=hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML ubj")}(h h]h }(hj^=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK=hhhj]=hML ubj3)}(hphy_support_eeeh]j9)}(hphy_support_eeeh]hphy_support_eee}(hjp=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjK=hhhj]=hML 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 jr=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 hjK=hhhj]=hML ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjG=hhhj]=hML ubah}(h]jB=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]=hML hjD=hhubjg)}(hhh]jl)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hj >hhubah}(h]h ]h"]h$]h&]uh1jfhjD=hhhj]=hML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'>jj'>jjjuh1hhhhjJhNhNubj)}(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)}(hj1>h]h Parameters}(hj3>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.chMP hj+>ubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjP>h]hstruct phy_device *phydev}(hjR>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMM hjJ>ubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hji>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje>hMM hjf>ubah}(h]h ]h"]h$]h&]uh1jhjJ>ubeh}(h]h ]h"]h$]h&]uh1jhje>hMM hjG>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.chMO hj+>ubjl)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hj+>ubjl)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMU hj+>ubjl)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hj+>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhjJhhhNhNubh)}(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}(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.chMw ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhj>hMw ubj3)}(hphy_disable_eeeh]j9)}(hphy_disable_eeeh]hphy_disable_eee}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhj>hMw 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 }(hj8?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'?ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjI?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK?modnameN classnameNj j )}j ]j )}j j?sbc.phy_disable_eeeasbuh1hhj'?ubj")}(h h]h }(hji?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'?ubj )}(hj h]h*}(hjw?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'?ubj9)}(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>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)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMw hj?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj>hMw ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjJhNhNubj)}(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)}(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.chMx hj?ubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMx hj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMx hj?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.chMz hj?ubjl)}(hiThis function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h]hmThis function is used by MAC drivers for MAC’s which don’t support EEE. It disables EEE on the PHY layer.}(hj@@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhjJhhhNhNubh)}(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}(hjo@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjk@hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj~@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk@hhhj}@hM ubj3)}(hphy_support_sym_pauseh]j9)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjk@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_support_sym_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}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjk@hhhj}@hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjg@hhhj}@hM ubah}(h]jb@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}@hM hjd@hhubjg)}(hhh]jl)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hj/AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj,Ahhubah}(h]h ]h"]h$]h&]uh1jfhjd@hhhj}@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGAjjGAjjjuh1hhhhjJhNhNubj)}(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)}(hjQAh]h Parameters}(hjSAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOAubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKAubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjpAh]hstruct phy_device *phydev}(hjrAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnAubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjjAubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjgAubah}(h]h ]h"]h$]h&]uh1jhjKAubjl)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKAubjl)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhjJhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhM ubj3)}(hphy_support_asym_pauseh]j9)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Bubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj-BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)Bubj")}(h h]h }(hj:BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Bubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjKBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMBmodnameN classnameNj j )}j ]j )}j jBsbc.phy_support_asym_pauseasbuh1hhj)Bubj")}(h h]h }(hjkBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)Bubj )}(hj h]h*}(hjyBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)Bubj9)}(hphydevh]hphydev}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)Bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%Bubah}(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)}(hEnable support of asym pauseh]hEnable support of asym pause}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjJhNhNubj)}(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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjBh]hstruct phy_device *phydev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hj,Ch]h Description}(hj.ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Cubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBubjl)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hjBChhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhjJhhhNhNubh)}(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}(hjqChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmChhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmChhhjChM ubj3)}(hphy_set_sym_pauseh]j9)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmChhhjChM ubj )}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jCsbc.phy_set_sym_pauseasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hphydevh]hphydev}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hbool rxh](jM )}(hjh]hbool}(hj DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hj-DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hrxh]hrx}(hj;DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hbool txh](jM )}(hjh]hbool}(hjTDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPDubj")}(h h]h }(hjaDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPDubj9)}(htxh]htx}(hjoDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h bool autonegh](jM )}(hjh]hbool}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj9)}(hautonegh]hautoneg}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hjmChhhjChM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjiChhhjChM ubah}(h]jdCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChM hjfChhubjg)}(hhh]jl)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDhhubah}(h]h ]h"]h$]h&]uh1jfhjfChhhjChM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjJhNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjEh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj'EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#EhM hj$Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj#EhM hjEubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjGEh]hbool rx}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEEubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjAEubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hj`EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\EhM hj]Eubah}(h]h ]h"]h$]h&]uh1jhjAEubeh}(h]h ]h"]h$]h&]uh1jhj\EhM hjEubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjEh]hbool tx}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Eubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjzEubj)}(hhh]jl)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjzEubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjEubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hjEh]h bool autoneg}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEubj)}(hhh]jl)}(hAuto neg should be usedh]hAuto neg should be used}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjEubeh}(h]h ]h"]h$]h&]uh1jhjDubjl)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubjl)}(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.}(hj FhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhjJhhhNhNubh)}(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}(hj9FhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5Fhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjHFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5FhhhjGFhM ubj3)}(hphy_set_asym_pauseh]j9)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hjZFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5FhhhjGFhM ubj )}(h-(struct phy_device *phydev, bool rx, bool tx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjvFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrFubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j\Fsbc.phy_set_asym_pauseasbuh1hhjrFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrFubj9)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnFubj )}(hbool rxh](jM )}(hjh]hbool}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hrxh]hrx}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnFubj )}(hbool txh](jM )}(hjh]hbool}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hj)GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(htxh]htx}(hj7GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnFubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5FhhhjGFhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1FhhhjGFhM ubah}(h]j,Fah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGFhM hj.Fhhubjg)}(hhh]jl)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hjaGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj^Ghhubah}(h]h ]h"]h$]h&]uh1jfhj.FhhhjGFhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyGjjyGjjjuh1hhhhjJhNhNubj)}(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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}Gubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjGh]hstruct phy_device *phydev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjGubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjGubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjGh]hbool rx}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjGubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjGubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjHh]hbool tx}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjHubj)}(hhh]jl)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj-HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)HhM hj*Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj)HhM hjGubeh}(h]h ]h"]h$]h&]uh1jhj}Gubjl)}(h**Description**h]j)}(hjOHh]h Description}(hjQHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMHubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}Gubjl)}(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.}(hjeHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}Gubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhjJhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM ubj3)}(hphy_validate_pauseh]j9)}(hphy_validate_pauseh]hphy_validate_pause}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM ubj )}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jHsbc.phy_validate_pauseasbuh1hhjHubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hphydevh]hphydev}(hj)IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct ethtool_pauseparam *pph](j)}(hjh]hstruct}(hjBIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>Iubj")}(h h]h }(hjOIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>Iubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hj`IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbImodnameN classnameNj j )}j ]j Ic.phy_validate_pauseasbuh1hhj>Iubj")}(h h]h }(hj~IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>Iubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>Iubj9)}(hpph]hpp}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhM ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM hjHhhubjg)}(hhh]jl)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjJhNhNubj)}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjJh]hstruct phy_device *phydev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjIubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hj=Jh]hstruct ethtool_pauseparam *pp}(hj?JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Jubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7Jubj)}(hhh]jl)}(hrequested pause configurationh]hrequested pause configuration}(hjVJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRJhM hjSJubah}(h]h ]h"]h$]h&]uh1jhj7Jubeh}(h]h ]h"]h$]h&]uh1jhjRJhM hjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hjxJh]h Description}(hjzJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvJubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubjl)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhjJhhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhM ubj3)}(h phy_get_pauseh]j9)}(h phy_get_pauseh]h phy_get_pause}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjJhM ubj )}(h;(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jJsbc.phy_get_pauseasbuh1hhjJubj")}(h h]h }(hj8KhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjFKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hphydevh]hphydev}(hjSKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hbool *tx_pauseh](jM )}(hjh]hbool}(hjlKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhKubj")}(h h]h }(hjyKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhKubj9)}(htx_pauseh]htx_pause}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hbool *rx_pauseh](jM )}(hjh]hbool}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hrx_pauseh]hrx_pause}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjJhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhjJhM ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhM hjJhhubjg)}(hhh]jl)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjJhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjJhNhNubj)}(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!Lh]h Parameters}(hj#LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj@Lh]hstruct phy_device *phydev}(hjBLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Lubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj:Lubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjYLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjULhM hjVLubah}(h]h ]h"]h$]h&]uh1jhj:Lubeh}(h]h ]h"]h$]h&]uh1jhjULhM hj7Lubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hjyLh]hbool *tx_pause}(hj{LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwLubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjsLubj)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubah}(h]h ]h"]h$]h&]uh1jhjsLubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj7Lubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hjLh]hbool *rx_pause}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubj)}(hhh]jl)}(hDpointer to bool to indicate whether receive pause should be enabled.h]hDpointer to bool to indicate whether receive pause should be enabled.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj7Lubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubjl)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhjJhhhNhNubh)}(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}(hj7MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9MmodnameN classnameNj j )}j ]j )}j phy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhj0Mhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjYMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0MhhhjXMhM ubj3)}(hphy_get_internal_delayh]j9)}(hjUMh]hphy_get_internal_delay}(hjkMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0MhhhjXMhM ubj )}(hJ(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jSMc.phy_get_internal_delayasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~Mubj )}(hconst int *delay_valuesh](j)}(hj h]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubjM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hj-NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(h delay_valuesh]h delay_values}(hj:NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~Mubj )}(hint sizeh](jM )}(hinth]hint}(hjSNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjONubj")}(h h]h }(hjaNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjONubj9)}(hsizeh]hsize}(hjoNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjONubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~Mubj )}(h bool is_rxh](jM )}(hjh]hbool}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(his_rxh]his_rx}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~Mubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0MhhhjXMhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,MhhhjXMhM ubah}(h]j'Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXMhM hj)Mhhubjg)}(hhh]jl)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNhhubah}(h]h ]h"]h$]h&]uh1jfhj)MhhhjXMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``const int *delay_values`` array of delays the PHY supports ``int size`` the size of the delay array ``bool is_rx`` boolean to indicate to get the rx internal delay **Description** Returns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Oubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hj'OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#OhM hj$Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj#OhM hjOubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hjGOh]hconst int *delay_values}(hjIOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjAOubj)}(hhh]jl)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hj`OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\OhM hj]Oubah}(h]h ]h"]h$]h&]uh1jhjAOubeh}(h]h ]h"]h$]h&]uh1jhj\OhM hjOubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjOh]hint size}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Oubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjzOubj)}(hhh]jl)}(hthe size of the delay arrayh]hthe size of the delay array}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjzOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hjOh]h bool is_rx}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubj)}(hhh]jl)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNubjl)}(hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h]hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hint phy_get_tx_amplitude_gain (struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h]j )}(hint phy_get_tx_amplitude_gain(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](jM )}(hinth]hint}(hj9PhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5Phhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM` ubj")}(h h]h }(hjHPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5PhhhjGPhM` ubj3)}(hphy_get_tx_amplitude_gainh]j9)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjZPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5PhhhjGPhM` ubj )}(hf(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjvPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrPubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j j\Psbc.phy_get_tx_amplitude_gainasbuh1hhjrPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrPubj9)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnPubj )}(hstruct device *devh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hdeviceh]hdevice}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jPc.phy_get_tx_amplitude_gainasbuh1hhjPubj")}(h h]h }(hj$QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hj2QhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hdevh]hdev}(hj?QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnPubj )}(h+enum ethtool_link_mode_bit_indices linkmodeh](j)}(hjh]henum}(hjXQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTQubj")}(h h]h }(hjeQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTQubh)}(hhh]j9)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hjvQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxQmodnameN classnameNj j )}j ]jPc.phy_get_tx_amplitude_gainasbuh1hhjTQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTQubj9)}(hlinkmodeh]hlinkmode}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnPubj )}(hu32 *valh](h)}(hhh]j9)}(hu32h]hu32}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jPc.phy_get_tx_amplitude_gainasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hvalh]hval}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnPubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5PhhhjGPhM` ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1PhhhjGPhM` ubah}(h]j,Pah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGPhM` hj.Phhubjg)}(hhh]jl)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hj!RhhhNhNubj)}(h**val**h]hval}(hj)RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Rubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM` hjRhhubah}(h]h ]h"]h$]h&]uh1jfhj.PhhhjGPhM` ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGRjjGRjjjuh1hhhhjJhNhNubj)}(hX<**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct device *dev`` pointer to the devices device struct ``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved ``u32 *val`` tx amplitude gain **Return** 0 on success, < 0 on failureh](jl)}(h**Parameters**h]j)}(hjQRh]h Parameters}(hjSRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjORubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMd hjKRubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjpRh]hstruct phy_device *phydev}(hjrRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMa hjjRubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMa hjRubah}(h]h ]h"]h$]h&]uh1jhjjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMa hjgRubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjRh]hstruct device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMb hjRubj)}(hhh]jl)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMb hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMb hjgRubj)}(hm``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved h](j)}(h/``enum ethtool_link_mode_bit_indices linkmode``h]j)}(hjRh]h+enum ethtool_link_mode_bit_indices linkmode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMc hjRubj)}(hhh]jl)}(hstruct phy_port * phy_get_sfp_port (struct phy_device *phydev)h]j )}(hXmodnameN classnameNj j )}j ]j )}j fwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhjXhhhj*XhM ubj")}(h h]h }(hj]XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhj*XhM ubj )}(hj h]h*}(hjkXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXhhhj*XhM ubj3)}(hfwnode_mdio_find_deviceh]j9)}(hjZXh]hfwnode_mdio_find_device}(hj|XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhj*XhM ubj )}(h(struct fwnode_handle *fwnode)h]j )}(hstruct fwnode_handle *fwnodeh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]jXXc.fwnode_mdio_find_deviceasbuh1hhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hfwnodeh]hfwnode}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhj*XhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhj*XhM ubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*XhM hjXhhubjg)}(hhh]jl)}(h$Given a fwnode, find the mdio_deviceh]h$Given a fwnode, find the mdio_device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhj*XhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0Yjj0Yjjjuh1hhhhjJhNhNubj)}(hX3**Parameters** ``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode **Description** If successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h](jl)}(h**Parameters**h]j)}(hj:Yh]h Parameters}(hj``struct phy_device *phydev`` the target 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjf^ubj)}(hhh]jl)}(hthe target PHY device structureh]hthe target PHY device structure}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjf^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjc^ubah}(h]h ]h"]h$]h&]uh1jhjG^ubjl)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjG^ubjl)}(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().}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjG^ubjl)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjG^ubjl)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjG^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.chM"hjG^ubjl)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hjG^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhjJhhhNhNubh)}(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}(hj1_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_register_fixuph]j9)}(hphy_register_fixuph]hphy_register_fixup}(hjR_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-_hhhj?_hMubj )}(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}(hjn_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj_ubj")}(h h]h }(hj{_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_ubjM )}(hcharh]hchar}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjj_ubj9)}(hbus_idh]hbus_id}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjf_ubj )}(h u32 phy_uidh](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 )}j jT_sbc.phy_register_fixupasbuh1hhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(hphy_uidh]hphy_uid}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjf_ubj )}(hu32 phy_uid_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 ]j_c.phy_register_fixupasbuh1hhj`ubj")}(h h]h }(hj6`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj9)}(h phy_uid_maskh]h phy_uid_mask}(hjD`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjf_ubj )}(hint (*run)(struct phy_device*)h](jM )}(hinth]hint}(hj]`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjY`ubj")}(h h]h }(hjk`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY`ubj )}(hjg h]h(}(hjy`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubj9)}(hrunh]hrun}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY`ubj )}(hj h]h)}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubj )}(hjg h]h(}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubj)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY`ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j_c.phy_register_fixupasbuh1hhjY`ubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubj )}(hj h]h)}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjf_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/creates a new phy_fixup and adds it to the listh]h/creates a new phy_fixup and adds it to the list}(hj-ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj*ahhubah}(h]h ]h"]h$]h&]uh1jfhj&_hhhj?_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEajjEajjjuh1hhhhjJhNhNubj)}(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)}(hjOah]h Parameters}(hjQahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMaubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjIaubj)}(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)}(hjnah]hconst char *bus_id}(hjpahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlaubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjhaubj)}(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)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjhaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjeaubj)}(hJ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) h](j)}(h``u32 phy_uid``h]j)}(hjah]h u32 phy_uid}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjaubj)}(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)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjeaubj)}(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)}(hjah]hu32 phy_uid_mask}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjaubj)}(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)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjeaubj)}(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)}(hjbh]hint (*run)(struct phy_device *)}(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)}(h6The actual code to be run when a matching PHY is foundh]h6The actual code to be run when a matching PHY is found}(hj3bhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj/bhMhjeaubeh}(h]h ]h"]h$]h&]uh1jhjIaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhjJhhhNhNubh)}(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}(hjtbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpbhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpbhhhjbhM~ubj3)}(hget_phy_c45_idsh]j9)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjpbhhhjbhM~ubj )}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jbsbc.get_phy_c45_idsasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hbush]hbus}(hj chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hint addrh](jM )}(hinth]hint}(hj#chhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hj1chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(haddrh]haddr}(hj?chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(h"struct phy_c45_device_ids *c45_idsh](j)}(hjh]hstruct}(hjXchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTcubj")}(h h]h }(hjechhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTcubh)}(hhh]j9)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hjvchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjscubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxcmodnameN classnameNj j )}j ]jbc.get_phy_c45_idsasbuh1hhjTcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTcubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTcubj9)}(hc45_idsh]hc45_ids}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjpbhhhjbhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlbhhhjbhM~ubah}(h]jgbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhM~hjibhhubjg)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~hjchhubah}(h]h ]h"]h$]h&]uh1jfhjibhhhjbhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjJhNhNubj)}(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)}(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+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjdh]hstruct mii_bus *bus}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hj3dhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/dhMhj0dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj/dhMhjdubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjSdh]hint addr}(hjUdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjMdubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjldhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhdhMhjidubah}(h]h ]h"]h$]h&]uh1jhjMdubeh}(h]h ]h"]h$]h&]uh1jhjhdhMhjdubj)}(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)}(hjdh]h"struct phy_c45_device_ids *c45_ids}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjdubj)}(hhh]jl)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjcubjl)}(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 }(hjdhhhNhNubj)}(h **c45_ids**h]hc45_ids}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjcubjl)}(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, }(hjdhhhNhNubj)}(h``-EIO``h]h-EIO}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh on bus access error, or }(hjdhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubhB if the “devices in package” is invalid or no device responds.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhjJhhhNhNubh)}(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}(hjQehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMehhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj`ehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMehhhj_ehMubj3)}(hget_phy_c22_idh]j9)}(hget_phy_c22_idh]hget_phy_c22_id}(hjrehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjneubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMehhhj_ehMubj )}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jtesbc.get_phy_c22_idasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hbush]hbus}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(hint addrh](jM )}(hinth]hint}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(haddrh]haddr}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubj )}(h u32 *phy_idh](h)}(hhh]j9)}(hu32h]hu32}(hj8fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:fmodnameN classnameNj j )}j ]jec.get_phy_c22_idasbuh1hhj1fubj")}(h h]h }(hjVfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1fubj )}(hj h]h*}(hjdfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1fubj9)}(hphy_idh]hphy_id}(hjqfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1fubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMehhhj_ehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIehhhj_ehMubah}(h]jDeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_ehMhjFehhubjg)}(hhh]jl)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jfhjFehhhj_ehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjJhNhNubj)}(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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjfh]hstruct mii_bus *bus}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjgh]hint addr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjgubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj.ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*ghMhj+gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj*ghMhjfubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hjNgh]h u32 *phy_id}(hjPghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjHgubj)}(hhh]jl)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hjgghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcghMhjdgubah}(h]h ]h"]h$]h&]uh1jhjHgubeh}(h]h ]h"]h$]h&]uh1jhjcghMhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfubjl)}(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 }(hjghhhNhNubj)}(h**addr**h]haddr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh on the }(hjghhhNhNubj)}(h**bus**h]hbus}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh, placing it in }(hjghhhNhNubj)}(h **phy_id**h]hphy_id}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh6. Return zero on successful read and the ID is valid, }(hjghhhNhNubj)}(h``-EIO``h]h-EIO}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh on bus access error, or }(hjghhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh% if no device responds or invalid ID.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhjJhhhNhNubh)}(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}(hj(hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj7hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhhj6hhMubj3)}(hphy_prepare_linkh]j9)}(hphy_prepare_linkh]hphy_prepare_link}(hjIhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhhj6hhMubj )}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjehhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahubj")}(h h]h }(hjrhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jKhsbc.phy_prepare_linkasbuh1hhjahubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjahubj9)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjahubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]hubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hjg h]h(}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hhandlerh]hhandler}(hj ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubj )}(hj h]h)}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj )}(hjg h]h(}(hj(ihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj)}(hjh]hstruct}(hj5ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjBihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjSihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUimodnameN classnameNj j )}j ]jhc.phy_prepare_linkasbuh1hhjhubj )}(hj h]h*}(hjqihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj )}(hj h]h)}(hj~ihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]hubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhhj6hhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhhj6hhMubah}(h]jhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hhMhjhhhubjg)}(hhh]jl)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjihhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhj6hhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjJhNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh](j)}(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}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj!jh]h$void (*handler)(struct net_device *)}(hj#jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjjubj)}(hhh]jl)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hj:jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6jhMhj7jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj6jhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hj\jh]h Description}(hj^jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(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}(hjyjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjujubj)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjujubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjrjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhjJhhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjjhMubj3)}(hphy_poll_reseth]j9)}(hphy_poll_reseth]hphy_poll_reset}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj'khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)kmodnameN classnameNj j )}j ]j )}j jjsbc.phy_poll_resetasbuh1hhjkubj")}(h h]h }(hjGkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjUkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hphydevh]hphydev}(hjbkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(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)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjJhNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjkubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll 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.chMhjkubj)}(hhh]jl)}(hThe PHY device to pollh]hThe PHY device to poll}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubjl)}(h**Description**h]j)}(hjlh]h Description}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjkubj)}(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%lhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM*hj!lubj)}(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.}(hj7lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj4lubjl)}(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.}(hjFlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hj4lubjl)}(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 }(hjUlhhhNhNubjY)}(h *REQUIRE*h]hREQUIRE}(hj]lhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjUlubhX 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.}(hjUlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM&hj4lubeh}(h]h ]h"]h$]h&]uh1jhj!lubeh}(h]h ]h"]h$]h&]uh1jhj3lhM*hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhjJhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhjlhMubj3)}(hphy_sfp_connect_phyh]j9)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhjlhMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(hupstreamh]hupstream}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj'mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#mubj")}(h h]h }(hj4mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#mubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjEmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmmodnameN classnameNj j )}j ]j )}j jlsbc.phy_sfp_connect_phyasbuh1hhj#mubj")}(h h]h }(hjemhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#mubj )}(hj h]h*}(hjsmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#mubj9)}(hphyh]hphy}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjlhMubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjlhhubjg)}(hhh]jl)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjJhNhNubj)}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjmh]hvoid *upstream}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjmubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hj$nh]hstruct phy_device *phy}(hj&nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"nubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hj=nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9nhMhj:nubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj9nhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hj_nh]h Description}(hjanhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]nubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubjl)}(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}(hjunhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubjl)}(h **Return**h]j)}(hjnh]hReturn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubjl)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhjJhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhMubj3)}(hphy_sfp_disconnect_phyh]j9)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hj$ohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hupstreamh]hupstream}(hj1ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjJohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFoubj")}(h h]h }(hjWohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFoubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjomodnameN classnameNj j )}j ]j )}j jnsbc.phy_sfp_disconnect_phyasbuh1hhjFoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFoubj9)}(hphyh]hphy}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(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)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjohhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjJhNhNubj)}(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)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjoubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjph]hvoid *upstream}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjpubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hj'phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#phMhj$pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj#phMhjpubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjGph]hstruct phy_device *phy}(hjIphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEpubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjApubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hj`phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\phMhj]pubah}(h]h ]h"]h$]h&]uh1jhjApubeh}(h]h ]h"]h$]h&]uh1jhj\phMhjpubeh}(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&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjoubjl)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhjJhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjphMubj3)}(hphy_sfp_attachh]j9)}(hphy_sfp_attachh]hphy_sfp_attach}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjphMubj )}(h%(void *upstream, struct sfp_bus *bus)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hj qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hupstreamh]hupstream}(hj-qhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjFqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBqubj")}(h h]h }(hjSqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBqubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjdqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfqmodnameN classnameNj j )}j ]j )}j jpsbc.phy_sfp_attachasbuh1hhjBqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBqubj9)}(hbush]hbus}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjphMubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjphhubjg)}(hhh]jl)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjJhNhNubj)}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hj rh]hvoid *upstream}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubj)}(hhh]jl)}(hpointer to the phy deviceh]hpointer to the phy device}(hj#rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhj rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjrubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjCrh]hstruct sfp_bus *bus}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj=rubj)}(hhh]jl)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hj\rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXrhMhjYrubah}(h]h ]h"]h$]h&]uh1jhj=rubeh}(h]h ]h"]h$]h&]uh1jhjXrhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjqubjl)}(h**Description**h]j)}(hj~rh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|rubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqubjl)}(hsubj")}(h h]h }(hjOshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>subh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj`shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbsmodnameN classnameNj j )}j ]j )}j jrsbc.phy_sfp_detachasbuh1hhj>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)}(hbush]hbus}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjrhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjrhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMhjrhhubjg)}(hhh]jl)}(h7detach the SFP bus from the PHY upstream network deviceh]h7detach the SFP bus from the PHY upstream network device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjshhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjJhNhNubj)}(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 .detach member.h](jl)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjsubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjth]hvoid *upstream}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjtubj)}(hhh]jl)}(hpointer to the phy deviceh]hpointer to the phy device}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjsubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hj?th]hstruct sfp_bus *bus}(hjAthhhNhNubah}(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.chMhj9tubj)}(hhh]jl)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjXthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjTthMhjUtubah}(h]h ]h"]h$]h&]uh1jhj9tubeh}(h]h ]h"]h$]h&]uh1jhjTthMhjsubeh}(h]h ]h"]h$]h&]uh1jhjsubjl)}(h**Description**h]j)}(hjzth]h Description}(hj|thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxtubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjsubjl)}(h 0 if it has changed.h](jl)}(h**Parameters**h]j)}(hjuwh]h Parameters}(hjwwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjswubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjowubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hjwh]hconst unsigned long *advert}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh]jl)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubeh}(h]h ]h"]h$]h&]uh1jhjowubjl)}(h**Description**h]j)}(hjxh]h Description}(hj xhhhNhNubah}(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.chMhjowubj)}(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%xhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!xubj)}(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.}(hj7xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj4xubah}(h]h ]h"]h$]h&]uh1jhj!xubeh}(h]h ]h"]h$]h&]uh1jhj3xhMhjxubah}(h]h ]h"]h$]h&]uh1jhjowubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhjJhhhNhNubh)}(hhh](j)}(h8int genphy_c37_config_advert (struct phy_device *phydev)h]j )}(h7int genphy_c37_config_advert(struct phy_device *phydev)h](jM )}(hinth]hint}(hjxxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtxhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMLubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtxhhhjxhMLubj3)}(hgenphy_c37_config_adverth]j9)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjtxhhhjxhMLubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j jxsbc.genphy_c37_config_advertasbuh1hhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hphydevh]hphydev}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubah}(h]h ]h"]h$]h&]jPjQuh1j hjtxhhhjxhMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjpxhhhjxhMLubah}(h]jkxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMLhjmxhhubjg)}(hhh]jl)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hj8yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMLhj5yhhubah}(h]h ]h"]h$]h&]uh1jfhjmxhhhjxhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPyjjPyjjjuh1hhhhjJhNhNubj)}(hXz**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](jl)}(h**Parameters**h]j)}(hjZyh]h Parameters}(hj\yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXyubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMPhjTyubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyyh]hstruct phy_device *phydev}(hj{yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwyubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMMhjsyubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMMhjyubah}(h]h ]h"]h$]h&]uh1jhjsyubeh}(h]h ]h"]h$]h&]uh1jhjyhMMhjpyubah}(h]h ]h"]h$]h&]uh1jhjTyubjl)}(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.chMOhjTyubj)}(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,}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMRhjyubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMPhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMRhjyubah}(h]h ]h"]h$]h&]uh1jhjTyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhjJhhhNhNubh)}(hhh](j)}(h"int phy_probe (struct device *dev)h]j )}(h!int phy_probe(struct device *dev)h](jM )}(hinth]hint}(hj$zhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj zhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMGubj")}(h h]h }(hj3zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj zhhhj2zhMGubj3)}(h phy_probeh]j9)}(h phy_probeh]h phy_probe}(hjEzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj zhhhj2zhMGubj )}(h(struct device *dev)h]j )}(hstruct device *devh](j)}(hjh]hstruct}(hjazhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]zubj")}(h h]h }(hjnzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]zubh)}(hhh]j9)}(hdeviceh]hdevice}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j jGzsb c.phy_probeasbuh1hhj]zubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]zubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]zubj9)}(hdevh]hdev}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYzubah}(h]h ]h"]h$]h&]jPjQuh1j hj zhhhj2zhMGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhj2zhMGubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2zhMGhjzhhubjg)}(hhh]jl)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMGhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhj2zhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct device *dev`` device to probe and init **Description** Take care of setting up the phy_device structure, set the state to READY.h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMKhj{ubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj%{h]hstruct device *dev}(hj'{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#{ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMHhj{ubj)}(hhh]jl)}(hdevice to probe and inith]hdevice to probe and init}(hj>{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:{hMHhj;{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj:{hMHhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubjl)}(h**Description**h]j)}(hj`{h]h Description}(hjb{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.chMJhj{ubjl)}(hITake care of setting up the phy_device structure, set the state to READY.h]hITake care of setting up the phy_device structure, set the state to READY.}(hjv{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMIhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hMint phy_driver_register (struct phy_driver *new_driver, struct module *owner)h]j )}(hLint phy_driver_register(struct phy_driver *new_driver, struct module *owner)h](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hMubj3)}(hphy_driver_registerh]j9)}(hphy_driver_registerh]hphy_driver_register}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhj{hMubj )}(h5(struct phy_driver *new_driver, struct module *owner)h](j )}(hstruct phy_driver *new_driverh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(h phy_driverh]h phy_driver}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j )}j j{sbc.phy_driver_registerasbuh1hhj{ubj")}(h h]h }(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 new_driverh]h new_driver}(hj;|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct module *ownerh](j)}(hjh]hstruct}(hjT|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP|ubj")}(h h]h }(hja|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP|ubh)}(hhh]j9)}(hmoduleh]hmodule}(hjr|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjt|modnameN classnameNj j )}j ]j|c.phy_driver_registerasbuh1hhjP|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)}(hownerh]howner}(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(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(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|jjjuh1hhhhjJhNhNubj)}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](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)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hj}h]hstruct phy_driver *new_driver}(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)}(hnew phy_driver to registerh]hnew phy_driver to register}(hj/}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+}hMhj,}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj+}hMhj }ubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjO}h]hstruct module *owner}(hjQ}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM}ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjI}ubj)}(hhh]jl)}(hmodule owning this PHYh]hmodule owning this PHY}(hjh}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhje}ubah}(h]h ]h"]h$]h&]uh1jhjI}ubeh}(h]h ]h"]h$]h&]uh1jhjd}hMhj }ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhjJhhhNhNubh)}(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}(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.chKRubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hKRubj3)}(h__mdiobus_readh]j9)}(h__mdiobus_readh]h__mdiobus_read}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hKRubj )}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(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_readasbuh1hhj}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)}(hbush]hbus}(hj?~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hint addrh](jM )}(hinth]hint}(hjX~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjT~ubj")}(h h]h }(hjf~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT~ubj9)}(haddrh]haddr}(hjt~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT~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_readasbuh1hhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(hregnumh]hregnum}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhj}hKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hKRubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hKRhj}hhubjg)}(hhh]jl)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRhj~hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjJhNhNubj)}(hXZ**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chKVhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj'h]hstruct mii_bus *bus}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKShj!ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hKShj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hKShjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj`h]hint addr}(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.chKThjZubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKThjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKThjubj)}(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.chKUhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKUhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKWhjubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKWhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKYhjubjl)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKXhjubjl)}(h**NOTE**h]j)}(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.chKZhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhjJhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKsubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhKsubj3)}(h__mdiobus_writeh]j9)}(h__mdiobus_writeh]h__mdiobus_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhKsubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj€hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĀmodnameN classnameNj j )}j ]j )}j jsbc.__mdiobus_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]jހc.__mdiobus_writeasbuh1hhjGubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hregnumh]hregnum}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jހc.__mdiobus_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjuhKsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhKsubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhKshj\hhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKshjhhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhKsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hXz**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKwhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj-h]hstruct mii_bus *bus}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKthj'ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhKthjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKthj$ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjfh]hint addr}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKuhj`ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKuhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKuhj$ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKvhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhj$ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(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.chKwhj҂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&]uh1jkhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhj҂ubeh}(h]h ]h"]h$]h&]uh1jhjhKwhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj!h]hReturn}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjubjl)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK{hjubjl)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKzhjubjl)}(h**NOTE**h]j)}(hjoh]hNOTE}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK|hjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(h[int __mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hZint __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjÃhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjƒhKubj3)}(h__mdiobus_modify_changedh]j9)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjՃhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjуubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjƒhKubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j׃sbc.__mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](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)}(haddrh]haddr}(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 ]j+c.__mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjDŽhhhNhNubah}(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.__mdiobus_modify_changedasbuh1hhj܄ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj܄ubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj܄ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j+c.__mdiobus_modify_changedasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hseth]hset}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(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/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjƒhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error condition **Description** Read, modify, and if any change, write the register value back to the device. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj…h]hstruct mii_bus *bus}(hjąhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjۅhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjׅhKhj؅ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjׅhKhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj4h]h u32 regnum}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj.ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhjubj)}(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:134: ./drivers/net/phy/mdio_bus.chKhjgubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߆ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(hMRead, modify, and if any change, write the register value back to the device.h]hMRead, modify, and if any change, write the register value back to the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**NOTE**h]j)}(hj/h]hNOTE}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhjJhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhKubj3)}(h__mdiobus_c45_readh]j9)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhKubj )}(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}(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_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(hdevadh]hdevad}(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 ]jc.__mdiobus_c45_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhKubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjihhubjg)}(hhh]jl)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chKhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj'h]hstruct mii_bus *bus}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj!ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hKhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hKhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj`h]hint addr}(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.chKhjZubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhKhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj̉ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**NOTE**h]j)}(hj[h]hNOTE}(hj]hhhNhNubah}(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.chKhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hWint __mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(hVint __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(h__mdiobus_c45_writeh]j9)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj݊hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjيubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjيubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jÊsbc.__mdiobus_c45_writeasbuh1hhjيubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjيubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjيubj9)}(hbush]hbus}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjيubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjՊubj )}(hint addrh](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)}(haddrh]haddr}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjՊubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjՊubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__mdiobus_c45_writeasbuh1hhjubj")}(h h]h }(hjڋhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjՊubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__mdiobus_c45_writeasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hj0hhhNhNubah}(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.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjZhhhNhNubah}(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&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjJhNhNubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjvubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(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:134: ./drivers/net/phy/mdio_bus.chKhjΌubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjΌubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj h]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]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"hKhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjFh]h u32 regnum}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj@ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(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)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(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.chKhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjvubjl)}(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.chKhjvubjl)}(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.chKhjvubjl)}(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.chKhjvubjl)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjvubjl)}(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.chKhjvubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhjJhhhNhNubh)}(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}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjihM"ubj3)}(hmdiobus_read_nestedh]j9)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjihM"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 j~sbc.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}(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 u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]jҎc.mdiobus_read_nestedasbuh1hhj;ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj9)}(hregnumh]hregnum}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjihM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjShhhjihM"ubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihM"hjPhhubjg)}(hhh]jl)}(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&]uh1jfhjPhhhjihM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM&hjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(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.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$hj ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM$hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM$hjЏubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjKh]h u32 regnum}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hjEubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM%hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM%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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hhjubj)}(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)}(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.chM@hjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubeh}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h **Return**h]j)}(hjDh]hReturn}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhjrubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhjrubjl)}(h**NOTE**h]j)}(hjkh]hNOTE}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjrubjl)}(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.chMDhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hKint mdiobus_c45_read (struct mii_bus *bus, int addr, int devad, u32 regnum)h]j )}(hJint mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMUubj3)}(hmdiobus_c45_readh]j9)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjѓhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͓ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMUubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jӓsbc.mdiobus_c45_readasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(haddrh]haddr}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj̔hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɔubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjΔmodnameN classnameNj j )}j ]j'c.mdiobus_c45_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 hjhhhjhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMUubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMUhjhhubjg)}(hhh]jl)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjJhNhNubj)}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhj>ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjch]hstruct mii_bus *bus}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMVhj]ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMVhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMVhjZubj)}(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&]uh1jhjhMWhjZubj)}(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&]uh1jhjhMXhjZubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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#hMYhjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(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:134: ./drivers/net/phy/mdio_bus.chM[hj>ubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hj>ubjl)}(h**NOTE**h]j)}(hjph]hNOTE}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hj>ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhjJhhhNhNubh)}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jؖsbc.mdiobus_c45_read_nestedasbuh1hhjubj")}(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)}(hbush]hbus}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(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_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&]jjjj?jj?jjjuh1hhhhjJhNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhjCubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjhh]hstruct mii_bus *bus}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMohjbubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMohj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMohj_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.chMphjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphj_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.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&]uh1jhjhMqhj_ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhj ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMrhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMrhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h **Return**h]j)}(hjNh]hReturn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjCubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjCubjl)}(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:134: ./drivers/net/phy/mdio_bus.chMvhjCubjl)}(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.chMuhjCubjl)}(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.chMxhjCubjl)}(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.chMyhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhjJhhhNhNubh)}(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 hjݙhhh[/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!hjݙhhhjhMubj3)}(hmdiobus_write_nestedh]j9)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݙhhhjhMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j jsbc.mdiobus_write_nestedasbuh1hhjubj")}(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 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 ]jXc.mdiobus_write_nestedasbuh1hhjubj")}(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&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jXc.mdiobus_write_nestedasbuh1hhj 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 hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjݙhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjٙhhhjhMubah}(h]jԙah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj֙hhubjg)}(hhh]jl)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjchhubah}(h]h ]h"]h$]h&]uh1jfhj֙hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjJhNhNubj)}(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}(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)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޛubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjڛubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڛubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjRh]hu16 val}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjLubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjkhhhNhNubj)}(h **regnum**h]hregnum}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hj؜hhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhjJhhhNhNubh)}(hhh](j)}(hFint mdiobus_write (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]j )}(hEint mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMubj3)}(h mdiobus_writeh]j9)}(h mdiobus_writeh]h mdiobus_write}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(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 jQsbc.mdiobus_writeasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hbush]hbus}(hjĝhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hint addrh](jM )}(hinth]hint}(hjݝhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٝubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٝubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٝubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(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 }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]jc.mdiobus_writeasbuh1hhjVubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMhj#hhubjg)}(hhh]jl)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj˞jj˞jjjuh1hhhhjJhNhNubj)}(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}(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)}(hj-h]hint addr}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj'ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjfh]h u32 regnum}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj`ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjϞubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhjJhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhMubj3)}(hmdiobus_c45_writeh]j9)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhMubj )}(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 jwsbc.mdiobus_c45_writeasbuh1hhjubj")}(h h]h }(hjϠhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjݠhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hdevadh]hdevad}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(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 ]jˠc.mdiobus_c45_writeasbuh1hhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(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 ]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 hjPhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhMubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjIhhubjg)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjJhNhNubj)}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj*ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjOh]hstruct mii_bus *bus}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjIubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(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&]uh1jhjhMhjFubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjâhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjڢhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj֢hMhjעubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֢hMhjFubj)}(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&]uh1jhjhMhjFubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj3h]hu16 val}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj-ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjLhhhNhNubj)}(h **regnum**h]hregnum}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h **Return**h]j)}(hj|h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhjJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j j sbc.mdiobus_c45_write_nestedasbuh1hhj!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)}(hbush]hbus}(hj~hhhNhNubah}(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 int devadh](jM )}(hinth]hint}(hj̤hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȤubj")}(h h]h }(hjڤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȤubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȤubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j_c.mdiobus_c45_write_nestedasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j_c.mdiobus_c45_write_nestedasbuh1hhjEubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj9)}(hvalh]hval}(hjxhhhNhNubah}(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 jYjZhjhhhjhMubah}(h]jۣah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjݣhhubjg)}(hhh]jl)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjݣhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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.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.chMhjݥubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݥubeh}(h]h ]h"]h$]h&]uh1jhjhMhjڥubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjڥubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjUh]h int devad}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjڥubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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&]uh1jhjhMhjڥubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjǦh]hu16 val}(hjɦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŦubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjܦhMhjݦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܦhMhjڥubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj&hhhNhNubah}(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)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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().}(hjMhhhNhNubah}(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)}(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.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.}(hjthhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhjJhhhNhNubh)}(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&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܧubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܧubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jƧsbc.mdiobus_modifyasbuh1hhjܧubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܧubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjܧubj9)}(hbush]hbus}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܧubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjاubj )}(hint addrh](jM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(haddrh]haddr}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjاubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjاubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjҨhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϨubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԨmodnameN classnameNj j )}j ]jc.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 hjاubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjFhhhNhNubah}(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?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj#h]h u32 regnum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]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&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjVubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhjJhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j j8sbc.mdiobus_c45_modifyasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hint addrh](jM )}(hinth]hint}(hjīhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjҫhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(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 hjJubj )}(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.mdiobus_c45_modifyasbuh1hhj*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 hjJubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jc.mdiobus_c45_modifyasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjìmodnameN classnameNj j )}j ]jc.mdiobus_c45_modifyasbuh1hhjubj")}(h h]h }(hj߬hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj#hM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj#hM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#hM&hj hhubjg)}(hhh]jl)}(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&]uh1jfhj hhhj#hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjJhNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM*hj3ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjXh]hstruct mii_bus *bus}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hjRubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM(hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM(hjOubj)}(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)hjOubj)}(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&]uh1jkhj߭hM*hjubah}(h]h ]h"]h$]h&]uh1jhjĭubeh}(h]h ]h"]h$]h&]uh1jhj߭hM*hjOubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM+hjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjOubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj<h]hu16 mask}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM,hj6ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM,hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM,hjOubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjuh]hu16 set}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM-hjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(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/hj3ubjl)}(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/hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhjJhhhNhNubh)}(hhh](j)}(hYint mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hXint mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM@ubj3)}(hmdiobus_modify_changedh]j9)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM@ubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj2hhhNhNubah}(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}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_modify_changedasbuh1hhj.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)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjܯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjޯmodnameN classnameNj j )}j ]jlc.mdiobus_modify_changedasbuh1hhjկubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjկubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjկubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jlc.mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]jlc.mdiobus_modify_changedasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM@ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM@hjhhubjg)}(hhh]jl)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hj°hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڰjjڰjjjuh1hhhhjJhNhNubj)}(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.chMDhjްubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj<h]hint addr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMChj6ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMChjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMChjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjuh]h u32 regnum}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjoubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(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}(hjDZhhhNhNubah}(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&]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.chMHhjްubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMHhjްubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhjJhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhMYubj3)}(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&]jPjQuh1j2hjchhhjuhMYubj )}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj²hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIJmodnameN 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}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hdevadh]hdevad}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j޲c.mdiobus_c45_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}(hj˳hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȳubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjͳmodnameN classnameNj j )}j ]j޲c.mdiobus_c45_modify_changedasbuh1hhjijubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjijubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjijubeh}(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_changedasbuh1hhj ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hseth]hset}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjuhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhMYubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMYhj\hhubjg)}(hhh]jl)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjfhhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjJhNhNubj)}(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&]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)}(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\hjݴubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjݴubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM]hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM]hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjUh]h u32 regnum}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM^hjOubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhM^hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM^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`hjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(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 **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.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}(hjhhhNhNubah}(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&]uh1jhjJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhjJhhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhKubj3)}(h__mdiobus_c45_modify_changedh]j9)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhKubj )}(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 jjsbc.__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}(hjݶhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(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 }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hdevadh]hdevad}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]jc.__mdiobus_c45_modify_changedasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(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 }(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 hj|ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhKubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhKhj<hhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjFhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjJhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjeubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjܸhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjظhMhjٸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjظhMhjubj)}(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)}(hj5h]h u32 regnum}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj/ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjnh]hu16 mask}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjhubj)}(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&]uh1jhjhubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubjl)}(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.chMhjeubjl)}(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.chMhjeubjl)}(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:137: ./drivers/net/phy/mdio_bus.chM hjeubjl)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjeubjl)}(h**NOTE**h]j)}(hj0h]hNOTE}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM hjeubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjJhhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjHhhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhhhhhKubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhhhKhjuubah}(h]h ]h"]h$]h&]uh1jhhhKhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhjdhhhNhNubh)}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhjubj)}(hX\struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };h]hX\struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };}hj%sbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKohjubjl)}(h **Members**h]j)}(hj6h]hMembers}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK{hjubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hjUh]h advertising}(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.hhKkhjOubj)}(hhh]jl)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhKkhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKkhjLubj)}(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&]uh1jhjhKmhjLubj)}(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_tuh1hhjݻhKnhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjݻhKnhj޻ubah}(h]h ]h"]h$]h&]uh1jhj»ubeh}(h]h ]h"]h$]h&]uh1jhjݻhKnhjLubj)}(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.hhKohjubj)}(hhh]jl)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKohj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKohjLubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hj]h]hduplex}(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.hhKphjWubj)}(hhh]jl)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKphjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKphjLubj)}(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&]uh1jhjhKqhjLubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2) and the speed/duplex of the phy interface mode (}(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) are different.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKrhjubah}(h]h ]h"]h$]h&]uh1jhjɼubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjLubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hj?h]hlink}(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.hhKvhj9ubj)}(hhh]jl)}(htrue if the link is up.h]htrue if the link is up.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThKvhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKvhjLubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjxh]h an_complete}(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.hhKvhjrubj)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjLubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhjdhhhNhNubh)}(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νhhhj߽hK}ubj3)}(hphylink_configh]j9)}(hj̽h]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjνhhhj߽hK}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjʽhhhj߽hK}ubah}(h]jŽah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj߽hK}hjǽhhubjg)}(hhh]jl)}(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ǽhhhj߽hK}ubeh}(h]h ](jstructeh"]h$]h&]jjjj,jj,jjjuh1hhhhjdhNhNubj)}(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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh:}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj0ubj)}(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; };}hjQsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj0ubjl)}(h **Members**h]j)}(hjbh]hMembers}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj0ubj)}(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.hhKhj{ubj)}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hjӾhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϾhKhjоubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϾhKhjxubj)}(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 }(hj hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh mode.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hj?h]hmac_managed_pm}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj9ubj)}(hhh]jl)}(h;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhjxubj)}(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)}(hjxh]hmac_requires_rxc}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjrubj)}(hhh]jl)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(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ǿhKhjxubj)}(hN``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI h](j)}(h``eee_rx_clk_stop_enable``h]j)}(hjh]heee_rx_clk_stop_enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h2if true, PHY can stop the receive clock during LPIh]h2if true, PHY can stop the receive clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(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.hhKhjubj)}(hhh]jl)}(h_callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode.h](hIcallback to execute to determine the fixed link state, if MAC link is at }(hj>hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh mode.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjxubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. h](j)}(h``supported_interfaces``h]j)}(hjqh]hsupported_interfaces}(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.hhKhjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjh]hlpi_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(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&]uh1jhjhKhjxubj)}(hA``lpi_capabilities`` MAC speeds which can support LPI signalling h](j)}(h``lpi_capabilities``h]j)}(hjh]hlpi_capabilities}(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+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjxubj)}(h5``lpi_timer_default`` Default EEE LPI timer setting. h](j)}(h``lpi_timer_default``h]j)}(hjWh]hlpi_timer_default}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubj)}(hhh]jl)}(hDefault EEE LPI timer setting.h]hDefault EEE LPI timer setting.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjxubj)}(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&]uh1jhjhKhjxubj)}(hN``wol_phy_legacy`` Use Wake-on-Lan with PHY even if phy_can_wakeup() is false h](j)}(h``wol_phy_legacy``h]j)}(hjh]hwol_phy_legacy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is falseh]h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is false}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(h?``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume h](j)}(h``wol_phy_speed_ctrl``h]j)}(hjh]hwol_phy_speed_ctrl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h'Use phy speed control on suspend/resumeh]h'Use phy speed control on suspend/resume}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubj)}(h?``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](j)}(h``wol_mac_support``h]j)}(hj;h]hwol_mac_support}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj5ubj)}(hhh]jl)}(h+Bitmask of MAC supported ``WAKE_*`` optionsh](hBitmask of MAC supported }(hjThhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh options}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhKhjxubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphylink_mac_opsh]j )}(hstruct phylink_mac_opsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphylink_mac_opsh]j9)}(hjh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hMAC operations structure.h]hMAC operations structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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}(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.hhKhjubj)}(hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };h]hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };}hj&sbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(h **Members**h]j)}(hj7h]hMembers}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(h:``mac_get_caps`` Get MAC capabilities for interface mode. h](j)}(h``mac_get_caps``h]j)}(hjVh]h mac_get_caps}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjPubj)}(hhh]jl)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjMubj)}(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&]uh1jhjhKhjMubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjh]h mac_prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hjh]h mac_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h2configure the MAC for the selected mode and state.h]h2configure the MAC for the selected mode and state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hj:h]h mac_finish}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj4ubj)}(hhh]jl)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhjMubj)}(h&``mac_link_down`` take the link down. h](j)}(h``mac_link_down``h]j)}(hjsh]h mac_link_down}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjmubj)}(hhh]jl)}(htake the link down.h]htake the link down.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjh]h mac_link_up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hallow the link to come up.h]hallow the link to come up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(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&]uh1jhjhKhjMubj)}(h0``mac_enable_tx_lpi`` enable and configure LPI. h](j)}(h``mac_enable_tx_lpi``h]j)}(hjh]hmac_enable_tx_lpi}(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)}(henable and configure LPI.h]henable and configure LPI.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjMubj)}(h:``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](j)}(h``mac_wol_set``h]j)}(hjWh]h mac_wol_set}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubj)}(hhh]jl)}(h*configure Wake-on-Lan settings at the MAC.h]h*configure Wake-on-Lan settings at the MAC.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjMubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjdhhubjl)}(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.hhKhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hUunsigned long mac_get_caps (struct phylink_config *config, phy_interface_t interface)h]j )}(hTunsigned long mac_get_caps(struct phylink_config *config, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(h mac_get_capsh]j9)}(h mac_get_capsh]h mac_get_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h:(struct phylink_config *config, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsbc.mac_get_capsasbuh1hhj-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)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jkc.mac_get_capsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j 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(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``phy_interface_t interface`` PHY interface mode. **Description** Optional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj=h]hstruct phylink_config *config}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj7ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjVhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj`h]hstruct phylink_config}(hjbhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjRhKhjVubh.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhj4ubj)}(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&]uh1jhjhKhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h]hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h^struct phylink_pcs * mac_select_pcs (struct phylink_config *config, phy_interface_t interface)h]j )}(h\struct phylink_pcs *mac_select_pcs(struct phylink_config *config, phy_interface_t interface)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj&hKubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j mac_select_pcssbc.mac_select_pcsasbuh1hhjhhhj&hKubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj&hKubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj&hKubj3)}(hmac_select_pcsh]j9)}(hjVh]hmac_select_pcs}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(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 ]jTc.mac_select_pcsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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 ]jTc.mac_select_pcsasbuh1hhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hj2hhhNhNubah}(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]j ah ](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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj&hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjdhNhNubj)}(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)}(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.hhKhjxubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhjxubjl)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjxubjl)}(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 }(hjJhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjTh]hstruct phylink_pcs}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjJubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhKhjxubjl)}(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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hYint mac_prepare (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]j )}(hXint mac_prepare(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h mac_prepareh]j9)}(h mac_prepareh]h mac_prepare}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.mac_prepareasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubjM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hmodeh]hmode}(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 reftargetjmodnameN classnameNj j )}j ]j" c.mac_prepareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h(prepare to change the PHY interface modeh]h(prepare to change the PHY interface mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(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.hhMhj?ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj^hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjhh]hstruct phylink_config}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjZhMhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(hinterface mode to switch toh]hinterface mode to switch to}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(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.}(hjahhhNhNubah}(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()}(hjphhhNhNubah}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhjdhhhNhNubh)}(hhh](j)}(hjvoid mac_config (struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h]j )}(hivoid mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h mac_configh]j9)}(h mac_configh]h mac_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hZ(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsb c.mac_configasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubjM )}(hinth]hint}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j% c.mac_configasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(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)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(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&]jjjjbjjbjjjuh1hhhhjdhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjfubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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)}(hjVh]h&const struct phylink_link_state *state}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjPubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjohhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjyh]hstruct phylink_link_state}(hj{hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjkhMhjoubh.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM!hjfubjl)}(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 hjfubjl)}(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%hjfubjl)}(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 }(hj0hhhNhNubj)}(h**mode**h]hmode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }(hj0hhhNhNubj)}(h**state->pause**h]h state->pause}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubhE indicates the pause settings which should be applied as follows. If }(hj0hhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh is not set, }(hj0hhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh and }(hj0hhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh 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.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjfubjl)}(hinterface**. **state->advertising** may be used, but is not required. Older drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up(). Other members of **state** must be ignored. Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause. h](j)}(h!``MLO_AN_FIXED``, ``MLO_AN_PHY``:h](j)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM@hjubj)}(hhh](jl)}(hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**.h](hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM3hjubjl)}(h8**state->advertising** may be used, but is not required.h](j)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" may be used, but is not required.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hjubjl)}(hOlder drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().h](h:Older drivers (prior to the mac_link_up() change) may use }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjubjl)}(h+Other members of **state** must be ignored.h](hOther members of }(hjdhhhNhNubj)}(h **state**h]hstate}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh must be ignored.}(hjdhhhNhNubeh}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(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 }(hjVhhhNhNubjY)}(h *without*h]hwithout}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjVubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhjdhhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubjM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hmodeh]hmode}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t 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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.hhMkhj ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj1h]hstruct phylink_config *config}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhj+ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjJhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjTh]hstruct phylink_config}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjFhMhhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFhMhhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhhj(ubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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&]uh1jhjhMihj(ubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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&]uh1jhjhMjhj(ubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlhj ubjl)}(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 }(hjMhhhNhNubj)}(h**mode**h]hmode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh and }(hjMhhhNhNubj)}(h **iface**h]hiface}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMkhj 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.hhMphj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhjdhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.mac_link_downasbuh1hhjubj")}(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)}(hconfigh]hconfig}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubjM )}(hinth]hint}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(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.hhMxhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(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)}(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)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjIh]hstruct phylink_config *config}(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.hhMyhjCubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjbhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjlh]hstruct phylink_config}(hjnhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj^hMyhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj^hMyhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMyhj@ubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMzhjubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj@ubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhM{hjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hj@ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM}hj$ubjl)}(hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.h]hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.}(hjRhhhNhNubah}(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.}(hjahhhNhNubah}(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 }(hjphhhNhNubj)}(h**mode**h]hmode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh is }(hjphhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh9, then this function must not prevent the link coming up.}(hjphhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhjdhhhNhNubh)}(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 }(hj hhhNhNubah}(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 reftargetj modnameN classnameNj j )}j ]j )}j jsb c.mac_link_upasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j: c.mac_link_upasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(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}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j: c.mac_link_upasbuh1hhj/ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(h interfaceh]h interface}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool tx_pauseh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool rx_pauseh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrx_pauseh]hrx_pause}(hj4hhhNhNubah}(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}(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&]jjjjvjjvjjjuh1hhhhjdhNhNubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzubj)}(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)}(hj4h]hunsigned int mode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj.ubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjmh]hphy_interface_t interface}(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=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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjh]h int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hj;h]h bool tx_pause}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(hhh]jl)}(h%link transmit pause enablement statush]h%link transmit pause enablement status}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hjth]h bool rx_pause}(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$link receive pause enablement statush]h$link receive pause enablement status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzubjl)}(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.hhMhjzubjl)}(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.hhMhjzubjl)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzubjl)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzubjl)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhjdhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj{hhubjg)}(hhh]jl)}(h!disable LPI generation at the MACh]h!disable LPI generation at the MAC}(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&]uh1jfhj{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjdhNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubj)}(hhh]j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjbubjl)}(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.hhMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhjdhhhNhNubh)}(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}(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 }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj3)}(hmac_enable_tx_lpih]j9)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(h<(struct phylink_config *config, u32 timer, bool tx_clk_stop)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jMsbc.mac_enable_tx_lpiasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubj )}(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 hj_ubj )}(hbool tx_clk_stoph](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)}(h tx_clk_stoph]h tx_clk_stop}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjhhubjg)}(hhh]jl)}(h.configure and enable LPI generation at the MACh]h.configure and enable LPI generation at the MAC}(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&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjdhNhNubj)}(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)}(hjh]h u32 timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hLPI timeout in microseconds.h]hLPI timeout in microseconds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hj<h]hbool tx_clk_stop}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj6ubj)}(hhh]jl)}(h2allow xMII transmit clock to be stopped during LPIh]h2allow xMII transmit clock to be stopped during LPI}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubeh}(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&]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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_wol_set (C function) c.mac_wol_sethNtauh1hhjdhhhNhNubh)}(hhh](j)}(hNint mac_wol_set (struct phylink_config *config, u32 wolopts, const u8 *sopass)h]j )}(hMint mac_wol_set(struct phylink_config *config, u32 wolopts, const u8 *sopass)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h mac_wol_seth]j9)}(h mac_wol_seth]h mac_wol_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h>(struct phylink_config *config, u32 wolopts, const u8 *sopass)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsb c.mac_wol_setasbuh1hhj+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)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(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 ]ji 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&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]ji c.mac_wol_setasbuh1hhjubj")}(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)}(hsopassh]hsopass}(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$configure the Wake-on-Lan parametersh]h$configure the Wake-on-Lan parameters}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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}(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:Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes.h](h Bitmask of }(hj hhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh% flags for enabled Wake-On-Lan modes.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` h](j)}(h``const u8 *sopass``h]j)}(hjRh]hconst u8 *sopass}(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?SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE``h](h+SecureOn(tm) password; meaningful only for }(hjkhhhNhNubj)}(h``WAKE_MAGICSECURE``h]hWAKE_MAGICSECURE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h phylink_pcsh]j )}(hstruct phylink_pcsh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj5hMubj3)}(h phylink_pcsh]j9)}(hj"h]h phylink_pcs}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj5hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMhjhhubjg)}(hhh]jl)}(hPHYLINK PCS instanceh]hPHYLINK PCS instance}(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&]uh1jfhjhhhj5hMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.hhMhj ubj)}(hhh]jl)}(hMa pointer to the :c:type:`struct phylink_pcs_ops ` structureh](ha pointer to the }(hj*hhhNhNubh)}(h2:c:type:`struct phylink_pcs_ops `h]j)}(hj4h]hstruct phylink_pcs_ops}(hj6hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_pcs_opsuh1hhj&hMhj*ubh structure}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hjmh]hphylink}(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;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&]uh1jhjgubeh}(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&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(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.hhMhjdhhubjl)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjdhhubjl)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjfhhhNhNubj)}(h **phylink**h]hphylink}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubhH member is private to phylink and must not be touched by the PCS driver.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhjdhhhNhNubh)}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Definition**:: struct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); }; **Members** ``pcs_validate`` validate the link configuration. ``pcs_inband_caps`` query inband support for interface mode. ``pcs_enable`` enable the PCS. ``pcs_disable`` disable the PCS. ``pcs_pre_config`` pre-mac_config method (for errata) ``pcs_post_config`` post-mac_config method (for arrata) ``pcs_get_state`` read the current MAC PCS link state from the hardware. ``pcs_config`` configure the MAC PCS for the selected mode and state. ``pcs_an_restart`` restart 802.3z BaseX autonegotiation. ``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). ``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. ``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. ``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };h]hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h **Members**h]j)}(hj0h]hMembers}(hj2hhhNhNubah}(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 hjubj)}(hhh](j)}(h2``pcs_validate`` validate the link configuration. h](j)}(h``pcs_validate``h]j)}(hjOh]h pcs_validate}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjIubj)}(hhh]jl)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubj)}(h6``pcs_pre_config`` pre-mac_config method (for errata) h](j)}(h``pcs_pre_config``h]j)}(hj3h]hpcs_pre_config}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj-ubj)}(hhh]jl)}(h"pre-mac_config method (for errata)h]h"pre-mac_config method (for errata)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjFubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hjlh]hpcs_post_config}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjfubj)}(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&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hjh]hpcs_an_restart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjFubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hjPh]h pcs_link_up}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubj)}(hhh]jl)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubj)}(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&]uh1jhjhMhjFubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhjdhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehM%ubj3)}(h pcs_validateh]j9)}(h pcs_validateh]h pcs_validate}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehM%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 jzsbc.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 hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h supportedh]h supported}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hjqhhhNhNubah}(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)}(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_validateasbuh1hhj`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)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjehM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehM%ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehM%hjLhhubjg)}(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&]uh1jfhjLhhhjehM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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)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)}(hjAh]hstruct phylink_pcs *pcs}(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.hhM&hj;ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjZhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjdh]hstruct phylink_pcs}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjVhM&hjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjVhM&hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM&hj8ubj)}(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'hj8ubj)}(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(hj8ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjubjl)}(hX"Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method.h](hValidate the interface mode, and advertising’s autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the }(hjJhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjTh]hstruct phylink_mac_ops}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjJubh validate() method.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhM)hjubjl)}(hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h]hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hQunsigned int pcs_inband_caps (struct phylink_pcs *pcs, phy_interface_t interface)h]j )}(hPunsigned int pcs_inband_caps(struct phylink_pcs *pcs, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM6ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhM6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM6ubj3)}(hpcs_inband_capsh]j9)}(hpcs_inband_capsh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM6ubj )}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j jsbc.pcs_inband_capsasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j>c.pcs_inband_capsasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j 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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.hhM7hj ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj)hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj3h]hstruct phylink_pcs}(hj5hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj%hM7hj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%hM7hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(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)}(hjlh]hphy_interface_t interface}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hjfubj)}(hhh]jl)}(hinterface mode to be queriedh]hinterface mode to be queried}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhjdhhhNhNubh)}(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 hj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMDubj3)}(h pcs_enableh]j9)}(h pcs_enableh]h pcs_enable}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMDubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j2sb c.pcs_enableasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMDubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMDhjhhubjg)}(hhh]jl)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMDhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.hhMJhj ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj)hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj3h]hstruct phylink_pcs}(hj5hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMEhj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjPhMEhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhjdhhhNhNubh)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjJhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjdhNhNubj)}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjiubj)}(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&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhjdhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMPubj3)}(h pcs_get_stateh]j9)}(h pcs_get_stateh]h pcs_get_state}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMPubj )}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.pcs_get_stateasbuh1hhjDubj")}(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@ubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hj hhhNhNubah}(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}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]jc.pcs_get_stateasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMPubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMPubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMPhjhhubjg)}(hhh]jl)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(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&]uh1jfhjhhhjhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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)}(hj)h]hunsigned int neg_mode}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMRhj#ubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMRhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMRhjubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjbh]h struct phylink_link_state *state}(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.hhMShj\ubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj{hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjwhMShj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjwhMShjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMShjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMUhjubjl)}(hX{Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated.h](hTRead the current inband link state from the MAC PCS, reporting the current speed in }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, duplex mode in }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, pause mode in }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh using the }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' bits, negotiation completion state in }(hjhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and link up state in }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If possible, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hj\hhhNhNubah}(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 }(hjuhhhNhNubj)}(h **neg_mode**h]hneg_mode}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhC parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.}(hjuhhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhjdhhhNhNubh)}(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 }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_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)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j- c.pcs_configasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(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 hjubj )}(hbool permit_pause_to_mach](jM )}(hjh]hbool}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMdhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjYh]hunsigned int neg_mode}(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.hhMehjSubj)}(hhh]jl)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMehjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMehjubj)}(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)}(hjh]hbool permit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhjubj)}(hhh]jl)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj?h]h Description}(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.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. }(hjUhhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hjUhhhNhNubeh}(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 }(hjvhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubhG, inband should always be enabled, otherwise inband should be disabled.}(hjvhhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h-void pcs_an_restart (struct phylink_pcs *pcs)h]j )}(h,void pcs_an_restart(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubj3)}(hpcs_an_restarth]j9)}(hpcs_an_restarth]hpcs_an_restart}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMubj )}(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 }(hjmhhhNhNubah}(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 reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.pcs_an_restartasbuh1hhj\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)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** When PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj$h]hstruct phylink_pcs *pcs}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj=hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjGh]hstruct phylink_pcs}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj9hMhj=ubh.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhjdhhhNhNubh)}(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}(hj hhhNhNubah}(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 }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j j sb c.pcs_link_upasbuh1hhj#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)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL 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 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 ]ja c.pcs_link_upasbuh1hhjubj")}(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 hjubj )}(h int speedh](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(hspeedh]hspeed}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex **Description** This call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op. The ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjJh]hunsigned int neg_mode}(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.hhMhjDubj)}(hhh]jl)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.hhMhj}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_tuh1hhjhMhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjh]h int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link duplexh]h link duplex}(hj1hhhNhNubah}(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)}(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.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.}(hjihhhNhNubah}(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 }(hjxhhhNhNubj)}(h``mode``h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh 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.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h.void pcs_disable_eee (struct phylink_pcs *pcs)h]j )}(h-void pcs_disable_eee(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hpcs_disable_eeeh]j9)}(hpcs_disable_eeeh]hpcs_disable_eee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.pcs_disable_eeeasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(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)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhjdhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjghMubj3)}(hpcs_enable_eeeh]j9)}(hpcs_enable_eeeh]hpcs_enable_eee}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMubj )}(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 j|sbc.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 hjUhhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjNhhubjg)}(hhh]jl)}(hEnable EEE at the PCSh]hEnable EEE at the PCS}(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&]uh1jfhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE is about to be enabled at the MAC.h](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(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)}(hjZh]hstruct phylink_pcs *pcs}(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)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjshhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj}h]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjohMhjsubeh}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubjl)}(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.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhjdhhhNhNubh)}(hhh](j)}(h*int pcs_pre_init (struct phylink_pcs *pcs)h]j )}(h)int pcs_pre_init(struct phylink_pcs *pcs)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h pcs_pre_inith]j9)}(h pcs_pre_inith]h pcs_pre_init}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsbc.pcs_pre_initasbuh1hhj2ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hpcsh]hpcs}(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)}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(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.}(hjnhhhNhNubah}(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.}(hj}hhhNhNubah}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhjdhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.phylink_get_link_timer_nsasbuh1hhj ubj")}(h h]h }(hj* hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h interfaceh]h interface}(hj8 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}(hjb 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&]jjjjz jjz jjjuh1hhhhjdhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj~ ubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hj h]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj h]htypedef phy_interface_t}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj hMhj ubh mode}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj~ ubjl)}(hoReturn the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](h=Return the PCS link timer setting in nanoseconds for the PHY }(hj hhhNhNubj)}(h **interface**h]h interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh% mode, or -EINVAL if not appropriate.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj~ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhjdhhhNhNubh)}(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}(hjX hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjT hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)ubj")}(h h]h }(hjf hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT hhhje hM)ubj3)}(hphylink_mac_implements_lpih]j9)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hjx hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjT hhhje hM)ubj )}(h#(const struct phylink_mac_ops *ops)h]j )}(h!const struct phylink_mac_ops *opsh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jz sbc.phylink_mac_implements_lpiasbuh1hhj 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)}(hopsh]hops}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjT hhhje hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjP hhhje hM)ubah}(h]jK ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhje hM)hjM hhubjg)}(hhh]jl)}(h#determine if MAC implements LPI opsh]h#determine if MAC implements LPI ops}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hj/ hhubah}(h]h ]h"]h$]h&]uh1jfhjM hhhje hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJ jjJ jjjuh1hhhhjdhNhNubj)}(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)}(hjT h]h Parameters}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM-hjN ubj)}(hhh]j)}(h@``const struct phylink_mac_ops *ops`` phylink_mac_ops structure h](j)}(h%``const struct phylink_mac_ops *ops``h]j)}(hjs h]h!const struct phylink_mac_ops *ops}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjm ubj)}(hhh]jl)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM*hj ubah}(h]h ]h"]h$]h&]uh1jhjm ubeh}(h]h ]h"]h$]h&]uh1jhj hM*hjj ubah}(h]h ]h"]h$]h&]uh1jhjN ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjN ubjl)}(h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h]h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hjN ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphylinkh]j )}(hstruct phylinkh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hKubj3)}(hphylinkh]j9)}(hj h]hphylink}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hKubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hKhj hhubjg)}(hhh]jl)}(hinternal data type for phylinkh]hinternal data type for phylink}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK'hj2 hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hKubeh}(h]h ](jstructeh"]h$]h&]jjjjM jjM jjjuh1hhhhjdhNhNubj)}(h6**Definition**:: struct phylink { }; **Members**h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubh:}(hjU hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK+hjQ ubj)}(hstruct phylink { };h]hstruct phylink { };}hjr sbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK-hjQ ubjl)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK0hjQ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1void phylink_set_port_modes (unsigned long *mask)h]j )}(h0void phylink_set_port_modes(unsigned long *mask)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.chKubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hKubj3)}(hphylink_set_port_modesh]j9)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hKubj )}(h(unsigned long *mask)h]j )}(hunsigned long *maskh](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)}(hmaskh]hmask}(hj; hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hKubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hKhj hhubjg)}(hhh]jl)}(h+set the port type modes in the ethtool maskh]h+set the port type modes in the ethtool mask}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjb hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj} jj} jjjuh1hhhhjdhNhNubj)}(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)}(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.chKhj ubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hj h]hunsigned long *mask}(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.chKhj ubj)}(hhh]jl)}(hethtool link mode maskh]hethtool link mode mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj ubjl)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhjdhhhNhNubh)}(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 }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj4hKubj3)}(hphylink_interface_max_speedh]j9)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj4hKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jIsbc.phylink_interface_max_speedasbuh1hhj_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[ubah}(h]h ]h"]h$]h&]jPjQuh1j hj"hhhj4hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj4hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hKhjhhubjg)}(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&]uh1jfhjhhhj4hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXe**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` **Description** Determine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching. **Return** The maximum speed of **interface**h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]jl)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj"h]htypedef phy_interface_t}(hj$hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhKhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hjohhhNhNubah}(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&]uh1jhj~ubah}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhjdhhhNhNubh)}(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)}(hjh]h u32 max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h maximum speedh]h maximum speed}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]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 }(hjnhhhNhNubj)}(h **max_speed**h]h max_speed}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hjnhhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hLunsigned long phylink_cap_from_speed_duplex (int speed, unsigned int duplex)h]j )}(hKunsigned long phylink_cap_from_speed_duplex(int speed, unsigned int duplex)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphylink_cap_from_speed_duplexh]j9)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h (int speed, unsigned int duplex)h](j )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int duplexh](jM )}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubjM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hduplexh]hduplex}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(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&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX!**Parameters** ``int speed`` the speed to search for ``unsigned int duplex`` the duplex to search for **Description** Find the mac capability for a given speed and duplex. **Return** A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(hthe speed to search forh]hthe speed to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``unsigned int duplex`` the duplex to search for h](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(hthe duplex to search forh]hthe duplex to search for}(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&]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.}(hjjhhhNhNubah}(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&]uh1jhjyubah}(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 }(hjhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh , or 0 if there were no matches.}(hjhhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhjdhhhNhNubh)}(hhh](j)}(huunsigned long phylink_get_capabilities (phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h]j )}(htunsigned long phylink_get_capabilities(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphylink_get_capabilitiesh]j9)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hN(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j j#sbc.phylink_get_capabilitiesasbuh1hhj9ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(h interfaceh]h interface}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hunsigned long mac_capabilitiesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_capabilitiesh]hmac_capabilities}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hint rate_matchingh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h get capabilities for a given MACh]h get capabilities for a given MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjdhNhNubj)}(hXt**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` ``unsigned long mac_capabilities`` bitmask of MAC capabilities ``int rate_matching`` type of rate matching being performed **Description** Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(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.chMhj:ubj)}(hhh](j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hj_h]hphy_interface_t interface}(hjahhhNhNubah}(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.chMhjYubj)}(hhh]jl)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjxhhhNhNubh)}(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_tuh1hhjthMhjxubeh}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(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&]uh1jhjhMhjVubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h%type of rate matching being performedh]h%type of rate matching being performed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hj+h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj:ubjl)}(h_Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](h3Get the MAC capabilities that are supported by the }(hjAhhhNhNubj)}(h **interface**h]h interface}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh mode and }(hjAhhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh.}(hjAhhhNhNubeh}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhjdhhhNhNubh)}(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}(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_validate_mask_capsh]j9)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j )}(hunsigned long *supportedh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.phylink_validate_mask_capsasbuh1hhj+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)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long mac_capabilitiesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_capabilitiesh]hmac_capabilities}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!Restrict link modes based on capsh]h!Restrict link modes based on caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.chMhjubj)}(hhh](j)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjDh]hunsigned long *supported}(hjFhhhNhNubah}(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.chMhj>ubj)}(hhh]jl)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(hl``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj}h]h struct phylink_link_state *state}(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.chMhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjh]hunsigned long mac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(hCalculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](h,Calculate the supported link modes based on }(hj*hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh, and restrict }(hj*hhhNhNubj)}(h **supported**h]h supported}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh and }(hj*hhhNhNubj)}(h **state**h]hstate}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhjdhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(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}(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 ]jc.phylink_pcs_neg_modeasbuh1hhj: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)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]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 }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(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*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h advertisingh]h advertising}(hjVhhhNhNubah}(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.hj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(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.chM0hj ubj)}(hhh]jl)}(h7a pointer to :c:type:`struct phylink_pcs `h](h a pointer to }(hj6 hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj@ h]hstruct phylink_pcs}(hjB hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj2 hM0hj6 ubeh}(h]h ]h"]h$]h&]uh1jkhj2 hM0hj3 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj2 hM0hjubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hju h]hphy_interface_t interface}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM1hjo ubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM1hj ubah}(h]h ]h"]h$]h&]uh1jhjo ubeh}(h]h ]h"]h$]h&]uh1jhj hM1hjubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj h]h const unsigned long *advertising}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hj ubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM2hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM2hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hjubj.L)}(hhh](j3L)}(h@``PHYLINK_PCS_NEG_NONE``: interface mode does not support inbandh]jl)}(hj!h](j)}(h``PHYLINK_PCS_NEG_NONE``h]hPHYLINK_PCS_NEG_NONE}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh(: interface mode does not support inband}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6hj!ubah}(h]h ]h"]h$]h&]uh1j2Lhj!ubj3L)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h]jl)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h](j)}(h``PHYLINK_PCS_NEG_OUTBAND``h]hPHYLINK_PCS_NEG_OUTBAND}(hj?!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;!ubh:: an out of band mode (e.g. reading the PHY) will be used.}(hj;!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM7hj7!ubah}(h]h ]h"]h$]h&]uh1j2Lhj!ubj3L)}(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}(hjf!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb!ubh+: inband mode selected but autoneg disabled}(hjb!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9hj^!ubah}(h]h ]h"]h$]h&]uh1j2Lhj!ubj3L)}(hM``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled h]jl)}(hL``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabledh](j)}(h"``PHYLINK_PCS_NEG_INBAND_ENABLED``h]hPHYLINK_PCS_NEG_INBAND_ENABLED}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh*: inband mode selected and autoneg enabled}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM;hj!ubah}(h]h ]h"]h$]h&]uh1j2Lhj!ubeh}(h]h ]h"]h$]h&]jLj;uh1j-Lhj0!hM6hjubjl)}(h**Note**h]j)}(hj!h]hNote}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM=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.}(hj!hhhNhNubah}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hWint phylink_set_fixed_link (struct phylink *pl, const struct phylink_link_state *state)h]j )}(hVint phylink_set_fixed_link(struct phylink *pl, const struct phylink_link_state *state)h](jM )}(hinth]hint}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj"hMubj3)}(hphylink_set_fixed_linkh]j9)}(hphylink_set_fixed_linkh]hphylink_set_fixed_link}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj"hMubj )}(h<(struct phylink *pl, const struct phylink_link_state *state)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj6"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2"ubj")}(h h]h }(hjC"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2"ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjT"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV"modnameN classnameNj j )}j ]j )}j j"sbc.phylink_set_fixed_linkasbuh1hhj2"ubj")}(h h]h }(hjt"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2"ubj9)}(hplh]hpl}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj."ubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]jp"c.phylink_set_fixed_linkasbuh1hhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hj #hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hstateh]hstate}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj."ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj"hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhj!hhubjg)}(hhh]jl)}(hset the fixed linkh]hset the fixed link}(hjD#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjA#hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\#jj\#jjjuh1hhhhjdhNhNubj)}(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)}(hjf#h]h Parameters}(hjh#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd#ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj`#ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj#h]hstruct phylink *pl}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj#hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj#h]hstruct phylink}(hj#hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj#hMhj#ubh returned from phylink_create()}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj|#ubj)}(hU``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hj#h]h&const struct phylink_link_state *state}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj|#ubeh}(h]h ]h"]h$]h&]uh1jhj`#ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj`#ubjl)}(hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.h]hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.}(hj2$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj`#ubjl)}(h **Return**h]j)}(hjC$h]hReturn}(hjE$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj`#ubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjY$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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hstruct phylink * phylink_create (struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h]j )}(hstruct phylink *phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hM)ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j phylink_createsbc.phylink_createasbuh1hhj$hhhj$hM)ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hM)ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$hhhj$hM)ubj3)}(hphylink_createh]j9)}(hj$h]hphylink_create}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hM)ubj )}(h(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj %hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"%modnameN classnameNj j )}j ]j$c.phylink_createasbuh1hhj$ubj")}(h h]h }(hj>%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjL%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hconfigh]hconfig}(hjY%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}(hjr%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjn%ubj)}(hjh]hstruct}(hj%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 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_createasbuh1hhjn%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)}(hfwnodeh]hfwnode}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j$c.phylink_createasbuh1hhj%ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hifaceh]hiface}(hj,&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h%const struct phylink_mac_ops *mac_opsh](j)}(hj h]hconst}(hjE&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA&ubj")}(h h]h }(hjR&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA&ubj)}(hjh]hstruct}(hj`&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA&ubj")}(h h]h }(hjm&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjA&ubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(hj~&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j$c.phylink_createasbuh1hhjA&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)}(hmac_opsh]hmac_ops}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjA&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj$hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hM)ubah}(h]j{$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hM)hj}$hhubjg)}(hhh]jl)}(hcreate a phylink instanceh]hcreate a phylink instance}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hj&hhubah}(h]h ]h"]h$]h&]uh1jfhj}$hhhj$hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjdhNhNubj)}(hXr**Parameters** ``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface ``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` ``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. **Description** Create a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration. **Note** the rtnl lock must not be held when calling this function. Returns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](jl)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hj&ubj)}(hhh](j)}(hk``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hj"'h]hstruct phylink_config *config}(hj$'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hj'ubj)}(hhh]jl)}(hHa pointer to the target :c:type:`struct phylink_config `h](ha pointer to the target }(hj;'hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjE'h]hstruct phylink_config}(hjG'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjC'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj7'hM*hj;'ubeh}(h]h ]h"]h$]h&]uh1jkhj7'hM*hj8'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj7'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)}(hjz'h]h"const struct fwnode_handle *fwnode}(hj|'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hjt'ubj)}(hhh]jl)}(h^a pointer to a :c:type:`struct fwnode_handle ` describing the network interfaceh](ha pointer to a }(hj'hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj'h]hstruct fwnode_handle}(hj'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hj'ubh! describing the network interface}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj'hM+hj'ubah}(h]h ]h"]h$]h&]uh1jhjt'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM,hj'ubj)}(ho``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t iface``h]j)}(hj'h]hphy_interface_t iface}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hj'ubj)}(hhh]jl)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hj'hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj'h]htypedef phy_interface_t}(hj'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj'hM-hj'ubeh}(h]h ]h"]h$]h&]uh1jkhj'hM-hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM-hj'ubj)}(hy``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. h](j)}(h)``const struct phylink_mac_ops *mac_ops``h]j)}(hj/(h]h%const struct phylink_mac_ops *mac_ops}(hj1(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj)(ubj)}(hhh]jl)}(hNa pointer to a :c:type:`struct phylink_mac_ops ` for the MAC.h](ha pointer to a }(hjH(hhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjR(h]hstruct phylink_mac_ops}(hjT(hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjP(ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhjD(hM.hjH(ubh for the MAC.}(hjH(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjD(hM.hjE(ubah}(h]h ]h"]h$]h&]uh1jhj)(ubeh}(h]h ]h"]h$]h&]uh1jhjD(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.chM0hj&ubjl)}(hCreate a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration.h](hFCreate a new phylink instance, and parse the link parameters found in }(hj(hhhNhNubj)}(h**np**h]hnp}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hj&ubjl)}(h**Note**h]j)}(hj(h]hNote}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hj&ubjl)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hj&ubjl)}(hReturns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](hReturns a pointer to a }(hj(hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj(h]hstruct phylink}(hj(hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hj(ubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj)hM5hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h)void phylink_destroy (struct phylink *pl)h]j )}(h(void phylink_destroy(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj=)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjL)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9)hhhjK)hMubj3)}(hphylink_destroyh]j9)}(hphylink_destroyh]hphylink_destroy}(hj^)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9)hhhjK)hMubj )}(h(struct phylink *pl)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_destroyasbuh1hhjv)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)ubah}(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(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jfhj2)hhhjK)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjdhNhNubj)}(hXc**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Destroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function. **Note** the rtnl lock must not be held when calling this function.h](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj!*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj>*h]hstruct phylink *pl}(hj@*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8*ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjW*hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hja*h]hstruct phylink}(hjc*hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj_*ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjS*hMhjW*ubh returned from phylink_create()}(hjW*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjS*hMhjT*ubah}(h]h ]h"]h$]h&]uh1jhj8*ubeh}(h]h ]h"]h$]h&]uh1jhjS*hMhj5*ubah}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.h]hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(h**Note**h]j)}(hj*h]hNote}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h-bool phylink_expects_phy (struct phylink *pl)h]j )}(h,bool phylink_expects_phy(struct phylink *pl)h](jM )}(hjh]hbool}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hMubj3)}(hphylink_expects_phyh]j9)}(hphylink_expects_phyh]hphylink_expects_phy}(hj(+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj+hMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjD+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@+ubj")}(h h]h }(hjQ+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@+ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjb+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd+modnameN classnameNj j )}j ]j )}j j*+sbc.phylink_expects_phyasbuh1hhj@+ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@+ubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@+ubj9)}(hplh]hpl}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hMubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hMhj*hhubjg)}(hhh]jl)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed. Returns true if phylink will be expecting a PHY.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj,h]hstruct phylink *pl}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj!,hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj+,h]hstruct phylink}(hj-,hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj),ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj,hMhj!,ubh returned from phylink_create()}(hj!,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjf,h]h Description}(hjh,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd,ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjl)}(h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.h]h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.}(hj|,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjl)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDint phylink_connect_phy (struct phylink *pl, struct phy_device *phy)h]j )}(hCint phylink_connect_phy(struct phylink *pl, struct phy_device *phy)h](jM )}(hinth]hint}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,hMubj3)}(hphylink_connect_phyh]j9)}(hphylink_connect_phyh]hphylink_connect_phy}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hMubj )}(h,(struct phylink *pl, struct phy_device *phy)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j )}j j,sbc.phylink_connect_phyasbuh1hhj,ubj")}(h h]h }(hj5-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hjC-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hplh]hpl}(hjP-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hji-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje-ubj")}(h h]h }(hjv-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje-ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j1-c.phylink_connect_phyasbuh1hhje-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hje-ubj9)}(hphyh]hphy}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhj,hhubjg)}(hhh]jl)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(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.jjjuh1hhhhjdhNhNubj)}(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)}(hj+.h]hstruct phylink *pl}(hj-.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj).ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%.ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjD.hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjN.h]hstruct phylink}(hjP.hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjL.ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj@.hMhjD.ubh returned from phylink_create()}(hjD.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj@.hMhjA.ubah}(h]h ]h"]h$]h&]uh1jhj%.ubeh}(h]h ]h"]h$]h&]uh1jhj@.hMhj".ubj)}(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.}(hj@/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.}(hjO/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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhjdhhhNhNubh)}(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 hjz/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!hjz/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&]jPjQuh1j2hjz/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*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hplh]hpl}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hstruct device_node *dnh](j)}(hjh]hstruct}(hj-0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)0ubj")}(h h]h }(hj:0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)0ubh)}(hhh]j9)}(h device_nodeh]h device_node}(hjK0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM0modnameN classnameNj j )}j ]j/c.phylink_of_phy_connectasbuh1hhj)0ubj")}(h h]h }(hji0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)0ubj )}(hj h]h*}(hjw0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)0ubj9)}(hdnh]hdn}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]j/c.phylink_of_phy_connectasbuh1hhj0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hflagsh]hflags}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjz/hhhj/hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjv/hhhj/hMubah}(h]jq/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMhjs/hhubjg)}(hhh]jl)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jfhjs/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjdhNhNubj)}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj71h]hstruct phylink *pl}(hj91hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj51ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj11ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjP1hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjZ1h]hstruct phylink}(hj\1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjX1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjL1hMhjP1ubh returned from phylink_create()}(hjP1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjL1hMhjM1ubah}(h]h ]h"]h$]h&]uh1jhj11ubeh}(h]h ]h"]h$]h&]uh1jhjL1hMhj.1ubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hj1h]hstruct device_node *dn}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hj1hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hj1h]hstruct device_node}(hj1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj device_nodeuh1hhj1hMhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj.1ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj1h]h u32 flags}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj.1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hj*2h]h Description}(hj,2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubjl)}(hConnect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed.h](h-Connect the phy specified in the device node }(hj@2hhhNhNubj)}(h**dn**h]hdn}(hjH2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@2ubh& to the phylink instance specified by }(hj@2hhhNhNubj)}(h**pl**h]hpl}(hjZ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@2ubh?. Actions specified in phylink_connect_phy() will be performed.}(hj@2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjs2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhjdhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hphylink_fwnode_phy_connecth]j9)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j j2sbc.phylink_fwnode_phy_connectasbuh1hhj2ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj+3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hplh]hpl}(hj83hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hjQ3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM3ubj")}(h h]h }(hj^3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM3ubj)}(hjh]hstruct}(hjl3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM3ubj")}(h h]h }(hjy3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM3ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j3c.phylink_fwnode_phy_connectasbuh1hhjM3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM3ubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjM3ubj9)}(hfwnodeh]hfwnode}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j3c.phylink_fwnode_phy_connectasbuh1hhj3ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj9)}(hflagsh]hflags}(hj 4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubeh}(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(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hj54hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj24hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjM4jjM4jjjuh1hhhhjdhNhNubj)}(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)}(hjW4h]h Parameters}(hjY4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQ4ubj)}(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)}(hjv4h]hstruct phylink *pl}(hjx4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjp4ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj4hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj4h]hstruct phylink}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj4hMhj4ubh returned from phylink_create()}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjp4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjm4ubj)}(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)}(hj4h]h"const struct fwnode_handle *fwnode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4ubj)}(hhh]jl)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hj4hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj4h]hstruct fwnode_handle}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhj4hMhj4ubh.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjm4ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj.5h]h u32 flags}(hj05hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(5ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjG5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC5hMhjD5ubah}(h]h ]h"]h$]h&]uh1jhj(5ubeh}(h]h ]h"]h$]h&]uh1jhjC5hMhjm4ubeh}(h]h ]h"]h$]h&]uh1jhjQ4ubjl)}(h**Description**h]j)}(hji5h]h Description}(hjk5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQ4ubjl)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hj5hhhNhNubj)}(h **fwnode**h]hfwnode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh& to the phylink instance specified by }(hj5hhhNhNubj)}(h**pl**h]hpl}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQ4ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQ4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0void phylink_disconnect_phy (struct phylink *pl)h]j )}(h/void phylink_disconnect_phy(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hM# ubj3)}(hphylink_disconnect_phyh]j9)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hM# ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj+6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj<6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj96ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>6modnameN classnameNj j )}j ]j )}j j6sbc.phylink_disconnect_phyasbuh1hhj6ubj")}(h h]h }(hj\6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hplh]hpl}(hjw6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hM# ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hM# ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM# hj5hhubjg)}(hhh]jl)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# hj6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjdhNhNubj)}(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)}(hj6h]h Parameters}(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' hj6ubj)}(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)}(hj6h]hstruct phylink *pl}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM% hj6ubj)}(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)}(hj7h]hstruct phylink}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(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&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM% hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hj@7h]h Description}(hjB7hhhNhNubah}(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.chM' hj6ubjl)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hjV7hhhNhNubj)}(h**pl**h]hpl}(hj^7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV7ubh.}(hjV7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM& hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhjdhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chML ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj7hML ubj3)}(hphylink_mac_changeh]j9)}(hphylink_mac_changeh]hphylink_mac_change}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj7hML ubj )}(h(struct phylink *pl, bool up)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_mac_changeasbuh1hhj7ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj 8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hplh]hpl}(hj-8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hbool uph](jM )}(hjh]hbool}(hjF8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjB8ubj")}(h h]h }(hjS8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjB8ubj9)}(huph]hup}(hja8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj7hML ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj7hML ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hML hj7hhubjg)}(hhh]jl)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chML hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj7hML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjdhNhNubj)}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMP hj8ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj8h]hstruct phylink *pl}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hj8ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj8hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj8h]hstruct phylink}(hj8hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj8hMM hj8ubh returned from phylink_create()}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj8hMM hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMM hj8ubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hj(9h]hbool up}(hj*9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hj"9ubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjA9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=9hMN hj>9ubah}(h]h ]h"]h$]h&]uh1jhj"9ubeh}(h]h ]h"]h$]h&]uh1jhj=9hMN hj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hjc9h]h Description}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja9ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMP hj8ubjl)}(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.)}(hjy9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhjdhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhj9hMZ ubj3)}(hphylink_pcs_changeh]j9)}(hphylink_pcs_changeh]hphylink_pcs_change}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhj9hMZ ubj )}(h"(struct phylink_pcs *pcs, bool up)h](j )}(hstruct phylink_pcs *pcsh](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 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 j9sbc.phylink_pcs_changeasbuh1hhj9ubj")}(h h]h }(hj#:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj1:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hpcsh]hpcs}(hj>:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(hbool uph](jM )}(hjh]hbool}(hjW:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjS:ubj")}(h h]h }(hjd:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS:ubj9)}(huph]hup}(hjr:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhj9hMZ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhj9hMZ ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9hMZ hj9hhubjg)}(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&]uh1jfhj9hhhj9hMZ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjdhNhNubj)}(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)}(hj5;h]hbool up}(hj7;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM\ hj/;ubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjN;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ;hM\ hjK;ubah}(h]h ]h"]h$]h&]uh1jhj/;ubeh}(h]h ]h"]h$]h&]uh1jhjJ;hM\ hj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjp;h]h Description}(hjr;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhjdhhhNhNubh)}(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 }(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)}(hplh]hpl}(hjK<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj;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}(hju<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hjr<hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj;hMw ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjdhNhNubj)}(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 }(hj*=hhhNhNubj)}(h**pl**h]hpl}(hj2=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*=ubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hj*=hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjF=h]hstruct net_device_ops}(hjH=hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjD=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 hj*=ubh ndo_open() method.}(hj*=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjc=hMy hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhjdhhhNhNubh)}(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 }(hj >hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hplh]hpl}(hj$>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=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}(hjN>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjK>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf>jjf>jjjuh1hhhhjdhNhNubj)}(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)}(hjp>h]h Parameters}(hjr>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjj>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&]uh1jhjj>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 hjj>ubjl)}(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?hhhNhNubj)}(h**pl**h]hpl}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh;. This should be called from the network device driver’s }(hj?hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj?h]hstruct net_device_ops}(hj!?hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj?ubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjubjl)}(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.)}(hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhjdhhhNhNubh)}(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}(hjv?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjr?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjr?hhhj?hM ubj3)}(hphylink_rx_clk_stop_blockh]j9)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjr?hhhj?hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j j?sbc.phylink_rx_clk_stop_blockasbuh1hhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hplh]hpl}(hj @hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubah}(h]h ]h"]h$]h&]jPjQuh1j hjr?hhhj?hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjn?hhhj?hM ubah}(h]ji?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hM hjk?hhubjg)}(hhh]jl)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hj6@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3@hhubah}(h]h ]h"]h$]h&]uh1jfhjk?hhhj?hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN@jjN@jjjuh1hhhhjdhNhNubj)}(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)}(hjX@h]h Parameters}(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 hjR@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)}(hjw@h]hstruct phylink *pl}(hjy@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjq@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&]uh1jhjq@ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hjn@ubah}(h]h ]h"]h$]h&]uh1jhjR@ubjl)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjR@ubjl)}(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().}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjR@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhjdhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj)AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhj(AhM ubj3)}(hphylink_rx_clk_stop_unblockh]j9)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hj;AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Aubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhj(AhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjWAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSAubj")}(h h]h }(hjdAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSAubh)}(hhh]j9)}(hphylinkh]hphylink}(hjuAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwAmodnameN classnameNj j )}j ]j )}j j=Asbc.phylink_rx_clk_stop_unblockasbuh1hhjSAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSAubj9)}(hplh]hpl}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOAubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhj(AhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhj(AhM ubah}(h]j Aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(AhM hjAhhubjg)}(hhh]jl)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjAhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhj(AhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjdhNhNubj)}(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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjAubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjBh]hstruct phylink *pl}(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.chM hjBubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj4BhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj>Bh]hstruct phylink}(hj@BhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj` 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)}(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 }(hj DhhhNhNubh)}(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' hj Dubh returned from phylink_create()}(hj DhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjDhM' hj Dubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhM' hjCubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hjODh]h bool mac_wol}(hjQDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM( hjIDubj)}(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}(hjhDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdDhM( hjeDubah}(h]h ]h"]h$]h&]uh1jhjIDubeh}(h]h ]h"]h$]h&]uh1jhjdDhM( hjCubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hjCubjl)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hjCubj.L)}(hhh](j3L)}(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().}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ hjDubah}(h]h ]h"]h$]h&]uh1j2LhjDubj3L)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hjDubah}(h]h ]h"]h$]h&]uh1j2LhjDubj3L)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/ hjDubah}(h]h ]h"]h$]h&]uh1j2LhjDubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjDhM+ hjCubjl)}(h**Note**h]j)}(hjEh]hNote}(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.chM2 hjCubjl)}(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, }(hjEhhhNhNubj)}(h **mac_wol**h]hmac_wol}(hj#EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh< is ignored. (struct phylink_mac_ops.mac_set_wol populated.)}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3 hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0void phylink_prepare_resume (struct phylink *pl)h]j )}(h/void phylink_prepare_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj\EhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM] ubj")}(h h]h }(hjkEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXEhhhjjEhM] ubj3)}(hphylink_prepare_resumeh]j9)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hj}EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXEhhhjjEhM] 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}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j jEsbc.phylink_prepare_resumeasbuh1hhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hplh]hpl}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubah}(h]h ]h"]h$]h&]jPjQuh1j hjXEhhhjjEhM] ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjTEhhhjjEhM] ubah}(h]jOEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjEhM] hjQEhhubjg)}(hhh]jl)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM] hjFhhubah}(h]h ]h"]h$]h&]uh1jfhjQEhhhjjEhM] ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4Fjj4Fjjjuh1hhhhjdhNhNubj)}(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)}(hj>Fh]h Parameters}(hj@FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj]Fh]hstruct phylink *pl}(hj_FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Fubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hjWFubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjvFhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjFh]hstruct phylink}(hjFhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj~Fubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjrFhM^ hjvFubh returned from phylink_create()}(hjvFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjrFhM^ hjsFubah}(h]h ]h"]h$]h&]uh1jhjWFubeh}(h]h ]h"]h$]h&]uh1jhjrFhM^ hjTFubah}(h]h ]h"]h$]h&]uh1jhj8Fubjl)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` hj8Fubjl)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hj8Fubjl)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hj8Fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h(void phylink_resume (struct phylink *pl)h]j )}(h'void phylink_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj GhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj GhhhjGhMv ubj3)}(hphylink_resumeh]j9)}(hphylink_resumeh]hphylink_resume}(hj0GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj GhhhjGhMv ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjLGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHGubj")}(h h]h }(hjYGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHGubh)}(hhh]j9)}(hphylinkh]hphylink}(hjjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlGmodnameN classnameNj j )}j ]j )}j j2Gsbc.phylink_resumeasbuh1hhjHGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHGubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHGubj9)}(hplh]hpl}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDGubah}(h]h ]h"]h$]h&]jPjQuh1j hj GhhhjGhMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhjGhMv ubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMv hjGhhubjg)}(hhh]jl)}(h$handle a network device resume eventh]h$handle a network device resume event}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhjGhMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjdhNhNubj)}(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)}(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.chMz hjGubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjHh]hstruct phylink *pl}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hj Hubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj)HhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj3Hh]hstruct phylink}(hj5HhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1Hubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj%HhMw hj)Hubh returned from phylink_create()}(hj)HhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%HhMw hj&Hubah}(h]h ]h"]h$]h&]uh1jhj Hubeh}(h]h ]h"]h$]h&]uh1jhj%HhMw hjHubah}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjnHh]h Description}(hjpHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy hjGubjl)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhjdhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM ubj3)}(hphylink_ethtool_get_wolh]j9)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hphylinkh]hphylink}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jHsbc.phylink_ethtool_get_wolasbuh1hhjHubj")}(h h]h }(hj.IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj` 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)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj$Jh]hstruct phylink *pl}(hj&JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Jubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJubj)}(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)}(hjGJh]hstruct phylink}(hjIJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjEJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj9JhM hj=Jubh returned from phylink_create()}(hj=JhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj9JhM hj:Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj9JhM hjJubj)}(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)}(hjJh]hstruct ethtool_wolinfo *wol}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Jubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjzJubj)}(hhh]jl)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hjJhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjJh]hstruct ethtool_wolinfo}(hjJhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhjJhM hjJubh to hold the read parameters}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjzJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjJubeh}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubjl)}(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 }(hjJhhhNhNubj)}(h**pl**h]hpl}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubhE. If no PHY is currently attached, report no support for wake on lan.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhjdhhhNhNubh)}(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}(hj5KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1KhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjDKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1KhhhjCKhM ubj3)}(hphylink_ethtool_set_wolh]j9)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hjVKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1KhhhjCKhM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjrKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnKubh)}(hhh]j9)}(hphylinkh]hphylink}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jXKsbc.phylink_ethtool_set_wolasbuh1hhjnKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnKubj9)}(hplh]hpl}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjKubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jKc.phylink_ethtool_set_wolasbuh1hhjKubj")}(h h]h }(hj LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hj.LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hwolh]hwol}(hj;LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1KhhhjCKhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-KhhhjCKhM ubah}(h]j(Kah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjCKhM hj*Khhubjg)}(hhh]jl)}(hset wake on lan parametersh]hset wake on lan parameters}(hjeLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjbLhhubah}(h]h ]h"]h$]h&]uh1jfhj*KhhhjCKhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}Ljj}Ljjjuh1hhhhjdhNhNubj)}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(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)}(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 jjphylinkuh1hhjLhM hjLubh returned from phylink_create()}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjLhM hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM hjLubj)}(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)}(hjMh]hstruct ethtool_wolinfo *wol}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(hhh]jl)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hjMhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hj%Mh]hstruct ethtool_wolinfo}(hj'MhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj#Mubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhjMhM hjMubh for the desired parameters}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjLubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj`Mh]h Description}(hjbMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Mubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubjl)}(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 }(hjvMhhhNhNubj)}(h**pl**h]hpl}(hj~MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvMubh!. If no PHY is attached, returns }(hjvMhhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvMubh error.}(hjvMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubjl)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhjdhhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjMhMV ubj3)}(hphylink_ethtool_ksettings_geth]j9)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhMV ubj )}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hj"NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hphylinkh]hphylink}(hj3NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0Nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5NmodnameN classnameNj j )}j ]j )}j jMsbc.phylink_ethtool_ksettings_getasbuh1hhjNubj")}(h h]h }(hjSNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjaNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hplh]hpl}(hjnNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Nubj )}(h#struct ethtool_link_ksettings *kseth](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jONc.phylink_ethtool_ksettings_getasbuh1hhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hkseth]hkset}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Nubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhjMhMV ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjMhMV ubah}(h]jMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhMV hjMhhubjg)}(hhh]jl)}(hget the current link settingsh]hget the current link settings}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV hjOhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjMhMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Ojj Ojjjuh1hhhhjdhNhNubj)}(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)}(hj*Oh]h Parameters}(hj,OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Oubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj$Oubj)}(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)}(hjIOh]hstruct phylink *pl}(hjKOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hjCOubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjbOhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjlOh]hstruct phylink}(hjnOhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjjOubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj^OhMW hjbOubh returned from phylink_create()}(hjbOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj^OhMW hj_Oubah}(h]h ]h"]h$]h&]uh1jhjCOubeh}(h]h ]h"]h$]h&]uh1jhj^OhMW hj@Oubj)}(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)}(hjOh]h#struct ethtool_link_ksettings *kset}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hjOubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjOhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjOh]hstruct ethtool_link_ksettings}(hjOhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_link_ksettingsuh1hhjOhMX hjOubh to hold link settings}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhMX hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMX hj@Oubeh}(h]h ]h"]h$]h&]uh1jhj$Oubjl)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj$Oubjl)}(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 }(hjPhhhNhNubj)}(h**pl**h]hpl}(hj!PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMY hj$Oubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhjdhhhNhNubh)}(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}(hjZPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjiPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVPhhhjhPhM ubj3)}(hphylink_ethtool_ksettings_seth]j9)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hj{PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVPhhhjhPhM ubj )}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hphylinkh]hphylink}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j j}Psbc.phylink_ethtool_ksettings_setasbuh1hhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hplh]hpl}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(h)const struct ethtool_link_ksettings *kseth](j)}(hj h]hconst}(hj QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj)}(hjh]hstruct}(hj$QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hj1QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjBQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDQmodnameN classnameNj j )}j ]jPc.phylink_ethtool_ksettings_setasbuh1hhjQubj")}(h h]h }(hj`QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjnQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hkseth]hkset}(hj{QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVPhhhjhPhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRPhhhjhPhM ubah}(h]jMPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhPhM hjOPhhubjg)}(hhh]jl)}(hset the link settingsh]hset the link settings}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjOPhhhjhPhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjdhNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjQh]hstruct phylink *pl}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjQhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj Rh]hstruct phylink}(hj RhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjQhM hjQubh returned from phylink_create()}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjQubj)}(h``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)}(hjBRh]h)const struct ethtool_link_ksettings *kset}(hjDRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj` for the desired modesh](ha pointer to a }(hj[RhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjeRh]hstruct ethtool_link_ksettings}(hjgRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjcRubah}(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 hj[Rubh for the desired modes}(hj[RhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjRhM hjXRubah}(h]h ]h"]h$]h&]uh1jhj` 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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hjSubj)}(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.chMK hjSubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjShhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjSh]hstruct phylink}(hjShhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjShMK hjSubh returned from phylink_create()}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShMK hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMK hjSubah}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hjTh]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.chMM hjSubjl)}(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 }(hj4ThhhNhNubj)}(h**pl**h]hpl}(hj` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jl)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMg hjUubj)}(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)}(hjUh]hstruct phylink *pl}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMd hjUubj)}(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 jjphylinkuh1hhj VhMd hjVubh returned from phylink_create()}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj VhMd hj Vubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj VhMd hjUubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjQVh]h struct ethtool_pauseparam *pause}(hjSVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMf hjKVubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjjVhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjtVh]hstruct ethtool_pauseparam}(hjvVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjrVubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMe hjjVubeh}(h]h ]h"]h$]h&]uh1jkhjVhMe hjgVubah}(h]h ]h"]h$]h&]uh1jhjKVubeh}(h]h ]h"]h$]h&]uh1jhjfVhMf hjUubeh}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhjdhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhjVhMs ubj3)}(hphylink_ethtool_set_pauseparamh]j9)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVhhhjVhMs ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hphylinkh]hphylink}(hj%WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'WmodnameN classnameNj j )}j ]j )}j jVsb c.phylink_ethtool_set_pauseparamasbuh1hhjWubj")}(h h]h }(hjEWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjSWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hplh]hpl}(hj`WhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h struct ethtool_pauseparam *pauseh](j)}(hjh]hstruct}(hjyWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuWubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jAW c.phylink_ethtool_set_pauseparamasbuh1hhjuWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuWubj9)}(hpauseh]hpause}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVhhhjVhMs ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjVhMs ubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhMs hjVhhubjg)}(hhh]jl)}(h set the current pause parametersh]h set the current pause parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs hjWhhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjVhMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hjXubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj;Xh]hstruct phylink *pl}(hj=XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Xubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hj5Xubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjTXhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj^Xh]hstruct phylink}(hj`XhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj\Xubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjPXhMt hjTXubh returned from phylink_create()}(hjTXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjPXhMt hjQXubah}(h]h ]h"]h$]h&]uh1jhj5Xubeh}(h]h ]h"]h$]h&]uh1jhjPXhMt hj2Xubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjXh]h struct ethtool_pauseparam *pause}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv hjXubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjXhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjXh]hstruct ethtool_pauseparam}(hjXhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu hjXubeh}(h]h ]h"]h$]h&]uh1jkhjXhMu hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMv hj2Xubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhjdhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj YhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj YhhhjYhM ubj3)}(hphylink_get_eee_errh]j9)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hj1YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Yubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj YhhhjYhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjMYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIYubj")}(h h]h }(hjZYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIYubh)}(hhh]j9)}(hphylinkh]hphylink}(hjkYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmYmodnameN classnameNj j )}j ]j )}j j3Ysbc.phylink_get_eee_errasbuh1hhjIYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIYubj9)}(hplh]hpl}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEYubah}(h]h ]h"]h$]h&]jPjQuh1j hj YhhhjYhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjYhM ubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhM hjYhhubjg)}(hhh]jl)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYhhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjdhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYubj)}(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)}(hjZh]hstruct phylink *pl}(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.chM hj Zubj)}(hhh]jl)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hj*ZhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj4Zh]hstruct phylink}(hj6ZhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2Zubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj&ZhM hj*Zubh returned from phylink_create().}(hj*ZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&ZhM hj'Zubah}(h]h ]h"]h$]h&]uh1jhj Zubeh}(h]h ]h"]h$]h&]uh1jhj&ZhM hjZubah}(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:150: ./drivers/net/phy/phylink.chM hjYubjl)}(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 }(hjZhhhNhNubj)}(h**pl**h]hpl}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYubjl)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, or negative error code.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhjdhhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjZhM ubj3)}(hphylink_ethtool_get_eeeh]j9)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjZhM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj0[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2[modnameN classnameNj j )}j ]j )}j jZsbc.phylink_ethtool_get_eeeasbuh1hhj[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)}(hplh]hpl}(hjk[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj [ubj )}(hstruct ethtool_keee *eeeh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]jL[c.phylink_ethtool_get_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)}(heeeh]heee}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj [ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjZhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjZhM ubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhM hjZhhubjg)}(hhh]jl)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjZhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](jl)}(h**Parameters**h]j)}(hj'\h]h Parameters}(hj)\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%\ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj!\ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjF\h]hstruct phylink *pl}(hjH\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD\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)}(hji\h]hstruct phylink}(hjk\hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjg\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)}(hp``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](j)}(h``struct ethtool_keee *eee``h]j)}(hj\h]hstruct ethtool_keee *eee}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubj)}(hhh]jl)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hj\hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj\h]hstruct ethtool_keee}(hj\hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubh for the read parameters}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj\hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM hj=\ubeh}(h]h ]h"]h$]h&]uh1jhj!\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hJint phylink_ethtool_set_eee (struct phylink *pl, struct ethtool_keee *eee)h]j )}(hIint phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_keee *eee)h](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj.]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhj-]hM ubj3)}(hphylink_ethtool_set_eeeh]j9)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hj@]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj-]hM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj\]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX]ubj")}(h h]h }(hji]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX]ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjz]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|]modnameN classnameNj j )}j ]j )}j jB]sbc.phylink_ethtool_set_eeeasbuh1hhjX]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX]ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjX]ubj9)}(hplh]hpl}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjT]ubj )}(hstruct ethtool_keee *eeeh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j]c.phylink_ethtool_set_eeeasbuh1hhj]ubj")}(h h]h }(hj ^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(heeeh]heee}(hj%^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjT]ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj-]hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhj-]hM ubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-]hM hj]hhubjg)}(hhh]jl)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hjO^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjL^hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhj-]hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg^jjg^jjjuh1hhhhjdhNhNubj)}(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)}(hjq^h]h Parameters}(hjs^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjk^ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj^h]hstruct phylink *pl}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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)}(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)}(hj^h]hstruct ethtool_keee *eee}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj^ubj)}(hhh]jl)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hj_hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj_h]hstruct ethtool_keee}(hj_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj _ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj_ubh for the 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&]uh1jhjk^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhjdhhhNhNubh)}(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}(hji_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hje_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjx_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje_hhhjw_hM ubj3)}(hphylink_mii_ioctlh]j9)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hje_hhhjw_hM ubj )}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)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_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)}(hplh]hpl}(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}(hj6`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8`modnameN classnameNj j )}j ]j_c.phylink_mii_ioctlasbuh1hhj`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)}(hifrh]hifr}(hjo`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 hj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj9)}(hcmdh]hcmd}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hje_hhhjw_hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhja_hhhjw_hM ubah}(h]j\_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjw_hM hj^_hhubjg)}(hhh]jl)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(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^_hhhjw_hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjdhNhNubj)}(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)}(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)}(hjah]hstruct phylink *pl}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj aubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj(ahhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj2ah]hstruct phylink}(hj4ahhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0aubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj$ahM hj(aubh returned from phylink_create()}(hj(ahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$ahM hj%aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj$ahM hjaubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hjkah]hstruct ifreq *ifr}(hjmahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeaubj)}(hhh]jl)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hjahhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hjah]h struct ifreq}(hjahhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjahM hjaubh for socket ioctls}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjeaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjah]hint cmd}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj`ubjl)}(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 }(hjbhhhNhNubj)}(h**pl**h]hpl}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh9. If no PHY is attached, emulate the presence of the PHY.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj`ubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hjDbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@bubh:}(hj@bhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj` returned from phylink_create() ``bool sync`` perform action synchronously **Description** If we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter. Returns zero if there is no PHY, otherwise as per phy_speed_down().h](jl)}(h**Parameters**h]j)}(hj[dh]h Parameters}(hj]dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYdubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjUdubj)}(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)}(hjzdh]hstruct phylink *pl}(hj|dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjtdubj)}(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 jjphylinkuh1hhjdhMhjdubh returned from phylink_create()}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjtdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjqdubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjdh]h bool sync}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjdubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjqdubeh}(h]h ]h"]h$]h&]uh1jhjUdubjl)}(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.chM hjUdubjl)}(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'ehhhNhNubj)}(h**sync**h]hsync}(hj/ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'eubh parameter.}(hj'ehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjUdubjl)}(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().}(hjHehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjUdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h)int phylink_speed_up (struct phylink *pl)h]j )}(h(int phylink_speed_up(struct phylink *pl)h](jM )}(hinth]hint}(hjwehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsehhhjehMubj3)}(hphylink_speed_uph]j9)}(hphylink_speed_uph]hphylink_speed_up}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjsehhhjehMubj )}(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}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jesbc.phylink_speed_upasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hplh]hpl}(hj fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjeubah}(h]h ]h"]h$]h&]jPjQuh1j hjsehhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjoehhhjehMubah}(h]jjeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjlehhubjg)}(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()}(hj7fhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4fhhubah}(h]h ]h"]h$]h&]uh1jfhjlehhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOfjjOfjjjuh1hhhhjdhNhNubj)}(hX4**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** If we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up(). Returns zero if there is no PHY, otherwise as per phy_speed_up().h](jl)}(h**Parameters**h]j)}(hjYfh]h Parameters}(hj[fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWfubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hjSfubj)}(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)}(hjxfh]hstruct phylink *pl}(hjzfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjrfubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjfhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjfh]hstruct phylink}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjfhM hjfubh returned from phylink_create()}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjfhM hjfubah}(h]h ]h"]h$]h&]uh1jhjrfubeh}(h]h ]h"]h$]h&]uh1jhjfhM hjofubah}(h]h ]h"]h$]h&]uh1jhjSfubjl)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hjSfubjl)}(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().}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM!hjSfubjl)}(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().}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$hjSfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhjdhhhNhNubh)}(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}(hj*ghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj9ghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ghhhj8ghMubj3)}(hphylink_decode_usxgmii_wordh]j9)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hjKghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&ghhhj8ghMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjgghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcgubj")}(h h]h }(hjtghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcgubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jMgsbc.phylink_decode_usxgmii_wordasbuh1hhjcgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcgubj9)}(hstateh]hstate}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_gubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jgc.phylink_decode_usxgmii_wordasbuh1hhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(hlpah]hlpa}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_gubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&ghhhj8ghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"ghhhj8ghMubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8ghMhjghhubjg)}(hhh]jl)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(hj2hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj/hhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhj8ghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJhjjJhjjjuh1hhhhjdhNhNubj)}(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)}(hjThh]h Parameters}(hjVhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjNhubj)}(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)}(hjshh]h struct phylink_link_state *state}(hjuhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmhubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjmhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjjhubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjhh]h uint16_t lpa}(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 16 bit value which stores the USXGMII auto-negotiation wordh]h=a 16 bit value which stores the USXGMII auto-negotiation word}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjjhubeh}(h]h ]h"]h$]h&]uh1jhjNhubjl)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjNhubjl)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjNhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhjdhhhNhNubh)}(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}(hj,ihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj;ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ihhhj:ihMubj3)}(hphylink_decode_usgmii_wordh]j9)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hjMihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(ihhhj:ihMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjiihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeiubj")}(h h]h }(hjvihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeiubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j jOisbc.phylink_decode_usgmii_wordasbuh1hhjeiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeiubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeiubj9)}(hstateh]hstate}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaiubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]jic.phylink_decode_usgmii_wordasbuh1hhjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hlpah]hlpa}(hj jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj(ihhhj:ihMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$ihhhj:ihMubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:ihMhj!ihhubjg)}(hhh]jl)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hj4jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1jhhubah}(h]h ]h"]h$]h&]uh1jfhj!ihhhj:ihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjjLjjjjuh1hhhhjdhNhNubj)}(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)}(hjVjh]h Parameters}(hjXjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjPjubj)}(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)}(hjujh]h struct phylink_link_state *state}(hjwjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjojubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhM hjjubah}(h]h ]h"]h$]h&]uh1jhjojubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjljubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjjh]h uint16_t lpa}(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.chM hjjubj)}(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)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjlubj)}(hhh](j)}(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)}(hjmh]h struct phylink_link_state *state}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hj mubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj)mhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj3mh]hstruct phylink_link_state}(hj5mhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1mubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj%mhM,hj)mubh.}(hj)mhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%mhM,hj&mubah}(h]h ]h"]h$]h&]uh1jhj mubeh}(h]h ]h"]h$]h&]uh1jhj%mhM,hjmubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjlmh]hunsigned int neg_mode}(hjnmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hjfmubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM-hjmubah}(h]h ]h"]h$]h&]uh1jhjfmubeh}(h]h ]h"]h$]h&]uh1jhjmhM-hjmubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hjmh]hu16 bmsr}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hjmubj)}(hhh]jl)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hjmhhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh register}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjmhM.hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM.hjmubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hjmh]hu16 lpa}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjmubj)}(hhh]jl)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hj nhhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj nubh register}(hj nhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjnhM/hjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhM/hjmubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hj=nh]h Description}(hj?nhhhNhNubah}(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.chM1hjlubjl)}(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.}(hjSnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hjlubjl)}(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 }(hjbnhhhNhNubj)}(h **state**h]hstate}(hjjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hjbnhhhNhNubj)}(h**bmsr**h]hbmsr}(hj|nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubh and }(hjbnhhhNhNubj)}(h**lpa**h]hlpa}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubh# cannot be done with MDIO directly.}(hjbnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhjdhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhMkubj3)}(hphylink_mii_c22_pcs_get_stateh]j9)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhMkubj )}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct mdio_device *pcsh](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 mdio_deviceh]h mdio_device}(hj"ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$omodnameN classnameNj j )}j ]j )}j jnsbc.phylink_mii_c22_pcs_get_stateasbuh1hhjoubj")}(h h]h }(hjBohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjPohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hpcsh]hpcs}(hj]ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjvohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjroubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjroubjM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjroubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjroubj9)}(hneg_modeh]hneg_mode}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjroubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j>oc.phylink_mii_c22_pcs_get_stateasbuh1hhjoubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hstateh]hstate}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjnhMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjnhMkubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhMkhjnhhubjg)}(hhh]jl)}(hread the MAC PCS stateh]hread the MAC PCS state}(hjHphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkhjEphhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjnhMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`pjj`pjjjuh1hhhhjdhNhNubj)}(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)}(hjjph]h Parameters}(hjlphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhpubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohjdpubj)}(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)}(hjph]hstruct mdio_device *pcs}(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.chMlhjpubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjphhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjph]hstruct mdio_device}(hjphhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjphMlhjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjphMlhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMlhjpubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjph]hunsigned int neg_mode}(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.chMmhjpubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMmhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMmhjpubj)}(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)}(hjqh]h struct phylink_link_state *state}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMnhjqubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj7qhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjAqh]hstruct phylink_link_state}(hjCqhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj?qubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj3qhMnhj7qubh.}(hj7qhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj3qhMnhj4qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj3qhMnhjpubeh}(h]h ]h"]h$]h&]uh1jhjdpubjl)}(h**Description**h]j)}(hj|qh]h Description}(hj~qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzqubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMphjdpubjl)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohjdpubjl)}(hXRead the MAC PCS state from the MII device configured in **config** and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](h9Read the MAC PCS state from the MII device configured in }(hjqhhhNhNubj)}(h **config**h]hconfig}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubhW and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hjqhhhNhNubj)}(h **state**h]hstate}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh| structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMrhjdpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hjint phylink_mii_c22_pcs_encode_advertisement (phy_interface_t interface, const unsigned long *advertising)h]j )}(hiint phylink_mii_c22_pcs_encode_advertisement(phy_interface_t interface, const unsigned long *advertising)h](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjrhMubj3)}(h(phylink_mii_c22_pcs_encode_advertisementh]j9)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjrhMubj )}(h=(phy_interface_t interface, const unsigned long *advertising)h](j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj4rhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6rmodnameN classnameNj j )}j ]j )}j jrsb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhj-rubj")}(h h]h }(hjTrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-rubj9)}(h interfaceh]h interface}(hjbrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)rubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hj{rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwrubjM )}(hunsignedh]hunsigned}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwrubjM )}(hlongh]hlong}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwrubj9)}(h advertisingh]h advertising}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)rubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhjrhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjrhMubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMhjqhhubjg)}(hhh]jl)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjshhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjdhNhNubj)}(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'sh]h Parameters}(hj)shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%subah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subj)}(hhh](j)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjFsh]hphy_interface_t interface}(hjHshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj@subj)}(hhh]jl)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj_shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[shMhj\subah}(h]h ]h"]h$]h&]uh1jhj@subeh}(h]h ]h"]h$]h&]uh1jhj[shMhj=subj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjsh]h const unsigned long *advertising}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}subah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjysubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjysubeh}(h]h ]h"]h$]h&]uh1jhjshMhj=subeh}(h]h ]h"]h$]h&]uh1jhj!subjl)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subjl)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subjl)}(hYEncode the clause 37 PCS advertisement as specified by **interface** and **advertising**.h](h7Encode the clause 37 PCS advertisement as specified by }(hjshhhNhNubj)}(h **interface**h]h interface}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh and }(hjshhhNhNubj)}(h**advertising**h]h advertising}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subjl)}(h **Return**h]j)}(hjth]hReturn}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subjl)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hj*thhhNhNubj)}(h**adv**h]hadv}(hj2thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*tubh, or }(hj*thhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hjDthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*tubh if it should not be changed.}(hj*thhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!subeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhjdhhhNhNubh)}(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}(hj}thhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjythhhZ/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!hjythhhjthMubj3)}(hphylink_mii_c22_pcs_configh]j9)}(hphylink_mii_c22_pcs_configh]hphylink_mii_c22_pcs_config}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjythhhjthMubj )}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h mdio_deviceh]h mdio_device}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jtsbc.phylink_mii_c22_pcs_configasbuh1hhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hpcsh]hpcs}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj/uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1umodnameN classnameNj j )}j ]jtc.phylink_mii_c22_pcs_configasbuh1hhj(uubj")}(h h]h }(hjMuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(uubj9)}(h interfaceh]h interface}(hj[uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hjtuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpuubjM )}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpuubjM )}(hlongh]hlong}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpuubj9)}(h advertisingh]h advertising}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hinth]hint}(hj vhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(hneg_modeh]hneg_mode}(hj%vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hjythhhjthMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuthhhjthMubah}(h]jptah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthMhjrthhubjg)}(hhh]jl)}(hconfigure clause 22 PCSh]hconfigure clause 22 PCS}(hjOvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjLvhhubah}(h]h ]h"]h$]h&]uh1jfhjrthhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgvjjgvjjjuh1hhhhjdhNhNubj)}(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)}(hjqvh]h Parameters}(hjsvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjovubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkvubj)}(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)}(hjvh]hstruct mdio_device *pcs}(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)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjvhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjvh]hstruct mdio_device}(hjvhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjvhMhjvubh.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjvh]hphy_interface_t interface}(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)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjvubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj%wh]h const unsigned long *advertising}(hj'whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjwubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj>whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:whMhj;wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj:whMhjvubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hj^wh]hunsigned int neg_mode}(hj`whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjXwubj)}(hhh]jl)}(hPCS negotiation modeh]hPCS negotiation mode}(hjwwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjswhMhjtwubah}(h]h ]h"]h$]h&]uh1jhjXwubeh}(h]h ]h"]h$]h&]uh1jhjswhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjkvubjl)}(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.chMhjkvubjl)}(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 }(hjwhhhNhNubj)}(h**mode**h]hmode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh, }(hjwhhhNhNubj)}(h **interface**h]h interface}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh and }(hjwhhhNhNubj)}(h**advertising**h]h advertising}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhjdhhhNhNubh)}(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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjxubj)}(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)}(hjyh]hstruct mdio_device *pcs}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjyubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj.yhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj8yh]hstruct mdio_device}(hj:yhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6yubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhj*yhMhj.yubh.}(hj.yhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj*yhMhj+yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj*yhMhj yubah}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjsyh]h Description}(hjuyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjxubjl)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjxubjl)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_replay_link_begin (C function)c.phylink_replay_link_beginhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3void phylink_replay_link_begin (struct phylink *pl)h]j )}(h2void phylink_replay_link_begin(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhMubj3)}(hphylink_replay_link_beginh]j9)}(hphylink_replay_link_beginh]hphylink_replay_link_begin}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjyhMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hphylinkh]hphylink}(hj"zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$zmodnameN classnameNj j )}j ]j )}j jysbc.phylink_replay_link_beginasbuh1hhjzubj")}(h h]h }(hjBzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjPzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hplh]hpl}(hj]zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubah}(h]h ]h"]h$]h&]jPjQuh1j hjyhhhjyhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjyhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMhjyhhubjg)}(hhh]jl)}(h;begin replay of link callbacks for driver which loses stateh]h;begin replay of link callbacks for driver which loses state}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjdhNhNubj)}(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)}(hjzh]h Parameters}(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.chMhjzubj)}(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)}(hjzh]hstruct phylink *pl}(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)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjzhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjzh]hstruct phylink}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjzhMhjzubh returned from phylink_create()}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hj&{h]h Description}(hj({hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj${ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubjl)}(hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_link_down() method is called, as well as the pcs_link_down() method of the split PCS (if any).h]hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver’s mac_link_down() method is called, as well as the pcs_link_down() method of the split PCS (if any).}(hj<{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubjl)}(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).}(hjK{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_replay_link_end (C function)c.phylink_replay_link_endhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1void phylink_replay_link_end (struct phylink *pl)h]j )}(h0void phylink_replay_link_end(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjz{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjv{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!hjv{hhhj{hM(ubj3)}(hphylink_replay_link_endh]j9)}(hphylink_replay_link_endh]hphylink_replay_link_end}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjv{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_replay_link_endasbuh1hhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hplh]hpl}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubah}(h]h ]h"]h$]h&]jPjQuh1j hjv{hhhj{hM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjr{hhhj{hM(ubah}(h]jm{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hM(hjo{hhubjg)}(hhh]jl)}(h8end replay of link callbacks for driver which lost stateh]h8end replay of link callbacks for driver which lost state}(hj:|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM(hj7|hhubah}(h]h ]h"]h$]h&]uh1jfhjo{hhhj{hM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjR|jjR|jjjuh1hhhhjdhNhNubj)}(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)}(hj\|h]h Parameters}(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.chM,hjV|ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj{|h]hstruct phylink *pl}(hj}|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hju|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&]uh1jhju|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM*hjr|ubah}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hjV|ubjl)}(hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_config() and mac_link_up() methods, as well as the pcs_config() and pcs_link_up() method of the split PCS (if any), are called.h]hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver’s mac_config() and mac_link_up() methods, as well as the pcs_config() and pcs_link_up() method of the split PCS (if any), are called.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hjV|ubjl)}(hYThis is similar to phylink_start(), except it does not alter the state of the phylib PHY.h]hYThis is similar to phylink_start(), except it does not alter the state of the phylib PHY.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjV|ubjl)}(hvOne must call this method only within the same rtnl_lock() critical section as a previous phylink_replay_link_start().h]hvOne must call this method only within the same rtnl_lock() critical section as a previous phylink_replay_link_start().}(hj }hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjV|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjHhhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hj.}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+}hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hsfp_bush]j )}(hstruct sfp_bush](j)}(hjh]hstruct}(hjU}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ}hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj")}(h h]h }(hjc}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ}hhhjb}hKubj3)}(hsfp_bush]j9)}(hjO}h]hsfp_bus}(hju}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQ}hhhjb}hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM}hhhjb}hKubah}(h]jH}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjb}hKhjJ}hhubjg)}(hhh]jl)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjJ}hhhjb}hKubeh}(h]h ](jstructeh"]h$]h&]jjjj}jj}jjjuh1hhhhj+}hNhNubj)}(h6**Definition**:: struct sfp_bus { }; **Members**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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj}ubj)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hj}sbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj}ubjl)}(h **Members**h]j)}(hj}h]hMembers}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h sfp_eeprom_idh]j )}(hstruct sfp_eeprom_idh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hj)~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhj(~hKubj3)}(h sfp_eeprom_idh]j9)}(hj~h]h sfp_eeprom_id}(hj;~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhj(~hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhj(~hKubah}(h]j~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(~hKhj~hhubjg)}(hhh]jl)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hj]~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjZ~hhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhj(~hKubeh}(h]h ](jstructeh"]h$]h&]jjjju~jju~jjjuh1hhhhj+}hNhNubj)}(h**Definition**:: struct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; }; **Members** ``base`` base SFP module identification structure ``ext`` extended SFP module identification structureh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(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:158: ./include/linux/sfp.hhKhjy~ubj)}(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; };}hj~sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjy~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:158: ./include/linux/sfp.hhKhjy~ubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hj~h]hbase}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj~ubj)}(hhh]jl)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj~ubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hjh]hext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj~ubj)}(hhh]jl)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~ubeh}(h]h ]h"]h$]h&]uh1jhjy~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubjl)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj+}hhubjl)}(hSee the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from https://www.snia.org/technology-communities/sff/specificationsh](h~See the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from }(hj\hhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjfhhhNhNubah}(h]h ]h"]h$]h&]refurijhuh1jdhj\ubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj+}hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hsfp_module_capsh]j )}(hstruct sfp_module_capsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hsfp_module_capsh]j9)}(hjh]hsfp_module_caps}(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)}(hsfp module capabilitiesh]hsfp module capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hX**Definition**:: struct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; }; **Members** ``interfaces`` bitmap of interfaces that the module may support ``link_modes`` bitmap of ethtool link modes that the module may support ``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. ``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };h]hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubjl)}(h **Members**h]j)}(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:158: ./include/linux/sfp.hhMhjubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hjDh]h interfaces}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj>ubj)}(hhh]jl)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hj}h]h link_modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjwubj)}(hhh]jl)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubj)}(h``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. h](j)}(h``may_have_phy``h]j)}(hjh]h may_have_phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hhh]jl)}(hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY.h]hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn’t contain this information. When set, this does not mean that the module definitely has a PHY.}(hjπhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj̀ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˀhMhj;ubj)}(h``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](j)}(h``port``h]j)}(hjh]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hhh]jl)}(hvone of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](hone of ethtool }(hj hhhNhNubj)}(h ``PORT_*``h]hPORT_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh0 definitions, parsed from the module EEPROM, or }(hj hhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh if the port type is not known.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hsfp_upstream_opsh]j )}(hstruct sfp_upstream_opsh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhjzhM$ubj3)}(hsfp_upstream_opsh]j9)}(hjgh]hsfp_upstream_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhjzhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhjzhM$ubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhM$hjbhhubjg)}(hhh]jl)}(hupstream operations structureh]hupstream operations structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjzhM$ubeh}(h]h ](jstructeh"]h$]h&]jjjjǁjjǁjjjuh1hhhhj+}hNhNubj)}(hXD**Definition**:: struct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); }; **Members** ``attach`` called when the sfp socket driver is bound to the upstream (mandatory). ``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). ``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. ``module_remove`` called after the module has been removed. ``module_start`` called after the PHY probe step ``module_stop`` called before the PHY is removed ``link_down`` called when the link is non-operational for whatever reason. ``link_up`` called when the link is operational. ``connect_phy`` called when an I2C accessible PHY has been detected on the module. ``disconnect_phy`` called when a module with an I2C accessible PHY has been removed.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(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:158: ./include/linux/sfp.hhM'hjˁubj)}(hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };h]hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)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:158: ./include/linux/sfp.hhM6hjˁubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hjh]hattach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM&hjubj)}(hhh]jl)}(hGcalled when the sfp socket driver is bound to the upstream (mandatory).h]hGcalled when the sfp socket driver is bound to the upstream (mandatory).}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM%hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM&hjubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hjVh]hdetach}(hjXhhhNhNubah}(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(hjPubj)}(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).}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM(hjubj)}(h``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. h](j)}(h``module_insert``h]j)}(hjh]h module_insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hjubj)}(hhh]jl)}(hmcalled after a module has been detected to determine whether the module is supported for the upstream device.h]hmcalled after a module has been detected to determine whether the module is supported for the upstream device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hjʂh]h module_remove}(hĵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȂubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM+hjĂubj)}(hhh]jl)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj߂hM+hjubah}(h]h ]h"]h$]h&]uh1jhjĂubeh}(h]h ]h"]h$]h&]uh1jhj߂hM+hjubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hjh]h module_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM,hjubj)}(hhh]jl)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hj<h]h module_stop}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM-hj6ubj)}(hhh]jl)}(h called before the PHY is removedh]h called before the PHY is removed}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM-hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM-hjubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hjuh]h link_down}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM/hjoubj)}(hhh]jl)}(h` structure for the sfp module ``const unsigned long *link_modes`` ethtool link modes mask **Description** Derive the phy_interface_t mode for the SFP module from the link modes mask.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhjubj)}(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}(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.chMNhjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj!hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj+h]hstruct sfp_bus}(hj-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMNhj!ubh structure for the sfp module}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjdh]hconst unsigned long *link_modes}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhj^ubj)}(hhh]jl)}(hethtool link modes maskh]hethtool link modes mask}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMOhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMOhjubeh}(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.chMQhjubjl)}(hLDerive the phy_interface_t mode for the SFP module from the link modes mask.h]hLDerive the phy_interface_t mode for the SFP module from the link modes mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h&void sfp_bus_put (struct sfp_bus *bus)h]j )}(h%void sfp_bus_put(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h sfp_bus_puth]j9)}(h sfp_bus_puth]h sfp_bus_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(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 }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jsb c.sfp_bus_putasbuh1hhjubj")}(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)}(hbush]hbus}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj܆hhhjhMubah}(h]j׆ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjنhhubjg)}(hhh]jl)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j[ c.sfp_bus_putasbjsfp_busuh1hhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjنhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(h**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() **Description** Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(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)}(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_busuh1hhjhMhj"ubh found via sfp_bus_find_fwnode()}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h{Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](hPut a reference on the }(hj}hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1j*hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}ubhB and free the underlying structure if this was the last reference.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hNint sfp_get_module_info (struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h]j )}(hMint sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](jM )}(hinth]hint}(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_infoh]j9)}(hsfp_get_module_infoh]hsfp_get_module_info}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjˈhhhj݈hMubj )}(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&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j jsbc.sfp_get_module_infoasbuh1hhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_modinfo *modinfoh](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)}(hethtool_modinfoh]hethtool_modinfo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jFc.sfp_get_module_infoasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjȉhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hmodinfoh]hmodinfo}(hjՉhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjˈhhhj݈hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLjhhhj݈hMubah}(h]jˆah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj݈hMhjĈhhubjg)}(hhh]jl)}(h(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjĈhhhj݈hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` **Description** Fill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**. Returns 0 on success or a negative errno number.h](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj@h]hstruct sfp_bus *bus}(hjBhhhNhNubah}(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 }(hjYhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjch]hstruct sfp_bus}(hjehhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjUhMhjYubh structure for the sfp module}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjh]hstruct ethtool_modinfo *modinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjh]hstruct ethtool_modinfo}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_modinfouh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hkFill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**.h](h.Fill in the type and eeprom_len parameters in }(hj hhhNhNubj)}(h **modinfo**h]hmodinfo}(hjhhhNhNubah}(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.chMhjubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hTint sfp_get_module_eeprom (struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h]j )}(hSint sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](jM )}(hinth]hint}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhZ/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!hjjhhhj|hMubj3)}(hsfp_get_module_eepromh]j9)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hMubj )}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjɋhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƋubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjˋmodnameN classnameNj j )}j ]j )}j jsbc.sfp_get_module_eepromasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_eeprom *eeh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_eepromh]hethtool_eeprom}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]jc.sfp_get_module_eepromasbuh1hhjubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(heeh]hee}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(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.sfp_get_module_eepromasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjɌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj|hMubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjchhubjg)}(hhh]jl)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` ``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) **Description** Read the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read. Returns 0 on success or a negative errno number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj4h]hstruct sfp_bus *bus}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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 }(hjMhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjWh]hstruct sfp_bus}(hjYhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjIhMhjMubh structure for the sfp module}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubj)}(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&]uh1jhjhMhj+ubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjh]hu8 *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.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 }(hjhhhNhNubj)}(h **ee->len**h]hee->len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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 }(hjKhhhNhNubj)}(h**ee**h]hee}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. See the documentation for }(hjKhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjgh]hstruct ethtool_eeprom}(hjihhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKubh for the region to be read.}(hjKhhhNhNubeh}(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&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hint sfp_get_module_eeprom_by_page (struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h]j )}(hint sfp_get_module_eeprom_by_page(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hj͎hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj̎hMubj3)}(hsfp_get_module_eeprom_by_pageh]j9)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjߎhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjێubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj̎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}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h(const struct ethtool_module_eeprom *pageh](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j5c.sfp_get_module_eeprom_by_pageasbuh1hhjiubj")}(h h]h }(hjďhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjҏhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hpageh]hpage}(hjߏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(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 ]j5c.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hextackh]hextack}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj̎hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj̎hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj̎hMhjhhubjg)}(hhh]jl)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj̎hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hXT**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` ``struct netlink_ext_ack *extack`` extack for reporting problems **Description** Read an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read. Returns 0 on success or a negative errno number. More error information might be provided via extackh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjӐhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjݐh]hstruct sfp_bus}(hjߐhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjېubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjϐhMhjӐubh structure for the sfp module}(hjӐhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjϐhMhjАubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϐ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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hj/hhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hj9h]hstruct ethtool_module_eeprom}(hj;hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhj+hMhj/ubeh}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjnh]hstruct netlink_ext_ack *extack}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhubj)}(hhh]jl)}(hextack for reporting problemsh]hextack for reporting problems}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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 }(hjhhhNhNubj)}(h**page**h]hpage}(hjǑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. See the documentation for }(hjhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjۑh]hstruct ethtool_module_eeprom}(hjݑhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjّubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubh for the page to be read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]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}(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&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h-void sfp_upstream_start (struct sfp_bus *bus)h]j )}(h,void sfp_upstream_start(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hj2hhhNhNubah}(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 }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMubj3)}(hsfp_upstream_starth]j9)}(hsfp_upstream_starth]hsfp_upstream_start}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](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)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.sfp_upstream_startasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hbush]hbus}(hjȒhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj'hhubjg)}(hhh]jl)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj3h]hstruct sfp_bus *bus}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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 }(hjLhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjVh]hstruct sfp_bus}(hjXhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjHhMhjLubh structure for the sfp module}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(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&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h,void sfp_upstream_stop (struct sfp_bus *bus)h]j )}(h+void sfp_upstream_stop(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hsfp_upstream_stoph]j9)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_stopasbuh1hhj2ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(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єjjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](jl)}(h**Parameters**h]j)}(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.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)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhM'hjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjՔubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.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 }(hjnhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjxh]hstruct net_device_ops}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvubah}(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(hjnubh ndo_stop() method.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM(hjՔubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hNvoid sfp_upstream_set_signal_rate (struct sfp_bus *bus, unsigned int rate_kbd)h]j )}(hMvoid sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd)h](jM )}(hvoidh]hvoid}(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 }(hjϕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjΕhM=ubj3)}(hsfp_upstream_set_signal_rateh]j9)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݕubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjΕ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 }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_set_signal_rateasbuh1hhjubj")}(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)}(hbush]hbus}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int rate_kbdh](jM )}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hrate_kbdh]hrate_kbd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(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)}(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&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``unsigned int rate_kbd`` signalling rate in units of 1000 baud **Description** Configure the rate select settings on the SFP module for the signalling rate (not the same as the data rate). Locks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM>hj ubj)}(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)}(hj5h]hstruct sfp_bus}(hj7hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj'hM>hj+ubh structure for the sfp module}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj'hM>hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM>hj ubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hjnh]hunsigned int rate_kbd}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM?hjhubj)}(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&]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&]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).}(hjhhhNhNubah}(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&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hIstruct sfp_bus * sfp_bus_find_fwnode (const struct fwnode_handle *fwnode)h]j )}(hGstruct sfp_bus *sfp_bus_find_fwnode(const struct fwnode_handle *fwnode)h](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj5hMQubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j sfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhj$hhhj5hMQubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj5hMQubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$hhhj5hMQubj3)}(hsfp_bus_find_fwnodeh]j9)}(hjeh]hsfp_bus_find_fwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj5hMQubj )}(h$(const struct fwnode_handle *fwnode)h]j )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjʘhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(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 ]jcc.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$hhhj5hMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj5hMQubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMQhjhhubjg)}(hhh]jl)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj;hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj5hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj+}hNhNubj)}(hX{**Parameters** ``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) **Description** Parse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMUhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjvubah}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMThjZubjl)}(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.chMShjZubj)}(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]j.L)}(hhh](j3L)}(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&]uh1j2Lhjubj3L)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jl)}(hjh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" if we failed to allocate the bus.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhjubah}(h]h ]h"]h$]h&]uh1j2Lhjubj3L)}(h3an error from the upstream's connect_phy() method. h]jl)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM[hj%ubah}(h]h ]h"]h$]h&]uh1j2Lhjubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjhMXhjߙubah}(h]h ]h"]h$]h&]uh1jhjhMXhjZubjl)}(h **Return**h]j)}(hjLh]hReturn}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM]hjZubj.L)}(hhh](j3L)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjgh]h/on success, a pointer to the sfp_bus structure,}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjeubah}(h]h ]h"]h$]h&]uh1j2Lhjbubj3L)}(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.chMYhj}ubah}(h]h ]h"]h$]h&]uh1j2Lhjbubj3L)}(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&]uh1j2Lhjbubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjvhMXhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhj+}hhhNhNubh)}(hhh](j)}(hbint sfp_bus_add_upstream (struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h]j )}(haint sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjݚhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݚhhhjhM~ubj3)}(hsfp_bus_add_upstreamh]j9)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݚhhhjhM~ubj )}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j jsbc.sfp_bus_add_upstreamasbuh1hhjubj")}(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 )}(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 }(hjߛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΛubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΛubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΛubh)}(hhh]j9)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jXc.sfp_bus_add_upstreamasbuh1hhjΛubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjΛubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjΛubj9)}(hopsh]hops}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjΛubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjݚhhhjhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjٚhhhjhM~ubah}(h]jԚah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM~hj֚hhubjg)}(hhh]jl)}(h*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~hjkhhubah}(h]h ]h"]h$]h&]uh1jfhj֚hhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hX=**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() ``void *upstream`` the upstream private data ``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` **Description** Add upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jl)}(h**Parameters**h]j)}(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)}(hj h]hvoid *upstream}(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.chMhjubj)}(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&]uh1jhjubeh}(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)}(hjDh]h"const struct sfp_upstream_ops *ops}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj>ubj)}(hhh]jl)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `qh](hthe upstream’s }(hj]hhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjgh]hstruct sfp_upstream_ops}(hjihhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_upstream_opsuh1hhjYhMhj]ubeh}(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&]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]j.L)}(hhh](j3L)}(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&]uh1j2Lhjǝubj3L)}(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&]uh1j2Lhjǝubj3L)}(h3an error from the upstream's connect_phy() method. h]jl)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj ubah}(h]h ]h"]h$]h&]uh1j2Lhjǝubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjܝhMhjÝubah}(h]h ]h"]h$]h&]uh1jhjܝhMhjubjl)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(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.chMhjubj.L)}(hhh](j3L)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjKh]h/on success, a pointer to the sfp_bus structure,}(hjMhhhNhNubah}(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&]uh1j2LhjFubj3L)}(h ``NULL`` if no SFP is specified,h]jl)}(hjch](j)}(h``NULL``h]hNULL}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh if no SFP is specified,}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjaubah}(h]h ]h"]h$]h&]uh1j2LhjFubj3L)}(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&]uh1j2LhjFubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjZhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h/void sfp_bus_del_upstream (struct sfp_bus *bus)h]j )}(h.void sfp_bus_del_upstream(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjŞhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjԞhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjӞhMubj3)}(hsfp_bus_del_upstreamh]j9)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjӞhMubj )}(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}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jsbc.sfp_bus_del_upstreamasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjӞhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjӞhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjӞhMhjhhubjg)}(hhh]jl)}(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&]uh1jfhjhhhjӞhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj+}hNhNubj)}(hX **Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** 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.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۟hMhjubah}(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. }(hj:hhhNhNubj)}(h**bus**h]hbus}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh2 should have been added by sfp_bus_add_upstream().}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhj+}hhhNhNubh)}(hhh](j)}(h/const char * sfp_get_name (struct sfp_bus *bus)h]j )}(h-const char *sfp_get_name(struct sfp_bus *bus)h](j)}(hj h]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhZ/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!hjwhhhjhMubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwhhhjhMubj3)}(h sfp_get_nameh]j9)}(h sfp_get_nameh]h sfp_get_name}(hjĠhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܠubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܠubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jƠsbc.sfp_get_nameasbuh1hhjܠubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܠubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjܠubj9)}(hbush]hbus}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܠubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjؠubah}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjshhhjhMubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjphhubjg)}(hhh]jl)}(hGet the SFP device nameh]hGet the SFP device name}(hjchhhNhNubah}(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&]uh1jfhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhj+}hNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Gets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released. **Return** - The name of the SFP device registered with sfp_register_socket() - ``NULL`` if no device was registered on **bus**h](jl)}(h**Parameters**h]j)}(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 }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjǡh]hstruct sfp_bus}(hjɡhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjšubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hGets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.h](h!Gets the SFP device’s name, if }(hjhhhNhNubj)}(h**bus**h]hbus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h **Return**h]j)}(hj;h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj.L)}(hhh](j3L)}(h@The name of the SFP device registered with sfp_register_socket()h]jl)}(hjVh]h@The name of the SFP device registered with sfp_register_socket()}(hjXhhhNhNubah}(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&]uh1j2LhjQubj3L)}(h/``NULL`` if no device was registered on **bus**h]jl)}(hjnh](j)}(h``NULL``h]hNULL}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh if no device was registered on }(hjphhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjlubah}(h]h ]h"]h$]h&]uh1j2LhjQubeh}(h]h ]h"]h$]h&]jLj;uh1j-LhjehMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+}hhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhjHhhhhhKubeh}(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¢jjEjBj j jijijFtjCtjjj=j:jjjGjDjaj^j(}j%}jju nametypes}(j¢jEj jijFtjj=jjGjaj(}juh}(jhjBhj hhjjjjBjGjjjij" j? jD j j j j jPjUj jjxj}jjjjj{/j/j0j0j2j2j4j4j6j6j8j8j:j:jH<jM<j=j=jZ?j_?j@j@jBjBj2Ej7EjPGjUGjXIj]IjJjKjLjLjOj!OjQjQj_TjdTj(Wj-WjXjXjZjZj:\j?\j]j]ja_jf_jajaj;dj@djfjfjhjhj$kj)kjmmjrmjHojMoj$qj)qjrjrjtjtjwjwj2yj7yjx{j}{jd~ji~jjjjj„jDŽjjjcjhj7j<jEjJjƓj˓jjjOjTjjjjjjjWj\jljqj jjjj_jdj̨jѨj\jajjjHjMj jj)j.jjj\jaj&j+jjjjjjjjjZj_j jjjjjjjjjjjj(j-j=jBjjjjjqjvj jjjjBjGjjjjj$j)j/j4j~jjjjjjjjjj!j&jjjyj~j&j+j>jCjjjujzj/j4j*j*jJ,jO,jt.jy.jx0j}0j*2j/2j2j2j4j4ju6jz6j8j8j9j9jH;jM;j=j!=j?j?jAjAjJEjOEjtGjyGjJjKj MjMj"Oj'OjPjPjRj!RjTjTjXjXjk[jp[j_j_jbjbj gj%gjjjjjmjmj3oj8ojpjpj1sj6sj)uj.uj xjxj>{jC{j}j}jjjjjjjjjjjjÉjYj^jjj"j'j3j8jjj+j0j:j?jŝjʝjPjUjjjjjjjԧj٧jqjvj]jbjذjݰjj jjj,j1jjjjjjjjjjjjj,j1jjj jj jjjj~jjVj[jjjj jljqjjjjj,j1jjjojjjwj|jjj<jAj^jcjjjjjjjjj&j+j j j{ j jsjxjsjxj$j)j9j>jjjjjjj4!j9!j$j$jw&j|&jY)j^)j+j+jn.js.jD1jI1j_3jd3jz5j5j7j 7j:j:j=j=j@j@jNCjSCjEjEj~GjGj&Mj+MjPjPjSjSjVjVjYjYj \j\j^j^j{bjbjejejgjgjCtjijijijljljnjoj#rj(rjjItjftjktjujujvjvj,xj1xjzjzj[{j`{jjjjjjjrjwjɍj΍jsjxjjjzjjjjjjjj:jj:j?jjjjj̪jѪj߭jjjjʷjϷjyj~jtjyjj jjj#j(j'j,jjj jjujzjjjjjrjwjjj)j.jmjrjjjjj2j7j^jcjijnjHjMjj jujzjjj jjjj>jCjjj:j?jjjjjjj} j jjj!j&j|jj}jjjj5j:jjjDjIj#j#jN'jS'j)j)j+j+j-j"-j.j.j0j0j2j2j5j 5j07j57j8j8j;j;jn=js=j>j>jo@jt@jAjAj%Cj*CjDjDjFjFjHjHjZJj_JjKjKj\MjaMjKOjPOjPjPjMRjRRjwTj|Tj VjVjhWjmWjXjXjZjZjn\js\j]j]j_j_jIbjNbjdjdjWhj\hjijij3kj8kjmjmjzpjpj'sj,sjxj xjyjyjR{jW{j}j}jKjPjHjMjjj jjjjjj@jEj͒jҒjjjHjMjj jKjPjjjjj>jCjjjj j/j4jjjjHjDjYjvj{j3j8jjjjjSjXjjjjjYj^jjjj!jbjgjjjjjjj*j/jKjPjjjzjjj jjj;j@jtjyjjjjj5j:jjjjjjjjjjjjjj jjjj jjjsjxjjjjjjjFjKjjj j jM jR j j jjjjjjjj#jjjjjjjjj9j>jbjgj j j"j"j%j%jT'jY'j)j)j+j+jj-jo-j&/j+/j1j1j5j5j7j7j:j:j<j<jm?jr?jiAjnAj!Cj&CjEjEjHjHjJjJj,Lj1LjMjMjPj PjQjQjESjJSjUjUj8Xj=Xj}ZjZj[j\j`j`j,bj1bjcjcjdjdj"gj'gjhjhjhjjmjjmjmj ojojwsj|sj=vjBvjzxjxj@{jE{j7~j<~jjjjjjjojtjyjjjjjċjɋjލjjjjޑjj_jdjjjajfjj jjj/j4jjjVj[j֟j۟jjj jjqjvjץjܥj=jBjjèjRjWjajfjjjjjjj4j9jljqj>jCjһj׻jjjӾjؾjjjjjojtjjj?jDjjjjj2j7jjjjjj!j0j5jjjJjOjXj]jjj+j0jjjCjHjjj!#j&#j$j$j>&jC&j'j'jS)jX)j*j*j,j,j.j.j 0j%0j1j1j3j3j6j6j8j8ju;jz;jl=jq=j>j>jAjAjBjBjDjDjFjFjHjHjKj#Kj Mj%MjOjOjURjZRjTjTj!Xj&XjYjYj=[jB[j\j\j?^jD^j_j_jjajoajbjbjdjdjfjfjgjgj2ij7ijjjjjhljmljmjmj>rjCrj-uj2ujyjyjq|jw|j jj^jJjgjljƒjǃjijnjjjjj׋j܋jjjj$j֓jۓj1j6jjjujzjj j jjӟj؟j3j8jjj;j@jjjjjejjjjjjj=jBjjjDjIjjjqjvjjjujzjjjxj}jjj5j:j_jdjcjhjgjljjjjj|jj'j,jQjVjjjjjjjjj jjjjjjjjjj<jAjjjjjjjGjLjjjjjjjSjXjjjjjAjFjjjjjjj=jBjjj.j3jjj j j j jjjjjjjpjujjj!j!j$j%j&j&j(j(j+j+j#.j(.j31j81j4j4jU8jZ8j9j9j ;j;jf<jk<j=j=jQ?jV?j@j@jqBjvBjnDjsDjEjFjGjGjIjIjmJjrJjKjKj#Mj(Mj~NjNjOjOjZQj_QjRjRj\TjaTjUjUjWjWjYjYj[j[je^jj^j`j`jbjbjdjej%gj*gjVij[ijOkjTkj!mj&mjnjnjmxjrxjzjzj|{j{j}j}jjjj jjjjj/j4jjjƠjˠj<jAjȤjͤjjjjjsjxj&j+jbjgjljqjjjjjjjQjVjjjjj-j2jjjjjjjBjGjjjj jjjjjojjjJjOjjjjjjjTjYjj$jjjjjSjXjjjj jajfjj jbjgjjj.j3jjjjj%j*j j j j jsjxjjjjjjj{jjqjvjjj# j( j!j!jP#jU#j %j%jd&ji&jR(jW(jj*jo*j,j,j-j-jz/j/j0j1j2j2j4j4j6j6j>8jC8j@:jE:j;j;jB=jG=j>j>jb@jg@jAjAjdCjiCj,Fj1FjHjHjJjJj'Mj,Mj,Pj1PjSjSjTVjYVjXjXjYjYj[j[j_]jd]j$_j)_jgbjlbjDejIejhj hjjjjjljljnjnjpjpjrjrjtjtj vjvjkxjpxjzjzj{j{j}j}jZj_jjjgjljjjNjSj jjjjjjԙjٙj!j&jGjLjۣjjjjj jjjZj_j:j?j%}jdjjjŽjʽjjjjj jjjjjjjjjjjjyj~jj"jjjj jjjJjOjjjjjjjjjjjjjjjjjLjQjjjjjK jP j j j j jjjjjBjGjojtjjjjjjjjj!j!j{$j$j0)j5)j*j+j,j,jq/jv/j2j2j5j5j7j7j9j9j;j;j=j=ji?jn?j AjAjBjBjOEjTEjGjGjHjHj(Kj-KjMjMjMPjRPjRjRjwTj|TjVjVjYjYjZjZj]j]j\_ja_j8cj=cjjejoejgj"gjij$ij!kj&kjnjnjqjqjptjutjxj xjyjyjm{jr{jj+}jH}jM}j~j~jjj`jejnjsj׆j܆jˆjLjjajfjjj%j*jjjjjj jԚjٚjjjnjsu 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)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jJhjLubatransform_messages] transformerN include_log] decorationNhhub.