Messages in this thread | | | Date | Tue, 24 Oct 2017 18:34:48 +0900 (KST) | Subject | Re: [PATCH net 2/3] net: mvpp2: do not unmap TSO headers buffers | From | David Miller <> |
| |
From: Antoine Tenart <antoine.tenart@free-electrons.com> Date: Mon, 23 Oct 2017 15:24:30 +0200
> The TSO header buffers are coming from a per cpu pool and should not > be unmapped as they are reused. The PPv2 driver was unmapping all > descriptors buffers unconditionally. This patch fixes this by checking > the buffers dma addresses before unmapping them, and by not unmapping > those who are located in the TSO header pool. > > Fixes: 186cd4d4e414 ("net: mvpp2: software tso support") > Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Applied.
| |