]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Ring free response from close path should use completion ring
authorPrashant Sreedharan <prashant@broadcom.com>
Thu, 28 Jan 2016 08:11:20 +0000 (03:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jan 2016 01:28:39 +0000 (17:28 -0800)
commit30c2913ae17781a5a17d7c20815a87b2ab2a7c40
tree5be7383376927f7afa073d57bf7bd5bd5883ebd0
parent34e9b1a0befbff52e41157abeeaeacaf87bcc273
bnxt_en: Ring free response from close path should use completion ring

Use completion ring for ring free response from firmware.  The response
will be the last entry in the ring and we can free the ring after getting
the response.  This will guarantee no spurious DMA to freed memory.

Signed-off-by: Prashant Sreedharan <prashant@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c