net/cxgbe: improve Rx congestion control
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 11 Sep 2020 23:52:09 +0000 (05:22 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:12 +0000 (18:55 +0200)
commite30e5407fd608b9d6d3925e8081638fd21cdd77a
treebef71dc0971f2c79fcd3aabc09352ed6fc33556e
parent7b3d52989a1af69831fdc739f4c4e9566b3b6cbc
net/cxgbe: improve Rx congestion control

Chelsio T6 NIC can support up to 8 priority channels to manage
congestion. So, increase to 8 congestion channels for T6. Also,
add Rxq state to avoid unnecessarily ringing doorbell and polling
the hardware for more traffic when the Rxq is stopped.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/base/common.h
drivers/net/cxgbe/base/t4_hw.c
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/sge.c