Lines Matching refs:tso
12 #include <net/tso.h>
427 static __wsum enetc_tso_hdr_csum(struct tso_t *tso, struct sk_buff *skb,
433 if (tso->tlen != sizeof(struct udphdr)) {
446 if (!tso->ipv6) {
458 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso,
468 if (!tso->ipv6)
477 if (tso->tlen != sizeof(struct udphdr)) {
493 struct tso_t tso;
499 hdr_len = tso_start(skb, &tso);
517 tso_build_hdr(skb, hdr, &tso, data_len, total_len == 0);
520 csum = enetc_tso_hdr_csum(&tso, skb, hdr, hdr_len, &pos);
528 size = min_t(int, tso.size, data_len);
540 csum2 = csum_partial(tso.data, size, 0);
545 tso.data, size,
553 tso_build_data(skb, &tso, size);
559 enetc_tso_complete_csum(tx_ring, &tso, skb, hdr, pos, csum);