From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by dpdk.org (Postfix) with SMTP id B8F1C2E8F for ; Thu, 6 Mar 2014 09:59:33 +0100 (CET) Received: from sestofb10.enea.se (172.21.3.145) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Thu, 6 Mar 2014 10:00:57 +0100 Received: by sestofb10.enea.se (Postfix, from userid 2853) id 402E12800C6; Thu, 6 Mar 2014 10:00:57 +0100 (CET) From: To: Date: Thu, 6 Mar 2014 10:00:39 +0100 Message-ID: <1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: SoftFail (SESTOEX08.enea.se: domain of transitioning liljegren.mats2@gmail.com discourages use of 172.21.3.145 as permitted sender) Subject: [dpdk-dev] Pcap question X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 08:59:34 -0000 > 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