/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 554 int hdr_sqe, u8 subdesc_cnt) in nicvf_unmap_sndq_buffers() 560 for (idx = 0; idx < subdesc_cnt; idx++) { in nicvf_unmap_sndq_buffers() 610 tso_sqe->subdesc_cnt); in nicvf_free_snd_queue() 613 hdr->subdesc_cnt); in nicvf_free_snd_queue() 1200 nicvf_put_sq_desc(sq, hdr->subdesc_cnt + 1); in nicvf_sq_free_used_descs() 1222 int subdesc_cnt, u64 data, int len) in nicvf_xdp_sq_add_hdr_subdesc() 1229 hdr->subdesc_cnt = subdesc_cnt; in nicvf_xdp_sq_add_hdr_subdesc() 1238 int subdesc_cnt = MIN_SQ_DESC_PER_PKT_XMIT; in nicvf_xdp_sq_append_pkt() local 1241 if (subdesc_cnt > s in nicvf_xdp_sq_append_pkt() 553 nicvf_unmap_sndq_buffers(struct nicvf *nic, struct snd_queue *sq, int hdr_sqe, u8 subdesc_cnt) nicvf_unmap_sndq_buffers() argument 1221 nicvf_xdp_sq_add_hdr_subdesc(struct snd_queue *sq, int qentry, int subdesc_cnt, u64 data, int len) nicvf_xdp_sq_add_hdr_subdesc() argument 1308 int subdesc_cnt = MIN_SQ_DESC_PER_PKT_XMIT; nicvf_sq_subdesc_required() local 1329 nicvf_sq_add_hdr_subdesc(struct nicvf *nic, struct snd_queue *sq, int qentry, int subdesc_cnt, struct sk_buff *skb, int len) nicvf_sq_add_hdr_subdesc() argument 1553 int subdesc_cnt, hdr_sqe = 0; nicvf_sq_append_skb() local [all...] |
H A D | nicvf_main.c | 660 int budget, int *subdesc_cnt, in nicvf_snd_pkt_handler() 686 hdr->subdesc_cnt); in nicvf_snd_pkt_handler() 692 *subdesc_cnt += hdr->subdesc_cnt + 1; in nicvf_snd_pkt_handler() 704 tso_sqe->subdesc_cnt); in nicvf_snd_pkt_handler() 705 *subdesc_cnt += tso_sqe->subdesc_cnt + 1; in nicvf_snd_pkt_handler() 708 hdr->subdesc_cnt); in nicvf_snd_pkt_handler() 710 *subdesc_cnt += hdr->subdesc_cnt in nicvf_snd_pkt_handler() 658 nicvf_snd_pkt_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx, int budget, int *subdesc_cnt, unsigned int *tx_pkts, unsigned int *tx_bytes) nicvf_snd_pkt_handler() argument 853 int subdesc_cnt = 0; nicvf_cq_intr_handler() local [all...] |
H A D | q_struct.h | 534 u64 subdesc_cnt:8; member 561 u64 subdesc_cnt:8;
|
H A D | nicvf_queues.h | 329 int hdr_sqe, u8 subdesc_cnt);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 555 int hdr_sqe, u8 subdesc_cnt) in nicvf_unmap_sndq_buffers() 561 for (idx = 0; idx < subdesc_cnt; idx++) { in nicvf_unmap_sndq_buffers() 611 tso_sqe->subdesc_cnt); in nicvf_free_snd_queue() 614 hdr->subdesc_cnt); in nicvf_free_snd_queue() 1201 nicvf_put_sq_desc(sq, hdr->subdesc_cnt + 1); in nicvf_sq_free_used_descs() 1223 int subdesc_cnt, u64 data, int len) in nicvf_xdp_sq_add_hdr_subdesc() 1230 hdr->subdesc_cnt = subdesc_cnt; in nicvf_xdp_sq_add_hdr_subdesc() 1239 int subdesc_cnt = MIN_SQ_DESC_PER_PKT_XMIT; in nicvf_xdp_sq_append_pkt() local 1242 if (subdesc_cnt > s in nicvf_xdp_sq_append_pkt() 554 nicvf_unmap_sndq_buffers(struct nicvf *nic, struct snd_queue *sq, int hdr_sqe, u8 subdesc_cnt) nicvf_unmap_sndq_buffers() argument 1222 nicvf_xdp_sq_add_hdr_subdesc(struct snd_queue *sq, int qentry, int subdesc_cnt, u64 data, int len) nicvf_xdp_sq_add_hdr_subdesc() argument 1309 int subdesc_cnt = MIN_SQ_DESC_PER_PKT_XMIT; nicvf_sq_subdesc_required() local 1330 nicvf_sq_add_hdr_subdesc(struct nicvf *nic, struct snd_queue *sq, int qentry, int subdesc_cnt, struct sk_buff *skb, int len) nicvf_sq_add_hdr_subdesc() argument 1554 int subdesc_cnt, hdr_sqe = 0; nicvf_sq_append_skb() local [all...] |
H A D | nicvf_main.c | 657 int budget, int *subdesc_cnt, in nicvf_snd_pkt_handler() 683 hdr->subdesc_cnt); in nicvf_snd_pkt_handler() 689 *subdesc_cnt += hdr->subdesc_cnt + 1; in nicvf_snd_pkt_handler() 701 tso_sqe->subdesc_cnt); in nicvf_snd_pkt_handler() 702 *subdesc_cnt += tso_sqe->subdesc_cnt + 1; in nicvf_snd_pkt_handler() 705 hdr->subdesc_cnt); in nicvf_snd_pkt_handler() 707 *subdesc_cnt += hdr->subdesc_cnt in nicvf_snd_pkt_handler() 655 nicvf_snd_pkt_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx, int budget, int *subdesc_cnt, unsigned int *tx_pkts, unsigned int *tx_bytes) nicvf_snd_pkt_handler() argument 850 int subdesc_cnt = 0; nicvf_cq_intr_handler() local [all...] |
H A D | q_struct.h | 534 u64 subdesc_cnt:8; member 561 u64 subdesc_cnt:8;
|
H A D | nicvf_queues.h | 329 int hdr_sqe, u8 subdesc_cnt);
|