29 Oct
2024
29 Oct
'24
2:57 p.m.
On Mon, 28 Oct 2024 22:13:58 -0400
Jon Maloy
This should save us some memory and code.
--- v2: - Setting pointers to pre-set IP and MAC headers on the fly instead of copying them. - Merged patch #2 and #3 from v1 v3: - Changes based on feedback from team v4: - Rebased v5: - Changes based on feedback from team and rebased
Jon Maloy (2): tcp: set ip and eth headers in l2 tap queues on the fly tcp: unify l2 TCPv4 and TCPv6 queues and structures
tcp.c | 6 +- tcp_buf.c | 272 ++++++++++++++++++------------------------------------ tcp_buf.h | 3 +- 3 files changed, 91 insertions(+), 190 deletions(-)
Applied. I also tested it with SO_PEEK_OFF support (kernel from current net.git HEAD), no issues observed. -- Stefano