From mboxrd@z Thu Jan 1 00:00:00 1970 From: Salil Mehta Subject: [PATCH net-next 0/7] Support of Flow Director in HNS3 Ethernet Driver for HiP08 Rev2 SoC Date: Mon, 1 Oct 2018 12:46:40 +0100 Message-ID: <20181001114647.15504-1-salil.mehta@huawei.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , , , , To: Return-path: Received: from szxga05-in.huawei.com ([45.249.212.191]:13180 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729220AbeJASZp (ORCPT ); Mon, 1 Oct 2018 14:25:45 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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