diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-02-11 04:15:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-02-11 04:15:51 +0000 |
commit | df3f3076da1ae706f56bb7bec444a3fc19165807 (patch) | |
tree | 32d6db2a85bfd7e80cb7e2438bb89d11fc4b3bdd /sys/compat | |
parent | 2a013bfc0b8117f07d96c98c4645e5dc5ea77256 (diff) |
Eliminate sc_tx_cnt. Instead use an unsigned integer for sc_tx_prod and
sc_tx_cont and let them wrap around. Make sure we don't fill the last
descriptor on the ring such that we don't confuse a completely filled ring
with a completely empty one. Also make sure we don't post the same
descriptors twice.
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions