DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
To: "Serguei Bezverkhi (sbezverk)" <sbezverk@cisco.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] getting pointer for struct ixgbe_hw
Date: Mon, 21 Sep 2015 14:06:00 +0000	[thread overview]
Message-ID: <E923DB57A917B54B9182A2E928D00FA612811C6F@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <EDCEC56DA1E05E428B0B5FBB4D07139216DA6282@xmb-rcd-x06.cisco.com>

Hi Serguei,

> From: Serguei Bezverkhi
> I would appreciate if somebody could share an example of getting access to
> ixgbe_hw structure for already initialized ixgbe nic. I tried to find any
> references but could not find any API returning pointer for this structure.

The ixgbe_hw struct is part of the implementation, and should not be used by
code outside the drivers/net/ixgbe director. The rte_eth_* api[1] is available
to access any NIC using a unified API.

Hope that helps, -Harry

[1] http://www.dpdk.org/doc/api/rte__ethdev_8h.html

  reply	other threads:[~2015-09-21 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 13:58 Serguei Bezverkhi (sbezverk)
2015-09-21 14:06 ` Van Haaren, Harry [this message]
2015-09-21 14:11   ` Serguei Bezverkhi (sbezverk)
2015-09-21 14:41     ` Ananyev, Konstantin
2015-09-21 14:52       ` Serguei Bezverkhi (sbezverk)
2015-09-21 15:27         ` Ananyev, Konstantin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E923DB57A917B54B9182A2E928D00FA612811C6F@IRSMSX102.ger.corp.intel.com \
    --to=harry.van.haaren@intel.com \
    --cc=dev@dpdk.org \
    --cc=sbezverk@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).