Re: [PATCH net-next v3 02/12] psp: take the psp nexthdr from the packet on encap
From: Todd Bert Freed
Date: Wed Dec 02 2026 - 19:04:05 EST
> Wdyt about adding a helper that does source port selection here?
> Then pass that sport to the psp_write_headers (unused argument btw). The
> block in the header writer is then just uh->source = sport.
Yeah, this is a good call. I will also clean up the unused sport argument to
psp_dev_encapsulate(). Coming in v4.
(still looking into the perf questions)
-Todd