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 77FE8A0540; Wed, 21 Sep 2022 10:57:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6342440697; Wed, 21 Sep 2022 10:57:09 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B09D44014F for ; Wed, 21 Sep 2022 10:57:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663750627; x=1695286627; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=vR8gU1YRBQLdGtg2KeAl+xu4xrULvGdTap83uqLYmDw=; b=PKaYyN1mO5Y2HviznN4QRTXZ5lBGb9pvSW6GeAvCC9dU7BtyePhVpN5T NYkiORbcyjQ4B1cmJtyz3qT4Hwsl/Kj2I2Cp04txUPPueQrFUIQpD+Fbm 84vDgKaKP56YdJYy26r0tjmE0heCdmkbNszkMnFYVJGKzDIQcZNffPFIm t3VnaMJOzYLqbDjxO2tlsWoZMOI7cTa4BvXj7fmCDphVPz1BoCE1MXNI1 3FjGu8UF+zKBCdkXnOezdto5m0wXSmMDrgoq4xPl3S37fKa5QWwLT2x+J d7fUBQgtarJ/Xu46q/27dS0E6AsjZsnwKJdOPhYCzPai4bFnLfG/Tzptk w==; X-IronPort-AV: E=McAfee;i="6500,9779,10476"; a="301343674" X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="301343674" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 01:57:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="744876205" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 21 Sep 2022 01:57:06 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 01:57:06 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 01:57:06 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 21 Sep 2022 01:57:06 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) 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.2375.31; Wed, 21 Sep 2022 01:57:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KRd2++Bj90LSvUplx5j6YgiEN35HbABYjwohG4y7GryjDoORGxFsSojzxB8NQd4QLwwOFHNUc+LsqIC61SsnA0OV/e4tWnuxBjOa8tGqEYSzhhECnGbxzKg+Jiqk0X1ei/SXoSaLDJ0fTS2h5iIsbJKJATAIs7QaZ9cDS7qwDZo9/IwoX34PZwueGBUGYRZDKxMSxNnMYOCsUFgCbWYxcAWlirgsILETlJCCvY82G7Ot5o592cRnadt8AzyCIkxx8Agmwg2qR6dN6dBRmKP21zD31RmdYxLi0+PQH7BhtQSqfawHlVDGbDHZBrmTmtfR4pv6TH/TAeAD5CHRZG0tSQ== 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=V2SLQ4Kbu74AgssBLrva2HoKkwBEMtfP2FA/A/7JtDM=; b=c0c5tXLhTtLsP10hOllO4CPr8DETq9YdxGK019jc2zAG06yQb4kQP4hz9QSDAa0qlQNMoJdVcugUnJVwSjNfXkuNdBFvZ8g98BLrLpsQQKnYSQPLx5YMZTab16toa0okm19dBvWPIFVrEWs4W1cHr/tLgz1uYgH59su0Ir9x38cVcMUvf+h/dU5OHkus7MJv2QQSfz9lQmVsUvofM23QrrRRso2R4HgWHmoVS+AS3Jql2E6C3NcwixxPja79dX3+vz0SnkSB2v0/zqC8qYJ30mlqyAOmG/SUtMRHZ8+ByY7Q5WOSCYesdpDBN7OJgRGQ74ug7IF74wnE6aDGNopv1A== 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 MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by SN7PR11MB6677.namprd11.prod.outlook.com (2603:10b6:806:26b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.14; Wed, 21 Sep 2022 08:57:03 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2%6]) with mapi id 15.20.5654.014; Wed, 21 Sep 2022 08:57:03 +0000 Date: Wed, 21 Sep 2022 09:56:57 +0100 From: Bruce Richardson To: SamChen =?utf-8?B?6Zmz5ZiJ6Imv?= CC: "dev@dpdk.org" Subject: Re: DPDK with i225/226 on elkhartlake Message-ID: References: Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: LO2P265CA0417.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::21) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB1629:EE_|SN7PR11MB6677:EE_ X-MS-Office365-Filtering-Correlation-Id: cd4573b0-dcaa-430e-2ff5-08da9baf40b1 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bVEtpRXfevIXbI7SQIxkuy/zTmG539OJvpt8XHKskaydJ+rGXzcQdOcgrpqeBfIcJ0jflQeQf9zdrS3bXJayrzlS0E7jSgbpS/W9rep4R8zA/IRTdqEzfqdC3aqqOx6B5OAzhsp/RLvdmXAq4YRRVgJLJ1nhBI0PqIpPu7Z31CRYfl5sBJkgYfwjXqQ17I2bzS0VQnH7H3Ee8MCrDa5tDZ/VSMDYtilN5muZLZ4QTbJBZgFash40viSUTpvoiPwdaMyi/LstdIcG3xVL0EOABj2cH/ocPuY15VdmdQ76ZcD/d9R0ugTRFT3JH26aclBViBNi8r8DUmPwvS+HsdQY6C9MkRpdssTtu+fcuN3YbKl6KwvOXtiGQGHfxx4GaZH7w4rkT7gdX1ESEmXMaworhRMKhfYddJkx7D14aT7crqhaWOL2jwQhXGgNUk69NyQsJzIVwlq+cC17oj+t8tFL2pCoUkmqAsYcWVFpvmMcwfGOllHU+0kDchgKm7shGBSU5tN4M3py2ubSZyrxEQf+7reEnN59rUtEvavg9Ap4zcl/a4Nft+Boo77DHSE8K+7pbpCatd5o5nC6vmp+CLfdxedQ47saDCnw33gJxj5u0HA+8PRUUkXBftE2rOcso3acF2rQuc60GZpyM/5+GVozEe0y67ADwU661EqvhiRTS5EqB3vIaXqZKUNnwyq/cAGjlGrP9LGk4eGOx4tI43iCCw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(39860400002)(346002)(376002)(396003)(451199015)(186003)(83380400001)(44832011)(26005)(4744005)(6512007)(6666004)(86362001)(4326008)(66556008)(66476007)(8676002)(66946007)(6916009)(316002)(2906002)(82960400001)(5660300002)(478600001)(6486002)(38100700002)(8936002)(41300700001)(6506007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S2JoelJVeUFtWUlTNmJoeEF2TkcySUswOXBaVkRBTzlUaUNFc05LOFBpYzFH?= =?utf-8?B?KzRBQkovZXBoMkhIOXhIKzkvTXFNbzExdExQVEhRcmVYV3ZmZFJNSGNQV0JW?= =?utf-8?B?MU8rZmpCRi9Fa2ozcUpqbVI4eTBtUzMxb1dwOVJncndkMG1vUDUrYWFwZHpL?= =?utf-8?B?NzFXdS9QcnBPK2prMEc1SitQcTVuM3Z3UjRGV2s4Qm5ZWjE5VnhtVVBGd3lx?= =?utf-8?B?U2JBaXBjcE9EQnliZjZLS2lJUWgxQmVBWEw4WUEvY1l5YnN3UzYwbjhSbmsz?= =?utf-8?B?dUxDM2NZTXIvYVpHT2VqN2JJTUJ0UXg3b1RLY3RVVDBkM24xaWVaaU5XLzBL?= =?utf-8?B?MGpKdGpGd1dOR1lOeDBTeEZCRDJGdWsvaGZHeDh1eE13MGZCNjQyYm56WENt?= =?utf-8?B?TXVoSkNZSUtXTzdpNU9o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exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2022 08:57:03.5157 (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: reJN62EFk9sYcrVBSPtVjV5y6OgS/XbQ5AkmMWs3r0MbYTghfXfCE1QxNaQuD5+uYqHE+d/5JYM4a/uUxvwtvF+9eOx4sVWR4pb9Mwqy1C0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6677 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 Wed, Sep 21, 2022 at 03:23:09AM +0000, SamChen 陳嘉良 wrote: > Hi, > We bind the uio_pci_generic driver and use the command of the attached > image to execute DPDK. However, we encountered the problem of device > cannot be used on i225V/i226V in elkhartlake platform. Currently, the > same method works fine for i211 and intel® Killer™ Ethernet E3100 2.5 > Gbps. Do you have any suggestions? Thanks! > Hi, while I can't comment on the NIC-specific issues, I would just comment that it's really not recommended to use uio_pci_generic - or any other uio driver - for DPDK any more. You should consider switching to using vfio-pci. Even if there is no iommu enabled, vfio-pci still tends to give a better user experience. If iommu is enabled, you also get a lot more security from the memory protection it provides. Regards, /Bruce