cxgb4: Fix offset when clearing filter byte counters
authorGanji Aravind <ganji.aravind@chelsio.com>
Fri, 4 Sep 2020 10:28:18 +0000 (15:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Sep 2020 16:05:22 +0000 (18:05 +0200)
commit732a8eb73c5118078d70af0bfeb9536873ccb9b8
tree1f5e157caea4a4792b84fb8fbe208d640f3efdf8
parenta01b4105d2f00aaeb0425d420d0794cde7c80c4c
cxgb4: Fix offset when clearing filter byte counters

[ Upstream commit 94cc242a067a869c29800aa789d38b7676136e50 ]

Pass the correct offset to clear the stale filter hit
bytes counter. Otherwise, the counter starts incrementing
from the stale information, instead of 0.

Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters")
Signed-off-by: Ganji Aravind <ganji.aravind@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c