Lines Matching refs:queue
35 uint16_t queue; member
126 bpf_eth_cbh_find(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_cbh_find() argument
131 if (cbi->port == port && cbi->queue == queue) in bpf_eth_cbh_find()
138 bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_cbh_add() argument
143 cbi = bpf_eth_cbh_find(cbh, port, queue); in bpf_eth_cbh_add()
150 cbi->queue = queue; in bpf_eth_cbh_add()
260 bpf_rx_callback_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_vm() argument
278 bpf_rx_callback_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_jit() argument
295 bpf_tx_callback_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_vm() argument
311 bpf_tx_callback_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_jit() argument
331 bpf_rx_callback_mb_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_mb_vm() argument
348 bpf_rx_callback_mb_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_rx_callback_mb_jit() argument
365 bpf_tx_callback_mb_vm(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_mb_vm() argument
381 bpf_tx_callback_mb_jit(__rte_unused uint16_t port, __rte_unused uint16_t queue, in bpf_tx_callback_mb_jit() argument
451 bpf_eth_unload(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue) in bpf_eth_unload() argument
455 bc = bpf_eth_cbh_find(cbh, port, queue); in bpf_eth_unload()
460 rte_eth_remove_rx_callback(port, queue, bc->cb); in bpf_eth_unload()
462 rte_eth_remove_tx_callback(port, queue, bc->cb); in bpf_eth_unload()
469 rte_bpf_eth_rx_unload(uint16_t port, uint16_t queue) in rte_bpf_eth_rx_unload() argument
475 bpf_eth_unload(cbh, port, queue); in rte_bpf_eth_rx_unload()
480 rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue) in rte_bpf_eth_tx_unload() argument
486 bpf_eth_unload(cbh, port, queue); in rte_bpf_eth_tx_unload()
491 bpf_eth_elf_load(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue, in bpf_eth_elf_load() argument
506 queue >= RTE_MAX_QUEUES_PER_PORT) in bpf_eth_elf_load()
516 __func__, port, queue); in bpf_eth_elf_load()
528 __func__, port, queue); in bpf_eth_elf_load()
534 bc = bpf_eth_cbh_add(cbh, port, queue); in bpf_eth_elf_load()
540 bpf_eth_unload(cbh, port, queue); in bpf_eth_elf_load()
546 bc->cb = rte_eth_add_rx_callback(port, queue, frx, bc); in bpf_eth_elf_load()
548 bc->cb = rte_eth_add_tx_callback(port, queue, ftx, bc); in bpf_eth_elf_load()
561 rte_bpf_eth_rx_elf_load(uint16_t port, uint16_t queue, in rte_bpf_eth_rx_elf_load() argument
570 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_rx_elf_load()
577 rte_bpf_eth_tx_elf_load(uint16_t port, uint16_t queue, in rte_bpf_eth_tx_elf_load() argument
586 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_tx_elf_load()