From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 50CDD5683 for ; Mon, 21 Sep 2015 16:06:04 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 Sep 2015 07:06:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,568,1437462000"; d="scan'208";a="773551016" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga001.jf.intel.com with ESMTP; 21 Sep 2015 07:06:02 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.84]) by IRSMSX101.ger.corp.intel.com ([169.254.1.139]) with mapi id 14.03.0248.002; Mon, 21 Sep 2015 15:06:01 +0100 From: "Van Haaren, Harry" To: "Serguei Bezverkhi (sbezverk)" , "dev@dpdk.org" Thread-Topic: getting pointer for struct ixgbe_hw Thread-Index: AdD0dZo794ndB0TST96I2nQYx9ybgAAAJkCg Date: Mon, 21 Sep 2015 14:06:00 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] getting pointer for struct ixgbe_hw 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: Mon, 21 Sep 2015 14:06:04 -0000 Hi Serguei, > From: Serguei Bezverkhi > I would appreciate if somebody could share an example of getting access t= o > ixgbe_hw structure for already initialized ixgbe nic. I tried to find any > references but could not find any API returning pointer for this structur= e. The ixgbe_hw struct is part of the implementation, and should not be used b= y code outside the drivers/net/ixgbe director. The rte_eth_* api[1] is availa= ble to access any NIC using a unified API. Hope that helps, -Harry [1] http://www.dpdk.org/doc/api/rte__ethdev_8h.html