{"id":117370,"date":"2026-10-24T17:33:14","date_gmt":"2026-10-24T09:33:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/117370.html"},"modified":"2026-10-24T17:33:14","modified_gmt":"2026-10-24T09:33:14","slug":"%e3%80%90%e7%bd%91%e7%bb%9c%e6%b5%8b%e8%af%95%e3%80%91ubuntu-22-04-%e4%b8%8b%e8%b6%85%e8%81%9a%e5%8f%98%e6%9c%8d%e5%8a%a1%e5%99%a8-dpdk-l3fwd-%e4%b8%89%e5%b1%82%e5%8f%8c%e5%90%91%e8%bd%ac%e5%8f%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/117370.html","title":{"rendered":"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u5728\u670d\u52a1\u5668\u7f51\u5361\u6027\u80fd\u6d4b\u8bd5\u4e2d&#xff0c;DPDK \u662f\u7ed5\u4e0d\u5f00\u7684\u201c\u6027\u80fd\u5929\u82b1\u677f\u201d\u3002\u6700\u8fd1\u5728\u8d85\u805a\u53d8 V7\/V8 \u670d\u52a1\u5668&#xff08;Intel Xeon&#xff0c;\u642d\u8f7d Intel E810-XXV 25G \u53cc\u53e3\u7f51\u5361&#xff09;\u4e0a&#xff0c;\u914d\u5408\u4fe1\u800c\u6cf0&#xff08;Renix&#xff09;\u6d4b\u8bd5\u4eea\u8868&#xff0c;\u5b8c\u6210\u4e86\u4e00\u6b21\u57fa\u4e8e DPDK l3fwd \u7684\u4e09\u5c42\u53cc\u7aef\u53e3\u53cc\u5411\u8f6c\u53d1\u6d4b\u8bd5\u3002<\/p>\n<p>\u7531\u4e8e\u7f51\u4e0a\u5927\u591a\u662f\u57fa\u4e8e CentOS\/BCLinux \u7684\u6559\u7a0b&#xff0c;\u4e14\u9488\u5bf9 L3fwd \u7684\u6d41\u91cf\u8d70\u5411\u4e0e\u4eea\u8868\u914d\u7f6e\u8bb2\u5f97\u4e0d\u591f\u900f\u5f7b&#xff0c;\u5bfc\u81f4\u65b0\u624b\u6781\u6613\u8e29\u5751&#xff08;\u6bd4\u5982\u660e\u660e\u6253\u6d41\u4e86&#xff0c;DPDK \u63a5\u6536\u5374\u4e00\u76f4\u662f 0&#xff0c;\u6216\u8005\u75af\u72c2\u4e22\u5305&#xff09;\u3002<\/p>\n<p>\u672c\u6587\u57fa\u4e8e Ubuntu 22.04 LTS \u7cfb\u7edf&#xff0c;\u4ece\u5e95\u5c42\u539f\u7406\u3001\u73af\u5883\u642d\u5efa\u3001\u8def\u7531\u903b\u8f91\u3001\u4eea\u8868\u914d\u7f6e\u56db\u4e2a\u7ef4\u5ea6&#xff0c;\u5e26\u4f60\u5b8c\u6574\u8dd1\u901a\u8fd9\u5957\u6d4b\u8bd5\u95ed\u73af&#xff0c;\u5e76\u9644\u4e0a\u8840\u6cea\u6392\u969c\u7ecf\u9a8c\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001 \u6838\u5fc3\u539f\u7406&#xff1a;\u5c0f\u767d\u5fc5\u8bfb<\/h3>\n<h4>1.1 DPDK \u4e0e L3fwd \u662f\u4ec0\u4e48&#xff1f;<\/h4>\n<ul>\n<li>\n<p>DPDK (Data Plane Development Kit)&#xff1a;\u7b80\u5355\u6765\u8bf4&#xff0c;\u5b83\u662f\u4e00\u4e2a\u201c\u52ab\u6301\u201d\u4e86\u7f51\u5361\u63a7\u5236\u6743\u7684\u5f00\u53d1\u5957\u4ef6\u3002\u5b83\u7ed5\u8fc7 Linux \u5185\u6838\u5e9e\u5927\u7684\u534f\u8bae\u6808&#xff0c;\u76f4\u63a5\u5728\u7528\u6237\u6001\u91c7\u7528\u8f6e\u8be2\u6a21\u5f0f&#xff08;PMD&#xff09;\u6536\u53d1\u6570\u636e\u5305&#xff0c;\u4ece\u800c\u69a8\u5e72\u7f51\u5361\u7684\u6781\u9650\u6027\u80fd\u3002<\/p>\n<\/li>\n<li>\n<p>L3fwd&#xff1a;\u662f DPDK \u5b98\u65b9\u63d0\u4f9b\u7684\u4e00\u4e2a\u4e09\u5c42&#xff08;\u7f51\u7edc\u5c42&#xff09;\u8f6c\u53d1\u793a\u4f8b\u7a0b\u5e8f\u3002\u5b83\u7684\u5de5\u4f5c\u903b\u8f91\u5f88\u7eaf\u7cb9&#xff1a;\u6536\u5305 -&gt; \u63d0\u53d6\u76ee\u7684 IP -&gt; \u67e5\u672c\u5730\u8def\u7531\u8868 -&gt; \u4ece\u6307\u5b9a\u7aef\u53e3\u8f6c\u53d1\u51fa\u53bb\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>1.2 \u6d41\u91cf\u6253\u4e0d\u901a&#xff1f;\u56e0\u4e3a\u8fd9\u4e09\u4e2a\u6761\u4ef6\u7f3a\u4e00\u4e0d\u53ef&#xff01;<\/h4>\n<p>\u4e3a\u4e86\u8ba9 DPDK \u6210\u529f\u8f6c\u53d1\u62a5\u6587&#xff0c;\u4f60\u7684\u73af\u5883\u5fc5\u987b\u540c\u65f6\u6ee1\u8db3&#xff1a;<\/p>\n<li>\n<p>\u4e8c\u5c42 MAC \u5339\u914d&#xff1a;\u4eea\u8868\u53d1\u51fa\u7684\u5305&#xff0c;\u76ee\u7684 MAC \u5fc5\u987b\u662f\u670d\u52a1\u5668\u7f51\u5361\u7684\u771f\u5b9e MAC&#xff0c;\u5426\u5219\u7f51\u5361\u786c\u4ef6\u5c42\u76f4\u63a5\u8fc7\u6ee4\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e09\u5c42 IP \u8def\u7531\u547d\u4e2d&#xff1a;\u4eea\u8868\u53d1\u51fa\u7684\u5305&#xff0c;\u76ee\u7684 IP \u5fc5\u987b\u5728 l3fwd \u542f\u52a8\u65f6\u52a0\u8f7d\u7684\u8def\u7531\u8868\u91cc&#xff0c;\u5426\u5219\u67e5\u8868\u5931\u8d25\u88ab\u4e22\u5f03\u3002<\/p>\n<\/li>\n<li>\n<p>\u53cc\u5411\u95ed\u73af&#xff1a;\u4eea\u8868 Port_1 \u53d1\u5f80\u670d\u52a1\u5668 Port 0&#xff0c;\u670d\u52a1\u5668\u67e5\u8def\u7531\u540e\u4ece Port 1 \u53d1\u51fa&#xff0c;\u6700\u7ec8\u88ab\u4eea\u8868 Port_2 \u63a5\u6536\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u4e8c\u3001 \u73af\u5883\u51c6\u5907\u4e0e\u7f16\u8bd1 (Ubuntu 22.04)<\/h3>\n<h4>2.1 \u5b89\u88c5\u7f16\u8bd1\u4f9d\u8d56<\/h4>\n<p>Ubuntu \u4e0b\u7684\u5305\u540d\u4e0e CentOS \u4e0d\u540c&#xff0c;\u76f4\u63a5\u590d\u5236\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>sudo apt update<br \/>\nsudo apt install -y build-essential python3 python3-pip pkg-config libnuma-dev libpcap-dev libelf-dev libssl-dev meson ninja-build<\/p>\n<h4>2.2 \u4e0b\u8f7d\u4e0e\u7f16\u8bd1 DPDK 24.11.7<\/h4>\n<p>mkdir -p ~\/dpdk &amp;&amp; cd ~\/dpdk<br \/>\nwget https:\/\/fast.dpdk.org\/rel\/dpdk-24.11.7.tar.xz<br \/>\ntar xf dpdk-24.11.7.tar.xz<br \/>\ncd dpdk-stable-24.11.7<br \/>\n\u7f16\u8bd1 DPDK \u5e76\u5305\u542b l3fwd \u793a\u4f8b<br \/>\nmeson setup build -Dexamples&#061;l3fwd<br \/>\nninja -C build<\/p>\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e&#xff0c;\u751f\u6210\u7684 l3fwd \u53ef\u6267\u884c\u6587\u4ef6\u4f4d\u4e8e build\/examples\/dpdk-l3fwd\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001 \u5927\u9875\u5185\u5b58\u4e0e\u7f51\u5361\u7ed1\u5b9a<\/h3>\n<h4>3.1 \u914d\u7f6e Hugepages<\/h4>\n<p>Ubuntu \u9ed8\u8ba4\u6ca1\u6709\u6302\u8f7d\u5927\u9875\u5185\u5b58&#xff0c;\u6211\u4eec\u9700\u8981\u624b\u52a8\u5206\u914d\u5e76\u6302\u8f7d 2MB \u7684\u5927\u9875&#xff08;E810 \u63a8\u8350\u5206\u914d 1024 \u4e2a&#xff09;&#xff1a;<\/p>\n<p># \u4e34\u65f6\u5206\u914d 1024 \u4e2a 2MB \u7684\u5927\u9875<br \/>\nsudo sysctl -w vm.nr_hugepages&#061;1024<br \/>\nsudo mkdir -p \/mnt\/huge<br \/>\nsudo mount -t hugetlbfs nodev \/mnt\/huge<\/p>\n<h4>3.2 \u7ed1\u5b9a\u7f51\u5361\u5230 vfio-pci<\/h4>\n<p>\u9996\u5148\u67e5\u770b\u7f51\u5361 PCI \u5730\u5740&#xff08;\u5047\u8bbe\u662f 0000:2a:00.0 \u548c 0000:2a:00.1&#xff09;&#xff1a;<\/p>\n<p>lspci | grep -i ether<\/p>\n<p>\u7136\u540e\u5173\u95ed\u5185\u6838\u9a71\u52a8&#xff0c;\u7ed1\u5b9a\u81f3 DPDK&#xff1a;<\/p>\n<p># \u52a0\u8f7d vfio \u6a21\u5757<br \/>\nsudo modprobe vfio-pci<br \/>\n\u5173\u95ed\u7f51\u5361\u5e76\u89e3\u7ed1&#xff08;Ubuntu \u7f51\u5361\u540d\u901a\u5e38\u662f enpXXX&#xff0c;\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u66ff\u6362&#xff09;<br \/>\nsudo ip link set enp42s0f0 down<br \/>\nsudo ip link set enp42s0f1 down<br \/>\n\u7ed1\u5b9a<br \/>\nsudo .\/usertools\/dpdk-devbind.py &#8211;bind&#061;vfio-pci 0000:2a:00.0 0000:2a:00.1<br \/>\n\u786e\u8ba4\u72b6\u6001&#xff08;\u663e\u793a driver&#061;vfio-pci \u5373\u6210\u529f&#xff09;<br \/>\nsudo .\/usertools\/dpdk-devbind.py &#8211;status<\/p>\n<hr \/>\n<h3>\u56db\u3001 L3fwd \u542f\u52a8\u4e0e\u8def\u7531\u8868\u89e3\u6790<\/h3>\n<h4>4.1 L3fwd \u9ed8\u8ba4\u8def\u7531<\/h4>\n<p>\u5982\u679c\u4e0d\u4f7f\u7528\u5916\u90e8\u6587\u4ef6&#xff0c;l3fwd \u9ed8\u8ba4\u52a0\u8f7d\u7684\u8def\u7531\u8868\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u53bb\u5f80 198.18.0.0\/24 \u7684\u5305&#xff0c;\u4ece Port 0 \u53d1\u51fa\u3002<\/p>\n<\/li>\n<li>\n<p>\u53bb\u5f80 198.18.1.0\/24 \u7684\u5305&#xff0c;\u4ece Port 1 \u53d1\u51fa\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>4.2 \u542f\u52a8\u547d\u4ee4<\/h4>\n<p>sudo .\/build\/examples\/dpdk-l3fwd \\\\<br \/>\n  -l 1,2,3,4,5,6,7,8 -n 4 &#8212; \\\\<br \/>\n  -P -p 0x3 \\\\<br \/>\n  &#8211;config&#061;&#034;(0,0,1),(0,1,2),(0,2,3),(0,3,4),(1,0,5),(1,1,6),(1,2,7),(1,3,8)&#034; \\\\<br \/>\n  &#8211;parse-ptype<\/p>\n<ul>\n<li>\n<p>-P&#xff1a;\u5f00\u542f\u6df7\u6742\u6a21\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>-p 0x3&#xff1a;\u63a9\u7801&#xff0c;\u8868\u793a\u4f7f\u7528\u7b2c 0 \u548c\u7b2c 1 \u4e2a\u7f51\u53e3\u3002<\/p>\n<\/li>\n<li>\n<p>&#8211;config&#xff1a;\u6838\u5fc3\u7ed1\u5b9a&#xff0c;\u7aef\u53e3 0 \u7528 1~4 \u6838\u5904\u7406&#xff0c;\u7aef\u53e3 1 \u7528 5~8 \u6838\u5904\u7406\u3002<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"777\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024093312-6adc7b5865e6d.png\" width=\"1132\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"319\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024093312-6adc7b58bfa74.png\" width=\"1114\" \/><\/p>\n<hr \/>\n<h3>\u4e94\u3001 \u4fe1\u800c\u6cf0 (Renix) \u4eea\u8868\u914d\u7f6e&#xff08;\u4fdd\u59c6\u7ea7\u89e3\u6790&#xff09;<\/h3>\n<p>\u5047\u8bbe\u4f60\u7684\u8fde\u7ebf\u662f&#xff1a;\u4eea\u8868 Port_1 \u8fde\u670d\u52a1\u5668 Port 0&#xff0c;\u4eea\u8868 Port_2 \u8fde\u670d\u52a1\u5668 Port 1\u3002<br \/>\n\u6839\u636e\u65e5\u5fd7&#xff0c;\u670d\u52a1\u5668 Port 0 \u7684 MAC \u662f 6C:B3:11:00:1D:28&#xff0c;Port 1 \u662f 6C:B3:11:00:1D:2A\u3002<\/p>\n<h4>5.1 MAC \u4e0e IP \u914d\u7f6e\u77e9\u9635<\/h4>\n<table>\n<tr>\u914d\u7f6e\u9879\u6d41 1 (\u6b63\u5411\u6d41)\u6d41 2 (\u53cd\u5411\u6d41)\u914d\u7f6e\u539f\u7406\u4e0e\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>\u53d1\u9001\u7aef\u53e3<\/td>\n<td>Port_1<\/td>\n<td>Port_2<\/td>\n<td>\u4eea\u8868\u7684\u7269\u7406\u53d1\u5305\u53e3\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u76ee\u7684 MAC<\/td>\n<td>6C:B3:11:00:1D:28<\/td>\n<td>6C:B3:11:00:1D:2A<\/td>\n<td>\u3010\u6781\u5176\u5173\u952e\u3011 \u5fc5\u987b\u586b\u670d\u52a1\u5668\u5bf9\u5e94\u7684 MAC&#xff0c;\u5426\u5219\u7f51\u5361\u786c\u4ef6\u76f4\u63a5\u4e22\u5f03\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6e90 MAC<\/td>\n<td>\u9ed8\u8ba4<\/td>\n<td>\u9ed8\u8ba4<\/td>\n<td>\u968f\u4fbf\u586b&#xff0c;\u56e0\u4e3a l3fwd \u8f6c\u53d1\u65f6\u4f1a\u81ea\u52a8\u91cd\u5199\u6e90 MAC\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6e90 IPv4<\/td>\n<td>1.1.1.2<\/td>\n<td>2.2.2.2<\/td>\n<td>\u968f\u4fbf\u586b&#xff0c;\u4e0d\u51b2\u7a81\u5373\u53ef\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u76ee\u7684 IPv4<\/td>\n<td>198.18.1.10<\/td>\n<td>198.18.0.10<\/td>\n<td>\u3010\u6781\u5176\u5173\u952e\u3011 \u5fc5\u987b\u843d\u5728 l3fwd \u7684\u8def\u7531\u8868\u5185&#xff0c;\u5426\u5219\u67e5\u8868\u5931\u8d25\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u542f\u7528\u7b7e\u540d<\/td>\n<td>\u52fe\u9009<\/td>\n<td>\u52fe\u9009<\/td>\n<td>\u4eea\u8868\u7edf\u8ba1\u6d41\u91cf\u7684\u201c\u8eab\u4efd\u8bc1\u201d&#xff0c;\u4e0d\u52fe\u9009\u65e0\u6cd5\u8ba1\u7b97\u65f6\u5ef6\u548c\u7cbe\u786e\u4e22\u5305\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1018\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024093312-6adc7b58f1d68.png\" width=\"1915\" \/><\/h4>\n<h4 style=\"text-align:left\"><span style=\"color:#0d0016\">5.2\u4fe1\u800c\u6cf0 RFC 2544 \u5b8c\u6574\u6d4b\u8bd5\u6d41\u7a0b<\/span><\/h4>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00\u9636\u6bb5&#xff1a;\u6d4b\u8bd5\u524d\u51c6\u5907&#xff08;\u57fa\u51c6\u6253\u901a&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u5728\u505a 2544 \u4e4b\u524d&#xff0c;\u5fc5\u987b\u5148\u786e\u4fdd\u4f60\u624b\u52a8\u914d\u7f6e\u7684\u4e24\u6761\u6d41&#xff08;\u53cc\u5411&#xff09;\u80fd 100% \u65e0\u4e22\u5305\u8f6c\u53d1&#xff0c;\u5426\u5219 2544 \u6d4b\u8bd5\u4e00\u5b9a\u4f1a\u5931\u8d25\u3002\u8fd9\u4e00\u6b65\u662f\u6574\u4e2a\u6d4b\u8bd5\u7684\u201c\u5730\u57fa\u201d&#xff1a;RFC 2544 \u7684\u541e\u5410\u91cf\u3001\u65f6\u5ef6\u3001\u4e22\u5305\u7387\u7b49\u6307\u6807&#xff0c;\u90fd\u662f\u5728\u8fd9\u4e24\u6761\u5df2\u7ecf\u6253\u901a\u7684\u6d41\u57fa\u7840\u4e0a\u505a\u901f\u7387\u626b\u63cf\u548c\u7edf\u8ba1\u7684\u3002\u5982\u679c\u57fa\u51c6\u6d41\u672c\u8eab\u5c31\u5b58\u5728\u4e22\u5305&#xff0c;\u5411\u5bfc\u5728\u63a2\u5e95\u8fc7\u7a0b\u4e2d\u4f1a\u628a\u201c\u73af\u5883\u95ee\u9898\u201d\u8bef\u5224\u6210\u201c\u6027\u80fd\u74f6\u9888\u201d&#xff0c;\u6700\u7ec8\u5f97\u5230\u7684\u541e\u5410\u91cf\u66f2\u7ebf\u548c\u65f6\u5ef6\u6570\u636e\u90fd\u4e0d\u53ef\u4fe1&#xff0c;\u767d\u767d\u6d6a\u8d39\u51e0\u5341\u5206\u949f\u751a\u81f3\u51e0\u5c0f\u65f6\u7684\u6d4b\u8bd5\u65f6\u95f4\u3002\u56e0\u6b64\u5efa\u8bae\u5148\u628a\u53d1\u9001\u901f\u7387\u538b\u5230 10% \u7ebf\u901f&#xff0c;\u786e\u8ba4\u6536\u53d1\u8ba1\u6570\u5b8c\u5168\u5bf9\u9f50\u3001\u4e22\u5305\u7387\u4e3a 0&#xff0c;\u518d\u8fdb\u5165\u5411\u5bfc\u914d\u7f6e\u9636\u6bb5\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u542f\u52a8 L3fwd&#xff1a;\u786e\u4fdd\u670d\u52a1\u5668\u7aef\u547d\u4ee4\u5df2\u8fd0\u884c\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u624b\u52a8\u6253\u6d41&#xff1a;\u5728\u4eea\u8868\u201c\u6d41\u6a21\u677f\u201d\u4e2d\u542f\u52a8\u4f60\u914d\u7f6e\u597d\u7684\u4e24\u6761\u6d41&#xff08;\u76ee\u7684 IP \u5728 198.18.0.x \u548c 198.18.1.x&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u6838\u5bf9\u57fa\u51c6&#xff1a;\u4eea\u8868\u4e0a\u7684\u53d1\u9001\u901f\u7387\u8bbe\u4e3a 10% \u7ebf\u901f&#xff0c;\u89c2\u5bdf\u63a5\u6536\u7aef\u3002\u5fc5\u987b\u505a\u5230\u53d1\u591a\u5c11\u3001\u6536\u591a\u5c11\u3001\u96f6\u4e22\u5305\u3002\u5982\u679c\u6b64\u65f6\u5c31\u4e22\u5305&#xff0c;\u5148\u53bb\u6392\u67e5 L3fwd&#xff08;\u6838\u9694\u79bb\u3001NUMA\u7b49&#xff09;&#xff0c;\u4e0d\u8981\u5f80\u4e0b\u8d70\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\">\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e8c\u9636\u6bb5&#xff1a;Renix \u5411\u5bfc\u914d\u7f6e&#xff08;\u6838\u5fc3\u907f\u5751&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u542f\u52a8\u5411\u5bfc&#xff1a;\u83dc\u5355\u680f -&gt; \u914d\u7f6e\u5411\u5bfc -&gt; \u6d4b\u8bd5\u5957\u4ef6 -&gt; RFC 2544 \u5411\u5bfc\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u9009\u62e9\u6d4b\u8bd5\u9879&#xff1a;\u52fe\u9009 \u541e\u5410\u91cf (Throughput)\u3001\u65f6\u5ef6 (Latency)\u3001\u4e22\u5305\u7387 (Packet Loss)\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\">\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u9009\u62e9\u7aef\u53e3&#xff1a;\u9009\u62e9\u4eea\u8868\u8fde\u63a5\u670d\u52a1\u5668\u7684 Port_1 \u548c Port_2\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u914d\u7f6e\u6d41&#xff08;\u9632\u6b62\u591a\u51fa\u6d41\u7684\u5173\u952e&#xff09;&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u6a21\u5f0f\u9009\u62e9&#xff1a;\u5fc5\u987b\u9009\u62e9\u201c\u624b\u52a8 (Manual)\u201d\u6a21\u5f0f\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u6d41\u9009\u62e9&#xff1a;\u5728\u4e0b\u65b9\u5217\u8868\u4e2d&#xff0c;\u52fe\u9009\u4f60\u4e4b\u524d\u8c03\u901a\u7684\u90a3\u4e24\u6761\u539f\u59cb\u6d41&#xff0c;\u53d6\u6d88\u52fe\u9009\u5176\u4ed6\u4efb\u4f55\u6d41\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\">\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u914d\u7f6e\u6d4b\u8bd5\u53c2\u6570&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u5e27\u957f&#xff1a;\u52fe\u9009\u7528\u4f8b\u8981\u6c42\u7684 64, 128, 256, 512, 1024, 1280, 1518\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u6d4b\u8bd5\u65f6\u957f&#xff1a;\u8bbe\u4e3a 60 \u79d2\/\u8f6e\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u7cbe\u5ea6&#xff1a;\u8bbe\u4e3a 10%&#xff08;\u6700\u9ad8\u6548&#xff09;\u6216 1%&#xff08;\u66f4\u7cbe\u786e\u4f46\u8017\u65f6\u6781\u957f&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u53ef\u63a5\u53d7\u4e22\u5305\u7387&#xff1a;\u8bbe\u4e3a 0.001%&#xff08;\u5bf9\u5e94\u6d4b\u8bd5\u7528\u4f8b\u8981\u6c42&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u4fdd\u5b58\u5e76\u8fd0\u884c&#xff1a;\u70b9\u51fb\u201c\u5b8c\u6210\u201d&#xff0c;\u5411\u5bfc\u4f1a\u81ea\u52a8\u5f00\u59cb\u6267\u884c\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e09\u9636\u6bb5&#xff1a;DPDK \u4fa7\u6027\u80fd\u4fdd\u969c&#xff08;\u89e3\u51b3\u4e22\u5305&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">RFC 2544 \u7684\u541e\u5410\u91cf\u6d4b\u8bd5\u4f1a\u4ece 100% \u7ebf\u901f\u75af\u72c2\u5f80\u4e0b\u63a2\u5e95&#xff0c;\u5982\u679c DPDK \u4fa7\u6709\u6027\u80fd\u74f6\u9888&#xff0c;\u5c31\u4f1a\u51fa\u73b0\u75af\u72c2\u4e22\u5305\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u9694\u79bb CPU \u6838\u5fc3&#xff1a;\u5728 Ubuntu \u7684 \/etc\/default\/grub \u4e2d\u627e\u5230 GRUB_CMDLINE_LINUX&#xff0c;\u52a0\u5165 isolcpus&#061;1-8 rcu_nocbs&#061;1-8&#xff0c;\u7136\u540e sudo update-grub \u5e76\u91cd\u542f\u3002\u8fd9\u80fd\u9632\u6b62\u64cd\u4f5c\u7cfb\u7edf\u62a2\u5360 DPDK \u7684\u8f6e\u8be2\u6838\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u5173\u95ed\u6821\u9a8c\u548c&#xff1a;\u5728\u4eea\u8868\u7684\u6d41\u7f16\u8f91\u4e2d&#xff0c;\u5c1d\u8bd5\u628a IP\/UDP \u7684 Checksum \u5b57\u6bb5\u8bbe\u4e3a 0&#xff08;\u6216\u8005\u786e\u4fdd\u4eea\u8868\u5f00\u542f\u4e86\u786c\u4ef6 Offload&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u786e\u8ba4 NUMA \u540c\u4fa7&#xff1a;\u7528 lscpu \u548c lspci -vv \u786e\u8ba4\u4f60\u7684 E810 \u7f51\u5361\u63d2\u5728\u54ea\u4e2a CPU \u4e0a&#xff0c;L3fwd \u7684 -l \u53c2\u6570\u5c31\u53ea\u7ed1\u90a3\u4e2a CPU \u7684\u6838\u5fc3\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\">\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u56db\u9636\u6bb5&#xff1a;\u7ed3\u679c\u67e5\u770b\u4e0e\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u6d4b\u8bd5\u7ed3\u675f\u540e&#xff0c;\u5f39\u51fa Result Analyzer \u7a97\u53e3\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u770b\u541e\u5410\u91cf&#xff1a;\u770b Throughput (fps\/bps) \u7684\u6570\u503c\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u770b\u65f6\u5ef6&#xff1a;\u770b\u5e73\u5747\u65f6\u5ef6\u548c\u6700\u5927\u65f6\u5ef6\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;text-align:justify\"><span style=\"color:#111827\">\u5bfc\u51fa\u62a5\u544a&#xff1a;\u70b9\u51fb\u5de6\u4e0a\u89d2 \u6587\u4ef6 -&gt; \u5bfc\u51fa&#xff0c;\u4fdd\u5b58\u4e3a PDF \u6216 HTML \u683c\u5f0f\u3002<\/span><\/p>\n<h4 style=\"background-color:transparent\">5.3\u9010\u5305\u53d8\u5316 IP (Modifier \u9012\u589e\u914d\u7f6e)<\/h4>\n<p>\u6d4b\u8bd5\u65b9\u6848\u8981\u6c42\u201c\u9010\u5305\u53d8\u5316\u76ee\u7684 IP\u201d\u4ee5\u6d4b\u8bd5\u67e5\u8868\u6027\u80fd\u3002<br \/>\n\u5728\u62a5\u6587\u7f16\u8f91\u754c\u9762&#xff0c;\u53f3\u952e Destination IP -&gt; \u9009\u62e9 Modifier&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6d41 1&#xff1a;\u8d77\u59cb 198.18.1.1&#xff0c;\u6b65\u957f 1&#xff0c;Count \u8bbe\u4e3a 254\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d41 2&#xff1a;\u8d77\u59cb 198.18.0.1&#xff0c;\u6b65\u957f 1&#xff0c;Count \u8bbe\u4e3a 254\u3002<\/p>\n<\/li>\n<\/ul>\n<p>&#x1f4a1; \u907f\u5751\u6307\u5357&#xff1a;\u4e3a\u4ec0\u4e48 Count \u662f 254&#xff1f;<br \/>\n\u56e0\u4e3a l3fwd \u9ed8\u8ba4\u8def\u7531\u662f \/24 \u63a9\u7801&#xff0c;\u53ea\u8ba4\u8bc6 1~254\u3002\u5982\u679c\u4f60\u8bbe\u6210\u4e86 1000&#xff0c;\u8d85\u8fc7 254 \u540e\u7684 IP (\u5982 198.18.1.255) \u5728\u8def\u7531\u8868\u91cc\u627e\u4e0d\u5230&#xff0c;\u5c31\u4f1a\u88ab DPDK \u4e22\u5f03&#xff0c;\u5bfc\u81f4\u4eea\u8868\u4e0a\u663e\u793a\u51ed\u7a7a\u4e22\u5305&#xff01;<\/p>\n<hr \/>\n<h3>\u516d\u3001 \u5e38\u89c1\u6392\u969c\u4e0e\u4e22\u5305\u5206\u6790<\/h3>\n<h4>6.1 \u4e3a\u4ec0\u4e48\u4eea\u8868\u663e\u793a\u63a5\u6536\u62a5\u6587\u4e3a 0&#xff1f;<\/h4>\n<li>\n<p>MAC \u586b\u9519\u4e86&#xff1a;\u6838\u5bf9\u4eea\u8868\u7684\u76ee\u7684 MAC \u662f\u5426\u548c DPDK \u7ec8\u7aef\u6253\u5370\u7684\u7f51\u5361 MAC \u5b8c\u5168\u4e00\u81f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u6ca1\u5f00\u6df7\u6742\u6a21\u5f0f&#xff1a;\u542f\u52a8\u547d\u4ee4\u91cc\u662f\u4e0d\u662f\u6f0f\u4e86 -P \u53c2\u6570\u3002<\/p>\n<\/li>\n<li>\n<p>IP \u4e0d\u5728\u8def\u7531\u8868&#xff1a;\u68c0\u67e5\u4eea\u8868\u7684\u76ee\u7684 IP \u662f\u5426\u843d\u5728 198.18.0.x \u6216 198.18.1.x\u3002<\/p>\n<\/li>\n<li>\n<p>\u53d1\u9001\u7aef\u53e3\u5730\u5740\u6ca1\u914d\u5bf9&#xff1a;\u4fe1\u800c\u6cf0\u754c\u9762\u91cc\u7684\u201c\u53d1\u9001\u7aef\u53e3\u5730\u5740\u201d\u662f\u6307\u6d4b\u8bd5\u4eea\u673a\u7bb1\u7684\u7ba1\u7406\u5730\u5740&#xff0c;\u4e0d\u8981\u628a\u5b83\u5f53\u6210\u76ee\u7684 MAC \u586b\u8fdb\u53bb\u3002<\/p>\n<\/li>\n<h4>6.2 \u4e3a\u4ec0\u4e48\u521a\u6253\u6d41\u5c31\u75af\u72c2\u4e22\u5305&#xff08;\u4e22\u5305\u7387 20%&#043;&#xff09;&#xff1f;<\/h4>\n<li>\n<p>Modifier \u8d8a\u754c&#xff1a;\u6b63\u5982\u524d\u6587\u6240\u8ff0&#xff0c;\u9012\u589e\u6570\u91cf\u8d85\u8fc7\u4e86 254&#xff0c;\u540e\u9762\u7684 IP \u5339\u914d\u4e0d\u5230\u8def\u7531\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ebf\u901f\u8fc7\u9ad8\u5bfc\u81f4 CPU \u74f6\u9888&#xff1a;25G \u8dd1 64 \u5b57\u8282\u5c0f\u5305&#xff0c;\u7ebf\u901f\u53ef\u8fbe 37 Mpps\u3002\u68c0\u67e5\u670d\u52a1\u5668 CPU \u662f\u5426\u88ab\u6253\u6ee1&#xff08;top \u547d\u4ee4&#xff09;&#xff0c;\u5982\u679c\u662f\u6027\u80fd\u74f6\u9888&#xff0c;\u9002\u5f53\u964d\u4f4e\u4eea\u8868\u7684\u53d1\u9001\u767e\u5206\u6bd4&#xff08;\u5982\u8c03\u5230 10%&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>NUMA \u8de8\u8282\u70b9&#xff1a;\u7f51\u5361\u63d2\u5728 CPU 0 \u7684 PCIe \u69fd&#xff0c;\u4f46 &#8211;config \u7ed1\u5b9a\u7684\u6838\u5728 CPU 1&#xff08;\u8de8 NUMA \u8bbf\u5b58&#xff09;&#xff0c;\u6027\u80fd\u4f1a\u5927\u6253\u6298\u6263\u3002\u7528 lscpu \u786e\u8ba4\u7ed1\u6838\u4e0e\u7f51\u5361\u5728\u540c\u4e00 NUMA \u8282\u70b9\u3002<\/p>\n<\/li>\n<li>\n<p>\u6ca1\u6709\u4f7f\u80fd\u7b7e\u540d&#xff1a;\u5982\u679c\u4eea\u8868\u6ca1\u6709\u52fe\u9009\u542f\u7528\u7b7e\u540d&#xff0c;DPDK \u8f6c\u53d1\u56de\u6765\u7684\u5305&#xff0c;\u4eea\u8868\u65e0\u6cd5\u5339\u914d\u5230\u5177\u4f53\u7684\u67d0\u4e00\u6761\u6d41&#xff0c;\u4f1a\u5168\u90e8\u5f53\u4f5c\u65e0\u6548\u5305\u5904\u7406\u3002<\/p>\n<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\u5728\u670d\u52a1\u5668\u7f51\u5361\u6027\u80fd\u6d4b\u8bd5\u4e2d&#xff0c;DPDK \u662f\u7ed5\u4e0d\u5f00\u7684\u201c\u6027\u80fd\u5929\u82b1\u677f\u201d\u3002\u6700\u8fd1\u5728\u8d85\u805a\u53d8 V7\/V8 \u670d\u52a1\u5668&#xff08;Intel Xeon&#xff0c;\u642d\u8f7d Intel E810-XXV 25G \u53cc\u53e3\u7f51\u5361&#xff09;\u4e0a&#xff0c;\u914d\u5408\u4fe1\u800c\u6cf0&#xff08;Renix&#xff09;\u6d4b\u8bd5\u4eea\u8868&#xff0c;\u5b8c\u6210\u4e86\u4e00\u6b21\u57fa\u4e8e DPDK l3fwd \u7684\u4e09\u5c42\u53cc\u7aef\u53e3\u53cc\u5411\u8f6c\u53d1\u6d4b\u8bd5\u3002\u7531\u4e8e\u7f51\u4e0a\u5927\u591a\u662f\u57fa\u4e8e CentOS\/BCLinux \u7684\u6559\u7a0b&#xff0c;\u4e14\u9488\u5bf9 L3fwd <\/p>\n","protected":false},"author":2,"featured_media":117367,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[103,43,78],"topic":[],"class_list":["post-117370","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ubuntu","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/117370.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00\u5728\u670d\u52a1\u5668\u7f51\u5361\u6027\u80fd\u6d4b\u8bd5\u4e2d&#xff0c;DPDK \u662f\u7ed5\u4e0d\u5f00\u7684\u201c\u6027\u80fd\u5929\u82b1\u677f\u201d\u3002\u6700\u8fd1\u5728\u8d85\u805a\u53d8 V7\/V8 \u670d\u52a1\u5668&#xff08;Intel Xeon&#xff0c;\u642d\u8f7d Intel E810-XXV 25G \u53cc\u53e3\u7f51\u5361&#xff09;\u4e0a&#xff0c;\u914d\u5408\u4fe1\u800c\u6cf0&#xff08;Renix&#xff09;\u6d4b\u8bd5\u4eea\u8868&#xff0c;\u5b8c\u6210\u4e86\u4e00\u6b21\u57fa\u4e8e DPDK l3fwd \u7684\u4e09\u5c42\u53cc\u7aef\u53e3\u53cc\u5411\u8f6c\u53d1\u6d4b\u8bd5\u3002\u7531\u4e8e\u7f51\u4e0a\u5927\u591a\u662f\u57fa\u4e8e CentOS\/BCLinux \u7684\u6559\u7a0b&#xff0c;\u4e14\u9488\u5bf9 L3fwd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/117370.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-24T09:33:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024093312-6adc7b5865e6d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117370.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/117370.html\",\"name\":\"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-24T09:33:14+00:00\",\"dateModified\":\"2026-10-24T09:33:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/117370.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/117370.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117370.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/117370.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00\u5728\u670d\u52a1\u5668\u7f51\u5361\u6027\u80fd\u6d4b\u8bd5\u4e2d&#xff0c;DPDK \u662f\u7ed5\u4e0d\u5f00\u7684\u201c\u6027\u80fd\u5929\u82b1\u677f\u201d\u3002\u6700\u8fd1\u5728\u8d85\u805a\u53d8 V7\/V8 \u670d\u52a1\u5668&#xff08;Intel Xeon&#xff0c;\u642d\u8f7d Intel E810-XXV 25G \u53cc\u53e3\u7f51\u5361&#xff09;\u4e0a&#xff0c;\u914d\u5408\u4fe1\u800c\u6cf0&#xff08;Renix&#xff09;\u6d4b\u8bd5\u4eea\u8868&#xff0c;\u5b8c\u6210\u4e86\u4e00\u6b21\u57fa\u4e8e DPDK l3fwd \u7684\u4e09\u5c42\u53cc\u7aef\u53e3\u53cc\u5411\u8f6c\u53d1\u6d4b\u8bd5\u3002\u7531\u4e8e\u7f51\u4e0a\u5927\u591a\u662f\u57fa\u4e8e CentOS\/BCLinux \u7684\u6559\u7a0b&#xff0c;\u4e14\u9488\u5bf9 L3fwd","og_url":"https:\/\/www.wsisp.com\/helps\/117370.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-24T09:33:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261024093312-6adc7b5865e6d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/117370.html","url":"https:\/\/www.wsisp.com\/helps\/117370.html","name":"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-24T09:33:14+00:00","dateModified":"2026-10-24T09:33:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/117370.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/117370.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/117370.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u7f51\u7edc\u6d4b\u8bd5\u3011Ubuntu 22.04 \u4e0b\u8d85\u805a\u53d8\u670d\u52a1\u5668 DPDK L3fwd \u4e09\u5c42\u53cc\u5411\u8f6c\u53d1\u5b9e\u6218\u4e0e\u907f\u5751\u6307\u5357\uff08\u9644\u4fe1\u800c\u6cf0\u4eea\u8868\u914d\u7f6e\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=117370"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117370\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/117367"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=117370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=117370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=117370"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=117370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}