1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/qlogic
Manish Chopra b9fc828deb qede: Fix barrier usage after tx doorbell write.
Since commit c5ad119fb6
("net: sched: pfifo_fast use skb_array") driver is exposed
to an issue where it is hitting NULL skbs while handling TX
completions. Driver uses mmiowb() to flush the writes to the
doorbell bar which is a write-combined bar, however on x86
mmiowb() does not flush the write combined buffer.

This patch fixes this problem by replacing mmiowb() with wmb()
after the write combined doorbell write so that writes are
flushed and synchronized from more than one processor.

V1->V2:
-------
This patch was marked as "superseded" in patchwork.
(Not really sure for what reason).Resending it as v2.

Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Manish Chopra <manish.chopra@cavium.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-27 13:11:46 -04:00
..
netxen netxen: remove timespec usage 2017-11-30 09:26:31 -05:00
qed qed: Fix non TCP packets should be dropped on iWARP ll2 connection 2018-03-16 12:13:50 -04:00
qede qede: Fix barrier usage after tx doorbell write. 2018-03-27 13:11:46 -04:00
qlcnic qlcnic: fix deadlock bug 2018-01-29 17:59:00 -05:00
qlge net: qlge: use memmove instead of skb_copy_to_linear_data 2018-02-02 19:44:34 -05:00
Kconfig qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla3xxx.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
qla3xxx.h