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 <[email protected]>
>
> 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: [email protected]
>
> >
> > Signed-off-by: Natalie Samsonov <[email protected]>
>
> <...>
>
--
- Tomasz DuszyĆski