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 5681CA034E for ; Thu, 4 Jun 2020 08:41:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB9661D5D1; Thu, 4 Jun 2020 08:41:28 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) by dpdk.org (Postfix) with ESMTP id F378B1D5D0 for ; Thu, 4 Jun 2020 08:41:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jt6QLZjG4XMpK779o9O9YWdtcO2/1vYAYIr1jvbEr740j5fa/ZYps9K0T4uMjQEBc86LZtOT3GT9ihqcYgpqYYb+DPVGXg5ZEac0fUbOV5jSYBdcklNbvLx3fzHTPKMdezFjYRpOfTUVyo/L0X1zmA7JrDiP7Oytj5cRSof1F7aF9hHKGd9Tj41yztDSN79KKgmEVY9LztijbfMLcnxx5TG1QaSQxXvJZp8AQxDInyiPyVkR54YUvLWSZCHOmwP0g5MzD/k+2pB3zvBKPVi8wFnl4ZUjGJOhxhwh2f8JWpQs0HWniL2FpDru5pz1YrRZetxV/7dcjLM07+9BULq/Xg== 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-SenderADCheck; bh=LpnIfoMpJaOTxxEVcYs99Q+bv1qsrDiRv4be4O8KtKw=; b=i7NsJhdfPsrah7AgOds15JVeuzeszFc43n1iYC8iT4O7NOmIPenoYfkbmq2x8XaVAU+xNTvd35BCv3iMWrogpS3Jgu8b3vLQejkY3qgPHMjw9R30sgRMDM7sk0BhdUQ/i8iuHqRRzg3fTdL10WiCOUvfVONAUjmSbQuy72EgPqA3qlVHnehezG0+/FHDMqVDUE9WIz++ji/M8/laPsOIUUVmgkGx1RqueOMcxkj+3PIGp+iDNYTtProZU0ZGamdwswhk0fwhifBtDZeAn683U2ejvNwtKdJx2ewMXQuYLN94mq5pMxEWXDp7EqZsk+DZ37A40rOHuAjHtDG7nhVzjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LpnIfoMpJaOTxxEVcYs99Q+bv1qsrDiRv4be4O8KtKw=; b=PN3m0FYEuqdNzwcoolzwG17aM6cAv4S4TIWt31VBZROK19YrOOf4PQIvEKdSlIfrqh0g9IblmYOEg04JPrTPwwQO9UAH1JAChEmiqJncPUazr/mLPettwOhbdTHYlao6IZC2dlrw1wB56qKwJ7+AXS8C08OXVlJqVAUwn31kNN0= Received: from AM7PR05MB6773.eurprd05.prod.outlook.com (2603:10a6:20b:13c::17) by AM7PR05MB6712.eurprd05.prod.outlook.com (2603:10a6:20b:140::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Thu, 4 Jun 2020 06:41:26 +0000 Received: from AM7PR05MB6773.eurprd05.prod.outlook.com ([fe80::c8ba:5998:675c:c802]) by AM7PR05MB6773.eurprd05.prod.outlook.com ([fe80::c8ba:5998:675c:c802%8]) with mapi id 15.20.3066.018; Thu, 4 Jun 2020 06:41:26 +0000 From: Saar Tarnopolsky To: "users@dpdk.org" Thread-Topic: examples/ip_reassembly - lcore per port Thread-Index: AdY6OdbOt1ZvPRI7SXeblFS6Rs6X6A== Date: Thu, 4 Jun 2020 06:41:26 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [80.230.60.42] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cc206f59-2a96-4244-29c8-08d808524df9 x-ms-traffictypediagnostic: AM7PR05MB6712: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 04244E0DC5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3UMENioqmGOO4Z/TdCk9z0DTOpkSMvOWxrBcDtxDi8jas9CuHupe+b3P4LKpJIKr0N4GaSFFq2ZmIkAdJI6fN8Y8IaEzeM8aqrTxI8RYdh0fmQKxH3hZoFZEyl5TSUH6jlhTj2PhwZpmMCatodIUuOZ77Ajl3mqWNCC6I1B3J0nD4m2ZPbcZ1/Et/lMwRF3I6oo06UIoCrq9LtV7u1xTvX7CMEkzhUYzsI6jVaZBcDCVZuAc3qQrnKzB/2ft3K9PPMDVP6Fq+aq7by29+FOYnM1dZkG5v88n4NTIJFwpafornEav+DeFiVTK8Hy4I8qQyLYr38UXj0EljsOeUJMMLA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR05MB6773.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(346002)(366004)(396003)(376002)(39860400002)(7696005)(6506007)(2906002)(478600001)(316002)(33656002)(5660300002)(52536014)(6916009)(64756008)(71200400001)(66946007)(26005)(66446008)(186003)(83380400001)(9326002)(8936002)(9686003)(55016002)(8676002)(86362001)(76116006)(66556008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: R2khlj3he1yTMz1PuBpLfgNidxNt0c6SngjL6DA5R3SmYgbCR4dM9AvpIZ0Lac1MEV8Xuk28piweEXoh2Wljvjsa96lnXFvKnYf0CDwJz0SijRMHDC5FtufVjlg+YeNX77cCYP8D5rKRjQL1JtOsJGMRGGTdMShKZx6+69uN3zBnB+DdP6mSGmt0CCoNQOOFk48DKZig2tUiqq9mnIJD8RT0RSMZ/c82x2zsn3uugCTS53sL+GnI2xx0xOVfwmF//+MtuZkNxBXDRlygJ9MsoD1A7xIurQcPMLc4DTLeemBhuBWtpR7LJensG5PzeSffH13X8IDDEIWgyio96K7DhmEevUJfez1pE5Qd7UgUhM0gwqNMjGmd9U6ucPamR7aZkNQj/6JhIjl+xO1p7s8BADEtBZEt0cRVgvgvwn2MZFWgtPUSosdiYKMp+atZihanMVfG32oqxDtTwwKikvMUdKwZnMmGffQ39k6/HxJ9Lkk= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc206f59-2a96-4244-29c8-08d808524df9 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2020 06:41:26.0295 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bJPSRZKhvHImaoqPG1uXOjt0nWS5qw1tOQKY6DAaVzojIax3c1s8gjDwMI2Kjsq2ZCCfg3v15+4Buajci9aBKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR05MB6712 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] examples/ip_reassembly - lcore per port 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I am using the dpdk ip_reassambly code to reassemble fragmented packets sen= t to my Mellanox ConnectX-5. While running the code I noticed that I can only run with one lcore per por= t. After reviewing the ip_reassembly code I saw that the code is built to i= nitialize only lcore per port. Is this a bug in the code? Is there any way to run the ip_reassembly with more than one lcore per port= ? Or do I need to make my own modifications to the code to be able to tun i= t this way? I run this command: ./build/ip_reassembly -l 0-3 -w 03:00.0 -- -p 0x1 And I get the following messages: EAL: Detected 16 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs foun= d for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 15b3:a2d2 net_mlx5 net_mlx5: DV flow is not supported IP_RSMBL: Creating LPM table on socket 0 IP_RSMBL: Creating LPM6 table on socket 0 USER1: rte_ip_frag_table_create: allocated of 25165952 bytes at socket 0 nb_mbuf: 165888 Initializing port 0 ... Address:98:03:9B:93:8D:76 txq=3D0,0,0 txq=3D1,1,0 txq=3D2,2,0 txq=3D3,3,0 IP_RSMBL: Socket 0: adding route 100.10.0.0/16 (port 0) IP_RSMBL: Socket 0: adding route 100.20.0.0/16 (port 1) IP_RSMBL: Socket 0: adding route 100.30.0.0/16 (port 2) IP_RSMBL: Socket 0: adding route 100.40.0.0/16 (port 3) IP_RSMBL: Socket 0: adding route 100.50.0.0/16 (port 4) IP_RSMBL: Socket 0: adding route 100.60.0.0/16 (port 5) IP_RSMBL: Socket 0: adding route 100.70.0.0/16 (port 6) IP_RSMBL: Socket 0: adding route 100.80.0.0/16 (port 7) IP_RSMBL: Socket 0: adding route 0101:0101:0101:0101:0101:0101:0101:0101/48= (port 0) IP_RSMBL: Socket 0: adding route 0201:0101:0101:0101:0101:0101:0101:0101/48= (port 1) IP_RSMBL: Socket 0: adding route 0301:0101:0101:0101:0101:0101:0101:0101/48= (port 2) IP_RSMBL: Socket 0: adding route 0401:0101:0101:0101:0101:0101:0101:0101/48= (port 3) IP_RSMBL: Socket 0: adding route 0501:0101:0101:0101:0101:0101:0101:0101/48= (port 4) IP_RSMBL: Socket 0: adding route 0601:0101:0101:0101:0101:0101:0101:0101/48= (port 5) IP_RSMBL: Socket 0: adding route 0701:0101:0101:0101:0101:0101:0101:0101/48= (port 6) IP_RSMBL: Socket 0: adding route 0801:0101:0101:0101:0101:0101:0101:0101/48= (port 7) Checking link status done Port0 Link Up. Speed 100000 Mbps - full-duplex IP_RSMBL: lcore 1 has nothing to do IP_RSMBL: lcore 2 has nothing to do IP_RSMBL: lcore 3 has nothing to do IP_RSMBL: entering main loop on lcore 0 IP_RSMBL: -- lcoreid=3D0 portid=3D0 Thanks, Saar