From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id C7F175921 for ; Wed, 22 Jul 2015 21:47:53 +0200 (CEST) Received: by pabkd10 with SMTP id kd10so71520485pab.2 for ; Wed, 22 Jul 2015 12:47:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=DRgT7ZR8TTqRXHo0x7mRUhu1OTBcjU5W7+qE6Q4iCgw=; b=H5FzBXfSE/c3IEDZ0SvqPc7OWAWcs07I9zbObf+eeRtMcsJ+BdRzOL3ca3IL5it6cI PUaXYdYnou/JDi0HRdljFredc2t1cvroGoZZiYXr7r0x4cESx/3JGqyDQfe5rj3Irng9 qSSWh4spoJbFLCxOGtldXxS6ihJ+HzLSkKT6Kr5/QgeId03xYv9KF47rvfhwrvmg6oNN xM/pcrRwixZ9oZlXdM+X3OiuZTgI7R9Un8n8sBlqfjBbEtcRNHK+Oq0Un3YWF6pJ2RsP 5xdsQ2c0u2OWzUomJoYXvj9+P4NrKzGR4RkgfuXgTSbU070ujPP+PiptRecKKIoOKuLy Naxg== X-Gm-Message-State: ALoCoQmMfxv/z8IM7lNYPt79uabtnCLJxr3nExpf+eUIKoOznCij8IYHhEM/UiwEiB2Mj2d5vwx3 X-Received: by 10.66.222.103 with SMTP id ql7mr9243213pac.144.1437594472856; Wed, 22 Jul 2015 12:47:52 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id e8sm4793693pdm.13.2015.07.22.12.47.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 12:47:52 -0700 (PDT) Date: Wed, 22 Jul 2015 12:48:02 -0700 From: Stephen Hemminger To: Konstantin Ananyev Message-ID: <20150722124802.6a0f4745@urahara> In-Reply-To: <1437589735-30041-2-git-send-email-konstantin.ananyev@intel.com> References: <1437589735-30041-1-git-send-email-konstantin.ananyev@intel.com> <1437589735-30041-2-git-send-email-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCHv4 1/5] ethdev: add new API to retrieve RX/TX queue information X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 19:47:54 -0000 On Wed, 22 Jul 2015 19:28:51 +0100 Konstantin Ananyev wrote: > Add the ability for the upper layer to query RX/TX queue information. > > Add new structures: > struct rte_eth_rxq_info > struct rte_eth_txq_info > > new functions: > rte_eth_rx_queue_info_get > rte_eth_tx_queue_info_get > > into rte_etdev API. > > Left extra free space in the queue info structures, > so extra fields could be added later without ABI breakage. > > v2 changes: > - Add formal check for the qinfo input parameter. > - As suggested rename 'rx_qinfo/tx_qinfo' to 'rxq_info/txq_info' > > v3 changes: > - Updated rte_ether_version.map > - Merged with latest changes > > v4 changes: > - rte_ether_version.map: move new functions into DPDK_2.1 sub-space. > > Signed-off-by: Konstantin Ananyev Since all this data should be rxconf already, Is it possible to do a generic version of this and not have to change every driver. You only handled the Intel hardware drivers. But there also all the virtual drivers, other vendors etc.