net/xsc: add doc and minimum build framework
Subsystems (2)
PATCH 1/19 net/xsc: add doc and minimum build framework
Add minimum PMD code, doc and build infrastructure for xsc.
Signed-off-by WanRenyong <[email protected]>
--- .mailmap | 4 ++++ MAINTAINERS | 9 +++++++++ doc/guides/nics/features/xsc.ini | 9 +++++++++ doc/guides/nics/index.rst | 1 + doc/guides/nics/xsc.rst | 31 +++++++++++++++++++++++++++++++ drivers/net/meson.build | 1 + drivers/net/xsc/meson.build | 13 +++++++++++++ drivers/net/xsc/xsc_ethdev.c | 3 +++ 8 files changed, 71 insertions(+) create mode 100644 doc/guides/nics/features/xsc.ini create mode 100644 doc/guides/nics/xsc.rst create mode 100644 drivers/net/xsc/meson.build create mode 100644 drivers/net/xsc/xsc_ethdev.c
.mailmap +4 -0
@@ -1034,6 +1034,7 @@ Nagadheeraj Rottela <[email protected]> Naga Harish K S V <[email protected]> Naga Suresh Somarowthu <[email protected]> Nalla Pradeep <[email protected]> +Na Na <[email protected]> Na Na <[email protected]> Nan Chen <[email protected]> Nannan Lu <[email protected]>
@@ -1268,6 +1269,7 @@ Ronak Doshi <[email protected]> <[email protected]> Ron Beider <[email protected]> Ronghua Zhang <[email protected]> RongQiang Xie <[email protected]> +Rong Qian <[email protected]> RongQing Li <[email protected]> Rongwei Liu <[email protected]> Rory Sexton <[email protected]>
@@ -1586,6 +1588,7 @@ Waldemar Dworakowski <[email protected]> Walter Heymans <[email protected]> Wang Sheng-Hui <[email protected]> Wangyu (Eric) <[email protected]> +WanRenyong <[email protected]> Waterman Cao <[email protected]> Wathsala Vithanage <[email protected]> Weichun Chen <[email protected]>
@@ -1638,6 +1641,7 @@ Xiaonan Zhang <[email protected]> Xiao Wang <[email protected]> Xiaoxiao Zeng <[email protected]> Xiaoxin Peng <[email protected]> +Xiaoxiong Zhang <[email protected]> Xiaoyu Min <[email protected]> <[email protected]> Xiaoyun Li <[email protected]> Xiaoyun Wang <[email protected]>
MAINTAINERS +9 -0
@@ -994,6 +994,15 @@ F: drivers/net/txgbe/ F: doc/guides/nics/txgbe.rst F: doc/guides/nics/features/txgbe.ini +Yunsilicon xsc +M: WanRenyong <[email protected]> +M: Na Na <[email protected]> +M: Rong Qian <[email protected]> +M: Xiaoxiong Zhang <[email protected]> +F: drivers/net/xsc/ +F: doc/guides/nics/xsc.rst +F: doc/guides/nics/features/xsc.ini + VMware vmxnet3 M: Jochen Behrens <[email protected]> F: drivers/net/vmxnet3/
doc/guides/nics/features/xsc.ini new file +9 -0
@@ -0,0 +1,9 @@ +; +; Supported features of the 'xsc' network poll mode driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Features] +Linux = Y +ARMv8 = Y +x86-64 = Y
doc/guides/nics/index.rst +1 -0
@@ -69,3 +69,4 @@ Network Interface Controller Drivers vhost virtio vmxnet3 + xsc
doc/guides/nics/xsc.rst new file +31 -0
@@ -0,0 +1,31 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright 2024 Yunsilicon Technology Co., Ltd + +XSC Poll Mode Driver +====================== + +The xsc PMD (**librte_net_xsc**) provides poll mode driver support for +10/25/50/100/200 Gbps Yunsilicon metaScale Series Network Adapters. + +Supported NICs +-------------- + +The following Yunsilicon device models are supported by the same xsc driver: + + - metaScale-200S + - metaScale-200 + - metaScale-100Q + - metaScale-50 + +Prerequisites +-------------- + +- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. + +- Learning about Yunsilicon metaScale Series NICs using + `<https://www.yunsilicon.com/#/productInformation>`_. + +Limitations or Known issues +--------------------------- +32bit ARCHs have not been tested and may not be supported. +Windows and BSD are not supported yet.
drivers/net/meson.build +1 -0
@@ -62,6 +62,7 @@ drivers = [ 'vhost', 'virtio', 'vmxnet3', + 'xsc', ] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std
drivers/net/xsc/meson.build new file +13 -0
@@ -0,0 +1,13 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2024 Yunsilicon Technology Co., Ltd. + +if not is_linux + build = false + reason = 'only supported on Linux' +endif + +sources = files( + 'xsc_ethdev.c', +) + +
drivers/net/xsc/xsc_ethdev.c new file +3 -0
@@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright 2024 Yunsilicon Technology Co., Ltd. +*/
Signature · 1 line
2.25.1