[dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops

Stephen Hemminger stephen at networkplumber.org
Sat Jun 27 03:32:48 CEST 2015


On Fri, 26 Jun 2015 21:19:05 -0400
Liang-Min Larry Wang <liang-min.wang at intel.com> wrote:

> +static int
> +ixgbe_get_reg_length(struct rte_eth_dev *dev __rte_unused)
> +{
> +	struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private)

The dev arg is used, and therefore should not be marked __rte_unused.


More information about the dev mailing list