diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2016-02-05 14:52:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-11 06:14:51 -0500 |
commit | 93c595f7b8c5fe98bd78bab5270a49c40a69f221 (patch) | |
tree | 52f52fa5faa7d1d99c6a2501e52d8c29c01ced18 /tools/perf/scripts/python/syscall-counts.py | |
parent | 095098e194d1357a509c1d8e9a421bf825dddd2a (diff) |
net: fec: fix fec_enet_get_free_txdesc_num
When first initialized, cur_tx points to the 1st
entry in the queue, and dirty_tx points to the last.
At this point, fec_enet_get_free_txdesc_num will
return tx_ring_size -2. If tx_ring_size -2 entries
are now queued, then fec_enet_get_free_txdesc_num
should return 0, but it returns tx_ring_size instead.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions