On Sat, 7 May 2016 20:46:20 +0530 Jerin Jacob <jerin.jacob at caviumnetworks.com> wrote:
> + > +static inline struct nicvf* > +nicvf_pmd_priv(struct rte_eth_dev *eth_dev) > +{ > + return (struct nicvf *)eth_dev->data->dev_private; > +} Cast here is unnecessary because dev_private is void *