[ovs-discuss] OVS with DPDK, packets going to error

Adrian Poiget poigetadrian at gmail.com
Tue Jan 20 15:47:19 UTC 2015


I configure 64 Bytes with Ixia, but the size fixed by Ixia is 66B I don"t
know why (maybe  caused by 64b/66b encoding ?)
With the same configuration of Ixia , I try ovdk and I reached 6.3 Mpps
whereas with ovs DPDK it's only few thousands.
I investigate more and I found that the errors are du to the
"stats->imissed" variable

For l2fwd with this command line : ./build/l2fwd -c 0x01000100 -n 4 -- -q 8
-p 0x3, I get
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent:                    77112
Packets received:                77176
Packets dropped:                     0
Statistics for port 1 ------------------------------
Packets sent:                    77176
Packets received:                77112
Packets dropped:                     0
Aggregate statistics ===============================
Total packets sent:             154288
Total packets received:         154288
Total packets dropped:               0
====================================================
It's still low performance


Hardcoding route in l3fwd, it's working I reach 20 Mpps

2015-01-19 19:22 GMT+01:00 Traynor, Kevin <kevin.traynor at intel.com>:

>  These can be caused by a few different things e.g. if you are firing in
> packets at line rate then you will always see some errors here as the
> FIFO’s will fill up. However, with the amount of errors you are seeing and
> the fact that you’ve reported a 66 byte packet, I would start by checking
> that you are not sending any handcrafted corrupt packets. I’d suggest
> setting IXIA to send ipv4 tcp 64 byte packets.
>
>
>
> Another thing you could try - set up one of the DPDK L2 or L3 forwarding
> example apps, to test your basic IXIA <---> NIC <---> DPDK path
>
>
>
> Thanks,
>
> Kevin.
>
>
>
> *From:* discuss [mailto:discuss-bounces at openvswitch.org] *On Behalf Of *Adrian
> Poiget
> *Sent:* Friday, January 16, 2015 2:44 PM
> *To:* discuss at openvswitch.org
> *Subject:* [ovs-discuss] OVS with DPDK, packets going to error
>
>
>
> Hi,
>
>
>
> I am trying to do some tests with Open vSwitch with DPDK,
>
> I follow the INSTALL.DPDK.md documentation.
>
> It is launching but a lot of packets are going to error.
>
>
>
>  ./ovs-ofctl dump-ports br0
>
> OFPST_PORT reply (xid=0x2): 3 ports
>
>   port  1: rx pkts=490360, bytes=32363760, drop=0, errs=588615412,
> frame=0, over=0, crc=0
>
>            tx pkts=490360, bytes=32363760, drop=0, errs=0, coll=0
>
>   port LOCAL: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
>
>            tx pkts=22272, bytes=1380864, drop=0, errs=0, coll=0
>
>   port  2: rx pkts=490360, bytes=32363760, drop=0, errs=588615412,
> frame=0, over=0, crc=0
>
>            tx pkts=490360, bytes=32363760, drop=0, errs=0, coll=0
>
>
>
>
>
>  ./ovs-vsctl get Interface dpdk0 statistics
>
> {collisions=0, rx_bytes=32846088, rx_crc_err=0, rx_dropped=0,
> rx_errors=588615412, rx_frame_err=0, rx_over_err=0, rx_packets=497668,
> tx_bytes=40155390, tx_dropped=0, tx_errors=0, tx_packets=608415}
>
>
>
> ./ovs-vsctl get Interface dpdk1 statistics
>
> {collisions=0, rx_bytes=40155390, rx_crc_err=0, rx_dropped=0,
> rx_errors=588746330, rx_frame_err=0, rx_over_err=0, rx_packets=608415,
> tx_bytes=32846088, tx_dropped=0, tx_errors=0, tx_packets=497668}
>
>
>
> DEBUG options are activated and I see the following message :
>
> PMD: ixgbe_recv_pkts(): port_id=0 queue_id=0 rx_id=954
> ext_err_stat=0x00000043 pkt_len=66
>
>
>
> The distribution used is Ubuntu 14.04
>
> It is a phy-phy test with an Ixia 10 Gbps .
>
>
>
> Do you have an idea of the problem's origin ?
>
>
>
> Thanks and Regards,
>
> Adrian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150120/cf127644/attachment-0002.html>


More information about the discuss mailing list