From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680124.outbound.protection.outlook.com [40.107.68.124]) by dpdk.org (Postfix) with ESMTP id E4A034C8E for ; Wed, 5 Dec 2018 12:05:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=VectraNetworks.onmicrosoft.com; s=selector1-vectra-ai; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zdXbVCUE3jafHjYj6iGMHRMSgsSwodfrHQjB6/NLDmY=; b=j0IQojSzJq9+U2R3eN2v3HHz8+cDBvFoe+zO6nhkQYDcMDV6x9+vmKRCxB7CEoYTlYKLytYCRs4Q3vVfDzMQlth1MXbwjBjmjUK1Z7CgvwbWSm5husidW5PazH59KS5As2LIFNvbkBjbjg8EsYQzEktikCk34aYsLAjBhTTK9g0= Received: from BYAPR08MB4951.namprd08.prod.outlook.com (20.176.255.148) by BYAPR08MB4488.namprd08.prod.outlook.com (52.135.211.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.22; Wed, 5 Dec 2018 11:05:58 +0000 Received: from BYAPR08MB4951.namprd08.prod.outlook.com ([fe80::4f9:192c:d449:bde8]) by BYAPR08MB4951.namprd08.prod.outlook.com ([fe80::4f9:192c:d449:bde8%5]) with mapi id 15.20.1382.023; Wed, 5 Dec 2018 11:05:58 +0000 From: Gareth Bradshaw To: "users@dpdk.org" Thread-Topic: Hyper-V multi-queue not working on Kernel v4.20 Thread-Index: AdSMhHQaPwbpxUOEQ+6rhWzaSosawg== Date: Wed, 5 Dec 2018 11:05:58 +0000 Message-ID: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=gareth@vectra.ai; x-originating-ip: [46.7.110.163] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR08MB4488; 6:ZBOttZUHzcDLxvwu41QzMHu/UezrIkNn4OWSMkgEoZ0GvhGs/HLe38KvM3SAQQdU5wjLBfHTcMuJMmngzFbHY+Yh5GnvEO6ZsvYfA6uY2eWnmD9vf/LxIf+B3Bt3Phj+xSBJhUO/b9MPCWq2PR7BtayukJS+usZYfgFrU7THSA0unmO6/Y1rqrCAnLLgS5gr7noeCRS+xg4AB/iVSrMdU8wB8rAugiYbbsJDsLDorBtCOO3K4PgouJlVsnsV3WY+2leI0szXuEnUuhA133dVMleT5qfTFxbvAnJpzLLQrAUwq7VLvhTnK1fK9Z8lxQulllVFA/Y4I8hqKBuGxy015EfhpKjOLvOIZryL4AjbleW3iVxiZYX8yAUDSj8z/gHv7DXkorQek8m6Z8sRlNHeDmvg3ZFuJjkI4lqjEyK3+K2S0WHF9L5FHgyKcX3z00sRSQKv1L8uGpF44rtYxpd34Q==; 5:rqLZ1rQCPgWVkqjJQrYDP6llQAMHFiCD+247d1dPyDFlkMhMK8yP/RLZDRWYf1yq1FmS7g+e3j9Xktj2zlfnmFLvj9zZxK6IjQM8pIRMyoyV2n4lQYSP0HdT6VLQuTocuY5h6BX7K+c4fviyEEBWJvyC30tP0IW8QjUqW36jupU=; 7:i7Q8Sp31eFbC/eisyTfhKzeJCcBcgDaVwz7KX0N8oUyz96xMJttkzGW4pcixnBpMFuNKHV9xltH8AdhZ8U5j4qAA+1OivPkntSPqWlp5d9hNi7QgAOVQur5RxWwypi3rgFcYaJrnAxeqt2XhbEmmSA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 90794b4a-ef03-4011-c1c0-08d65aa1a2ad x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR08MB4488; x-ms-traffictypediagnostic: BYAPR08MB4488: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231455)(999002)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(148016)(149066)(150057)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:BYAPR08MB4488; BCL:0; PCL:0; RULEID:; SRVR:BYAPR08MB4488; x-forefront-prvs: 08770259B4 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(136003)(39840400004)(396003)(199004)(189003)(52084003)(8676002)(102836004)(81166006)(6436002)(54896002)(6306002)(66066001)(236005)(33656002)(9686003)(9326002)(81156014)(1730700003)(53936002)(68736007)(74482002)(106356001)(14454004)(5640700003)(105586002)(2351001)(7696005)(8936002)(55016002)(2906002)(6916009)(6506007)(5660300001)(316002)(71200400001)(256004)(14444005)(7736002)(74316002)(99286004)(86362001)(476003)(97736004)(71190400001)(25786009)(606006)(790700001)(186003)(6116002)(3846002)(26005)(2501003)(478600001)(486006); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR08MB4488; H:BYAPR08MB4951.namprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: vectra.ai does not designate permitted sender hosts) x-microsoft-antispam-message-info: Rwl10yGZDkn/trRy5FjIddbwgIkrNYfqrdfH5nKG9Xxw5IMFrmFrnFwQMWQwRq2zMu5/+j/EJOS5t7Ag9EwM0t0i9S3+emrfhn/0mriVhol6EsYTM5fJ4QjMOk6Yj+gteCID7WxXP11tGqA/AVcyposBhyefvKAQyoyFYNNxt8NQE3Tl4i8qMTb2sG5n3RPrqQHbQjzZa7XF/nJoEQb/vJauBGclp7DLNKJ1+XANl2ssENH73Sx8KBfJPQw9FOnKMXDgq4U47lxyPdhJyBVl6frjvv+dUeGq0lBaVgCBAVdS8Ul3bv80zdVb4EjqwqSpWg5bls3HCrV/f5vTiCkE3Y7LYsyjQBnbu0A53zIoVg8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: vectra.ai X-MS-Exchange-CrossTenant-Network-Message-Id: 90794b4a-ef03-4011-c1c0-08d65aa1a2ad X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2018 11:05:58.3628 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a6cc66bc-f419-45c2-a9c2-8ff4ab685f2d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR08MB4488 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Hyper-V multi-queue not working on Kernel v4.20 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 11:06:00 -0000 Hi, I'm developing a DPDK application for Hyper-V and would like to use Kernel = v4.20 as it fixes a crash in previous kernels (per this pull request) but multi-queue support seems to have broken in that kernel. It works i= n kernels 4.17, 4.18 and 4.19. Using testpmd with parameters "--forward-mode=3Dtxonly --nb-cores=3D3 --txq= =3D3 --rxq=3D3" I get the following error "vmbus_uio_get_subchan(): invalid= subchannel id 0". Tracing the code a bit I find that it's trying to read /sys/bus/devices//channels/21/subchannel_id but when I try to cat the same file I get th= e error "Invalid argument". I've compared to previous kernel versions and = see the following differences: * When the VM boots, the device is bound to the kernel driver and there= are 4 channels on both kernel versions. It's a 4 core VM. * When I bind the device to uio_hv_generic, kernel v.19.5 (and previous= ) has a single channel and it has a valid subchannel_id. On kernel 4.20 th= e 4 channel folders remain but they are all invalid. * When I start testpmd with 3 queues, on kernel v4.19.5 two additional = channels are created, they're valid and testpmd works as expected. On kern= el 4.20 the 4 invalid channels remain invalid and testpmd gives the error I= mentioned. Any help getting this working would be greatly appreciated. Thanks Gareth