mbox series

[net-next,0/7] Support of Flow Director in HNS3 Ethernet Driver for HiP08 Rev2 SoC

Message ID 20181001114647.15504-1-salil.mehta@huawei.com
Headers show
Series Support of Flow Director in HNS3 Ethernet Driver for HiP08 Rev2 SoC | expand

Message

Salil Mehta Oct. 1, 2018, 11:46 a.m. UTC
This patch-set adds the support of FD(Flow Director) in the HNS3 PF driver
for HiP08 Rev2(0x21) SoC of Hisilicon. FD can be used in filtering the flows
and deciding to drop the flow or forward it to paricular queue.

Configuration consists of rules with input keys and actions. The rules are
stored in TCAM.

Jian Shen (7):
  net: hns3: Add flow director initialization
  net: hns3: Add input key and action config support for flow director
  net: hns3: Add support for rule add/delete for flow director
  net: hns3: Add support for rule query of flow director
  net: hns3: Add reset handle for flow director
  net: hns3: Remove all flow director rules when unload hns3 driver
  net: hns3: Add support for enable/disable flow director

 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |   19 +
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |   55 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |    5 +
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |   39 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |   77 ++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 1303 ++++++++++++++++++++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |  232 ++++
 7 files changed, 1721 insertions(+), 9 deletions(-)

-- 
2.7.4