You can catch packets on your management interface.
I guess your package sent to the userspace from vm by dpdk , and then
through the tunnel to return to the kernel.
I do not know if this will be a problem.
I suggest you can try your management interface using OVS bridge with
dpdk, such as "g1".
This is my configuration:
7: br-agg: <BROADCAST,PROMISC,UP,LOWER_UP> mtu 1600 qdisc pfifo_fast
state UP qlen 1000
link/ether 6c:92:bf:04:f9:18 brd ff:ff:ff:ff:ff:ff
inet 10.157.145.213/24 brd 10.157.145.255 scope global br-agg
valid_lft forever preferred_lft forever
inet6 fe80::6e92:bfff:fe04:f918/64 scope link
valid_lft forever preferred_lft forever
[root@gateway1 ~]# ovs-vsctl show
b99b043b-951b-4bc7-9fd7-329d60d443a5
Bridge br-agg
Port bond-agg
Interface "agg-dpdk-2"
type: dpdk
options: {dpdk-devargs="0000:02:00.1"}
Interface "agg-dpdk-1"
type: dpdk
options: {dpdk-devargs="0000:02:00.0"}
Bridge br-int
Port "ovn-d172cc-0"
Interface "ovn-d172cc-0"
type: geneve
options: {csum="true", key=flow,
remote_ip="10.157.145.212"}
Port br-int
Interface br-int
type: internal
Port "ovn-d131e4-0"
Interface "ovn-d131e4-0"
type: geneve
options: {csum="true", key=flow,
remote_ip="10.157.145.214"}
Port "ovn-844fcd-0"
Interface "ovn-844fcd-0"
type: geneve
options: {csum="true", key=flow,
remote_ip="10.157.145.211"}
Hi
thank for your reply.
the 192.1.2.159 is actually on the same subnet of the management
interface, it is not part of the OVS bridge.
On Mon, Sep 25, 2017 at 1:37 PM, Guoshuai Li <[email protected]> wrote:
I think you may have caught the tunnel inner package.
Is the tunnel outbound from interface dpdk0? how about caught dpdk0 with
mirror?
Or use dpdk-pdump?
Hi
How do I configure mirroring of all traffic to a GRE tunnel on OVS+DPDK?
I have a OVS+DPDK setip as below.
# ovs-vsctl show
9fe3ef4d-7f29-4a21-80ea-62a705f5d934
Bridge "g1"
Port "g1"
Interface "g1"
type: internal
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs="0000:00:09.0"}
I tried to create gre tunnel for packet mirroring
#ovs-vsctl add-port g1 gre0 -- set interface gre0 type=gre
options:remote_ip=192.1.2.159 -- --id=@p get port gre0 -- --id=@m
create mirror name=m0 select-all=true output-port=@p -- set bridge g1
mirrors=@m
I cannot find any packet arrive on 192.1.2.159, any idea?
I have tried to use the same command in an OVS setup without DPDK
enabled, it works.
please help
- RBK
On Mon, Sep 25, 2017 at 1:26 PM, Sun Paul <[email protected]> wrote:
Hi
How do I configure mirroring of all traffic to a GRE tunnel on OVS+DPDK?
I have a OVS+DPDK setip as below.
# ovs-vsctl show
9fe3ef4d-7f29-4a21-80ea-62a705f5d934
Bridge "g1"
Port "g1"
Interface "g1"
type: internal
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs="0000:00:09.0"}
I tried to create gre tunnel for packet mirroring
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss