summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorZdenek Bouska <zdenek.bouska@siemens.com>2025-03-19 17:18:48 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-04-02 18:51:41 +0300
commitd931cf9b38da0f533cacfe51c863a9912e67822f (patch)
tree7bdae1cf88ef5e7356fd607855ccd1958c71c814 /lib/timerqueue.c
parentdddeeaa16ce9d163ccf3b681715512d338afa541 (diff)
downloadlinux-d931cf9b38da0f533cacfe51c863a9912e67822f.tar.xz
igc: Fix TX drops in XDP ZC
Fixes TX frame drops in AF_XDP zero copy mode when budget < 4. xsk_tx_peek_desc() consumed TX frame and it was ignored because of low budget. Not even AF_XDP completion was done for dropped frames. It can be reproduced on i226 by sending 100000x 60 B frames with launch time set to minimal IPG (672 ns between starts of frames) on 1Gbit/s. Always 1026 frames are not sent and are missing a completion. Fixes: 9acf59a752d4c ("igc: Enable TX via AF_XDP zero-copy") Signed-off-by: Zdenek Bouska <zdenek.bouska@siemens.com> Reviewed-by: Song Yoong Siang <yoong.siang.song@intel.com> Reviewed-by: Florian Bezdeka <florian.bezdeka@siemens.com> Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions