fb69492c04
Tx desc's DD status is not cleaned by NIC automatically after packets
have been transmitted until software refill a new packet during next
loop. So when tx_free_thresh + tx_rs_thresh > nb_desc, it is possible
that an outdated DD status be checked as tx_next_dd, then segment fault
happen due to free a NULL mbuf pointer.
Then patch fixes this issue by
1. try to adapt tx_rs_thresh to an aggressive tx_free_thresh.
2. queue setup fail when tx_free_thresh + tx_rs_thresh > nb_desc
Fixes:
|
||
---|---|---|
.. | ||
base | ||
ice_ethdev.c | ||
ice_ethdev.h | ||
ice_logs.h | ||
ice_rxtx_vec_avx2.c | ||
ice_rxtx_vec_common.h | ||
ice_rxtx_vec_sse.c | ||
ice_rxtx.c | ||
ice_rxtx.h | ||
Makefile | ||
meson.build | ||
rte_pmd_ice_version.map |