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