We hit an issue,a VM Through the snat of the centralized gateway, it is
found that there are some not offload flows on the centralized gateway.
flow entries and tc rules are as follows


ufid:8e0f1bc7-aafe-4edf-adf4-daee5ad19b0d,
skb_priority(0/0),tunnel(tun_id=0x1,src=172.31.1.21,dst=172.31.5.23,ttl=0/0,tp_dst=6081,geneve({class=0x102/0,type=0x80/0,len=4,0x10002/0}),flags(+key)),skb_mark(0/0),ct_state(0x21/0x29),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),recirc_id(0x3a),dp_hash(0/0),in_port(genev_sys_6081),packet_type(ns=0/0,id=0/0),eth(src=00:00:00:00:00:00/00:00:00:00:00:00,dst=00:00:00:00:00:00/00:00:00:00:00:00),eth_type(0x0800),ipv4(src=
10.199.100.0/255.255.255.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0,ttl=0/0,frag=no),
packets:1880980, bytes:173050160, used:0.000s, dp:tc,
actions:ct(commit,zone=6,nat(src)),ct(commit,zone=18,nat(src=123.123.123.123)),recirc(0x3e)

filter protocol ip pref 2 flower chain 58
filter protocol ip pref 2 flower chain 58 handle 0x1
  eth_type ipv4
  src_ip 10.199.100.10/24
  enc_dst_ip 172.31.5.23
  enc_src_ip 172.31.1.21
  enc_key_id 1
  enc_dst_port 6081
  enc_tos 0
  geneve_opts 0102:80:00010002/0000:00:00000000
  ip_flags nofrag
  ct_state +trk+new-rpl
  not_in_hw
        action order 1: ct commit zone 6 nat src pipe
         index 5 ref 1 bind 1
        cookie c71b0f8edf4efeaaeedaf4ad0d9bd15a

        action order 2: ct commit zone 18 nat src addr 123.123.123.123 pipe
         index 6 ref 1 bind 1
        cookie c71b0f8edf4efeaaeedaf4ad0d9bd15a

        action order 3: gact action goto chain 62
         random type none pass val 0
         index 5 ref 1 bind 1
        cookie c71b0f8edf4efeaaeedaf4ad0d9bd15a


We use the Mellanox CX6 Dx card , SR IOV and offload tc to hardware .
What went wrong?
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to