Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2029822yba; Sun, 7 Apr 2019 06:57:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH5vWVDVblfmji5slNsJz4jtGsNZC0hHnunEdratD5Tho/BmOhf8MZzNvP3a9meDOibcDC X-Received: by 2002:a63:e402:: with SMTP id a2mr23499499pgi.268.1554645439231; Sun, 07 Apr 2019 06:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554645439; cv=none; d=google.com; s=arc-20160816; b=hvQWmlRahiK8dqKO3gRfmkD4zpiOMKQCIlUHh3+swko0azFRifT+nJ/BRtAxhCssiZ Tcbf5LCpEnQUTLo4brLZ7kWgKWdpk2IoHMN4juAPHqpGCaoJUqPag3tx9IGhp/AI0BD7 H50EnjCZ3PZhYEbHjFXW+kpzBhs1aGo/fG8nelwv0AWF6u3Z+KIf+N5HVMrAFE8JOAqE xGcna4zqs7Qa48VpQqbGayKtq1RVlwP2SEG0VwEXEJkz1fijrA+5SogUYsc1JUocfegt JU/cs8oOgicNj14l8O88wDWx1vG+Z0H9fxox7ieyJeLJLDaU7RyR6bKK0yfm4KMuM737 loiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:to :reply-to:from:date; bh=pBnMrB8KC2Kpd4eK99W+o8KWm32gh8i3QTcf/+hjqSo=; b=cpvjQmD6/cW5adncgI/aLiY4pgzJIn5vWs2SUtGzOC3jJgaWz3ycuKmCAZ5uZOB3pD X5Bqj+bckKVabDC+ktfi+x5856GtOmzFk66HxExUqI6WcZMyAuw5ZW7BzLBPZ7yVv2Zj +eO1qef9RvQRkF2aBOGVVMsK4Gbe66Tklcz1YrUtAv/I2ivpv3IITiUycFGv8DAW2f9W psLqyNW9HJfPCFaB0vpuIXbD4JUjBKBb56/yg+cvRQN48RUENus7J298NrAHUjKtQJUz dJ71A4VTIgku5dwmtMCpnA1JEls42pXi/oahJHico4YWQeHpK/ZmaE4Bfyy/DUUJ+Foy FLSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si23774080plp.26.2019.04.07.06.57.02; Sun, 07 Apr 2019 06:57:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbfDGN40 (ORCPT + 99 others); Sun, 7 Apr 2019 09:56:26 -0400 Received: from serv108.segi.ulg.ac.be ([139.165.32.111]:33261 "EHLO serv108.segi.ulg.ac.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfDGN40 (ORCPT ); Sun, 7 Apr 2019 09:56:26 -0400 X-Greylist: delayed 434 seconds by postgrey-1.27 at vger.kernel.org; Sun, 07 Apr 2019 09:56:25 EDT Received: from mbx12-zne.ulg.ac.be (serv470.segi.ulg.ac.be [139.165.32.199]) by serv108.segi.ulg.ac.be (Postfix) with ESMTP id 9C493200DB85 for ; Sun, 7 Apr 2019 15:49:10 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mbx12-zne.ulg.ac.be (Postfix) with ESMTP id 8FE3F129EA99 for ; Sun, 7 Apr 2019 15:49:10 +0200 (CEST) Received: from mbx12-zne.ulg.ac.be ([127.0.0.1]) by localhost (mbx12-zne.ulg.ac.be [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TT6UgZEE1weJ for ; Sun, 7 Apr 2019 15:49:10 +0200 (CEST) Received: from mbx12-zne.ulg.ac.be (mbx12-zne.ulg.ac.be [139.165.32.199]) by mbx12-zne.ulg.ac.be (Postfix) with ESMTP id 7658A129E539 for ; Sun, 7 Apr 2019 15:49:10 +0200 (CEST) Date: Sun, 7 Apr 2019 15:49:10 +0200 (CEST) From: Justin Iurman Reply-To: Justin Iurman To: linux-kernel@vger.kernel.org Message-ID: <937711609.49388.1554644950383.JavaMail.zimbra@uliege.be> Subject: Multi-threaded packet parsing ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [87.64.170.237] X-Mailer: Zimbra 8.8.11_GA_3780 (ZimbraWebClient - FF66 (Linux)/8.8.11_GA_3787) Thread-Index: gndnIChOVn4ZBg76CUG4k8XIhrnayA== Thread-Topic: Multi-threaded packet parsing ? Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Currently working inside IPv6 on EH and more specifically on hop-by-hop's. I was wondering if packet processing/parsing is multi-threaded or not ? Actually, I want to store per-packet EH information on net_device struct, which would be only valid for current packet processed/parsed by the dev. The goal is to take advantage of the existing parsing to store important info, which would avoid useless duplicate jobs right after the processing of EH. It should be fine if it's not multi-threaded, which is not ASAIK but just wanted to make sure. Can you confirm/infirm ? Thanks, Justin