Lines Matching refs:queue

47 	uint16_t queue;  member
141 bpf_eth_cbh_find(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_cbh_find() argument
146 if (cbi->port == port && cbi->queue == queue) in bpf_eth_cbh_find()
153 bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_cbh_add() argument
158 cbi = bpf_eth_cbh_find(cbh, port, queue); in bpf_eth_cbh_add()
165 cbi->queue = queue; in bpf_eth_cbh_add()
275 bpf_rx_callback_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_vm() argument
293 bpf_rx_callback_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_jit() argument
310 bpf_tx_callback_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_vm() argument
326 bpf_tx_callback_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_jit() argument
346 bpf_rx_callback_mb_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_mb_vm() argument
363 bpf_rx_callback_mb_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_mb_jit() argument
380 bpf_tx_callback_mb_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_mb_vm() argument
396 bpf_tx_callback_mb_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_mb_jit() argument
466 bpf_eth_unload(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_unload() argument
470 bc = bpf_eth_cbh_find(cbh, port, queue); in bpf_eth_unload()
475 rte_eth_remove_rx_callback(port, queue, bc->cb); in bpf_eth_unload()
477 rte_eth_remove_tx_callback(port, queue, bc->cb); in bpf_eth_unload()
484 rte_bpf_eth_rx_unload(uint16_t port, uint16_t queue) in rte_bpf_eth_rx_unload() argument
490 bpf_eth_unload(cbh, port, queue); in rte_bpf_eth_rx_unload()
495 rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue) in rte_bpf_eth_tx_unload() argument
501 bpf_eth_unload(cbh, port, queue); in rte_bpf_eth_tx_unload()
506 bpf_eth_elf_load(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue, in bpf_eth_elf_load() argument
521 queue >= RTE_MAX_QUEUES_PER_PORT) in bpf_eth_elf_load()
531 __func__, port, queue); in bpf_eth_elf_load()
543 __func__, port, queue); in bpf_eth_elf_load()
549 bc = bpf_eth_cbh_add(cbh, port, queue); in bpf_eth_elf_load()
555 bpf_eth_unload(cbh, port, queue); in bpf_eth_elf_load()
561 bc->cb = rte_eth_add_rx_callback(port, queue, frx, bc); in bpf_eth_elf_load()
563 bc->cb = rte_eth_add_tx_callback(port, queue, ftx, bc); in bpf_eth_elf_load()
576 rte_bpf_eth_rx_elf_load(uint16_t port, uint16_t queue, in rte_bpf_eth_rx_elf_load() argument
585 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_rx_elf_load()
592 rte_bpf_eth_tx_elf_load(uint16_t port, uint16_t queue, in rte_bpf_eth_tx_elf_load() argument
601 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_tx_elf_load()