diff options
author | Yinjun Zhang <[email protected]> | 2022-12-02 14:46:46 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-04 15:41:03 -0800 |
commit | 5c306de8f787ab7df51f846e57ac79cd713537d5 (patch) | |
tree | 2a1ca12f4de5cf86dc59f49f08be625016f15f25 /lib/mpi/mpi-sub-ui.c | |
parent | 6a30d3e3491dc562384e9f15b201a8a25b57439f (diff) |
nfp: correct desc type when header dma len is 4096
When there's only one buffer to dma and its length is 4096, then
only one data descriptor is needed to carry it according to current
descriptor definition. So the descriptor type should be `simple`
instead of `gather`, the latter requires more than one descriptor,
otherwise it'll be dropped by application firmware.
Fixes: c10d12e3dce8 ("nfp: add support for NFDK data path")
Fixes: d9d950490a0a ("nfp: nfdk: implement xdp tx path for NFDK")
Signed-off-by: Yinjun Zhang <[email protected]>
Reviewed-by: Richard Donkin <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions