]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: allocate buffers to desc before re-enable interrupt
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Wed, 23 Sep 2015 17:37:10 +0000 (13:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2015 21:37:37 +0000 (14:37 -0700)
commitc00eed7a81e2d64e2570a9574f135fcb880f1f19
tree9babcab9ff37406943953ab06b9a5463992dd987
parent9cfdc40ab5169610aaf093ab8b26c97b3d8f26f6
net: netcp: allocate buffers to desc before re-enable interrupt

Currently netcp_rxpool_refill() that refill descriptors and attached
buffers to fdq while interrupt is enabled as part of NAPI poll. Doing
it while interrupt is disabled could be beneficial as hardware will
not be starved when CPU is busy with processing interrupt.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_core.c