Lines Matching full:tso
10 #include <net/tso.h>
720 * sending TSO segment, hence set payload length in otx2_sqe_add_ext()
826 /* In case of TSO, HW needs this to be explicitly set. in otx2_sqe_add_hdr()
932 struct tso_t tso; in otx2_sq_append_tso() local
934 hdr_len = tso_start(skb, &tso); in otx2_sq_append_tso()
937 * It's done here to avoid mapping for every TSO segment's packet. in otx2_sq_append_tso()
959 /* Add TSO segment's pkt header */ in otx2_sq_append_tso()
961 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso()
967 /* Add TSO segment's payload data fragments */ in otx2_sq_append_tso()
972 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso()
977 tso.next_frag_idx - 1, in otx2_sq_append_tso()
978 (u64)tso.data, hdr_len, in otx2_sq_append_tso()
983 tso_build_data(skb, &tso, size); in otx2_sq_append_tso()
989 * TSO segment is transmitted out. So set 'PNC' only for in otx2_sq_append_tso()
1017 /* On 96xx A0, HW TSO not supported */ in is_hw_tso_supported()
1023 * be correctly modified, hence don't offload such TSO segments. in is_hw_tso_supported()
1039 /* HW TSO */ in otx2_get_sqe_count()
1043 /* SW TSO */ in otx2_get_sqe_count()
1219 /* Insert vlan tag before giving pkt to tso */ in otx2_sq_append_skb()