RE: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split

2022-10-04 Thread Wang, YuanX
g ; Zhang, Qi Z > ; Yang, Qiming ; > jerinjac...@gmail.com; viachesl...@nvidia.com; > step...@networkplumber.org; Ding, Xuan ; > hpoth...@marvell.com; Tang, Yaqi > Subject: Re: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split > > On 10/4/22 05:48, Wang, YuanX

Re: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split

2022-10-04 Thread Andrew Rybchenko
On 10/4/22 05:48, Wang, YuanX wrote: Hi Andrew, -Original Message- On 10/2/22 00:05, Yuan Wang wrote: + + /* skip the payload */ Sorry, it is confusing. What do you mean here? Because setting n proto_hdr will generate (n+1) segments. If we want to split the p

RE: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split

2022-10-03 Thread Wang, YuanX
g ; Zhang, Qi Z > ; Yang, Qiming ; > jerinjac...@gmail.com; viachesl...@nvidia.com; > step...@networkplumber.org; Ding, Xuan ; > hpoth...@marvell.com; Tang, Yaqi ; Wenxuan Wu > > Subject: Re: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split > > On 10/2/22

Re: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split

2022-10-03 Thread Andrew Rybchenko
On 10/2/22 00:05, Yuan Wang wrote: Currently, Rx buffer split supports length based split. With Rx queue offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment configured, PMD will be able to split the received packets into multiple segments. However, length based buffer split is

RE: [PATCH v7 2/4] ethdev: introduce protocol hdr based buffer split

2022-10-01 Thread Wang, YuanX
Hi All, Could you please review and provide suggestions if any. Thanks, Yuan > -Original Message- > From: Wang, YuanX > Sent: Sunday, October 2, 2022 5:05 AM > To: dev@dpdk.org; Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko > > Cc: ferruh.yi...@xilinx.com; m...@ashroe.eu; Li, Xia