linux/drivers/net/ethernet/cavium/thunder
Sunil Goutham 32c1b965f4 net: thunderx: Fix RQ_DROP miscalculation
With earlier configured value sufficient number of CQEs are not
being reserved for transmitted packets. Hence under heavy incoming
traffic load, receive notifications will take away most of the CQ
thus transmit notifications will be lost resulting in tx skbs not
being freed.

Finally SQ will be full and it will be stopped, watchdog timer
will kick in. After this fix receive notifications will not take
morethan half of CQ reserving the rest for transmit notifications.

Also changed CQ & SQ sizes from 16k to 4k.
This is also due to the receive notifications taking first half of
CQ under heavy load and time taken by NAPI to clear transmit notifications
will increase with higher queue sizes. Again results in SQ being stopped.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-29 23:52:31 -07:00
..
Makefile
nic_main.c net: thunderx: rework mac address handling 2015-06-02 12:49:29 -07:00
nic_reg.h
nic.h net: Cavium: Fix MAC address setting in shutdown state 2015-06-24 01:02:53 -07:00
nicvf_ethtool.c net: thunderx: fix nicvf_set_rxfh() 2015-06-02 12:49:31 -07:00
nicvf_main.c net: thunderx: Fix memory leak while tearing down interface 2015-07-29 23:52:30 -07:00
nicvf_queues.c net: thunderx: Fix memory leak while tearing down interface 2015-07-29 23:52:30 -07:00
nicvf_queues.h net: thunderx: Fix RQ_DROP miscalculation 2015-07-29 23:52:31 -07:00
q_struct.h
thunder_bgx.c net: thunderx: add static 2015-06-02 12:49:31 -07:00
thunder_bgx.h net: thunderx: rework mac address handling 2015-06-02 12:49:29 -07:00