summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium/common/cavium_ptp.c
diff options
context:
space:
mode:
authorThomas Falcon2019-08-14 21:57:05 +0200
committerDavid S. Miller2019-08-18 22:57:31 +0200
commit80f0fe0934cd3daa13a5e4d48a103f469115b160 (patch)
tree7343622fab312f52ddec6e0522618afcf73bf764 /drivers/net/ethernet/cavium/common/cavium_ptp.c
parentMerge branch 'bnxt_en-Bug-fixes' (diff)
downloadkernel-qcow2-linux-80f0fe0934cd3daa13a5e4d48a103f469115b160.tar.gz
kernel-qcow2-linux-80f0fe0934cd3daa13a5e4d48a103f469115b160.tar.xz
kernel-qcow2-linux-80f0fe0934cd3daa13a5e4d48a103f469115b160.zip
ibmvnic: Unmap DMA address of TX descriptor buffers after use
There's no need to wait until a completion is received to unmap TX descriptor buffers that have been passed to the hypervisor. Instead unmap it when the hypervisor call has completed. This patch avoids the possibility that a buffer will not be unmapped because a TX completion is lost or mishandled. Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Tested-by: Devesh K. Singh <devesh_singh@in.ibm.com> Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/common/cavium_ptp.c')
0 files changed, 0 insertions, 0 deletions