Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/txgbe: fix queue statistics mapping
[ upstream commit f694671 ] Since boolean value is in 0 and 1, it's strange to combines a boolean value with a bit operator. Thus it's highly possible a typo error with "if (A & !B)", and more probably to use "if (A & ~B)" instead. Fixes: c1d4e9d ("net/txgbe: add queue stats mapping") Signed-off-by: Weiguo Li <liwg06@foxmail.com> Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
- Loading branch information