net: socionext: replace napi_alloc_frag with the netdev variant on init

The netdev variant is usable on any context since it disables interrupts.
The napi variant of the call should only be used within softirq context.
Replace napi_alloc_frag on driver init with the correct netdev_alloc_frag

Changes since v1:
- Adjusted commit message

Acked-by: Ard Biesheuvel <>
Acked-by: Jassi Brar <>
Fixes: 4acb20b46214 ("net: socionext: different approach on DMA")
Signed-off-by: Ilias Apalodimas <>
Signed-off-by: David S. Miller <>
1 file changed