From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mail.toke.dk (Postfix) with ESMTPS id CE136A01D1B for ; Fri, 28 Apr 2023 12:13:55 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=h/E9rwa8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682676834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o0hfmSjrbmFcUA3spV8vN0sZHy4e8avPyPdESyqTTH0=; b=h/E9rwa8KNhsRTeWV6lM5eRrAENDkqgKaVhOvKNkXhCKreGDPq2orhPsezPJKrHtIDRx0u BaRs8zG7nYngTUw4VnRon1D/NTnuEPeznGnJwBwtVSfbwFhmm8iZq/xvzrunzcGxSS1N0K z61kK6dlgStzPM3mZvKe9ffvWcogcjs= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-576-HICjDu2WOaOmjawENKA5mA-1; Fri, 28 Apr 2023 06:13:52 -0400 X-MC-Unique: HICjDu2WOaOmjawENKA5mA-1 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-506b0a2d5c4so10945103a12.3 for ; Fri, 28 Apr 2023 03:13:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682676831; x=1685268831; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o0hfmSjrbmFcUA3spV8vN0sZHy4e8avPyPdESyqTTH0=; b=b5sUmKaAvwwydGZYZerqhcHqMOqiZbH08RKASCoLBuetCXzNfc9w7FR6CHhS1yCTw+ YeEjc2RnfilRZcEfMxYcqezQTyL+07q1HIb+QvG3/wRMbuB0/HBxt04OtvUtLnGc8eOc qoFNDXrc3TnLVHeyv9Jg3CFQ0w3ExgHrOzGhBWIepXFxJW1ZwKc8ALNV2zmKWqlW6RQq AIrnJIRuKHdT5vgtSU5ndOOaKYHAV86qcxkG6XmHmFIcoR/AqdXROwAZPame0NJqehC9 oB/GksVKzM6VXlxG5EMUpzDAYEXApQ12BV+49GmG6LzNOWVtebMhiUK35+MBGp+yKWEB p1DQ== X-Gm-Message-State: AC+VfDyfpcQqLUbpFDxau11v7pEe1b6AyAUmyhDg4ovtQqFtiNG+rlLl c8uBkDWQ/4V/xV1K3JN+Sx+fBnhbav5IkKIzsA6mdlG0MeUenZ10ARIXIk3CEIid94O/D17fz7T EgWt8X2VC0aYySDB2V+cd X-Received: by 2002:a05:6402:b22:b0:504:bde3:104 with SMTP id bo2-20020a0564020b2200b00504bde30104mr3726749edb.20.1682676831441; Fri, 28 Apr 2023 03:13:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7cveE8gzZX1Y02kVoAS/aujVy/7IMD6pXMByAMrrkr3Vm9T2UQrY1YT6T8mVbxkGw1R+cbQg== X-Received: by 2002:a05:6402:b22:b0:504:bde3:104 with SMTP id bo2-20020a0564020b2200b00504bde30104mr3726710edb.20.1682676831096; Fri, 28 Apr 2023 03:13:51 -0700 (PDT) Received: from [192.168.42.222] (194-45-78-10.static.kviknet.net. [194.45.78.10]) by smtp.gmail.com with ESMTPSA id a7-20020aa7d907000000b00506a09795e6sm8919954edr.26.2023.04.28.03.13.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Apr 2023 03:13:50 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Fri, 28 Apr 2023 12:13:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: Daniel Borkmann , Jesper Dangaard Brouer , davem@davemloft.net, bpf@vger.kernel.org References: <168182460362.616355.14591423386485175723.stgit@firesoul> <168182464270.616355.11391652654430626584.stgit@firesoul> <644544b3206f0_19af02085e@john.notmuch> <622a8fa6-ec07-c150-250b-5467b0cddb0c@redhat.com> <6446d5af80e06_338f220820@john.notmuch> <86517b44-b998-a4ac-da13-1f30d5f69975@iogearbox.net> In-Reply-To: <86517b44-b998-a4ac-da13-1f30d5f69975@iogearbox.net> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: A3Z46F3DDJTD3NPSOIWXDQRCB3OVTKFO X-Message-ID-Hash: A3Z46F3DDJTD3NPSOIWXDQRCB3OVTKFO X-MailFrom: jbrouer@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: brouer@redhat.com, netdev@vger.kernel.org, martin.lau@kernel.org, ast@kernel.org, alexandr.lobakin@intel.com, larysa.zaremba@intel.com, xdp-hints@xdp-project.net, John Fastabend , Tony Nguyen , yoong.siang.song@intel.com, intel-wired-lan@lists.osuosl.org, pabeni@redhat.com, jesse.brandeburg@intel.com, Stanislav Fomichev , kuba@kernel.org, edumazet@google.com, hawk@kernel.org, =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next V2 1/5] igc: enable and fix RX hash usage by netstack List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-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