From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F954A00BE for ; Tue, 7 Jul 2020 14:18:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1BE341DA9C; Tue, 7 Jul 2020 14:18:38 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 80FAC1D94A; Tue, 7 Jul 2020 14:18:34 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1B0E75C01F1; Tue, 7 Jul 2020 08:18:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 07 Jul 2020 08:18:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= XmDDM/zS0ulcJtvL2r1uONvDvb5zHBn3K6xYTdY7DUk=; b=mTFPbTgFhukNsiS+ PdSL8RlFkbK9nxRpDAHr/seAVfu+oP4/j59zTppT1ZjJ/KdkwWInQj+uQc5o5hHN rZb+FN5hWMh6yR6RvzlNZCzNU/kgJVNW2YXpVXAFpN8EjlXjFHkmb+y4G6SPDKJQ zFc71np5Ul6aKAzbRB9JILWOnAqcm4JGZ8FJVuab9hpaJ9wNQjybWJA814s5hvoJ 38Grbw4WaWKenO5A7BqHa1EqtqFJrkxPHfqCk3hLqv2aYPa+R7Xo9ZLIIsV0AIhn kGNMooZ3W4JrvwErCPVgAdDD7qnvDAtQdzUE5yb/nXJoZQmQ3zL1Hu8s+xGNXCX/ iXipTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=XmDDM/zS0ulcJtvL2r1uONvDvb5zHBn3K6xYTdY7D Uk=; b=WDxnEscxGlUCkiiZytI/BGpV1Vyg3UZEjAUdqwODxBEOCHl0bEc6hHvsF dA+hqCzlmnYe+LXjSHYsvoNyHfkhP3mjq7Ydg6c8D9eexksWkX5frsym152SBifo OVNh1X5srVzuvJZLJe/gOhF31Jz7iK4yRfnCn6ZOc4YVvDqprUYcSwulcDyUVgw7 M7RjV6RQMX7kq2SpmX2jdx0l21zKHdMmq7NAgc3K+h4TJggqBULQkY6Cxc4dyVzo kHZXNgr+3s6XHFGX3NOH9YYW6qzJPepvQ8/6dNoZ4N7P9ZEw4ZOaK/yMGnTGf1A9 Ypr3lwsFZaEly7MnZRJpMxXFXNESw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F150328005D; Tue, 7 Jul 2020 08:18:32 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: nipun.gupta@nxp.com, hemant.agrawal@nxp.com, dev@dpdk.org, stable@dpdk.org, bluca@debian.org, ktraynor@redhat.com Date: Tue, 07 Jul 2020 14:18:31 +0200 Message-ID: <227734353.nfkpUBtnmh@thomas> In-Reply-To: <20200706103132.7691-2-bruce.richardson@intel.com> References: <20200706103132.7691-1-bruce.richardson@intel.com> <20200706103132.7691-2-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 06/07/2020 12:31, Bruce Richardson: > To call the rte_rawdev_info_get() function, the user currently has to know > the underlying type of the device in order to pass an appropriate structure > or buffer as the dev_private pointer in the info structure. By allowing a > NULL value for this field, we can skip getting the device-specific info and > just return the generic info - including the device name and driver, which > can be used to determine the device type - to the user. > > This ensures that basic info can be get for all rawdevs, without knowing > the type, and even if the info driver API call has not been implemented for > the device. > > Cc: stable@dpdk.org This is a new feature. Why should it be backported?