Searched hist:b38c83dd08665a93e439c4ffd9eef31bc098a6ea (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bgmac.h | diff b38c83dd08665a93e439c4ffd9eef31bc098a6ea Tue Apr 14 05:07:54 CDT 2015 Felix Fietkau <nbd@openwrt.org> 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>
|
H A D | bgmac.c | diff b38c83dd08665a93e439c4ffd9eef31bc098a6ea Tue Apr 14 05:07:54 CDT 2015 Felix Fietkau <nbd@openwrt.org> 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>
|