Re: [PATCH v2] net/nfp: fix issue of data len exceeds descriptor limitation

2022-12-07 Thread Ferruh Yigit
On 11/29/2022 1:21 AM, Chaoyong He wrote: > From: Long Wu > > If dma_len is larger than NFDK_DESC_TX_DMA_LEN_HEAD, the value of > dma_len bitwise and NFDK_DESC_TX_DMA_LEN_HEAD maybe less than packet > head length and the packet will be dropped. Fill maximum dma_len in > first tx descriptor to mak

[PATCH v2] net/nfp: fix issue of data len exceeds descriptor limitation

2022-11-28 Thread Chaoyong He
From: Long Wu If dma_len is larger than NFDK_DESC_TX_DMA_LEN_HEAD, the value of dma_len bitwise and NFDK_DESC_TX_DMA_LEN_HEAD maybe less than packet head length and the packet will be dropped. Fill maximum dma_len in first tx descriptor to make sure the whole head is included in the first descrip