From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.toke.dk (Postfix) with ESMTPS id 04A4B86CCBD for ; Tue, 3 Aug 2021 11:12:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10064"; a="235572463" X-IronPort-AV: E=Sophos;i="5.84,291,1620716400"; d="scan'208";a="235572463" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2021 02:12:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,291,1620716400"; d="scan'208";a="418980991" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga006.jf.intel.com with ESMTP; 03 Aug 2021 02:12:40 -0700 Received: from alobakin-mobl.ger.corp.intel.com (sputyrsk-MOBL2.ger.corp.intel.com [10.213.14.16]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 1739CdaN009138; Tue, 3 Aug 2021 10:12:39 +0100 From: Alexander Lobakin To: Ederson de Souza Subject: Re: [[RFC xdp-hints] 00/16] XDP hints and AF_XDP support Date: Tue, 3 Aug 2021 11:12:38 +0200 Message-Id: <20210803091238.102-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210803010331.39453-1-ederson.desouza@intel.com> References: <20210803010331.39453-1-ederson.desouza@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID-Hash: OSQL7Q3NFTO6YAO6LRUE2QIQKFPJ5TH3 X-Message-ID-Hash: OSQL7Q3NFTO6YAO6LRUE2QIQKFPJ5TH3 X-MailFrom: alexandr.lobakin@intel.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: Alexander Lobakin , xdp-hints@xdp-project.net, bpf@vger.kernel.org X-Mailman-Version: 3.3.4 Precedence: list List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: RnJvbTogRWRlcnNvbiBkZSBTb3V6YSA8ZWRlcnNvbi5kZXNvdXphQGludGVsLmNvbT4NCkRhdGU6 IE1vbiwgIDIgQXVnIDIwMjEgMTg6MDM6MTUgLTA3MDANCg0KPiBXaGlsZSB0aGVyZSdzIHNvbWUg d29yayBnb2luZyBvbiBkaWZmZXJlbnQgYXNwZWN0cyBvZiB0aGUgWERQIGhpbnRzLCBJJ2QgbGlr ZQ0KPiB0byBwcmVzZW50IGFuZCBhc2sgZm9yIGNvbW1lbnRzIG9uIHRoaXMgcGF0Y2ggc2VyaWVz Lg0KPiANCj4gWERQIGhpbnRzL21ldGFkYXRhIGlzIGEgd2F5IGZvciB0aGUgZHJpdmVyIHRvIHRy YW5zbWl0IGluZm9ybWF0aW9uIHJlZ2FyZGluZyBhDQo+IHNwZWNpZmljIFhEUCBmcmFtZSBhbG9u ZyB3aXRoIHRoZSBmcmFtZS4gRm9sbG93aW5nIGN1cnJlbnQgZGlzY3Vzc2lvbnMgYW5kDQo+IGJh c2VkIG9uIHRvcCBvZiBTYWVlZCdzIGVhcmx5IHBhdGNoZXMsIHRoaXMgc2VyaWVzIHByb3ZpZGVz IHRoZSBYRFAgaGludHMgd2l0aA0KPiBvbmUgKG9yIHR3bywgZGVwZW5kaW5nIG9uIGhvdyB5b3Ug dmlldyBpdCkgdXNlIGNhc2U6IFJYL1RYIHRpbWVzdGFtcHMgZm9yIHRoZQ0KPiBpZ2MgZHJpdmVy Lg0KPiANCj4gS2VlcGluZyB3aXRoIFNhZWVkJ3MgcGF0Y2hlcywgdG8gZW5hYmxlIFhEUCBoaW50 cyB1c2FnZSwgb25lIGhhcyB0byBmaXJzdA0KPiBlbmFibGUgaXQgd2l0aCBicGZ0b29sIGxpa2U6 DQo+IA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