From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f175.google.com ([209.85.128.175]:42404 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753184AbeCQMr6 (ORCPT ); Sat, 17 Mar 2018 08:47:58 -0400 Received: by mail-wr0-f175.google.com with SMTP id s18so14093320wrg.9 for ; Sat, 17 Mar 2018 05:47:58 -0700 (PDT) Date: Sat, 17 Mar 2018 13:47:55 +0100 From: Jiri Pirko To: "Wei Hu (Xavier)" Cc: netdev@vger.kernel.org, David Miller , linyunsheng , "lipeng (Y)" , "00434615 >> shenjian 00434615" , "liangfuyun (A)" , "Chenxin (Charles)" Subject: Re: Ask for help about flow classifier tool Message-ID: <20180317124755.GA2135@nanopsycho.orion> References: <5AACE42B.3090607@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5AACE42B.3090607@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: Sat, Mar 17, 2018 at 10:47:23AM CET, xavier.huwei@huawei.com wrote: >Hi, David > > The TC Flower Classifier allows control of packets based on flows >determined by matching of well-known packet fields and metadata. > Offload of the TC Flower classifier and related modules provides a >powerful mechanism to both increase throughput and reduce CPU >utilisation for users of such flow-based systems. > > The command "ethtool -N" can provide similar function. Afaik ethtool settings is very limited to rx queue steering. If you want more actions, like vlan modification, tunnels, forward, etc, you should use tc-flower > > Now, hip08 SOC has flow classifier hardware offload capacity, which >tools we should support in HNS kernel driver? > Can you give some suggestion? > > Regards >Wei Hu >