]> 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)
commitdb43b30cd89c2549216b9e4ef27c5d2f9dcb964d
treed14441bfd97ff0c1f9049dd0a7fe524524e9347f
parentc8729cac2a11e4bc170f5d0041d5561bb7fe82a0
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