[dpdk-dev] [PATCH 02/20] thunderx/nicvf: add pmd skeleton
Jerin Jacob
jerin.jacob at caviumnetworks.com
Tue May 10 09:25:28 CEST 2016
On Mon, May 09, 2016 at 10:41:22AM -0700, Stephen Hemminger wrote:
> 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 *
Agree with all of your review comments in [PATCH 01/20] and [PATCH
02/20]. Will fix it in V2.
More information about the dev
mailing list