aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorBaowen Zheng <baowen.zheng@corigine.com>2022-07-08 11:07:18 +0100
committerDavid S. Miller <davem@davemloft.net>2022-07-09 12:25:02 +0100
commit9c840d5f9aaef87e65db900bae21c70b059aba5f (patch)
tree685fc8037426f8871843d7b959ce53577cc49163 /drivers/net/gtp.c
parentMerge branch 'selftests-forwarding-install-two-missing-tests' (diff)
downloadlinux-dev-9c840d5f9aaef87e65db900bae21c70b059aba5f.tar.xz
linux-dev-9c840d5f9aaef87e65db900bae21c70b059aba5f.zip
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 <baowen.zheng@corigine.com> Reviewed-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions