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 65409A0613 for ; Fri, 27 Sep 2019 16:25:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C40491BED0; Fri, 27 Sep 2019 16:25:47 +0200 (CEST) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) by dpdk.org (Postfix) with ESMTP id 9D1CA4C99 for ; Fri, 27 Sep 2019 16:25:46 +0200 (CEST) Received: by mail-vs1-f46.google.com with SMTP id w195so1959369vsw.11 for ; Fri, 27 Sep 2019 07:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vKGx0RJjNQ7hTp7P6XzBPjnSkP0heHpQ3EsvSZM5v64=; b=mHIa5WueJDTimSEElOzTg7vZtanyUjMnH4SClfG8kQIRRdjkHcWcOhFifPeajf5zZz yAeqjlTnPhLuMvXVBzuLswtY4n+Da7+JKor/T/Vy5/V5ErAuI7DqOByeBw9TMeabFVAy 1GBKp1e+dVvWgRiSGtGoCNoRhwg+Bd5Q8GQBwczlaHXRT6znZAmrVE5L94JbCQNFwhWw JGFkJAYSgbiGp8WsR4+ddn+OW/MTAcTvINVS8kSwuzS2fa3KNzY4A6QZADcZTwrjo5mp aCMxLP9GHwN+bY+E27UmymQCWMEGHaEaG2fz7L5yskI6vVH2hRc1Gh1IREI8ircJ13bE VWUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vKGx0RJjNQ7hTp7P6XzBPjnSkP0heHpQ3EsvSZM5v64=; b=CfmBzhaWrr07X3JbGJEkFL9SSMOGvfWuhzXdoizi8x4OUTPoHEr5hbqlwj4zzKAUg4 NdFLrYp6gbbbP+h2aeY8BVjaVHuGo0+ukS7vLJdPPGF60C9Ll8qXkGj1SrFAgnXmgBeM 1t0+HnEtL9kzw1e/r3OKOItVELHAhxXPdRIc13NnpzRPNAjjqG+nSWo1+GJ57UDgRdCh Y1elvf+0JIRaKwesf/zqRavzBSxVXzRlR4fPpv4Rluymm6/EdQnUd0sLMusR+nZJPIsa GOvbNbgcdMO++L8ueAymvoTt196Iwupl02MSofavgoa04mdmo9rxBdSTnrkgAu5d87pL HpcQ== X-Gm-Message-State: APjAAAX0MBGnEWEaICAm0+PYWt97fbmjUu1K8s/705QW+zkrTX7m8paX +0cIr7gk2V4+r1AQLzjui2SHcRu/NwAyQsLuZ199zXX5 X-Google-Smtp-Source: APXvYqx33dFvaWzRw2AMjdKJZPTiP+pCwBExpzgwhPCnLVCZknMRMoQZggn4aQ5MkLnRBXi1TdQFaVHOfFpnttvu3ac= X-Received: by 2002:a67:fe96:: with SMTP id b22mr2441208vsr.65.1569594345721; Fri, 27 Sep 2019 07:25:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gadre Nayan Date: Fri, 27 Sep 2019 19:55:34 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Using Realtek NIC with DPDK 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" I am getting following error with my ip_pipeline application Need help: ./build/ip_pipeline -f ./config/ip_firewall.cfg Not provided any port mask as I am not using any DPDK compatible NICS, so disabled ports [APP] Initializing CPU core map ... PANIC in app_init_core_map(): Cannot create CPU core map 6: [./build/ip_pipeline(_start+0x29) [0x42cf79]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7feeb0c1e830]] 4: [./build/ip_pipeline(main+0x55) [0x42b375]] 3: [./build/ip_pipeline(app_init+0x12ff) [0x43a18f]] 2: [./build/ip_pipeline(__rte_panic+0xd6) [0x42a3ba]] 1: [./build/ip_pipeline(rte_dump_stack+0x29) [0x4b7779]] Aborted (core dumped) The config file used is: [EAL] log_level = 9 [PIPELINE0] type = MASTER core = 0 [PIPELINE1] type = INGRESS core = 1 pktq_out = SWQ0 [PIPELINE2] type = FIREWALL core = 2 pktq_in = SWQ0 pktq_out = SWQ1 n_rules = 1024 pkt_type = ipv4 [PIPELINE3] type = EGRESS core = 3 pktq_in = SWQ1 I changed the hard-coded values of the below call to suit the "lscpu" output. app->core_map = cpu_core_map_init(1, 2, 2, 0); Since I have 1 socket, 2 core per socket and 2 threads per core. Anything I am missing On Fri, Sep 6, 2019 at 10:55 AM Gadre Nayan wrote: > > Hi DPDK Users, > > I have the following NIC on my DELL Laptop running Ubuntu OS > > 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07) > LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ > DLActive- BWMgmt- ABWMgmt- > > I have 1 socket, 2 cores per socket and Hyperthreaded (2 logical cores per Core) > > Since DPDK doesn't support Realtek NICs, is there a way around ? > > I was also referring to the mailing list and found a similar discussion: > http://mails.dpdk.org/archives/dev/2014-February/001384.html > > I couldn't find a sample application which uses the software based > PMDs to be treated as physical NICs. > > Thanks > ngadre.