net/sxe: add build and doc infrastructure
Subsystems (2)
PATCH 1/1 net/sxe: add build and doc infrastructure
Adding a minimum maintainable directory structure for the network driver and request maintenance of the sxe driver.
Signed-off-by Jie Liu <[email protected]>
--- MAINTAINERS | 6 ++++ app/test-pmd/meson.build | 3 ++ doc/guides/nics/features/sxe.ini | 9 ++++++ doc/guides/nics/index.rst | 1 + doc/guides/nics/sxe.rst | 41 +++++++++++++++++++++++++ drivers/net/meson.build | 1 + drivers/net/sxe/meson.build | 10 ++++++ drivers/net/sxe/pf/sxe_ethdev.c | 3 ++ drivers/net/sxe/pf/sxe_ethdev.h | 3 ++ drivers/net/sxe/rte_pmd_sxe_version.map | 4 +++ drivers/net/sxe/version.map | 3 ++ 11 files changed, 84 insertions(+) create mode 100644 doc/guides/nics/features/sxe.ini create mode 100644 doc/guides/nics/sxe.rst create mode 100644 drivers/net/sxe/meson.build create mode 100644 drivers/net/sxe/pf/sxe_ethdev.c create mode 100644 drivers/net/sxe/pf/sxe_ethdev.h create mode 100644 drivers/net/sxe/rte_pmd_sxe_version.map create mode 100644 drivers/net/sxe/version.map
MAINTAINERS +6 -0
@@ -981,6 +981,12 @@ F: drivers/net/sfc/ F: doc/guides/nics/sfc_efx.rst F: doc/guides/nics/features/sfc.ini +Linkdata sxe +M: Jie Li <[email protected]> +F: drivers/net/sxe/ +F: doc/guides/nics/sxe.rst +F: doc/guides/nics/features/sxe*.ini + Wangxun ngbe M: Jiawen Wu <[email protected]> F: drivers/net/ngbe/
app/test-pmd/meson.build +3 -0
@@ -72,6 +72,9 @@ endif if dpdk_conf.has('RTE_NET_DPAA') deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa'] endif +if dpdk_conf.has('RTE_NET_SXE') + deps += 'net_sxe' +endif # Driver-specific commands are located in driver directories. includes = include_directories('.')
doc/guides/nics/features/sxe.ini new file +9 -0
@@ -0,0 +1,9 @@ +; +; Supported features of the 'sxe' network poll mode driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Features] +[Features] +Linux UIO = Y +Linux VFIO = Y
doc/guides/nics/index.rst +1 -0
@@ -69,3 +69,4 @@ Network Interface Controller Drivers vhost virtio vmxnet3 + sxe
doc/guides/nics/sxe.rst new file +41 -0
41 lines not on this page · raw message
drivers/net/meson.build +1 -0
@@ -62,6 +62,7 @@ drivers = [ 'vhost', 'virtio', 'vmxnet3', + 'sxe', ] 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/sxe/meson.build new file +10 -0
@@ -0,0 +1,10 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (C), 2020, Wuxi Stars Micro System Technologies Co., Ltd. + +deps += ['hash'] +sources = files( + 'pf/sxe_ethdev.c', +) + +includes += include_directories('pf') +
drivers/net/sxe/pf/sxe_ethdev.c new file +3 -0
@@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015-2024 +*/
drivers/net/sxe/pf/sxe_ethdev.h new file +3 -0
@@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015-2024 +*/
drivers/net/sxe/rte_pmd_sxe_version.map new file +4 -0
@@ -0,0 +1,4 @@ +DPDK_24.0 { + local: *; +}; +
drivers/net/sxe/version.map new file +3 -0
@@ -0,0 +1,3 @@ +DPDK_25 { + local: *; +};
Signature · 1 line
2.27.0
Quoted 5 lines · On Sat, 19 Oct 2024 19:42:03 -0700 Jie Liu <[email protected]>…
Adding a minimum maintainable directory structure for the network driver and request maintenance of the sxe driver.
Signed-off-by Jie Liu <[email protected]>---
Why did you send the same patch twice?
When setting followup please versions and reply-to as documented in
https://doc.dpdk.org/guides/contributing/patches.html section 9.13.2
Quoted 4 lines · On Sat, 19 Oct 2024 19:42:03 -0700 Jie Liu <[email protected]>…
Adding a minimum maintainable directory structure for the network driver and request maintenance of the sxe driver.
Signed-off-by Jie Liu <[email protected]>
Even the minimum version patch has to compile cleanly, this one doesn't. Please fix and resubmit as V2.