cxgb4: add support to fetch ethtool n-tuple filters
authorVishal Kulkarni <vishal@chelsio.com>
Fri, 19 Jun 2020 14:21:38 +0000 (19:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 20:17:32 +0000 (13:17 -0700)
commit27ee29936443f966547c238a93fd1d9fa4e18c2e
tree59cece75dace840df4b661a24f477795890cc34f
parentdb43b30cd89c2549216b9e4ef27c5d2f9dcb964d
cxgb4: add support to fetch ethtool n-tuple filters

Add support to fetch the requested ethtool n-tuple filters by
translating them from hardware spec to ethtool n-tuple spec.

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