net/bnx2x: fix reset of scan FP flag
authorRasesh Mody <rmody@marvell.com>
Sun, 26 Jan 2020 22:54:18 +0000 (14:54 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commitd836d5efb93505ad86f72c0fcfb0f650858b96ac
treeb3acfb9b5193ddfbcd0b3904268fd4ab8d7b680c
parent8d7c19d9e46957b045690d1530ba0a7be5c5dc03
net/bnx2x: fix reset of scan FP flag

The fastpath task queue handler resets the fastpath scan flag
unconditionally, this patch changes that to reset the flag
only if it was set.

Fixes: 08a6e472c3d7 ("net/bnx2x: fix packet drop")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/bnx2x/bnx2x.c