[dpdk-dev] [PATCH 2/5] net/mrvl: fix hif objects allocation
Tomasz Duszynski
tdu at semihalf.com
Mon Jan 15 07:53:06 CET 2018
On Fri, Jan 12, 2018 at 07:13:22PM +0000, Ferruh Yigit wrote:
> On 1/11/2018 3:35 PM, Tomasz Duszynski wrote:
> > From: Natalie Samsonov <nsamsono at marvell.com>
>
> Commit title updated to [1] assuming hif is an abbreviation (btw, what is hif?)
Thanks for fixing that. HIF stands for host-interface. You want to allocate
it per lcore so that couple of lcores can use MUSDK library simultaneously.
>
> [1]
> net/mrvl: fix HIF objects allocation
>
> >
> > 1. Add checking for non-EAL threads.
> >
> > 2. Create hif objects on first use since sometimes on probe not all
> > lcores are initialized and can be added later.
> > In this case the hif objects for later cores were not created and
> > this caused system crash.
> >
> > Fixes: 0ddc9b8 ("net/mrvl: add net PMD skeleton")
>
> Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton")
> Cc: stable at dpdk.org
>
> >
> > Signed-off-by: Natalie Samsonov <nsamsono at marvell.com>
>
> <...>
>
--
- Tomasz Duszyński
More information about the dev
mailing list