From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E5F91FDD for ; Thu, 7 Mar 2024 04:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709787218; cv=none; b=kNrEi7nycz0PckcxXDZsOJoTGeovzCzyQp0HGtoFFnnYP2ukY/nPwxcxVVyoz5NfBdvw8EEn1c5jEk/zX7HdnfGaCpO3qG5fi8yghd3tzqqyhCgRNveufLRpP2d5PryW/qZkqcpkSHFafv/qnUCM7OkgzeLTbiKvc2t3Ih2S0Tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709787218; c=relaxed/simple; bh=ciW4Y2BvJYakxgezeAq5o25RGJSVSjCoSl7n9EIC/XE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Grb8RaDEA/IIJDcDE66CeGO+erwrj+Nh4cG301RCB4hztSg9k5Ky8X5re6e1JgE3vY9Ym464WyRPjsfg1lCug2isU5j5zOu1B7u1irPuxoxMLDf8ucWr/s3SU0b3aP06pHfVt0DSO+UxapG5RRZCuk9UQmXWeIvD3pG4JdOsW/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rKaFtA8r; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rKaFtA8r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 895D3C433F1; Thu, 7 Mar 2024 04:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709787218; bh=ciW4Y2BvJYakxgezeAq5o25RGJSVSjCoSl7n9EIC/XE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rKaFtA8rDLLB0TrE/YqaZnY7iEDc9joCONeej9ooaiO9nJo+jX+hgAszgd3BSSnXi UxDvVdeHotf4/9GSyGuVqoGu1OFi55pNVRQiPFnYrePlbc4vnlNGtT9TMWIIUO+ppO SurWiL7j79zuP8NojQ8Xql0OQWRyOmqx3SAYgX3gk6p7ki3ARqYO8iWoZtGjV1OYR8 Xb5Tx66+D11Wjst9liU8EeXV8WO8pKrYLGy1xSIJi1vMPLWMfURK2MSAkOC9ntyobd 9wuKuaUjYnNS8fZmI+Z2TncjvgWngtHlZ3S94VDUELk+kNst1tVziSmKbryrtL/YVh NiZaru+5ud06g== Date: Wed, 6 Mar 2024 20:53:36 -0800 From: Jakub Kicinski To: Saeed Mahameed Cc: "David S. Miller" , Paolo Abeni , Eric Dumazet , Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Gal Pressman , Leon Romanovsky , Przemek Kitszel Subject: Re: [net-next V5 15/15] Documentation: networking: Add description for multi-pf netdev Message-ID: <20240306205336.41a3b90f@kernel.org> In-Reply-To: <20240306030258.16874-16-saeed@kernel.org> References: <20240306030258.16874-1-saeed@kernel.org> <20240306030258.16874-16-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 5 Mar 2024 19:02:58 -0800 Saeed Mahameed wrote: > +one netdev instance. It is implemented in the netdev layer. Lower-layer instances like pci func, > +sysfs entry, devlink) are kept separate. There's a missing opening bracket in this sentence. > +$ ./cli.py --spec ../../../Documentation/netlink/specs/netdev.yaml --dump queue-get --json='{"ifindex": 13}' while respinning could you also change this... > +[{'id': 0, 'ifindex': 13, 'napi-id': 539, 'type': 'rx'}, > + {'id': 1, 'ifindex': 13, 'napi-id': 540, 'type': 'rx'}, > + {'id': 2, 'ifindex': 13, 'napi-id': 541, 'type': 'rx'}, > + {'id': 3, 'ifindex': 13, 'napi-id': 542, 'type': 'rx'}, > + {'id': 4, 'ifindex': 13, 'napi-id': 543, 'type': 'rx'}, > + {'id': 0, 'ifindex': 13, 'napi-id': 539, 'type': 'tx'}, > + {'id': 1, 'ifindex': 13, 'napi-id': 540, 'type': 'tx'}, > + {'id': 2, 'ifindex': 13, 'napi-id': 541, 'type': 'tx'}, > + {'id': 3, 'ifindex': 13, 'napi-id': 542, 'type': 'tx'}, > + {'id': 4, 'ifindex': 13, 'napi-id': 543, 'type': 'tx'}] > + > +$ ./cli.py --spec ../../../Documentation/netlink/specs/netdev.yaml --dump napi-get --json='{"ifindex": 13}' ..and this to assume we're in the main kernel source directory? $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump queue-get --json='{"ifindex": 13}' and $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump napi-get --json='{"ifindex": 13}'