summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bcm63xx_enet.c
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-08-29 10:34:56 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-30 11:35:04 +0300
commit6c172d59ad79d3973e393ba49d819ed6f0417202 (patch)
tree3e3a2950609694573c4adaa5a93c6bbfdc942f2b /drivers/net/ethernet/broadcom/bcm63xx_enet.c
parenteaf2aaec0be4623b1d19f5c6ef770a78a91cf460 (diff)
downloadlinux-6c172d59ad79d3973e393ba49d819ed6f0417202.tar.xz
bnxt_en: remove DMA mapping for KONG response
The additional response buffer serves no useful purpose. There can be only one firmware command in flight due to the hwrm_cmd_lock mutex, which is taken for the entire duration of any command completion, KONG or otherwise. It is thus safe to share a single DMA buffer. Removing the code associated with the additional mapping will simplify matters in the next patch, which allocates response buffers from DMA pools on a per request basis. Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcm63xx_enet.c')
0 files changed, 0 insertions, 0 deletions