On Mon, Dec 23, 2019 at 12:29:25AM +0000, Yi Yang (杨燚)-云服务集团 wrote:
> Thanks William, 
> https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt is very 
> good document for TPACKET_V*, I completely agree TPCKET_V3 is the best way to 
> improve tap and veth performance. Can you share us how to use your patch? 
> Lib/netdev-linux.c is still there, which recv function will be called when I 
> add veth/tap in OVS DPDK?
> 

Hi Yiyang,

To use my patch, simply add a port (ex: veth) by doing
ovs-vsctl add-port br0 afxdp-p0
ovs-vsctl -- set interface afxdp-p0 options:n_rxq=1 type="tpacket"

btw, this is not using OVS-DPDK.

--William

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to