commit | 438b43bdb95d3189e0098919f321c014ed71f410 | [log] [tgz] |
---|---|---|
author | Catherine Sullivan <csully@google.com> | Thu Aug 01 16:07:31 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 05 13:18:53 2019 -0700 |
tree | 078c6c0e2af1aab70dbe603dac2815355917a3cb | |
parent | cff6a327d78b05c98e0d1c4be77225ea2c0bfe8e [diff] |
gve: Fix case where desc_cnt and data_cnt can get out of sync desc_cnt and data_cnt should always be equal. In the case of a dropped packet desc_cnt was still getting updated (correctly), data_cnt was not. To eliminate this bug and prevent it from recurring this patch combines them into one ring level cnt. Signed-off-by: Catherine Sullivan <csully@google.com> Reviewed-by: Sagi Shahar <sagis@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>