From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 712B9C676 for ; Tue, 28 Apr 2015 18:48:32 +0200 (CEST) Received: by pabsx10 with SMTP id sx10so555085pab.3 for ; Tue, 28 Apr 2015 09:48:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=dXd5+Kny067Bag3iU75/BP6wTYs0cVOEuDUPgrz2uR0=; b=ZAQLR/WMMhlwo5Oc+7IEJO/OsyFEi7KyPksAUza+O+QzFXzOeev9PN9AnmZpRvU+2d GUm2Lh3p217LxT3DYBqcwwgdMbon52eB+Pn20DV+xWniDXPrzlbHhyAoklrNClUkJNTS ivO0t8f/CHVlWhSOqyMipiEN1ySg5vfO28SpU+KPj9UYMO2akUWJgtQtHw+sAGCu2zdn rdac2LycockUVH7kt1wmQBWsZtwDdDfnn+4QQsjrxzFzXD9w7Z86aHz6RTcZSy1lchoP LJbsayT2a8G+pJCG4lcm8ypXW2My9z0LFLsWA25S5/+t/aB9WPJ4FrNe53GRS8xVxOqH 4SZw== X-Gm-Message-State: ALoCoQn6uj4o0NqlCieRNxWy1qprM28hkD/WIXo9+ajZg1M25B3r/ZRxa7fCONxUdLTk+dbp3Y21 X-Received: by 10.66.161.102 with SMTP id xr6mr18499273pab.8.1430239711744; Tue, 28 Apr 2015 09:48:31 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id nn6sm22959676pdb.79.2015.04.28.09.48.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2015 09:48:31 -0700 (PDT) Date: Tue, 28 Apr 2015 09:48:35 -0700 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20150428094835.407ccba9@urahara> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] KNI is broken with Linux 4.0 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: Tue, 28 Apr 2015 16:48:33 -0000 KNI won't build anymore. Since I don't use it not my problem. CC [M] /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.o /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2321:2: er= ror: initialization from incompatible pointer type [-Werror] .ndo_bridge_setlink =3D igb_ndo_bridge_setlink, ^ /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2321:2: er= ror: (near initialization for =E2=80=98igb_netdev_ops.ndo_bridge_setlink=E2= =80=99) [-Werror] /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c: In functi= on =E2=80=98igb_xmit_frame_ring=E2=80=99: /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:5482:2: er= ror: implicit declaration of function =E2=80=98vlan_tx_tag_present=E2=80=99= [-Werror=3Dimplicit-function-declaration] if (vlan_tx_tag_present(skb)) { ^ /var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:5484:3: er= ror: implicit declaration of function =E2=80=98vlan_tx_tag_get=E2=80=99 [-W= error=3Dimplicit-function-declaration] tx_flags |=3D (vlan_tx_tag_get(skb) << IGB_TX_FLAGS_VLAN_SHIFT); ^ cc1: all warnings being treated as errors Ps: this and all the other kernel drivers really need to be upstream to avoid these kind of issues in the future.