Lines Matching full:tso
10 #include <net/tso.h>
676 * sending TSO segment, hence set payload length in otx2_sqe_add_ext()
782 /* In case of TSO, HW needs this to be explicitly set. in otx2_sqe_add_hdr()
888 struct tso_t tso; in otx2_sq_append_tso() local
890 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
893 * It's done here to avoid mapping for every TSO segment's packet. in otx2_sq_append_tso()
915 /* Add TSO segment's pkt header */ in otx2_sq_append_tso()
917 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
923 /* Add TSO segment's payload data fragments */ in otx2_sq_append_tso()
928 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
933 tso.next_frag_idx - 1, in otx2_sq_append_tso()
934 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
939 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
945 * TSO segment is transmitted out. So set 'PNC' only for in otx2_sq_append_tso()
973 /* On 96xx A0, HW TSO not supported */ in is_hw_tso_supported()
979 * be correctly modified, hence don't offload such TSO segments. in is_hw_tso_supported()
995 /* HW TSO */ in otx2_get_sqe_count()
999 /* SW TSO */ in otx2_get_sqe_count()
1173 /* Insert vlan tag before giving pkt to tso */ in otx2_sq_append_skb()