sky2: enforce minimum ring size
authorstephen hemminger <shemminger@vyatta.com>
Thu, 17 Nov 2011 14:37:23 +0000 (14:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2011 02:43:57 +0000 (21:43 -0500)
The hardware has a restriction that the minimum ring size possible
is 128. The number of elements used is controlled by tx_pending and
the overall number of elements in the ring tx_ring_size, therefore it
is okay to limit the number of elements in use to a small value (63)
but still provide a bigger ring.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found