From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id 00CFC2E8F for ; Thu, 6 Mar 2014 11:08:42 +0100 (CET) Received: by mail-pd0-f171.google.com with SMTP id r10so2353034pdi.30 for ; Thu, 06 Mar 2014 02:10:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2UshOjTqWByWMo7ZInFPdzHr4OzUXRi5cLJC+u0d/n8=; b=QIi++Oov0gGYjicyYkCNgQGr7NN3tgQ0zl1B5LSHVSvDJdGjnLqsJxGAInnwGDQK2J 7NxgFce8cm83ISQo5Nx0ALTb8lI6F0SPZ0hGr2fjSr1koRsO0xRtYKwhSwAuEfLsy6G3 ZRc7/3KEOauvYSdmWFsDA/iG4HNgutn8HxZI4kfLpfHGqhpIDXBZH4RSVXHkR/Lj4S97 l4oXk2pG2VGzoXhWYUS0JZexCRIwfbm78OuGN1hYQETWPbJ9z3U8s13+ALwVvsjB4MTS LNjNnXZxf7VZIbViIOTy4hBlBWDeQ394FuYPdDI7LGn8aNvK4b+jKHK87tYEaK7vD5y7 Pk+A== X-Gm-Message-State: ALoCoQlJ1lEpiSv4HMznVYvjoAsdRTt7kM5k4GqAWSHrA1uVkb5fisBxMFQEyh/wPdB28FnBe9d4 MIME-Version: 1.0 X-Received: by 10.66.13.138 with SMTP id h10mr13256956pac.148.1394100611102; Thu, 06 Mar 2014 02:10:11 -0800 (PST) Received: by 10.68.14.65 with HTTP; Thu, 6 Mar 2014 02:10:11 -0800 (PST) In-Reply-To: <1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com> References: <1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com> Date: Thu, 6 Mar 2014 11:10:11 +0100 Message-ID: From: David Marchand To: Mats Liljegren Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [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 10:08:43 -0000 Hello Mats, Meir, On Thu, Mar 6, 2014 at 10:00 AM, wrote: > > > 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. Actually, the more I look at this, the more I think we should just revert the patches I submitted to support old pcap libraries. I will send a revert patch for now and try to find a better approach later. So, the patch from Olivier (resolving the conflict on kvargs) and the revert patch I will send should be enough. Can you confirm it is working fine for you ? Regards, -- David Marchand