OSDN Git Service

net: thunderx: Set CQ timer threshold properly
authorSunil Goutham <sgoutham@cavium.com>
Wed, 2 Dec 2015 10:06:15 +0000 (15:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2015 20:58:50 +0000 (15:58 -0500)
commit006394a7cb20559418c602b8433ec1839b6fc1d3
treedae6b236b332e451292db8a544d6dfe69f69e2b2
parenta7b1f535a8d45816cfe25c0fd900fc726ba5acce
net: thunderx: Set CQ timer threshold properly

Properly set CQ timer threshold and also set it to 2us.
With previous incorrect settings it was set to 0.5us which is too less.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_queues.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.h