android_kernel_oneplus_msm8998/drivers/net/ethernet/broadcom
Sudarsana Reddy Kalluru 61d221fce2 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
[ Upstream commit 77e461d14ed141253573eeeb4d34eccc51e38328 ]

Driver assigns DMAE channel 0 for FW as part of START_RAMROD command. FW
uses this channel for DMAE operations (e.g., TIME_SYNC implementation).
Driver also uses the same channel 0 for DMAE operations for some of the PFs
(e.g., PF0 on Port0). This could lead to concurrent access to the DMAE
channel by FW and driver which is not legal. Hence need to assign unique
DMAE id for FW.
Currently following DMAE channels are used by the clients,
  MFW - OCBB/OCSD functionality uses DMAE channel 14/15
  Driver 0-3 and 8-11 (for PF dmae operations)
         4 and 12 (for stats requests)
Assigning unique dmae_id '13' to the FW.

Changes from previous version:
------------------------------
v2: Incorporated the review comments.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-13 09:21:34 +01:00
..
bnx2x bnx2x: Assign unique DMAE channel number for FW DMAE transactions. 2018-12-13 09:21:34 +01:00
bnxt bnxt_en: Fix TX timeout during netpoll. 2018-10-20 09:52:35 +02:00
genet net: bcmgenet: fix OF child-node lookup 2018-12-01 09:46:36 +01:00
b44.c
b44.h
bcm63xx_enet.c bcm63xx_enet: do not write to random DMA channel on BCM6345 2018-07-22 14:25:52 +02:00
bcm63xx_enet.h
bcmsysport.c net: systemport: Fix wake-up interrupt race during resume 2018-10-20 09:52:37 +02:00
bcmsysport.h net: systemport: Rewrite __bcm_sysport_tx_reclaim() 2018-03-31 18:12:34 +02:00
bgmac.c net: bgmac: Fix endian access in bgmac_dma_tx_ring_free() 2018-05-30 07:49:09 +02:00
bgmac.h
bnx2.c
bnx2.h
bnx2_fw.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
Kconfig
Makefile
sb1250-mac.c
tg3.c tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths 2018-11-27 16:07:57 +01:00
tg3.h tg3: Add workaround to restrict 5762 MRRS to 2048 2018-03-03 10:19:42 +01:00