]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: add ethtool n-tuple filter deletion
authorVishal Kulkarni <vishal@chelsio.com>
Fri, 19 Jun 2020 14:21:37 +0000 (19:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 20:17:31 +0000 (13:17 -0700)
commit42d720081612fa0faadf369498a8d0b4c82b9ca8
treed14441bfd97ff0c1f9049dd0a7fe524524e9347f
parent934cf59d83a38c259510fb75eff86eb3ee7fce46
cxgb4: add ethtool n-tuple filter deletion

Add support to delete ethtool n-tuple filter. Fetch the appropriate
filter region (HPFILTER, HASH, NORMAL) in which the filter exists,
and delete it from the respective region, accordingly.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h