mbox series

[net-next,0/2,v2] netsec driver improvements

Message ID 1533881559-18589-1-git-send-email-ilias.apalodimas@linaro.org
Headers show
Series netsec driver improvements | expand

Message

Ilias Apalodimas Aug. 10, 2018, 6:12 a.m. UTC
This patchset introduces some improvements on socionext netsec driver. 
 - patch 1/2, avoids unneeded MMIO reads on the Rx path 
 - patch 2/2, is adjusting the numbers of descriptors used

Changes since v1:
 - Move dma_rmb() to protect descriptor accesses until the device 
 has updated the NETSEC_RX_PKT_OWN_FIELD bit

Ilias Apalodimas (2):
  net: socionext: Use descriptor info instead of MMIO reads on Rx
  net: socionext: Increase descriptors to 256

 drivers/net/ethernet/socionext/netsec.c | 30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)

-- 
2.7.4

Comments

David Miller Aug. 11, 2018, 7:11 p.m. UTC | #1
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>

Date: Fri, 10 Aug 2018 09:12:37 +0300

> This patchset introduces some improvements on socionext netsec driver. 

>  - patch 1/2, avoids unneeded MMIO reads on the Rx path 

>  - patch 2/2, is adjusting the numbers of descriptors used

> 

> Changes since v1:

>  - Move dma_rmb() to protect descriptor accesses until the device 

>  has updated the NETSEC_RX_PKT_OWN_FIELD bit


Series applied.