Home
last modified time | relevance | path

Searched hist:"438 b43bdb95d3189e0098919f321c014ed71f410" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.cdiff 438b43bdb95d3189e0098919f321c014ed71f410 Thu Aug 01 18:07:31 CDT 2019 Catherine Sullivan <csully@google.com> 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>
H A Dgve.hdiff 438b43bdb95d3189e0098919f321c014ed71f410 Thu Aug 01 18:07:31 CDT 2019 Catherine Sullivan <csully@google.com> 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>
H A Dgve_rx.cdiff 438b43bdb95d3189e0098919f321c014ed71f410 Thu Aug 01 18:07:31 CDT 2019 Catherine Sullivan <csully@google.com> 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>