Cause backpressure (instead of dropping frames) on congestion.

MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2011-06-04 23:36:19 +00:00
parent 28cefe66ea
commit 9104663338
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222703

View File

@ -492,6 +492,8 @@ t4_attach(device_t dev)
V_RXTSHIFTMAXR2(15) | V_PERSHIFTBACKOFFMAX(8) | V_PERSHIFTMAX(8) |
V_KEEPALIVEMAXR1(4) | V_KEEPALIVEMAXR2(9));
t4_write_reg(sc, A_ULP_RX_TDDP_PSZ, V_HPZ0(PAGE_SHIFT - 12));
t4_set_reg_field(sc, A_TP_PARA_REG3, F_TUNNELCNGDROP0 |
F_TUNNELCNGDROP1 | F_TUNNELCNGDROP2 | F_TUNNELCNGDROP3, 0);
setup_memwin(sc);