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 5C58AA0032; Thu, 17 Feb 2022 18:49:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 482414114B; Thu, 17 Feb 2022 18:49:09 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 5E0634113F; Thu, 17 Feb 2022 18:49:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645120147; x=1676656147; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=/2rBZn531GZuAXSrNTE9c9DuTjvxXDbM467ruWIwnNY=; b=Vaa+xqN7le5p/cKcJQaEzewuDJZPwf0MbVwlS2RzVzVPBLNf9RQUpEqW VFos5r+HysICPghN2B0K56gMRAf6zI4dQoZ9zR0C3XGCNpGvgFUu5Pqts QtjiHpdSbpc/ZsmV4K6cWbpt8FRGNgowC75HwOJ8OR4mJBLjMyNREIqP5 mcCUKByczLAYi6yEeNSFUE8d68cq5WkE/wEoXXsXvh6+FxeNRDSuPdVpu 0XdYizWvOUxxIVYPnlOoyHUT4WLH8KqFTjyazMD0RFWDzPkM3V5MgHnOm 9yMq8vL9mWR5g4i3yc9MzHXuwCETrrh5XGCmkv49BmBcRDJZUk0Lc/Kp3 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="231555561" X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="231555561" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 09:49:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="502923320" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP; 17 Feb 2022 09:49:03 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 17 Feb 2022 09:49:02 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 09:49:02 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 17 Feb 2022 09:49:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YqgAV5B2IEC7zLI//jNA7A0bBdZ6WEC1mGYx1CH+ldDIMOMLipZRFpxvT6FQKOenokCeod8yurcdn1n8nTlMdim1gsCbYBiv39yEF68uEaLIXzoWztCc+UFyexG3AAVF4mEDvmZZBt+quh7ny6vNaZHS/XVddTdwgdYQWrEyRpk9jddEP9TR8r+hmxxYB7V/lSxX6RQtG6dzZ17B3zdAuFubae+R1YZqz5+n96r4xd3OzDiNDFa7Po8dAnnwb024TaGYoj1FjNsCA+n63ZsP7EnMWod7zDivq0hSW1GX7Iq44c+C8Jauma8OIEiXBtVs5Xp4cV08Pr2CbUS17ecaDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nAeUR8KFlJhoF10c7QCUn3K8Efl6QzfK1uXkZz02lSU=; b=Aj8Nr6NHO0AIMPMRJYTNCnNOb2ydAyBwowe3vI8rLdUDN7K/a9OUy8kn8sp1PbgRq7BGaXP9AJz1BjhoVeCMVDt/rxALZXZauojAXcTW8n++eBMxmRpu0qGiUTOQTDHgK5iuKmrywlHWFZsDZRQknW1KlMlc5bZippBWPhC/5WK9bw4DYIx9X/COH9vSGeIILZ/aqh1W28m1X7hCUzRCmIZ+ExGFc5b937iJEBxlBgXfAwIBVrn5ii+up6vTIXd0GwF+YCf0907yfRBlzGC1tZEQ8vyi+F8Urcff5u515Phc06H3cxh2u3zx3vT1WQPxGjZlZfE+a6d6qMNe/hl6RA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by DM6PR11MB4265.namprd11.prod.outlook.com (2603:10b6:5:1de::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Thu, 17 Feb 2022 17:48:58 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::21db:e2fd:b9a3:9292]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::21db:e2fd:b9a3:9292%5]) with mapi id 15.20.4995.014; Thu, 17 Feb 2022 17:48:58 +0000 Message-ID: Date: Thu, 17 Feb 2022 17:48:52 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 2/3] dma/idxd: configure max batch size to high value To: Bruce Richardson , CC: References: <20220216160610.475242-1-bruce.richardson@intel.com> <20220216160610.475242-3-bruce.richardson@intel.com> From: Kevin Laatz In-Reply-To: <20220216160610.475242-3-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bfee0327-9c48-4de9-f9d6-08d9f23dc628 X-MS-TrafficTypeDiagnostic: DM6PR11MB4265:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ceuVLr5DC6HoC/btpC8wfw0/00J0HAEtyfCGo5m2lXqtdNC8hse1QSELeR1bnsx5N8SOg5IYOT1SO4q8euXw6Mbjyrk4vXbZjS5Pz/0+Vcbm1tWxTVr4o2LTXPueCEy/vt54tEqBl0EXx78FB74c20oKa8Cvj7n5XZ4cA1HQlM7MhJYPzTMv0reONa68xRBe6BSxDHjlR0JbgDBrWZEJMbejKHmI5buVOMOvKlxa1NNeFCw6GGe/t9lgGHz9IKhTZg8/xEWyVAEvm0CETyesrshg2qs99N+ggvyQcZ7tbqHHbfdpJFoud+Sa0r+Vlkr8PwCzPBmt4dCVgdM9DOG2Epo+IoeKQmApYeT5gHAyZTEgN+q9j3UasBhWL7yLWv+o3hrruLp+0ih7Qp1Lc83TchRPPFCs3RicS/CL7ZcOMnZdMmdN+V8DDOztxiRJgat+UnrEwt1zvUN+54YcwS6+35movX9c1PtxGIk8ceViM3QlqW7WAc4KyQfSp1rM13UfHEt+MpyjJ1QYNX1rD1IV7VbHs0zxMCajWsXgVCl8ebN4GbO4eM7Kft8vv4ZxqV9DYXuvl8sM3ysiZGyA3gL2aWBzu2TmsW91+5kVi3SRe+HeS6pI5V+N/RLoFsfLm+oyanQKOb1I9b//uyu1VdOrQtGh4j01hzOJYKIAqO0UaQtqX5w71+MoXOfWwURyqYQFB26RYnxLgZunnd2joNsxX/0C3N2uFzpLCJHjBtA2o13Esb9OPBGqvQrw1Yfx8l7zFT7gD+y0o9cVk5te/ZFWj3ht0z1m5fuqoUnnF6UvZAeLvpGEJvRL+RmSvQY2bL6K X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(31686004)(36756003)(186003)(316002)(82960400001)(508600001)(38100700002)(26005)(2906002)(966005)(6486002)(86362001)(31696002)(8676002)(66476007)(66946007)(5660300002)(450100002)(66556008)(6506007)(53546011)(2616005)(4326008)(4744005)(44832011)(6666004)(8936002)(6512007)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aUF5NmtBZzV6bEpneStqOStoREhDNER0djdlOWR5V2NEWlYwc3BXN0tBQ1ND?= =?utf-8?B?d2pScUIrNVdhS085T1RVam9tenBhVldkRkJCY1FPUUxLQUtYR0ozVDB0VmU0?= =?utf-8?B?bEhzTEk2ZW9uR1NMYUVKNHp0MEh1VWdnWXJ2YkhtY3JqT2xKSkQ1bHlMRkJn?= =?utf-8?B?K0orSTR5cnFUTktFTVRSL2ZneVplYWNhWkdSZ21HWjJaWWNhVThPVE1kZWYw?= =?utf-8?B?T05NZ1pxeVF0dDBGYmRzamVLN1hZaXJLS1YxMVpnL1lzT29kaEpPWjNYVUV0?= =?utf-8?B?N2xWRmNIWDRHQktGRlI4cU1RZTA2WTJFNkZhbCtDQmNFd25RRmpJ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2K0VaNjFRZVd5WnlY?= =?utf-8?Q?U8QXEgvBfYYca2/4as7MsBA=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: bfee0327-9c48-4de9-f9d6-08d9f23dc628 X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 17:48:58.3636 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2x1liACaicybS0XbOhIbRJQkgCUdCbf8gigevmNnVuqSar12nBE5gqoQZe1uPA2rLJVpeAMt9XBt62YroHqvHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4265 X-OriginatorOrg: intel.com 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 16/02/2022 16:06, Bruce Richardson wrote: > When configuring an Intel DSA instance using the utility script > dpdk_idxd_cfg.py, explicitly set the max supported batch size value to a > high value, to ensure large bursts are supported if so desired. The > default in the linux kernel is now just 32 [1], which may not be > sufficient for all DPDK apps. > > [1] https://lore.kernel.org/r/163528473483.3926048.7950067926287180976.stgit@djiang5-desk3.ch.intel.com > > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- > Note: although not fixing a bug in DPDK itself, due to kernel changes > this patch should be considered for backport as a fix, so cc'ing stable. > --- > drivers/dma/idxd/dpdk_idxd_cfg.py | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Kevin Laatz