From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by mail.toke.dk (Postfix) with ESMTPS id F3DC79B14EC for ; Tue, 1 Nov 2022 14:43:53 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ixY/FAba Received: by mail-io1-xd30.google.com with SMTP id h206so8827302iof.10 for ; Tue, 01 Nov 2022 06:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OwHpbqKXJXUNg7FcCWBKaOWmya1OZFg3e8MV54SFrLw=; b=ixY/FAbapVim8KfwUPoI5hLK17fbz7x4cUOk2Ccbirl/RfSIizOsTnfj//YinOr0Px 6oF4pBGFC/0mJm9oNyDipSOWIBwGaOySTtksW9QifttPT5hU1Ke6+Z2IWFg6uhqVtu84 8VgT422XTYqlAT1Eg7qnW8YRT3mLB+MGIy7WUl6GBU5J1xc0XXWIjdv3/X0mFj9pGLDD yKFuV3VlFS4vGLMSB4IvOkXQHRVnHgxbf724wiRvE7HUco2c0ZO6sGBIaDJX0OwRXiNc gTy+rZkHODck40+TGv5SGUgBYF4ceiCfb/GyBm2cnXNimFGi0wM7zxMtGANnu7VoGcBi Rb9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OwHpbqKXJXUNg7FcCWBKaOWmya1OZFg3e8MV54SFrLw=; b=S0ucwwcsjUkWmRy8YN3g0cxPI+xUjgN5dho8ckpHmsU1OWSvn6TuM2VeV4Tai9ACd5 OZIJe7TlnYiAGtek5bIyvrwV5oRUksgh9xSuEVQAfmbgWte7ALO/YZPHyX7Bmc+yf0fC tDeZ8sa3KQWln7wHG5NgBD7g5lDywMF16QAT+mZxZrMBtTXwmL0Z8qcMMZ4RvuNm8EB0 uJByNUpgMbbgUNYnIYAf6Q66ZSLOMLAd3eZwSG1VDySg/WALdDljPhpHY5FCsnyeZwE3 qhUSFM/HWUPdMYW9n5n3j19PJiJgTyLdku271KseO8xePdf0/jI/Zs1+yZna7GKq8CPr BPQQ== X-Gm-Message-State: ACrzQf2RLUBVnsYvoyBzbSqkcQ65QLCu4QeSgjce1RGtPR/osjwHecW0 R+X0Co5kYRVaoe4nogeAlEM= X-Google-Smtp-Source: AMsMyM7sOwxse8L8UWYCYPWWmDIGwKPHK6PeE93zvusl8sWtFl5MfjbfXk/dK1O+eVk7guEbG1mE+w== X-Received: by 2002:a02:c994:0:b0:374:d09e:b599 with SMTP id b20-20020a02c994000000b00374d09eb599mr11671721jap.112.1667310232289; Tue, 01 Nov 2022 06:43:52 -0700 (PDT) Received: from ?IPV6:2601:282:800:dc80:80e9:946e:f275:d401? ([2601:282:800:dc80:80e9:946e:f275:d401]) by smtp.googlemail.com with ESMTPSA id m5-20020a056638260500b003755c84f596sm2216240jat.9.2022.11.01.06.43.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 06:43:50 -0700 (PDT) Message-ID: <3caaaf96-58cf-9bf5-dcfe-2f6522f4da02@gmail.com> Date: Tue, 1 Nov 2022 07:43:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Stanislav Fomichev , Martin KaFai Lau References: <20221027200019.4106375-1-sdf@google.com> <635bfc1a7c351_256e2082f@john.notmuch> <20221028110457.0ba53d8b@kernel.org> <635c62c12652d_b1ba208d0@john.notmuch> <20221028181431.05173968@kernel.org> <5aeda7f6bb26b20cb74ef21ae9c28ac91d57fae6.camel@siemens.com> <875yg057x1.fsf@toke.dk> <77b115a0-bbba-48eb-89bd-3078b5fb7eeb@linux.dev> <87wn8e4z14.fsf@toke.dk> From: David Ahern In-Reply-To: <87wn8e4z14.fsf@toke.dk> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID-Hash: NLAQCSX4UO76M4WJHBHRDFSPG5N26IAT X-Message-ID-Hash: NLAQCSX4UO76M4WJHBHRDFSPG5N26IAT X-MailFrom: dsahern@gmail.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: "Bezdeka, Florian" , "kuba@kernel.org" , "john.fastabend@gmail.com" , "alexandr.lobakin@intel.com" , "anatoly.burakov@intel.com" , "song@kernel.org" , "Deric, Nemanja" , "andrii@kernel.org" , "Kiszka, Jan" , "magnus.karlsson@gmail.com" , "willemb@google.com" , "ast@kernel.org" , "brouer@redhat.com" , "yhs@fb.com" , "kpsingh@kernel.org" , "daniel@iogearbox.net" , "bpf@vger.kernel.org" , "mtahhan@redhat.com" , "xdp-hints@xdp-project.net" , "netdev@vger.kernel.org" , "jolsa@kernel.org" , "haoluo@google.com" X-Mailman-Version: 3.3.5 Precedence: list Subject: [xdp-hints] Re: [RFC bpf-next 0/5] xdp: hints via kfuncs List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gMTEvMS8yMiA2OjUyIEFNLCBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4gd3JvdGU6DQo+IFN0 YW5pc2xhdiBGb21pY2hldiA8c2RmQGdvb2dsZS5jb20+IHdyaXRlczoNCj4gDQo+PiBPbiBNb24s IE9jdCAzMSw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