Lines Matching full:tso
10 #include <net/tso.h>
679 * sending TSO segment, hence set payload length in otx2_sqe_add_ext()
785 /* In case of TSO, HW needs this to be explicitly set. in otx2_sqe_add_hdr()
891 struct tso_t tso; in otx2_sq_append_tso() local
893 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
896 * It's done here to avoid mapping for every TSO segment's packet. in otx2_sq_append_tso()
918 /* Add TSO segment's pkt header */ in otx2_sq_append_tso()
920 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
926 /* Add TSO segment's payload data fragments */ in otx2_sq_append_tso()
931 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
936 tso.next_frag_idx - 1, in otx2_sq_append_tso()
937 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
942 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
948 * TSO segment is transmitted out. So set 'PNC' only for in otx2_sq_append_tso()
976 /* On 96xx A0, HW TSO not supported */ in is_hw_tso_supported()
982 * be correctly modified, hence don't offload such TSO segments. in is_hw_tso_supported()
998 /* HW TSO */ in otx2_get_sqe_count()
1002 /* SW TSO */ in otx2_get_sqe_count()
1176 /* Insert vlan tag before giving pkt to tso */ in otx2_sq_append_skb()