dpdk community embraces loongarch-pg电子试玩入口

isa: loongarch
about loongson
12-05 2022

dpdk community embraces loongarch

on november 27, 2022, the official dpdk community issued dpdk release 22.11, starting from which dpdk began to support loongarch. as the community pushes forward the dpdk project, loongarch has become another independent instruction set architecture (isa) supported by dpdk, following x86, powerpc, arm, and risc-v.

official announcement

1. dpdk's relevance to loongson

data plane development kit (dpdk) is an open-source project managed by the linux foundation. it provides a set of data plane libraries and network card drivers based on the polling mode. dpdk can accelerate network i/o, playing an important role in improving network throughput and reducing network latency.

dpdk offers a set of efficient packet processing libraries in user space and a complete application programming framework, enabling faster development of high-speed data packet networking applications. many popular linux distributions include support for dpdk as part of their standard packages. loongarch-based dpdk runtime and development environments can be installed through software package management tools on loongnix-server and loongnix-desktop systems maintained by loongson technology.

diagram of dpdk architecture (sourced from the internet)

benefits brought about by dpdk support

after dpdk supports loongarch, users can directly run and develop dpdk applications on physical machines based on loongarch64, which facilitates the testing and development of dpdk-based applications and enhances the efficiency of software development. users can not only compile and test dpdk programs natively on machines supporting ls3a5000 and 3c5000, but also cross-compile loongarch dpdk on the x86 architecture. this feature facilitates the development of network data packet processing products that support multiple architectures.

2. preliminary work of loongson's team

to add support for loongarch to dpdk, loongson's technical team has gone through eight iterations of the architecture. during the iteration, the community was particularly concerned with the support of loongarch dpdk ci. after research and communication with the community, loongson's technical team provided the community with a dpdk ci node running on the loongarch platform and more test results for reference in patch integration.