DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] KNI is broken with Linux 4.0
@ 2015-04-28 16:48 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2015-04-28 16:48 UTC (permalink / raw)
  To: dev

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: error: initialization from incompatible pointer type [-Werror]
  .ndo_bridge_setlink = igb_ndo_bridge_setlink,
  ^
/var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2321:2: error: (near initialization for ‘igb_netdev_ops.ndo_bridge_setlink’) [-Werror]
/var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_xmit_frame_ring’:
/var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:5482:2: error: implicit declaration of function ‘vlan_tx_tag_present’ [-Werror=implicit-function-declaration]
  if (vlan_tx_tag_present(skb)) {
  ^
/var/src/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:5484:3: error: implicit declaration of function ‘vlan_tx_tag_get’ [-Werror=implicit-function-declaration]
   tx_flags |= (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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-28 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 16:48 [dpdk-dev] KNI is broken with Linux 4.0 Stephen Hemminger

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).