Linux Documentation
 help / color / mirror / Atom feed
From: Dongliang Mu <dzm91@hust.edu.cn>
To: Siwei Chen <anka@stu.cdut.edu.cn>,
	alexs@kernel.org, si.yanteng@linux.dev, corbet@lwn.net,
	skhan@linuxfoundation.org
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	wy@wyuan.org, Siwei Chen <businiaoanka@anka1.top>
Subject: Re: [PATCH v4 2/5] docs/zh_CN: Add NIC SR-IOV APIs Chinese translation
Date: Fri, 21 Aug 2026 21:34:59 +0800	[thread overview]
Message-ID: <7724c093-cb99-490d-b632-1381e16962ff@hust.edu.cn> (raw)
In-Reply-To: <20260817021340.17318-3-anka@stu.cdut.edu.cn>


On 8/17/26 10:13 AM, Siwei Chen wrote:
> From: Siwei Chen <businiaoanka@anka1.top>
>
> Translate .../networking/sriov.rst into Chinese.
>
> Update the translation through commit 4558645d139c
> ("docs: net: document guidance of implementing the SR-IOV NDOs")
>
> Signed-off-by: Siwei Chen <businiaoanka@anka1.top>
> ---
>   .../translations/zh_CN/networking/index.rst   |  2 +-
>   .../translations/zh_CN/networking/sriov.rst   | 31 +++++++++++++++++++
>   2 files changed, 32 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/translations/zh_CN/networking/sriov.rst
>
> diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Documentation/translations/zh_CN/networking/index.rst
> index fcb8dc8f2c72..ae374c4cb144 100644
> --- a/Documentation/translations/zh_CN/networking/index.rst
> +++ b/Documentation/translations/zh_CN/networking/index.rst
> @@ -29,6 +29,7 @@
>      alias
>      mptcp-sysctl
>      generic-hdlc
> +   sriov
>      team
>      timestamping
>   
> @@ -128,7 +129,6 @@ Todolist:
>   *   secid
>   *   seg6-sysctl
>   *   smc-sysctl
> -*   sriov
>   *   statistics
>   *   strparser
>   *   switchdev
> diff --git a/Documentation/translations/zh_CN/networking/sriov.rst b/Documentation/translations/zh_CN/networking/sriov.rst
> new file mode 100644
> index 000000000000..bf37e68f0534
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/networking/sriov.rst
> @@ -0,0 +1,31 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/networking/sriov.rst
> +
> +:翻译:
> +
> +	陈思为 Siwei Chen <businiaoanka@anka1.top>
> +
> +===============
> +网卡 SR-IOV API
> +===============
> +
> +强烈建议现代网卡专注于实现 ``switchdev`` 模型(参见 :ref:`switchdev`)

The compilation complains this switchdev reference. This documentation 
has no translation in the same directory:

   Documentation/translations/zh_CN/networking/sriov.rst:15:
   WARNING: undefined label: 'switchdev' [ref.ref]

Dongliang Mu

> +来配置 SR-IOV 功能的转发与安全。
> +
> +传统 API
> +========
> +
> +旧的 SR-IOV API 在 ``rtnetlink`` Netlink 协议族中实现,是 ``RTM_GETLINK`` 和
> +``RTM_SETLINK`` 命令的一部分。在驱动侧,它由若干 ``ndo_set_vf_*`` 和
> +``ndo_get_vf_*`` 回调组成。
> +
> +由于传统 API 与协议栈其余部分集成不佳,该 API 被视为已冻结;不再接受任何新功能或扩展。
> +新驱动不应实现那些不常用的回调;
> +即以下回调禁止使用:
> +
> + - ``ndo_get_vf_port``
> + - ``ndo_set_vf_port``
> + - ``ndo_set_vf_rss_query_en``


  parent reply	other threads:[~2026-08-21 13:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17  2:13 [PATCH v4 0/5] docs/zh_CN: Add Chinese translations for five networking documents Siwei Chen
2026-08-17  2:13 ` [PATCH v4 1/5] docs/zh_CN: Add networking team documentation Chinese translation Siwei Chen
2026-08-20  6:43   ` Weijie Yuan
2026-08-21 13:10   ` Dongliang Mu
2026-08-17  2:13 ` [PATCH v4 2/5] docs/zh_CN: Add NIC SR-IOV APIs " Siwei Chen
2026-08-20  6:43   ` Weijie Yuan
2026-08-21 13:10   ` Dongliang Mu
2026-08-21 13:34   ` Dongliang Mu [this message]
2026-08-21 14:25     ` Weijie Yuan
2026-08-21 14:48     ` Weijie Yuan
2026-08-24  4:06     ` 不死鸟Anka
2026-08-17  2:13 ` [PATCH v4 3/5] docs/zh_CN: Add Softnet Driver Issues " Siwei Chen
2026-08-20  6:43   ` Weijie Yuan
2026-08-21 13:11   ` Dongliang Mu
2026-08-17  2:13 ` [PATCH v4 4/5] docs/zh_CN: Add ipv6 " Siwei Chen
2026-08-20  6:43   ` Weijie Yuan
2026-08-21 13:11   ` Dongliang Mu
2026-08-17  2:13 ` [PATCH v4 5/5] docs/zh_CN: Add LSM/SeLinux secid " Siwei Chen
2026-08-20  6:43   ` Weijie Yuan
2026-08-21 13:29   ` Dongliang Mu
2026-08-21 14:07     ` Weijie Yuan
2026-08-24  4:10     ` Siwei Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7724c093-cb99-490d-b632-1381e16962ff@hust.edu.cn \
    --to=dzm91@hust.edu.cn \
    --cc=alexs@kernel.org \
    --cc=anka@stu.cdut.edu.cn \
    --cc=businiaoanka@anka1.top \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=wy@wyuan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox