Home
last modified time | relevance | path

Searched refs:subdesc_cnt (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c907 nicvf_put_sq_desc(sq, hdr->subdesc_cnt + 1); in nicvf_sq_free_used_descs()
961 int subdesc_cnt = MIN_SQ_DESC_PER_PKT_XMIT; in nicvf_sq_subdesc_required() local
964 subdesc_cnt = nicvf_tso_count_subdescs(skb); in nicvf_sq_subdesc_required()
965 return subdesc_cnt; in nicvf_sq_subdesc_required()
969 subdesc_cnt += skb_shinfo(skb)->nr_frags; in nicvf_sq_subdesc_required()
971 return subdesc_cnt; in nicvf_sq_subdesc_required()
979 int subdesc_cnt, struct sk_buff *skb, int len) in nicvf_sq_add_hdr_subdesc() argument
992 hdr->subdesc_cnt = subdesc_cnt; in nicvf_sq_add_hdr_subdesc()
1107 int subdesc_cnt; in nicvf_sq_append_skb() local
1129 subdesc_cnt = nicvf_sq_subdesc_required(nic, skb); in nicvf_sq_append_skb()
[all …]
Dq_struct.h545 u64 subdesc_cnt:8; member
569 u64 subdesc_cnt:8;
Dnicvf_main.c526 cqe_tx->sqe_ptr, hdr->subdesc_cnt); in nicvf_snd_pkt_handler()
528 nicvf_put_sq_desc(sq, hdr->subdesc_cnt + 1); in nicvf_snd_pkt_handler()