]> www.infradead.org Git - users/willy/xarray.git/commit
ionic: only sync frag_len in first buffer of xdp
authorShannon Nelson <shannon.nelson@amd.com>
Wed, 29 May 2024 00:02:58 +0000 (17:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 31 May 2024 01:10:35 +0000 (18:10 -0700)
commit488da00479d50ec5970b3f84e9fad2c5fda2d78c
tree798f32b5be9c46a7dc0c04d9cc7c5165fe3874a3
parentfc53d46524480a732a233bc9d6cdf6155205d9eb
ionic: only sync frag_len in first buffer of xdp

We don't want to try to sync more length than might be
in the first frag of an Rx skb, so make sure to use
the frag_len rather than the full len.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240529000259.25775-7-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c