From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0064.outbound.protection.outlook.com [104.47.38.64]) by dpdk.org (Postfix) with ESMTP id 93F1C6C99 for ; Tue, 6 Sep 2016 13:25:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harmonic.onmicrosoft.com; s=selector1-harmonicinc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dtoEzG8pIy7j2+LhAbKFjut0dKYUaygpoLbRuV0AdHc=; b=W+/2qOvnFgKLsgcCT16PuJYDJHQE+U6CieWPytjsCz7LWhriUTS7tz4YN814uRKyuZs6h+JQ9QRQBK1dOxOTjLUpviVveUhCIM9kHnXntq+5pDx9k8uoixWSB85kI2F2fm6DnCeJSW4YqqGE0t2/cppw/qGua5XhMg9fA317Etg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Vladyslav.Buslov@harmonicinc.com; Received: from kms.harmonicinc.com (95.67.66.62) by MWHPR11MB1360.namprd11.prod.outlook.com (10.169.235.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Tue, 6 Sep 2016 11:25:34 +0000 From: Vladyslav Buslov To: CC: Date: Tue, 6 Sep 2016 14:25:12 +0300 Message-ID: <20160906112513.26090-1-vladyslav.buslov@harmonicinc.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.67.66.62] X-ClientProxiedBy: AM4PR02CA0027.eurprd02.prod.outlook.com (10.165.239.165) To MWHPR11MB1360.namprd11.prod.outlook.com (10.169.235.22) X-MS-Office365-Filtering-Correlation-Id: db9d7c9e-809d-4686-1bbf-08d3d64885b1 X-Microsoft-Exchange-Diagnostics: 1; MWHPR11MB1360; 2:ZLr23HWBd/21EdPpLuEEP7uxyiNlnWt/UeV/IVhGiADiHd/HR/DU/lMS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2GeQNzQ4phFGaiDQK+lUwusY3P8I4+CTvSy4xwhd/aurJ79j5ZlAxF0GMvgJ6ICQz0r8W2adTTovdD8yz2Bl5BF54ChRQ/B4r+iatKEi7v4ERAAeg0Oh8Ef7IoxU+QSWjTywuarD4n71hGiAftyoL3MvEf9oyA3FpyLc05BgQFm77iGvKuzfzwXRI5IhAsy0IAAmh1xeJzHwsr1vWZ4Q9eAw07vrtVFPJ7+06O8ISawl8Dd9dPiufxafS/KXwrHhhy8jXc5HBQgecf2vBi/VAbw3dQjmxqlCAXnZwIydB/SlL4RrIoHNjkzzresSPaL4SuxbuNf0RP/Zup5poWfHQoWxHJaHrIMHMstE7ePojdj7+bbs8OP9MUtLEcn/oiD9vO92+zZ28PCKgA0wC7KA/MFf1HRl7TElW/btI+xUU+Q3lLCneh+c/mqEt988oGqYWLctNKxpArFLoBCTkCa/+KywN11 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:MWHPR11MB1360; BCL:0; PCL:0; RULEID:; SRVR:MWHPR11MB1360; X-Microsoft-Exchange-Diagnostics: 1; MWHPR11MB1360; 4:UBwelNpYFMtkBtcMgPdML52AN8StzU2zCYBO3T+EcxwtVausPFo+EFTv5HokmsDy6zK4QePmD9RFZ8PRWHriWgKL2Osg/x+eYaeOcgO3codejjgSH+OmCa4XCPLYhZ421UDErVa6NP+7VtA6t2hlpEunVlNa8+lvC5FNyidmFxZvYmMOLyvVUAZxoEEr1d5ZKbOBn3HGh1uoUWXiI/O9pVBlaU/yKG865kJUGWtd293ffLI0B1SVM5jM4ZwpOIrpJJ7yGV7ot1MedAQ8pFWYyFEESYeIOE7/ZW/SSNOYdVs+07h7mVT4JR5oFp1s5x0S++DxnA4+7anAsVuHzhrpc0rsbYf61yN7U2wdv4au3hRfEojJtm6/qLdm1p3MbOMRylMHRF2BOhcHF4L6XQikBQ== X-Forefront-PRVS: 0057EE387C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(2351001)(5660300001)(92566002)(81166006)(50226002)(81156014)(2906002)(1076002)(68736007)(106356001)(7736002)(53416004)(7846002)(42186005)(101416001)(110136002)(586003)(305945005)(189998001)(105586002)(97736004)(229853001)(47776003)(48376002)(5003940100001)(4326007)(66066001)(3846002)(69596002)(8676002)(86362001)(33646002)(77096005)(50466002)(36756003)(6116002)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1360; H:kms.harmonicinc.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: harmonicinc.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR11MB1360; 23:8NaNwXYrtdv5o1sHbzSeTMoSxgbPwVpY6Hs2xgE2I?= =?us-ascii?Q?2MhrazrT9RD0hsO3pqTWD5zFTEpGqsRZfjXALsO2sF4X1wo1k8PIOv0MUr0M?= =?us-ascii?Q?CvR88haH6Z3iKKE5xtfapFwKw0r9Qqh0qi7cF15vsxM4g6seZLmotQb8cUzK?= =?us-ascii?Q?GKs1vr7WKZnDezzhye8ePv5DZSFTvpvPC+GPZuWEAT35/v4sZxeVKZ33A6Vv?= =?us-ascii?Q?czjoX2nMFl6zn4kjmoK3Q6fldo+d9wj3wTRYj5XgGwWO9O8aaAXT5PBoQgCm?= =?us-ascii?Q?p/jlmSLjFf8Q/HI9vdndRA3yQ1AtshTtG52CyEV+fR7A8mNB6MJd5Ybcgo7o?= =?us-ascii?Q?ucjyBhhAi/3egadpGiL29uD53JFqBsi/0qKgziTVIDKF1fAYdJWmO9AC4Btf?= =?us-ascii?Q?12r5ortwItexlOiRCtqM2ihKcyvf14m5/ryCe1zMdfOQsFUYb0cUTd5Up88Z?= =?us-ascii?Q?6tQ2WxEf6U2hw0y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EvkF61GmYUW5N4TlVTu56QSOB5d7NY03LX+7sFFIkaxFA==; 5:2zeYrqeEBLDi0MkJ/dUb/g5SY4Azsdl0tf0tJvFIwlaMHvEPC/acdHBXCnoohnD7Hd2dbW+Nq3tySgwoNMcQL2bOyt/LMa766rgqyF1G0Nc5UiSXyIKZ2AENo2VpR23lUpXWdwRw3D6v/xeeHYQdFw==; 24:ss6z+agWq2JMWofge9uDKcz1T3GS+dygJHMeaFrr2zEmQjgiaLH90SBmnLvmEQqRhm7zYymQEa5dLaT3LTMuX9UbJeZtTzG0FJfivdXm+nI=; 7:+GqgCxdG9/+G9hkKF5jhL/NDxQUKk5wxonfcYUinLSbyrCSmRNDYONmJtxQ3pbM8uEMWwsEKGuF3SpWfOiydibUvEDX8w1B/UDMAlWH8DJdTPsjLtpJwDK4FbwLbOZWPvrZDtK9T6q0W+UFbqV/NVt9OWojwxT4QbJ3/8w/TF+Vt85sdHfOWpgfpXRGAbuO5SDkOZMhrxKVWuTzR7QoySO1cIkEx7p/REM1TNxfEj+V13DfoeQF4YAipNiHYwx9x SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR11MB1360; 20:6rvPC2mNhGITtnRNCWF+c1j2JNJxtteuKeNIHltzE4NrwTm7xnEj90NIH78jufYZUqaDhn89YtczxM2dtIkxlAmaMESWXAC86uzYq7VmZV3qVTut/N/SWGlXrAF/WhEI5GPxkEtnEkpxMaQYL2akDKANXFOg01EaT9TNj8ArrFk= X-OriginatorOrg: harmonicinc.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 11:25:34.9991 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1360 Subject: [dpdk-dev] [PATCH] add support for core_id param in single threaded mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 11:25:39 -0000 Hi Ferruh, According to your suggestions I implemented dynamic KNI thread affinity patch in single threaded mode. It reuses core_id and force_bind config parameters from multi threaded mode. Regards, Vladyslav Vladyslav Buslov (1): kni: add support for core_id param in single threaded mode lib/librte_eal/linuxapp/kni/kni_misc.c | 48 ++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 16 deletions(-) -- 2.8.3