From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by dpdk.org (Postfix) with ESMTP id 299724C9F for ; Tue, 11 Sep 2018 19:05:38 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id s13-v6so12536483pfi.7 for ; Tue, 11 Sep 2018 10:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1eY8E39F6D612bTorkoN7M+cu53f6ta7Jl+nm02Ps5o=; b=qpyfA3RTYKHdCNChKhovKhE0i89P2DxNIlugBNOVvYdYnsqdEVbuOwQlfEok4ptqTY 8wOfVHt6NLgHQepxv/d7m8/WVAMgbkJbEKek96/S3UDzHpctb2up+XtmHTLvqF337LRq +Td/TBn79y0Tq59cPo3hhQjr+Q5+5321Qy+hhd0CUCE30yUrJpW/oa/JWE+vj7Fzp0It 6z3PUcq+O3uBAUw8175y1hCwAC+bXpqnU2B+k2hZZfzVR9rdbHoxs7xr3noUdIKemD5I s+IfNALQBGK7eqwbk5whPBoyq0bBVvJOJF3EzMKo/crtWPLMneaK7I+KqEt+n68gOOLM 8oVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1eY8E39F6D612bTorkoN7M+cu53f6ta7Jl+nm02Ps5o=; b=XuukxBd0mn0mcRZOo/rTO2HNk/0wyMBcrO6oRnKESR5NpAcoE4KHoiVmg6HEkig9wP CexkWyuYXaGx0zwxzkIHW1+mLyMKW613Y5HCMiUvYYHju9Cw/h2qzCwgf+IrzxlstMBd 94ALGjukN02UumRORySDDvfdb4g6vnJ+3MUGVP3D7eKQv4eScZNpcxX4H9n3Ijwh+yGI tTnEPH2MRyUwLVkOaAAaSkQ9+HlZ7FIRya/qiAltNz+/hJDeeGsgiqYa6hSZgbvxiODf f0griw/XL404CQx5kfB2Gb3RkOMA9TcIATZgb132LCki8N5qXqIlq0f/ZR93W9WAkj5e TZ/w== X-Gm-Message-State: APzg51BekBZ1ykjUlEKcIiLdvQDVF0WXtU4zxPlQMvXemHEUlc9RTKzc WQeMS7WLFWPGPx3epMbLqeUZaw== X-Google-Smtp-Source: ANB0Vda4YQ2G2Pp1SnlogU7h+kh3lmaJbKiD7fB20VQWM8NHU98LyexxAAWP5ZC2SMF6CDzEHXJ27A== X-Received: by 2002:a63:5706:: with SMTP id l6-v6mr30173000pgb.118.1536685537375; Tue, 11 Sep 2018 10:05:37 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id n80-v6sm31156432pfb.95.2018.09.11.10.05.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Sep 2018 10:05:37 -0700 (PDT) Date: Tue, 11 Sep 2018 10:05:30 -0700 From: Stephen Hemminger To: Igor Russkikh Cc: dev@dpdk.org, pavel.belous@aquantia.com, Nadezhda.Krupnina@aquantia.com, Simon.Edelhaus@aquantia.com, Corey Melton , Ashish Kumar Message-ID: <20180911100530.6279606b@xeon-e3> In-Reply-To: <1536333719-32155-6-git-send-email-igor.russkikh@aquantia.com> References: <1536333719-32155-1-git-send-email-igor.russkikh@aquantia.com> <1536333719-32155-6-git-send-email-igor.russkikh@aquantia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 05/21] net/atlantic: b0 hardware layer main logic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 17:05:38 -0000 On Fri, 7 Sep 2018 18:21:43 +0300 Igor Russkikh wrote: > + > +#define pif_rpf_rss_ipv4_hdr_only_i (1 << 4) //calc hash only in IPv4 header, regardless of presence of TCP > +#define pif_rpf_rss_ipv4_tcp_hdr_only_i (1 << 3) //calc hash only if TCP header and IPv4 > +#define pif_rpf_rss_ipv6_hdr_only_i (1 << 2) //calc hash only in IPv6 header, regardless of presence of TCP > +#define pif_rpf_rss_ipv6_tcp_hdr_only_i (1 << 1) //calc hash only if TCP header and IPv4 > +#define pif_rpf_rss_dont_use_udp_i (1 << 0) //bug 5124 - rss hashing types - FIXME > + Please don't use C++ style comments