[PATCH v7 1/3] ethdev: introduce protocol header based buffer split

2022-06-01 Thread wenxuanx . wu
From: Wenxuan Wu 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 N

[PATCH v7 1/3] ethdev: introduce protocol header based buffer split

2022-06-01 Thread wenxuanx . wu
From: Wenxuan Wu 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 N