[ovs-dev] 答复: 答复: [PATCH RFC] WIP: netdev-tpacket: Add AF_PACKET v3 support.
William Tu
u9012063 at gmail.com
Mon Dec 23 23:00:54 UTC 2019
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
More information about the dev
mailing list