From: NĂ©lio Laranjeiro Date: Tue, 11 Apr 2017 15:21:52 +0000 (+0200) Subject: net/mlx5: panic when destroying a queue in use X-Git-Tag: spdx-start~3532 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3b57c21ef9d0c434968798338292d14ab61290d4;hp=3b57c21ef9d0c434968798338292d14ab61290d4;p=dpdk.git net/mlx5: panic when destroying a queue in use Since the queue release API does not allow failures (return value is void) and the flow API does not allow a queue to be released as long as a flow rule depends on it, the only rational decision to avoid undefined behavior is to panic in this situation. Signed-off-by: Nelio Laranjeiro Acked-by: Adrien Mazarguil ---