Do all fragments of an IP packet greater than MTU carry the full PPPoE header when modified in an eBPF tc program?
I hope you are doing well. I am working with eBPF and tc on the egress side to add a PPPoE header to forwarded and locally generated packets. Due to GSO/TSO, I observe packets larger than the MTU size, and I see outputs like skb->gso_size = 1452
, skb->gso_segs = 3
, skb->len = 4410
. My concern is whether the MAC and PPPoE headers, which I inserted in the tc program, will be properly included in each fragment generated by GSO/TSO.
Do all fragments of an IP packet greater than MTU carry the full PPPoE header when modified in an eBPF tc program?
I hope you are doing well. I am working with eBPF and tc on the egress side to add a PPPoE header to forwarded and locally generated packets. Due to GSO/TSO, I observe packets larger than the MTU size, and I see outputs like skb->gso_size = 1452
, skb->gso_segs = 3
, skb->len = 4410
. My concern is whether the MAC and PPPoE headers, which I inserted in the tc program, will be properly included in each fragment generated by GSO/TSO.