[dpdk-dev] getting pointer for struct ixgbe_hw

Van Haaren, Harry harry.van.haaren at intel.com
Mon Sep 21 16:06:00 CEST 2015


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


More information about the dev mailing list