RE: [PATCH] net/mlx5: fix TxQ failure when inlining is impossible

2022-04-12 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dmitry Kozlyuk > Sent: Thursday, March 31, 2022 5:39 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Slava Ovsiienko ; Matan > Azrad > Subject: [PATCH] net/mlx5: fix TxQ failure when inlining is impossible > > When txq_inline_max

[PATCH] net/mlx5: fix TxQ failure when inlining is impossible

2022-03-31 Thread Dmitry Kozlyuk
When txq_inline_max is too large and an mbuf is multi-segment it may be impossible to inline data and build a valid WQE, because WQE length would be larger then HW can represent. It is impossible to detect misconfiguration at startup, because the condition depends on the mbuf composition. The check