Home
last modified time | relevance | path

Searched refs:xdpqs (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/fungible/funeth/
Dfuneth_main.c407 static void free_xdpqs(struct funeth_txq **xdpqs, unsigned int nqs, in free_xdpqs() argument
412 for (i = start; i < nqs && xdpqs[i]; i++) in free_xdpqs()
413 xdpqs[i] = funeth_txq_free(xdpqs[i], state); in free_xdpqs()
416 kfree(xdpqs); in free_xdpqs()
423 struct funeth_txq **xdpqs; in alloc_xdpqs() local
427 xdpqs = kcalloc(nqs, sizeof(*xdpqs), GFP_KERNEL); in alloc_xdpqs()
428 if (!xdpqs) in alloc_xdpqs()
432 err = funeth_txq_create(dev, i, depth, NULL, state, &xdpqs[i]); in alloc_xdpqs()
434 free_xdpqs(xdpqs, nqs, start, FUN_QSTATE_DESTROYED); in alloc_xdpqs()
438 return xdpqs; in alloc_xdpqs()
[all …]
Dfuneth.h68 struct funeth_txq **xdpqs; member
89 struct funeth_txq * __rcu *xdpqs; member
Dfuneth_rx.c482 struct funeth_txq **xdpqs, *xdp_q = NULL; in fun_process_cqes() local
484 xdpqs = rcu_dereference_bh(fp->xdpqs); in fun_process_cqes()
485 if (xdpqs) in fun_process_cqes()
486 xdp_q = xdpqs[smp_processor_id()]; in fun_process_cqes()
Dfuneth_tx.c575 struct funeth_txq *q, **xdpqs; in fun_xdp_xmit_frames() local
581 xdpqs = rcu_dereference_bh(fp->xdpqs); in fun_xdp_xmit_frames()
582 if (unlikely(!xdpqs)) in fun_xdp_xmit_frames()
589 for (q = xdpqs[q_idx], i = 0; i < n; i++) in fun_xdp_xmit_frames()
Dfuneth_ethtool.c753 struct funeth_txq **xdpqs; in fun_get_ethtool_stats() local
795 xdpqs = rtnl_dereference(fp->xdpqs); in fun_get_ethtool_stats()
801 FUN_QSTAT_READ(xdpqs[i], start, txs); in fun_get_ethtool_stats()