Thursday, October 11, 2018 4:22 PM, Jack Min: > Subject: [PATCH v4] net/mlx5: rewrite IP address UDP/TCP port by E-Switch > > Offload the following rte_flow actions by inserting accordingly E-Switch rules > via TC Flower driver > > - RTE_FLOW_ACTION_TYPE_SET_IPV4_SRC > - RTE_FLOW_ACTION_TYPE_SET_IPV4_DST > - RTE_FLOW_ACTION_TYPE_SET_IPV6_SRC > - RTE_FLOW_ACTION_TYPE_SET_IPV6_DST > - RTE_FLOW_ACTION_TYPE_SET_TP_SRC > - RTE_FLOW_ACTION_TYPE_SET_TP_DST > > The example testpmd command is: > > flow create 0 transfer ingress > pattern eth / ipv4 / udp dst is 7000 / end > actions set_ipv4_src ipv4_addr 172.168.0.1 / > set_ipv4_dst ipv4_addr 172.168.10.1 / > set_tp_dst port 9000 / > set_tp_src port 700 / > port_id id 1 / end > > Signed-off-by: Xiaoyu Min <jack...@mellanox.com> > Acked-by: Yongseok Koh <ys...@mellanox.com>
Applied to next-net-mlx, Thanks.