From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B9DD45E21; Tue, 3 Dec 2024 23:58:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 667EF40261; Tue, 3 Dec 2024 23:58:08 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 352AD4025D for ; Tue, 3 Dec 2024 23:58:07 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-724f1004c79so4273136b3a.2 for ; Tue, 03 Dec 2024 14:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733266686; x=1733871486; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=D7aYcEm0/EjRI78/pTuEbGHxiZS/pKOsp3spvPusyBg=; b=WZMcNq2SqVU+oCTj7w5Rel8sfERf1+HnOdbmA7BHVyIsFKjzifcYAmmNk370bbb+dj iEb6TdGwuyrTIxHphsuu9Tbod478BU64yNTDOx1m25NXZkYUT23BKxEMhTUSkRvsiCOB W0K+GGR4qUXKJQgxL8OgzoUns0x/Uo4uzltP7XULif9gNN2kZRag4FwlSBQoXT8Vq52x ZBWhh8G0etEP1k9Uu1rPinGX23KyM22M2piDRcCzFOjY8w/VcSzrK0oVUQ/BpYBuVLkg VJRORhuXvSpiUMZPmlUCCznJUWGrl4/EqanxSy98qA/4Fl2ApamQs44sGfhc0cZ/B21x YgBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733266686; x=1733871486; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D7aYcEm0/EjRI78/pTuEbGHxiZS/pKOsp3spvPusyBg=; b=X0JXc0dzCOpUIv+RMdXz1LpKe3CiIKnLpH1fFFsDVyJHquSCZGiVcsSBDetxJPNmvs hv3OqBIrxEgSHegBPfarp0l/FqN63wSJbTn5Oe0gNi5iG5AXVayXP+RgFMtLga7zTnoy SeC0W/aupDsHvjG3ZJHvXbIciQFe99xnxGZ/xCxTHxO7fmDpDrFMQLddLuu4cStkIeix HJM8VcAj1s2ITlT6OyR8vBh+dtTtD9gnWc5yIrHcKGKmOjc2qLvZ/OWcyWJHUWgrrfMM MxTcz5DpTQW9Nw5uUgkSCEeY2FM0cBz+j0F0IlI/wivXpiNGNbTnOJqVZF0zq1K7cjnV l1uQ== X-Gm-Message-State: AOJu0YwX9Qdxrn7BHoDcxP9QHPCEB1lsWfFMg3JIe1wdC7Q86Au7JtcZ 5hFiy4g+2XI13ULGcul4h4Rw2VMewVjuPZ9q+8hTeGthGJJyQf8AIYSA0kJUCGM= X-Gm-Gg: ASbGnct4ntpyrf0yrO56jlxgvF5X1ogdk9YJwms7D7y1nCbRlWUG8xzuRv3dtmfA+d+ fj3RHA3cCapJpGLp3/pzfY0IS2MHc/bFlp2U/HPtxKZhCGeIS6taCCogfwf0kR5f+N+Zu4qnS9b KzzWbViQnhUOUat9WkvqXgD9a+NXNWaTMmvHNcJlCXaqzJ2VLHGwpbkxC2yS9o8t/vvH8iu++fj JHvnW4xxfM93vJW99WSTe/W0svD17KFCacy48WidZWm301wXVXpFmJETGQxjAUEF0lVbVqsGjcH 5vZ9TXzp8eohC+7UbyjCGWZ0R4I= X-Google-Smtp-Source: AGHT+IFkehvGVlkm6I5Lxgfdvv/CFXLP8oTPSKxOj7DNj0heV58h5LgfQVMeKg57bWbIL3jSl2NvnA== X-Received: by 2002:a17:903:2290:b0:215:b473:1dc9 with SMTP id d9443c01a7336-215bd161a26mr54475595ad.46.1733266686162; Tue, 03 Dec 2024 14:58:06 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21521906232sm99909865ad.65.2024.12.03.14.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 14:58:05 -0800 (PST) Date: Tue, 3 Dec 2024 14:57:56 -0800 From: Stephen Hemminger To: vanshika.shukla@nxp.com Cc: dev@dpdk.org, Thomas Monjalon , Wathsala Vithanage , Bruce Richardson , Gagandeep Singh , Sachin Saxena , Anatoly Burakov , Apeksha Gupta Subject: Re: [v1 01/12] net/enetc: Add initial ENETC4 PMD driver support Message-ID: <20241203145756.2dcf2211@hermes.local> In-Reply-To: <20241018072644.2379012-2-vanshika.shukla@nxp.com> References: <20241018072644.2379012-1-vanshika.shukla@nxp.com> <20241018072644.2379012-2-vanshika.shukla@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 18 Oct 2024 12:56:33 +0530 vanshika.shukla@nxp.com wrote: > + > +- **kpage_ncache Kernel Module** > + > + i.MX95 platform is a IO non-cache coherent platform and driver is dependent on > + a kernel module kpage_ncache.ko to mark the hugepage memory to non-cacheable. > + > + The module can be obtained from: `kpage_ncache `_ > + Rather than an out of tree driver kludge, have you considered working with kernel memory developers to support this through conventional API such as madvise or mmap? There are lots of madvise flags, it fits with various security modules, and could also work on other future non-coherent platforms.