This is a combination of two patches from ixl-iflib in the intel-wired-ethernet GitHub repository.
3da3c7ccaaf0 iflib: Save TCP header length during packet parsing when CSUM_IP6_TCP is set
9adced371d84 iflib: Save TCP header length when TCP checksum offload is requested.