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

2022-11-18 Thread Ferruh Yigit
On 11/17/2022 8:33 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. Fill maximum dma_len in first tx descriptor to make > sure the whole head is incl

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

2022-11-17 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. Fill maximum dma_len in first tx descriptor to make sure the whole head is included in the first descriptor. In addition, add some ex