> [Severity: Medium]
[...]
> Would CHECKSUM_NONE be a safer fallback here until the pending XDP
> checksum hint series land? If not, could the commit message describe
> this trade-off?

Yes, the inner checksum is then not checked, as on E810, on mlx5 with
XDP, and on E830 before v6.15. CHECKSUM_NONE would make the stack check
every packet in software, also the ones XDP did not change.

The discussion in [3] concluded that CHECKSUM_UNNECESSARY only is the
safe option with XDP for now, and that the decap case is a known
problem. v2 will note this in the commit message.

> [Severity: Low]
> Should this use the per-poll snapshot instead of reading ring->xdp_prog
> a second time? The program that actually ran comes from:
[...]

v2 will drop the per-packet read and set ICE_RX_FLAGS_RING_GCS in
ice_vsi_cfg_rxq() instead, as Alexander suggested [4].

[3] https://lore.kernel.org/all/[email protected]/
[4] 
https://lore.kernel.org/all/cakgt0uenyyxkarjkr4nvvxne3ub16wuxqxsz0cf4zvcdb9a...@mail.gmail.com/

Thanks,
Tianyi

pw-bot: cr

Reply via email to