From: <liljegren.mats2@gmail.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] Pcap question
Date: Thu, 6 Mar 2014 10:00:39 +0100 [thread overview]
Message-ID: <1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com> (raw)
In-Reply-To: <CA+Typ9k1hSKwPx6oUTCs3KGJuQZXtsxZod7ge+n0-K_rzTqmNA@mail.gmail.com>
> I guess something is still wrong:
> testpmd application is reporting "PMD: pcap library cannot send packets,
> please rebuild with a more up to date libpcap" message when I try creating
> a bridge between two network cards.
> I am more than sure that older version of pcap is not installed:
> cigol@cigol-desktop:~/debug$ ls -l /usr/local/lib/*pcap*
> -rw-r--r-- 1 root root 1274936 Mar 5 23:26 /usr/local/lib/libpcap.a
> lrwxrwxrwx 1 root root 12 Mar 5 23:26 /usr/local/lib/libpcap.so ->
> libpcap.so.1
> lrwxrwxrwx 1 root root 16 Mar 5 23:26 /usr/local/lib/libpcap.so.1 ->
> libpcap.so.1.5.3
> -rwxr-xr-x 1 root root 786725 Mar 5 23:26 /usr/local/lib/libpcap.so.1.5.3
> Do you have any thoughts?
I had this problem a couple of months ago, and tracked it down to a
check for a macro named pcap_sendpacket. I didn't have this macro, but
it is a function, so I simply removed the check and got things
working.
I thought I mentioned this in the DPDK mailing list, but I cannot find
any evidence of this. So I probably didn't...
Since I have lost the original patch I used to solve this issue, I
made a new patch that might work for you, which you should be able to
find as a reply to this message. It was made completely out of my
memory of this and I haven't tested it, but the change is pretty
trivial so I'm sure you can work out any mistakes I might have made.
I hope this helps you.
Best regards,
Mats Liljegren
next prev parent reply other threads:[~2014-03-06 8:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-02 19:13 Meir Tseitlin
2014-03-02 20:11 ` Olivier MATZ
2014-03-03 19:31 ` Meir Tseitlin
2014-03-03 20:32 ` Olivier MATZ
2014-03-03 21:09 ` Meir Tseitlin
2014-03-03 21:31 ` Olivier MATZ
2014-03-03 21:37 ` Olivier MATZ
2014-03-03 21:45 ` Meir Tseitlin
2014-03-05 20:32 ` Meir Tseitlin
2014-03-06 9:00 ` liljegren.mats2 [this message]
2014-03-06 9:00 ` [dpdk-dev] [PATCH] pcap: Remove check for pcap_sendpacket liljegren.mats2
2014-03-06 10:10 ` [dpdk-dev] Pcap question David Marchand
2014-03-20 16:38 ` Thomas Monjalon
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=1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com \
--to=liljegren.mats2@gmail.com \
--cc=dev@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).