numam-dpdk/drivers
Qi Zhang 9f5d2352fe net/ixgbe: fix Tx threshold setup
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: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
2019-05-21 18:40:06 +02:00
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus bus/fslmc: fix warning with GCC 9 2019-05-02 14:17:26 +02:00
common doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
compress compress/qat: fix dataplane return 2019-04-18 16:01:28 +02:00
crypto crypto/zuc: fix dependency check 2019-05-02 10:34:05 +02:00
event event/dsw: ignore scheduling type for single-link queues 2019-05-13 16:19:05 +02:00
mempool build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
net net/ixgbe: fix Tx threshold setup 2019-05-21 18:40:06 +02:00
raw doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00