commit | 4f1d97262d58e0f493d03de4938bce736ac3cf3d | [log] [tgz] |
---|---|---|
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | Fri May 15 22:41:03 2020 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri May 15 10:54:07 2020 -0700 |
tree | c8f4d4309e0cf0828a0502e0f491789bd129ebcb | |
parent | 3430223d393dd23734cc87177d704449cfc294a8 [diff] |
cxgb4: improve credits recovery in TC-MQPRIO Tx path Request credit update for every half credits consumed, including the current request. Also, avoid re-trying to post packets when there are no credits left. The credit update reply via interrupt will eventually restore the credits and will invoke the Tx path again. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>