From nobody Thu Oct 2 13:05:47 2025 Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49A2422156D; Wed, 17 Sep 2025 06:00:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=183.62.165.209 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758088838; cv=none; b=KTms3j+e/YPEmIzO7p6L7zcD6iSeeICTHBKx2rn598/eFAG2baQoLy8w4W+1NCeFwVzRYAQ0+lW5i34bQb284Tj3NZpE9XavXAPbwdNfnHZzPCCzJuOzhC31zZ8GhGR7xJ58Ayp/tnPivXKTMOyUXpDy9fc1emmrxtTAmMUvJqA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758088838; c=relaxed/simple; bh=/DNBC11wV0nXKmculC8fWaHGqrXeDrR5/gp9I0ROIVM=; h=Date:Message-ID:In-Reply-To:References:Mime-Version:From:To:Cc: Subject:Content-Type; b=SGUyOmqW9yh3bbzHTeKWv2tYXS1ZZsFhq+mZEHvYmtyJXPIN9qYYCcJmip7CcGj4r7qq5q2B3RwW5GZM5B0eVlYABLMQxTM3gKMSrmtRJR3NB/fddkdhwU0vLlOiseph+e80I/t43wgr/O7DutSBOa6H4QyyncilR8W51a0mKFA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn; spf=pass smtp.mailfrom=zte.com.cn; arc=none smtp.client-ip=183.62.165.209 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zte.com.cn Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4cRSmb2MK2z501bS; Wed, 17 Sep 2025 14:00:31 +0800 (CST) Received: from xaxapp05.zte.com.cn ([10.99.98.109]) by mse-fl1.zte.com.cn with SMTP id 58H608AV043934; Wed, 17 Sep 2025 14:00:08 +0800 (+08) (envelope-from wang.yaxin@zte.com.cn) Received: from mapi (xaxapp05[null]) by mapi (Zmail) with MAPI id mid32; Wed, 17 Sep 2025 14:00:10 +0800 (CST) Date: Wed, 17 Sep 2025 14:00:10 +0800 (CST) X-Zmail-TransId: 2afc68ca4e6a4a6-738b6 X-Mailer: Zmail v1.0 Message-ID: <20250917140010636SMB_b6UYttZyOP2L0K93O@zte.com.cn> In-Reply-To: <20250917135406432vKZ2pELx-bRkvOdfP10Zb@zte.com.cn> References: 20250917135406432vKZ2pELx-bRkvOdfP10Zb@zte.com.cn Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 From: To: Cc: , , , , , , , , , , , Subject: =?UTF-8?B?W1BBVENIIHY0IDIvNF0gRG9jcy96aF9DTjogVHJhbnNsYXRlIHNrYnVmZi5yc3QgdG8gU2ltcGxpZmllZCBDaGluZXNl?= Content-Type: text/plain; charset="utf-8" X-MAIL: mse-fl1.zte.com.cn 58H608AV043934 X-TLS: YES X-SPF-DOMAIN: zte.com.cn X-ENVELOPE-SENDER: wang.yaxin@zte.com.cn X-SPF: None X-SOURCE-IP: 10.5.228.132 unknown Wed, 17 Sep 2025 14:00:31 +0800 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 68CA4E7F.000/4cRSmb2MK2z501bS Content-Transfer-Encoding: quoted-printable From: Wang Yaxin translate the "skbuff.rst" into Simplified Chinese. Update the translation through commit 9facd94114b5 ("skbuff: render the checksum comment to documentation") Signed-off-by: Wang Yaxin Signed-off-by: Sun yuxi Reviewed-by: xu xin --- ../translations/zh_CN/networking/index.rst | 2 +- ../translations/zh_CN/networking/skbuff.rst | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 Documentation/translations/zh_CN/networking/skbuff.rst diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Docume= ntation/translations/zh_CN/networking/index.rst index 6e1c1df4a980..e03b5d5d39ee 100644 --- a/Documentation/translations/zh_CN/networking/index.rst +++ b/Documentation/translations/zh_CN/networking/index.rst @@ -28,6 +28,7 @@ netmem alias mptcp-sysctl + skbuff Todolist: @@ -126,7 +127,6 @@ Todolist: * sctp * secid * seg6-sysctl -* skbuff * smc-sysctl * sriov * statistics diff --git a/Documentation/translations/zh_CN/networking/skbuff.rst b/Docum= entation/translations/zh_CN/networking/skbuff.rst new file mode 100644 index 000000000000..2624ea8e8e05 --- /dev/null +++ b/Documentation/translations/zh_CN/networking/skbuff.rst @@ -0,0 +1,44 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/networking/skbuff.rst + +:=E7=BF=BB=E8=AF=91: + + =E7=8E=8B=E4=BA=9A=E9=91=AB Wang Yaxin + +struct sk_buff +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +:c:type:`sk_buff` =E6=98=AF=E8=A1=A8=E7=A4=BA=E6=95=B0=E6=8D=AE=E5=8C=85= =E7=9A=84=E4=B8=BB=E8=A6=81=E7=BD=91=E7=BB=9C=E7=BB=93=E6=9E=84=E4=BD=93=E3= =80=82 + +=E5=9F=BA=E6=9C=ACsk_buff=E5=87=A0=E4=BD=95=E7=BB=93=E6=9E=84 +------------------- + +.. kernel-doc:: include/linux/skbuff.h + :doc: Basic sk_buff geometry + +=E5=85=B1=E4=BA=ABskb=E5=92=8Cskb=E5=85=8B=E9=9A=86 +---------------- + +:c:member:`sk_buff.users` =E6=98=AF=E4=B8=80=E4=B8=AA=E7=AE=80=E5=8D=95=E7= =9A=84=E5=BC=95=E7=94=A8=E8=AE=A1=E6=95=B0=EF=BC=8C=E5=85=81=E8=AE=B8 +=E5=A4=9A=E4=B8=AA=E5=AE=9E=E4=BD=93=E4=BF=9D=E6=8C=81 struct sk_buff =E5= =AD=98=E6=B4=BB=E3=80=82 ``sk_buff.users !=3D 1`` +=E7=9A=84 skb =E8=A2=AB=E7=A7=B0=E4=B8=BA=E5=85=B1=E4=BA=AB skb=EF=BC=88= =E5=8F=82=E8=A7=81 skb_shared()=EF=BC=89=E3=80=82 + +skb_clone() =E5=85=81=E8=AE=B8=E5=BF=AB=E9=80=9F=E5=A4=8D=E5=88=B6 skb=E3= =80=82=E4=B8=8D=E4=BC=9A=E5=A4=8D=E5=88=B6=E4=BB=BB=E4=BD=95=E6=95=B0=E6=8D= =AE=E7=BC=93=E5=86=B2=E5=8C=BA=EF=BC=8C +=E4=BD=86=E8=B0=83=E7=94=A8=E8=80=85=E4=BC=9A=E8=8E=B7=E5=BE=97=E4=B8=80= =E4=B8=AA=E6=96=B0=E7=9A=84=E5=85=83=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E4= =BD=93=EF=BC=88struct sk_buff=EF=BC=89=E3=80=82 +&skb_shared_info.refcount =E8=A1=A8=E7=A4=BA=E6=8C=87=E5=90=91=E5=90=8C=E4= =B8=80=E6=95=B0=E6=8D=AE=E5=8C=85=E6=95=B0=E6=8D=AE=E7=9A=84 +skb =E6=95=B0=E9=87=8F=EF=BC=88=E5=8D=B3=E5=85=8B=E9=9A=86=EF=BC=89=E3=80= =82 + +=E6=95=B0=E6=8D=AE=E5=BC=95=E7=94=A8=E5=92=8C=E6=97=A0=E5=A4=B4skb +----------------- + +.. kernel-doc:: include/linux/skbuff.h + :doc: dataref and headerless skbs + +=E6=A0=A1=E9=AA=8C=E5=92=8C=E4=BF=A1=E6=81=AF +---------- + +.. kernel-doc:: include/linux/skbuff.h + :doc: skb checksums -- 2.25.1