On Fri, Apr 17, 2020 at 9:02 AM Ilya Maximets <[email protected]> wrote: > > On 4/17/20 3:14 PM, William Tu wrote: > > When enabling RTE_LIBRTE_PMD_PCAP in DPDK, we need to link the libpcap > > library, otherwise 'make' will fail. I'm using this for creating a > > pcap-based device which read pcap file infinitely to rx queue, acting > > like a traffic generator. Example: > > $ ovs-vsctl add-port br0 tg0 -- set int tg0 type=dpdk \ > > options:dpdk-devargs=vdev:net_pcap0,rx_pcap=p0.pcap,infinite_rx=1 > > > > The p0.pcap is replayed into the rx queue of tg0, generating > > traffic rate around 8Mpps into OVS when OVS is doing drop. > > For more info, see https://doc.dpdk.org/guides/nics/pcap_ring.html > > > > Cc: Michal Orsák <[email protected]> > > Signed-off-by: William Tu <[email protected]> > > --- > > Hi William. > > There is already similar patch series from Ciara: > https://patchwork.ozlabs.org/project/openvswitch/list/?series=157685 > I just had no enough time to get to them. > > Best regards, Ilya Maximets.
OK thanks! I will take a look William _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
