From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 167981F3 for ; Fri, 13 Sep 2013 16:13:55 +0200 (CEST) Received: by mail-wg0-f53.google.com with SMTP id x12so1233475wgg.32 for ; Fri, 13 Sep 2013 07:14:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=EntCP5mofjVuU5ObS1J4zUF79oezi5yX/1NFapCG3A4=; b=ayF8SCGrZfQ1ioA5QnJDmEHxeSMfbfu6NRqgnSfkDLmvBZzYkmZGqyZ4fPcsc2aayi ajLv16RahI5gE4CSN5wE6XEHqj77tQpgVip0h9Jx1Exbn1yD+P/6fJ5v5fpwmO1hxxh3 HwppE1WI1KjnPXgd5qMLkeb2+hHSfVr9qEXRzW8xqBHMeQFcd6zhOAV0sN9AasyfKXav OA3PgdfV6FCaUyH5LbU7eSiZvl47iffc690Xbbvgt4VXB/hNLEdvxRHNz7mF4IvVFm/4 K1g8/whR+VgxNzY/GX5RKpJyniyeCfAppf3sh+QmhO7rMo7/HfpnS0ICeKL/RIyxS+xH /g/g== X-Gm-Message-State: ALoCoQm+p9z4iaTgFx08uLGcJKvIhEXYhaIp/esz3Zm/Psaf17nHVQpK16uDVPCF2/CvrKodWKN+ X-Received: by 10.180.73.40 with SMTP id i8mr2726209wiv.37.1379081672889; Fri, 13 Sep 2013 07:14:32 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id r6sm3886630wiw.0.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 07:14:32 -0700 (PDT) Received: by 6wind.com (sSMTP sendmail emulation); Fri, 13 Sep 2013 16:14:30 +0200 From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 13 Sep 2013 16:14:26 +0200 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] build fixes for recent distros 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: Fri, 13 Sep 2013 14:13:56 -0000 KNI is an out-of-tree kernel driver, so it needs some updates to follow recent API changes in Linux. There is also a patch to build with latest GCC. v2 changes: * for kernel 3.8 - undef HAVE_HW_TIME_STAMP instead of removing code * for gcc 4.8 - use strncmp instead of strncmp --- Thomas Monjalon (4): kni: fix build with kernel 3.8 kni: fix build with kernel 3.9 kni: fix build with kernel 3.10 app: fix build with gcc 4.8 app/test/test_cmdline_string.c | 3 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h | 5 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 47 ++++++++++++------ lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 49 ++++++++++++++++++- lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h | 6 +-- .../linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c | 14 +++--- .../linuxapp/kni/ethtool/ixgbe/ixgbe_main.c | 16 +++--- .../linuxapp/kni/ethtool/ixgbe/kcompat.h | 51 ++++++++++++++------ 8 files changed, 137 insertions(+), 54 deletions(-)