Re: [PATCH iproute2-next v3] devlink: support kernel-side snapshot id allocation
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-05-05 16:20:14
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-05-05 16:20:14
On Tue, 5 May 2020 10:14:24 -0600 David Ahern wrote:
On 4/30/20 11:57 AM, Jakub Kicinski wrote:quoted
Make ID argument optional and read the snapshot info that kernel sends us. $ devlink region new netdevsim/netdevsim1/dummy netdevsim/netdevsim1/dummy: snapshot 0 $ devlink -jp region new netdevsim/netdevsim1/dummy { "regions": { "netdevsim/netdevsim1/dummy": { "snapshot": [ 1 ] } } } $ devlink region show netdevsim/netdevsim1/dummy netdevsim/netdevsim1/dummy: size 32768 snapshot [0 1] v3: back to v1.. Signed-off-by: Jakub Kicinski <kuba@kernel.org> --- devlink/devlink.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-)this does not apply to current iproute2-next
Hm. This was on top of Jake's patch, but Stephen took that one into iproute2, since the kernel feature is in 5.7 already. What is the protocol here? Can you merge iproute2 into iproute2-next? :S