From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07FB5A0561; Tue, 21 Apr 2020 10:01:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6AD001D8EE; Tue, 21 Apr 2020 10:01:49 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 28E281D8D7 for ; Tue, 21 Apr 2020 10:01:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587456107; 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=gem6Y5C+Esx2ad7T7+6XYwp3SPVleIhYgstrU0f13w4=; b=JuRCU+tf3XvgKkB069HwrLYrBglUh8SlRM0iRxpSCeY54FHDxgv1h547PiRGSQt4FBqJMh WelF/yKtYN0ucTmrCRIrwXqH91QgdBtB2+97d8+uEqIIEICF+vXkH9uVZdX9ahmpvtkqMo wehqVt/4Vi+iPGb4PKu7RX+xiVlr+h0= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-274-oRkYct0wNPiMtWi81KLeog-1; Tue, 21 Apr 2020 04:01:46 -0400 X-MC-Unique: oRkYct0wNPiMtWi81KLeog-1 Received: by mail-ua1-f70.google.com with SMTP id t26so6059979uar.14 for ; Tue, 21 Apr 2020 01:01:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cpfaH+f7mJK4fYFYteLWZddK1qTbA+C/+YgwM2/CES0=; b=OR26KTdHcdW0PjyUX7DQc0lz8R+MR63NfC6Med7KhzrZvZCsk9gNc8seIuSL81CouM FbUWa1sa4ekUdrlXb1i/ghIaeR11bBdbwdnaNl2iRtXKWy35/LYMzUbvNM7HJXE2KMy8 a2uf+5VRi3rTIYdUR7c2sGs/EUNOtltdmz7lRCnImGM2t5kq8QKMk8wN4kjaIwj5/cJg hd8IKS2izkyEylN54yAAMFQanKabdfccp704gLHvU27EIHKg2PQQ7qkbZC2WKEJ0JL6I /z6YIQR2FN1BfqCpi4e0rXB9BpyHAaxHT3+wOQKy6I7DZdp25zynqVWAOmNHgnK1jrOW 7TgA== X-Gm-Message-State: AGi0Pua1WYKVmEjFsOy9ducd5ZB2mt+jNkVf2ibSMbxsa12Qtf929yJa dmcVWqI3bl/jGpzPelnACYXbTc/+tuD+xs6jUwhZrCEp2Ov5BnuKMd5yUiT4UPfyQYDzWX+zpn7 usJ6hgc4BnOhumv3plbw= X-Received: by 2002:a05:6102:1043:: with SMTP id h3mr14922368vsq.39.1587456105565; Tue, 21 Apr 2020 01:01:45 -0700 (PDT) X-Google-Smtp-Source: APiQypLLi1izalf/NOZT03RMF9VO1IRlpvtFvUrE1tbeLVSMCpqoT8ZBOQ2+CsYEnVGWLHn11b4KYZvbGpzZtBOR+Us= X-Received: by 2002:a05:6102:1043:: with SMTP id h3mr14922331vsq.39.1587456105137; Tue, 21 Apr 2020 01:01:45 -0700 (PDT) MIME-Version: 1.0 References: <1BA38E99-C6F7-4A17-B6CA-D1D06F707590@juniper.net> In-Reply-To: <1BA38E99-C6F7-4A17-B6CA-D1D06F707590@juniper.net> From: David Marchand Date: Tue, 21 Apr 2020 10:01:34 +0200 Message-ID: To: Kiran KN Cc: "dev@dpdk.org" , Thomas Monjalon X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] eal: changes for setting control thread mask X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Apr 21, 2020 at 9:42 AM Kiran KN wrote: > Define a global variable ctrl_thread_set which the application can set. > If this is the case, use this for setting control thread affinity instead > of deducing it from the existing core pinning of the process. I am unconvinced on adding an EAL option for this. It needs an explanation on why you can't rely on the dpdk process current affinity for control threads. And we will need a unit test. Please rebase your patch on master too. > signed-off-by: Kiran KN Signed-off-by* --=20 David Marchand