[dpdk-dev] [PATCH 1/3] i40e: enable extended tag
Wu, Jingjing
jingjing.wu at intel.com
Fri Jan 22 02:34:47 CET 2016
Hi
> */
> static void
> -i40e_hw_init(struct i40e_hw *hw)
> +i40e_hw_init(struct rte_eth_dev *dev)
> {
> + struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data-
> >dev_private);
> +
> + i40e_enable_extended_tag(dev);
If the function i40e_enable_extended_tag is only used here without
Checking the return value, why not define it as void?
Thanks
Jingjing
> +
> /* clear the PF Queue Filter control register */
> I40E_WRITE_REG(hw, I40E_PFQF_CTL_0, 0);
>
> --
> 1.9.3
More information about the dev
mailing list