Re: [PATCH net-next v23 13/13] netdev: add dmabuf introspection
On Thu, 29 Aug 2024 06:01:26 + Mina Almasry wrote: > + binding = (struct net_devmem_dmabuf_binding *) > + rxq->mp_params.mp_priv; > + if (binding) { > + if (nla_put_u32(rsp, NETDEV_A_QUEUE_DMABUF, > +
[PATCH net-next v23 13/13] netdev: add dmabuf introspection
Add dmabuf information to page_pool stats: $ ./cli.py --spec ../netlink/specs/netdev.yaml --dump page-pool-get ... {'dmabuf': 10, 'id': 456, 'ifindex': 3, 'inflight': 1023, 'inflight-mem': 4190208}, {'dmabuf': 10, 'id': 455, 'ifindex': 3, 'inflight': 1023, 'inflight-mem': 4190208