Home
last modified time | relevance | path

Searched hist:"114 bdef0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c114bdef0 Thu Apr 07 13:39:41 CDT 2016 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: preallocate RX buffers early in .ndo_open

We want the .ndo_open() to have following structure:
- allocate resources;
- configure HW/FW;
- enable the device from stack perspective.
Therefore filling RX rings needs to be moved to the beginning
of .ndo_open().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
114bdef0 Thu Apr 07 13:39:41 CDT 2016 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: preallocate RX buffers early in .ndo_open

We want the .ndo_open() to have following structure:
- allocate resources;
- configure HW/FW;
- enable the device from stack perspective.
Therefore filling RX rings needs to be moved to the beginning
of .ndo_open().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>