1 /* SPDX-License-Identifier: GPL-2.0 */
7 #define TSO_HEADER_SIZE 256
14 u8 tlen; /* transport header len */
19 int tso_count_descs(const struct sk_buff *skb);
20 void tso_build_hdr(const struct sk_buff *skb, char *hdr, struct tso_t *tso,
21 int size, bool is_last);
22 void tso_build_data(const struct sk_buff *skb, struct tso_t *tso, int size);
23 int tso_start(struct sk_buff *skb, struct tso_t *tso);