Open liuuwqia opened 4 years ago
@sebymiano do you have an answer to this question?
It is not clear what this bug is about. @liuuwqia have you tried to use pcn-iptables-init-xdp
with tuntap and it does not work? Or you are just asking.
Theoretically, the tuntap
driver supports native XDP, than it should be possible to use iptables-xdp
on vdev based on that driver, but I have never tested it.
I would be curious to see which errors you get.
Hi My problem is this:
This is my topology: [Kernel ,eno1,packet,tap]
After PCN iptables init XDP, there are XDP programs on eno1 and tap ports. When data comes in from eno1, it cannot be redirected to tap. However, from the trace log, the data is redirected to the tap port
Log:
[2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [debug] Code Parse receiving packet. [2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [trace] Conntrack Table Update +bpf_fib_lookup+ redirect pkt to ifindex 10 [2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [debug] Conntrack label received packet [2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [debug] Code Parse receiving packet. [2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [debug] Code Parse receiving packet. [2020-10-14 17:33:35.572] [Iptables] [pcn-iptables] [debug] Code Parse receiving packet
From: Sebastiano Miano notifications@github.com Sent: 2020年10月23日 16:08 To: polycube-network/polycube polycube@noreply.github.com Cc: Qiang Liu qiang.liu@tieto.com; Mention mention@noreply.github.com Subject: Re: [polycube-network/polycube] [BUG]Does pcn-iptables-init-xdp mode support virtual port tap (#348)
It is not clear what this bug is about. @liuuwqiahttps://github.com/liuuwqia have you tried to use pcn-iptables-init-xdp with tuntap and it does not work? Or you are just asking.
Theoretically, the tuntap driver supports native XDP, than it should be possible to use iptables-xdp on vdev based on that driver, but I have never tested it. I would be curious to see which errors you get.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/polycube-network/polycube/issues/348#issuecomment-715135442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APJY3VT6AWCB4QOSSOOSVPDSME2XBANCNFSM4SZRAROQ.
Describe the bug
A clear and concise description of what the bug is.
Does pcn-iptables-init-xdp mode support virtual port tap