linux/drivers/net/ethernet/freescale/dpaa2
Sebastian Andrzej Siewior f9dae5554a dpaa2-eth: Remove preempt_disable() from seed_pool()
According to the comment, the preempt_disable() statement is required
due to synchronisation in napi_alloc_frag(). The awful truth is that
local_bh_disable() is required because otherwise the NAPI poll callback
can be invoked while the open function setup buffers. This isn't
unlikely since the dpaa2 provides multiple devices.

The usage of napi_alloc_frag() has been removed in commit

 27c874867c ("dpaa2-eth: Use a single page per Rx buffer")

which means that the comment is not accurate and the preempt_disable()
statement is not required.

Remove the outdated comment and the no longer required
preempt_disable().

Cc: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Acked-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-09 19:40:09 -07:00
..
dpaa2-eth-debugfs.c dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
dpaa2-eth-debugfs.h dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
dpaa2-eth-trace.h
dpaa2-eth.c dpaa2-eth: Remove preempt_disable() from seed_pool() 2019-06-09 19:40:09 -07:00
dpaa2-eth.h dpaa2-eth: Make constant 64-bit long 2019-05-26 13:41:33 -07:00
dpaa2-ethtool.c dpaa2-eth: Fix potential spectre issue 2019-05-26 13:41:33 -07:00
dpaa2-ptp.c dpaa2-ptp: defer probe when portal allocation failed 2018-11-09 20:08:58 -08:00
dpaa2-ptp.h net: dpaa2: move DPAA2 PTP driver out of staging/ 2018-10-08 10:23:22 -07:00
dpkg.h
dpni-cmd.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.c dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dprtc-cmd.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.c net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00