From: Gadre Nayan <gadrenayan@gmail.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] Using Realtek NIC with DPDK
Date: Fri, 27 Sep 2019 19:55:34 +0530 [thread overview]
Message-ID: <CAKJ7aR5EBLUXAP08AaVjVxWG_r5Ed1qb4pDzXJw8r3Puchn19A@mail.gmail.com> (raw)
In-Reply-To: <CAKJ7aR5HMH7rt7FxA3HA5zX0CeQJi_WY_svjLHqj+q5Jf+UNSQ@mail.gmail.com>
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 <gadrenayan@gmail.com> 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.
next prev parent reply other threads:[~2019-09-27 14:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 5:25 Gadre Nayan
2019-09-27 14:25 ` Gadre Nayan [this message]
[not found] <mailman.1.1567764002.2197.users@dpdk.org>
2019-09-15 16:13 ` 曾懷恩
2019-09-15 16:53 ` Jim Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKJ7aR5EBLUXAP08AaVjVxWG_r5Ed1qb4pDzXJw8r3Puchn19A@mail.gmail.com \
--to=gadrenayan@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).