aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorBaowen Zheng <[email protected]>2022-07-08 11:07:18 +0100
committerDavid S. Miller <[email protected]>2022-07-09 12:25:02 +0100
commit9c840d5f9aaef87e65db900bae21c70b059aba5f (patch)
tree685fc8037426f8871843d7b959ce53577cc49163 /lib/netdev-notifier-error-inject.c
parent6676d7270ce254596ab1d4ae0de27b8e19705d44 (diff)
nfp: fix issue of skb segments exceeds descriptor limitation
TCP packets will be dropped if the segments number in the tx skb exceeds limitation when sending iperf3 traffic with --zerocopy option. we make the following changes: Get nr_frags in nfp_nfdk_tx_maybe_close_block instead of passing from outside because it will be changed after skb_linearize operation. Fill maximum dma_len in first tx descriptor to make sure the whole head is included in the first descriptor. Fixes: c10d12e3dce8 ("nfp: add support for NFDK data path") Signed-off-by: Baowen Zheng <[email protected]> Reviewed-by: Louis Peens <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions