Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-09 Thread Ferruh Yigit
b Kim ; John Daley ; Asaf Penso Subject: Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct On 11/3/2020 2:27 PM, Ferruh Yigit wrote: On 11/3/2020 1:20 PM, Xiaoyu Min wrote: From: Xiaoyu Min The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. The structs do not ex

Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-09 Thread Dekel Peled
ey ; Asaf Penso > Subject: Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr > struct > > On 11/3/2020 2:27 PM, Ferruh Yigit wrote: > > On 11/3/2020 1:20 PM, Xiaoyu Min wrote: > >> From: Xiaoyu Min > >> > >> The rte_flow_item_eth and rte_flow_item

Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-09 Thread Ferruh Yigit
On 11/3/2020 2:27 PM, Ferruh Yigit wrote: On 11/3/2020 1:20 PM, Xiaoyu Min wrote: From: Xiaoyu Min The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. The structs do not exactly represent the packet bits captured on the wire anymore so set raw_encap/decap commands should only c

Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-03 Thread Ferruh Yigit
On 11/3/2020 1:20 PM, Xiaoyu Min wrote: From: Xiaoyu Min The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. The structs do not exactly represent the packet bits captured on the wire anymore so set raw_encap/decap commands should only copy real header instead of the whole struct

Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-03 Thread Ferruh Yigit
On 11/3/2020 1:20 PM, Xiaoyu Min wrote: From: Xiaoyu Min The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. The structs do not exactly represent the packet bits captured on the wire anymore so set raw_encap/decap commands should only copy real header instead of the whole struct

[dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

2020-11-03 Thread Xiaoyu Min
From: Xiaoyu Min The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. The structs do not exactly represent the packet bits captured on the wire anymore so set raw_encap/decap commands should only copy real header instead of the whole struct. Replace the rte_flow_item_* with the ex