i tried running ovs and DPDK using cx6 dx NIC to offloading CT NAT. But the dpctl flow shows only partial offloaded,how can i make it full offloaded?
ovs-vsctl show
b260b651-9676-4ca1-bdc7-220b969a3635
Bridge br0
fail_mode: secure
datapath_type: netdev
Port br0
Interface br0
type: internal
Port pf1
Interface pf1
type: dpdk
options: {dpdk-devargs=“0000:02:00.1”}
ovs_version: “3.1.2”
ovs-vsctl list o
_uuid : b260b651-9676-4ca1-bdc7-220b969a3635
bridges : [71f01fbf-91bb-460d-b359-bd8b5e94c97d]
cur_cfg : 63
datapath_types : [netdev, system]
datapaths : {}
db_version : “8.3.1”
dpdk_initialized : true
dpdk_version : “DPDK 22.11.1”
external_ids : {hostname=test-nat, rundir=“/var/run/openvswitch”, system-id=“”}
iface_types : [bareudp, dpdk, dpdkvhostuser, dpdkvhostuserclient, erspan, geneve, gre, gtpu, internal, ip6erspan, ip6gre, lisp, patch, stt, system, tap, vxlan]
manager_options :
next_cfg : 63
other_config : {ct-action-on-nat-conns=“true”, dpdk-init=“true”, hw-offload=“true”}
ovs_version : “3.1.2”
ssl :
statistics : {}
system_type : almalinux
system_version : “9.2”
hw-tc-offload: on
ethtool -i ens1f1
driver: mlx5_core
version: 5.8-3.0.7
firmware-version: 22.37.1014 (MT_0000000359)
expansion-rom-version:
bus-info: 0000:02:00.1
ufid:9d07cacd-08ad-44e1-9534-138c5471a2b8, skb_priority(0/0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),recirc_id(0),dp_hash(0/0),in_port(pf1),packet_type(ns=0,id=0),eth(src=88:2a:5e:a9:30:bd/00:00:00:00:00:00,dst=b8:ce:f6:0a:13:29/00:00:00:00:00:00),eth_type(0x0800),ipv4(src=172.31.21.160,dst=9.0.0.10/192.0.0.0,proto=17/0,tos=0/0,ttl=63/0,frag=no),udp(src=2506/0,dst=80/0), packets:124320537, bytes:124320537000, used:0.000s, offloaded:partial, dp:ovs, actions:ct(commit,nat(src=99.99.99.0-99.99.99.255:3000-30000)),recirc(0x2), dp-extra-info:miniflow_bits(4,2)
ovs-ofctl dump-flows br0
cookie=0x0, duration=80.638s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=99.99.99.0/24 actions=resubmit(,20)
cookie=0x2d, duration=80.638s, table=0, n_packets=213444770, n_bytes=213444770000, priority=100,ip,nw_src=172.31.21.160 actions=resubmit(,20)
cookie=0x0, duration=80.638s, table=0, n_packets=75, n_bytes=9497, priority=0 actions=resubmit(,105)
cookie=0x0, duration=80.638s, table=20, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=99.99.99.0/24 actions=ct(commit,table=30,zone=283,nat(src))
cookie=0x2d, duration=80.638s, table=20, n_packets=213444770, n_bytes=213444770000, priority=100,ip,nw_src=172.31.21.160 actions=ct(commit,table=30,nat(src=99.99.99.0-99.99.99.255:3000-30000))
cookie=0x0, duration=80.638s, table=30, n_packets=213444770, n_bytes=213444770000, priority=0,ip actions=move:NXM_OF_ETH_SRC->NXM_OF_ETH_DST,move:NXM_OF_ETH_DST->NXM_OF_ETH_SRC,dec_ttl,IN_PORT
cookie=0x0, duration=80.638s, table=105, n_packets=75, n_bytes=9497, priority=0 actions=NORMAL
thanks.