eal: add macro to swap two variables
authorShijith Thotton <sthotton@marvell.com>
Wed, 28 Jul 2021 15:21:42 +0000 (20:51 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 16:33:45 +0000 (18:33 +0200)
commita0a388a897167f0efaf1657d9cdc32b14bd83604
tree2a2749432c8f1c4a4038058d5283a45148cf8a6d
parent6ded44bce4d3e5f4fce66f00ce0638ebc866911f
eal: add macro to swap two variables

Add a macro to swap two variables
and updat common autotest for the same.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test/test_common.c
lib/eal/include/rte_common.h