Home
last modified time | relevance | path

Searched refs:rxq (Results 1 – 6 of 6) sorted by relevance

/net/xdp/
Dxsk.c206 if (xs->dev != xdp->rxq->dev || xs->queue_id != xdp->rxq->queue_index) in xsk_rcv()
211 return (xdp->rxq->mem.type == MEM_TYPE_ZERO_COPY) ? in xsk_rcv()
232 if (xs->dev != xdp->rxq->dev || xs->queue_id != xdp->rxq->queue_index) { in xsk_generic_rcv()
/net/core/
Dnet-sysfs.c1525 int error = 0, txq = 0, rxq = 0, real_rx = 0, real_tx = 0; in register_queue_kobjects() local
1539 rxq = real_rx; in register_queue_kobjects()
1550 net_rx_queue_update_kobjects(dev, rxq, 0); in register_queue_kobjects()
Dxdp.c417 __xdp_return(xdp->data, &xdp->rxq->mem, true, xdp->handle); in xdp_return_buff()
Dfilter.c4852 return bpf_ipv4_fib_lookup(dev_net(ctx->rxq->dev), params, in BPF_CALL_4()
4857 return bpf_ipv6_fib_lookup(dev_net(ctx->rxq->dev), params, in BPF_CALL_4()
5429 struct net *caller_net = dev_net(ctx->rxq->dev); in BPF_CALL_5()
5430 int ifindex = ctx->rxq->dev->ifindex; in BPF_CALL_5()
5452 struct net *caller_net = dev_net(ctx->rxq->dev); in BPF_CALL_5()
5453 int ifindex = ctx->rxq->dev->ifindex; in BPF_CALL_5()
5475 struct net *caller_net = dev_net(ctx->rxq->dev); in BPF_CALL_5()
5476 int ifindex = ctx->rxq->dev->ifindex; in BPF_CALL_5()
7790 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct xdp_buff, rxq), in xdp_convert_ctx_access()
7792 offsetof(struct xdp_buff, rxq)); in xdp_convert_ctx_access()
[all …]
Ddev.c2625 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues() argument
2629 if (rxq < 1 || rxq > dev->num_rx_queues) in netif_set_real_num_rx_queues()
2636 rxq); in netif_set_real_num_rx_queues()
2641 dev->real_num_rx_queues = rxq; in netif_set_real_num_rx_queues()
4298 xdp->rxq = &rxqueue->xdp_rxq; in netif_receive_generic_xdp()
/net/bpf/
Dtest_run.c366 xdp.rxq = &rxqueue->xdp_rxq; in bpf_prog_test_run_xdp()