linux_dsm_epyc7002/drivers/net/ethernet/cavium/thunder
Sunil Goutham 5836b44297 net: thunderx: Support for page recycling
Adds support for page recycling for allocating receive buffers
to reduce cost of refilling RBDR ring. Also got rid of using
compound pages when pagesize is 4K, only order-0 pages now.

Only page is recycled, DMA mappings still needs to be done for
every receive buffer allocated due to following constraints
- Cannot have just one receive buffer per 64KB page.
- There is just one buffer ring shared across 8 Rx queues, so
  buffers of same page can go to any Rx queue.
- HW gives buffer address where packet has been DMA'ed and not
  the index into buffer ring.
This makes it not possible to resue DMA mapping info. So unfortunately
have to go through costly mapping route for every buffer.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-02 15:41:20 -04:00
..
Makefile net: thunderx: Add RGMII interface type support 2016-08-13 11:59:31 -07:00
nic_main.c net: thunderx: Switch to pci_alloc_irq_vectors 2017-04-11 11:16:03 -04:00
nic_reg.h net: thunderx: Program LMAC credits based on MTU 2016-11-16 13:28:33 -05:00
nic.h net: thunderx: Support for page recycling 2017-05-02 15:41:20 -04:00
nicvf_ethtool.c net: thunderx: Support for page recycling 2017-05-02 15:41:20 -04:00
nicvf_main.c net: thunderx: Switch to pci_alloc_irq_vectors 2017-04-11 11:16:03 -04:00
nicvf_queues.c net: thunderx: Support for page recycling 2017-05-02 15:41:20 -04:00
nicvf_queues.h net: thunderx: Support for page recycling 2017-05-02 15:41:20 -04:00
q_struct.h net: thunderx: Configure RED and backpressure levels 2016-11-25 20:21:17 -05:00
thunder_bgx.c net: thunderx: Fix set_max_bgx_per_node for 81xx rgx 2017-04-17 13:03:48 -04:00
thunder_bgx.h net: thunderx: Fix set_max_bgx_per_node for 81xx rgx 2017-04-17 13:03:48 -04:00
thunder_xcv.c net: thunderx: avoid dereferencing xcv when NULL 2017-01-31 13:07:40 -05:00