numam-dpdk/lib
Ferruh Yigit 1735110509 kni: fix build with kernel < 3.1
compile error:
  CC [M]  .../lib/librte_eal/linuxapp/kni/kni_misc.o
cc1: warnings being treated as errors
.../lib/librte_eal/linuxapp/kni/kni_misc.c: In function ‘kni_exit_net’:
.../lib/librte_eal/linuxapp/kni/kni_misc.c:113:18:
error: unused variable ‘knet’

For kernel versions < v3.1 mutex_destroy() is a macro and does nothing,
this cause an unused variable warning for knet which used in the
mutex_destroy()

mutex_destroy() converted into static inline function with commit:
Linux: 4582c0a4866e ("mutex: Make mutex_destroy() an inline function")

To fix the warning unused attribute added to the knet variable.

Fixes: 93a298b34e ("kni: support core id parameter in single threaded mode")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2016-10-14 22:21:28 +02:00
..
librte_acl lib: use C99 syntax for zero-size arrays 2016-09-13 15:35:28 +02:00
librte_cfgfile lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
librte_cmdline lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev cryptodev: fix build on Suse 11 SP2 2016-10-08 17:54:38 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal kni: fix build with kernel < 3.1 2016-10-14 22:21:28 +02:00
librte_ether ethdev: add an argument to internal callback function 2016-10-14 02:01:52 +02:00
librte_hash hash: fix bucket size usage 2016-10-12 18:40:52 +02:00
librte_ip_frag ip_frag: fix missing dependency on hash library 2016-10-05 15:47:23 +02:00
librte_jobstats jobstats: fix typo in a comment 2016-06-30 18:51:20 +02:00
librte_kni kni: remove continuous memory restriction 2016-09-21 19:18:44 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm: remove redundant check when adding rule 2016-10-13 22:17:00 +02:00
librte_mbuf doc: fix file argument of debug functions 2016-10-13 21:25:53 +02:00
librte_mempool doc: fix file argument of debug functions 2016-10-13 21:25:53 +02:00
librte_meter meter: fix excess token bucket update in srtcm 2016-09-21 22:56:03 +02:00
librte_net net: add function to calculate checksum in mbuf 2016-10-13 20:44:18 +02:00
librte_pdump pdump: fix created directory permissions 2016-10-12 18:40:49 +02:00
librte_pipeline lib: work around unnamed structs/unions 2016-09-13 15:35:28 +02:00
librte_port port: support file descriptor 2016-10-13 11:42:37 +02:00
librte_power examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
librte_reorder lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
librte_ring doc: fix file argument of debug functions 2016-10-13 21:25:53 +02:00
librte_sched sched: fix releasing enqueued packets 2016-09-23 21:14:54 +02:00
librte_table table: add cuckoo hash 2016-10-12 22:08:36 +02:00
librte_timer timer: fix lag delay 2016-10-05 12:02:53 +02:00
librte_vhost vhost: fix Windows VM hang 2016-10-13 10:29:31 +02:00
Makefile ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00