[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251023193333.751b686a@kernel.org>
Date: Thu, 23 Oct 2025 19:33:33 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, davem@...emloft.net,
razor@...ckwall.org, pabeni@...hat.com, willemb@...gle.com,
sdf@...ichev.me, john.fastabend@...il.com, martin.lau@...nel.org,
jordan@...fe.io, maciej.fijalkowski@...el.com, magnus.karlsson@...el.com,
dw@...idwei.uk, toke@...hat.com, yangzhenze@...edance.com,
wangdongdong.6@...edance.com
Subject: Re: [PATCH net-next v3 03/15] net: Add peer info to queue-get
response
On Mon, 20 Oct 2025 18:23:43 +0200 Daniel Borkmann wrote:
> Add a nested peer field to the queue-get response that returns the peered
> ifindex and queue id.
>
> Example with ynl client:
>
> # ip netns exec foo ./pyynl/cli.py \
> --spec ~/netlink/specs/netdev.yaml \
> --do queue-get \
> --json '{"ifindex": 3, "id": 1, "type": "rx"}'
> {'id': 1, 'ifindex': 3, 'peer': {'id': 15, 'ifindex': 4, 'netns-id': 21}, 'type': 'rx'}
I'm struggling with the roles of what is src and dst and peer :(
No great suggestion off the top of my head but better terms would
make this much easier to review.
The example seems to be from the container side. Do we need to show peer
info on the container side? Not just on the host side?
Powered by blists - more mailing lists