[ovs-dev] tx and rx packet

Guru Shetty guru at ovn.org
Thu Sep 29 15:55:56 UTC 2016


On 29 September 2016 at 07:29, Ashish Kurian <ashishbnv at gmail.com> wrote:

> Dear Developers,
>
> I am trying to send packets into s1-eth1 and it is receiving the packets in
> correct numbers. Then I send those packets to the gtp tunnel port set. But
> I am not getting any rx packet count on that port. I am keeping the
> dump-flows s1 and packet counts output. Please look into this issue. I have
> given two flow commands with in_port 4 and in_port 3 as I am not sure which
> is exactly the port number I should give to match flows. in command
> ovs-ofctl show s1, gtp port is at port number 3 and in dpctl-show command
> it is in port 4. Also why is the packets transmitted from port 2 not
> received at port 4?
>

Please ask questions in discuss at openvswitch.org. Also, you are asking
questions about a feature that does not exist on the OVS master. It is very
unlikely that you will get any answers on these questions. Based on your
questions over the last few days, I suggest that you spend time with how
OVS works without GTP before embarking on getting GTP to work.


>
> system at ovs-system:
>     lookups: hit:1478 missed:422 lost:0
>     flows: 0
>     masks: hit:2417 total:1 hit/pkt:1.27
>     port 0: ovs-system (internal)
>         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>         TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
>         collisions:0
>         RX bytes:0  TX bytes:0
>     port 1: s1 (internal)
>         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>         TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
>         collisions:0
>         RX bytes:0  TX bytes:0
>
>
>
> *port 2: s1-eth1        RX packets:326 errors:0 dropped:0 overruns:0
> frame:0        TX packets:668 errors:0 dropped:2 aborted:0 carrier:0
> collisions:0*
>         RX bytes:44388 (43.3 KiB)  TX bytes:131575 (128.5 KiB)
>     port 3: s1-eth2
>         RX packets:9 errors:0 dropped:0 overruns:0 frame:0
>         TX packets:668 errors:0 dropped:0 aborted:0 carrier:0
>         collisions:0
>         RX bytes:738  TX bytes:132119 (129.0 KiB)
>
>
>
> * port 4: gtp_sys_2152 (gtp)        RX packets:0 errors:0 dropped:0
> overruns:0 frame:0        TX packets:0 errors:0 dropped:62 aborted:0
> carrier:0        collisions:0*
>         RX bytes:0  TX bytes:0
> ashish at ashish-VirtualBox:~$ sudo ovs-ofctl dump-flows s1
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=2288.167s, table=0, n_packets=315, n_bytes=43470,
> idle_age=162, in_port=1 actions=output:3
>  cookie=0x0, duration=2268.311s, table=0, n_packets=0, n_bytes=0,
> idle_age=2268, tun_id=0x1,in_port=3 actions=output:2
>  cookie=0x0, duration=1254.232s, table=0, n_packets=0, n_bytes=0,
> idle_age=1254, tun_id=0x1,in_port=4 actions=output:2
>
> Best Regards,
> Ashish Kurian
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list