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
m; m...@ashroe.eu; Li, Xiaoyun > ; Singh, Aman Deep ; > Zhang, Yuying ; Zhang, Qi Z > ; Yang, Qiming ; > jerinjac...@gmail.com; viachesl...@nvidia.com; > step...@networkplumber.org; Ding, Xuan ; > hpoth...@marvell.com; Tang, Yaqi ; Wang, YuanX > ; Wenxuan Wu > Subject: [PATCH

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

2022-10-01 Thread Yuan Wang
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 not suitable for NICs that do split b