Lines Matching +full:queue +full:- +full:pkt +full:- +full:tx

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
90 /* enic_rfs_fltr_node - rfs filter node in hash table
105 /* enic_rfs_flw_tbl - rfs flow table
118 #define ENIC_RFS_FLW_MASK ((1 << ENIC_RFS_FLW_BITSHIFT) - 1)
132 u64 packets; /* pkts queued for Tx */
133 u64 stopped; /* Tx ring almost full, queue stopped */
134 u64 wake; /* Tx ring no longer full, queue woken up*/
135 u64 tso; /* non-encap tso pkt */
136 u64 encap_tso; /* encap tso pkt */
138 u64 csum_partial; /* skb->ip_summed = CHECKSUM_PARTIAL */
140 u64 bytes; /* bytes queued for Tx */
142 u64 cq_work; /* Tx completions processed */
143 u64 cq_bytes; /* Tx bytes processed */
146 u64 desc_full_awake; /* TX ring full while queue awake */
162 u64 desc_skip; /* Rx pkt went into later buffer */
165 /* Per-instance private data structure */
196 /* work queue cache line section */
204 /* receive queue cache line section */
214 u32 __iomem *legacy_pba; /* memory-mapped */
216 /* completion queue cache line section */
227 struct enic *enic = vdev->priv; in vnic_get_netdev()
229 return enic->netdev; in vnic_get_netdev()
235 dev_err(&(vdev)->pdev->dev, fmt, ##__VA_ARGS__)
237 dev_warn(&(vdev)->pdev->dev, fmt, ##__VA_ARGS__)
239 dev_info(&(vdev)->pdev->dev, fmt, ##__VA_ARGS__)
250 return &(enic->pdev->dev); in enic_get_dev()
260 return enic->rq_count + wq; in enic_cq_wq()
266 return enic->cq[enic_cq_rq(enic, rq)].interrupt_offset; in enic_msix_rq_intr()
272 return enic->cq[enic_cq_wq(enic, wq)].interrupt_offset; in enic_msix_wq_intr()
277 return enic->rq_count + enic->wq_count; in enic_msix_err_intr()
286 return enic->rq_count + enic->wq_count + 1; in enic_msix_notify_intr()
291 switch (vnic_dev_get_intr_mode(enic->vdev)) { in enic_is_err_intr()
304 switch (vnic_dev_get_intr_mode(enic->vdev)) { in enic_is_notify_intr()
317 if (unlikely(dma_mapping_error(&enic->pdev->dev, dma_addr))) { in enic_dma_map_check()
319 enic->netdev->name); in enic_dma_map_check()
320 enic->gen_stats.dma_map_error++; in enic_dma_map_check()
322 return -ENOMEM; in enic_dma_map_check()