"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "70bc916b2c80913753fb188d4daee50a64d21ba0"
bgmac: simplify tx ring index handling
Keep incrementing ring->start and ring->end instead of pointing it to the actual ring slot entry. This simplifies the calculation of the number of free slots. Signed-off-by:Felix Fietkau <nbd@openwrt.org> Acked-by:
Rafał Miłecki <zajec5@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment