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 4971D985516 for ; Mon, 4 Jul 2022 20:26:22 +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=SpXnrugU DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656959181; 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=PnHE1Fmm3dD20/PWMICE8P40a11Tvt3NNjhIvetHMKs=; b=SpXnrugU9xWGhK52MqCC/x12DjL8L8oL8WOBR6wQOqN38b5esrPiftNQ8qbP8M+rfZO/Dq 08xnwwOTzfGgeVy+pvwOkiyIwoT/1EUJCiRB2ETUHfUBfqPHP4FGGZYk5JsKf2DMVZEoeE BJ+pYLkir/EGV29eCgUGAcN/WccHvQM= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-214-Km7ZqvGHPZmbz5B-rVWm3Q-1; Mon, 04 Jul 2022 14:26:19 -0400 X-MC-Unique: Km7ZqvGHPZmbz5B-rVWm3Q-1 Received: by mail-lj1-f199.google.com with SMTP id c12-20020a2ebf0c000000b00258e5e6e125so2914113ljr.17 for ; Mon, 04 Jul 2022 11:26:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:date:mime-version:user-agent:cc :subject:content-language:to:references:in-reply-to :content-transfer-encoding; bh=PnHE1Fmm3dD20/PWMICE8P40a11Tvt3NNjhIvetHMKs=; b=QrSQVmS/rFa2O6KQr1Ewp+ZCbrvYUu5S3jUh8FAE0noTpPRY3QDxSdT1sH4Ga0dbXi 1frzJo0lBoSingC/b3ojG+JwLaZ3V9PuBuYnf9eM7NX9aI1F6KItkrF3T3cwQBwqDcCa bf4hDos9eeF7rst035PtCyTMKBNCQq+NpEEG5dMWGqNq401mxYia7gP4xUZAkpoIaGAA vw9XzLpXl5rCIvP2en8Cl9m8f+ZXfsap6tfcRPwePHvU5I7ELzfeWbT0QEpmsooScJZ+ sd3P3CXlw9ebjYTKxgDCamGqTeUpfPEc+PpEZGVkRfu1e7v5nbhm3x6pXObIukAsOxNs tW9Q== X-Gm-Message-State: AJIora9gMTsCDzVnE4akLdaJ+Gwo27n1QwPU5yU05e/RA3BPcl6E1CfI cmvLSp7y0OyZaaw3HUXJPie8jN438Y6ppYzhNcQvfWHcHviEOmFOqSVVXA3WtgNUw0ztRkBrnBZ lMIH9bB85pl7WuIg1Gx9U X-Received: by 2002:a2e:bf27:0:b0:246:7ed6:33b0 with SMTP id c39-20020a2ebf27000000b002467ed633b0mr18205733ljr.167.1656959178036; Mon, 04 Jul 2022 11:26:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tAcT1V6ZC9TJlTz3gqpYB/0gVILKOCboMNrd6sk9hCWdcja7d6UyTIl9BqZhEQjLo/O2JEbA== X-Received: by 2002:a2e:bf27:0:b0:246:7ed6:33b0 with SMTP id c39-20020a2ebf27000000b002467ed633b0mr18205718ljr.167.1656959177737; Mon, 04 Jul 2022 11:26:17 -0700 (PDT) Received: from [192.168.0.50] (87-59-106-155-cable.dk.customer.tdc.net. [87.59.106.155]) by smtp.gmail.com with ESMTPSA id c2-20020ac25f62000000b00478f3fe716asm5248002lfc.200.2022.07.04.11.26.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Jul 2022 11:26:16 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Mon, 4 Jul 2022 20:26:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: "Zaremba, Larysa" , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Jesper Dangaard Brouer , "bpf@vger.kernel.org" , Andrii Nakryiko , Netdev References: In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jbrouer@redhat.com 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: NIA3J63W2XY6PB56LCUDCTMLUBSI5VXU X-Message-ID-Hash: NIA3J63W2XY6PB56LCUDCTMLUBSI5VXU 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, "xdp-hints@xdp-project.net" , "Lobakin, Alexandr" X-Mailman-Version: 3.3.5 Precedence: list Subject: [xdp-hints] Re: [PATCH RFC bpf-next 5/9] xdp: controlling XDP-hints from BPF-prog via helper List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQoNCk9uIDA0LzA3LzIwMjIgMTMuMDAsIFphcmVtYmEsIExhcnlzYSB3cm90ZToNCj4gVG9rZSBI w7hpbGFuZC1Kw7hyZ2Vuc2VuIDx0b2tlQHJlZGhhdC5jb20+IHdyaXRlczoNCj4+DQo+PiBKZXNw ZXIgRGFuZ2FhcmQgQnJvdWVyIDxqYnJvdWVyQHJlZGhhdC5jb20+IHdyaXRlczoNCj4+DQo+Pj4g T24gMjkvMDYvMjAyMiAxNi4yMCwgVG9rZSBIw7hp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