diff options
| author | Edwin Peer <edwin.peer@broadcom.com> | 2021-08-29 03:34:56 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-08-30 09:35:04 +0100 |
| commit | 6c172d59ad79d3973e393ba49d819ed6f0417202 (patch) | |
| tree | 3e3a2950609694573c4adaa5a93c6bbfdc942f2b /lib/mpi/mpi-sub-ui.c | |
| parent | eaf2aaec0be4623b1d19f5c6ef770a78a91cf460 (diff) | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
