Usage: Unable to ping DPDK-kni-captured NIC ports
李启闻
pen9u1nlee at zhejianglab.com
Mon Sep 4 05:26:01 CEST 2023
Hi,
I followed the instructions in https://doc.dpdk.org/guides-20.11/sample_app_ug/kernel_nic_interface.html <https://doc.dpdk.org/guides-20.11/sample_app_ug/kernel_nic_interface.html > to run the KNI sample application with DPDK v20.11.8.
The NIC status is shown below. Remote ping 10.11.140.8 is successful.
Firstly I bind enp3s0 to `uio_pci_generic` driver and load `rte_kni` module with carrier=off.
Then we run the sample application and it seems to be normal.
`ip addr show` prints:
Finally the IP, netmask and gw are added to the veth.
The veth is up but it is not running, and **we cannot perform a remote ping**.
My question are as follows:
1. What else need to be configured such that we could remote ping the DPDK-captured NIC?
2. Is it possible to set the IP of DPDK-captured NIC? I found that MAC\MTU could be configured but I do not find the method to configure IP.
Best wishes,
Qiwen Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 20013 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 9794 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 8420 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 47294 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 5600 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 7683 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 10660 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 13961 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230904/b8020e9e/attachment-0015.obj>
More information about the users
mailing list