[ovs-dev] 答复: [PATCH] Use TPACKET_V1/V2/V3 to accelerate veth for DPDK datapath

2020-02-06 Thread 杨燚
Thanks Illya for pointing out this, I checked if_packet.h in git.kernel.org by using v3.10 tag, it indeed can support TPACKET_V3 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/if_packet.h?h=v3.10

[ovs-dev] 答复: [PATCH] Use TPACKET_V1/V2/V3 to accelerate veth for DPDK datapath

2020-02-02 Thread 杨�D
William, sorry for late reply. About your question in https://mail.openvswitch.org/pipermail/ovs-dev/2020-January/367133.html, af_packet I was saying is DPDK af_packet, its interface type is dpdk, so its performance can be up to 4.00Gbps, for non-DPDK interface, handling thread is ovs-vswitchd

[ovs-dev] 答复: [PATCH] Use TPACKET_V1/V2/V3 to accelerate veth for DPDK datapath

2020-02-02 Thread 杨�D
Hi, William Sorry for last reply, I don't know why I always can't get your comments email from my outlook, Ben's comments are ok, I also can't see your comments in outlook junk box. About your comments in https://mail.openvswitch.org/pipermail/ovs-dev/2020-January/367146.html, I checked it in my

[ovs-dev] 答复: [PATCH] Use TPACKET_V1/V2/V3 to accelerate veth for DPDK datapath

2020-02-02 Thread 杨�D
Hi, all Current tap, internal and system interfaces aren't handled by pmd_thread, so the performance can't be boosted too high, I have a very simple test just by setting is_pmd to true for them, the below is my data for veth (using TPACKET_V3), you can see pmd_thread is much better than

[ovs-dev] 答复: [PATCH] Use TPACKET_V1/V2/V3 to accelerate veth for DPDK datapath

2020-01-22 Thread 杨�D
Ben, thank you so much for your quick comments, yes, using some code to check TPACKET features will be better, but I'm not familiar with AC_CHECK* stuff, it will be better if you can show me a good example for reference, I'll fix the issues you mentioned in next version. BTW, I'm taking Chinese