Searched refs:rxq (Results 1 – 7 of 7) sorted by relevance
/net/xdp/ |
D | xsk_buff_pool.c | 94 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info() argument 99 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
|
D | xsk.c | 237 if (xs->dev != xdp->rxq->dev || xs->queue_id != xdp->rxq->queue_index) in xsk_rcv_check() 274 if (xdp->rxq->mem.type == MEM_TYPE_XSK_BUFF_POOL) { in xsk_rcv()
|
/net/bpf/ |
D | test_run.c | 728 xdp->rxq = &rxqueue->xdp_rxq; in xdp_convert_md_to_buff() 751 dev_put(xdp->rxq->dev); in xdp_convert_buff_to_md()
|
/net/core/ |
D | net-sysfs.c | 1756 int error = 0, txq = 0, rxq = 0, real_rx = 0, real_tx = 0; in register_queue_kobjects() local 1770 rxq = real_rx; in register_queue_kobjects() 1781 net_rx_queue_update_kobjects(dev, rxq, 0); in register_queue_kobjects()
|
D | xdp.c | 478 __xdp_return(xdp->data, &xdp->rxq->mem, true, xdp); in xdp_return_buff()
|
D | dev.c | 2985 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues() argument 2989 if (rxq < 1 || rxq > dev->num_rx_queues) in netif_set_real_num_rx_queues() 2996 rxq); in netif_set_real_num_rx_queues() 3001 dev->real_num_rx_queues = rxq; in netif_set_real_num_rx_queues() 3017 unsigned int txq, unsigned int rxq) in netif_set_real_num_queues() argument 3023 rxq < 1 || rxq > dev->num_rx_queues) in netif_set_real_num_queues() 3029 if (rxq > dev->real_num_rx_queues) { in netif_set_real_num_queues() 3030 err = netif_set_real_num_rx_queues(dev, rxq); in netif_set_real_num_queues() 3039 if (rxq < dev->real_num_rx_queues) in netif_set_real_num_queues() 3040 WARN_ON(netif_set_real_num_rx_queues(dev, rxq)); in netif_set_real_num_queues()
|
D | filter.c | 3973 master = netdev_master_upper_dev_get_rcu(xdp->rxq->dev); in xdp_master_redirect() 3975 if (slave && slave != xdp->rxq->dev) { in xdp_master_redirect() 5656 return bpf_ipv4_fib_lookup(dev_net(ctx->rxq->dev), params, in BPF_CALL_4() 5661 return bpf_ipv6_fib_lookup(dev_net(ctx->rxq->dev), params, in BPF_CALL_4() 5797 struct net_device *dev = xdp->rxq->dev; in BPF_CALL_5() 6453 struct net_device *dev = ctx->rxq->dev; in BPF_CALL_5() 6477 struct net_device *dev = ctx->rxq->dev; in BPF_CALL_5() 6501 struct net_device *dev = ctx->rxq->dev; in BPF_CALL_5() 9265 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct xdp_buff, rxq), in xdp_convert_ctx_access() 9267 offsetof(struct xdp_buff, rxq)); in xdp_convert_ctx_access() [all …]
|