>-----Original Message-----
>From: dev <dev-boun...@dpdk.org> On Behalf Of Lijun Ou
>Sent: Wednesday, July 1, 2020 10:43 AM
>To: wenzhuo...@intel.com; beilei.x...@intel.com;
>bernard.iremon...@intel.com; ferruh.yi...@intel.com
>Cc: dev@dpdk.org; linux...@huawei.com
>Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix missing set for current
>forward engine
>When set the forwarding mode of the pkt, it needs to update the fwd_eng that
>it is the member of cur_fwd_config. Otherwise, an error will occur when
>executing the set command and show confg fwd.
>the flows as follows:
>   1. ./tespmd -w xxx -l xx -n 4 -- i
>   2. set fwd mac
>      testpmd> set fwd mac
>      Set mac packet forwarding mode
>   3. show config fwd
>      testpmd> show config fwd
>      io packet forwarding - ports=1 - cores=1 - streams=8 -...
>      Logical Core 1 (socket 0) forwards packets on 8 streams:
>When run the 1 ~ 3 step, it should show the packet forwarding is mac.
>Fixes: af75078fece3 ("first public release")
>Cc: wenzhuo...@intel.com
>Cc: beilei.x...@intel.com
>Cc: bernard.iremon...@intel.com
>Cc: sta...@dpdk.org
>Signed-off-by: Lijun Ou <ouli...@huawei.com>

Acked-by: Wisam Jaddo <wis...@mellanox.com>

Reply via email to