On Tue, 29 Mar 2016 22:28:20 -0700 Rasesh Mody <rasesh.mody at qlogic.com> wrote:
> +static void > +qede_alloc_etherdev(struct qede_dev *qdev, struct qed_dev_eth_info *info) > +{ > + rte_memcpy(&qdev->dev_info, info, sizeof(*info)); Why bother with rte_memcpy here? why not just assignment or memcpy()? > + qdev->num_tc = qdev->dev_info.num_tc; > + qdev->ops = qed_ops; > +}