* Usage: Unable to ping DPDK-kni-captured NIC ports
@ 2023-09-04 3:26 李启闻
0 siblings, 0 replies; only message in thread
From: 李启闻 @ 2023-09-04 3:26 UTC (permalink / raw)
To: users
[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4752 bytes --]
[-- Attachment #2: temp4cj.png --]
[-- Type: application/octet-stream, Size: 20013 bytes --]
[-- Attachment #3: temp4cj.png --]
[-- Type: application/octet-stream, Size: 9794 bytes --]
[-- Attachment #4: temp4cj.png --]
[-- Type: application/octet-stream, Size: 8420 bytes --]
[-- Attachment #5: temp4cj.png --]
[-- Type: application/octet-stream, Size: 47294 bytes --]
[-- Attachment #6: temp4cj.png --]
[-- Type: application/octet-stream, Size: 5600 bytes --]
[-- Attachment #7: temp4cj.png --]
[-- Type: application/octet-stream, Size: 7683 bytes --]
[-- Attachment #8: temp4cj.png --]
[-- Type: application/octet-stream, Size: 10660 bytes --]
[-- Attachment #9: temp4cj.png --]
[-- Type: application/octet-stream, Size: 13961 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-05 7:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 3:26 Usage: Unable to ping DPDK-kni-captured NIC ports 李启闻
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).