-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It fixes the compile issue on kernel version 2.6.32 or old ones. Error logs: lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: unknown field id specified in initializer lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: excess elements in struct initializer lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: (near initialization for kni_net_ops) lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: unknown field size specified in initializer lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: excess elements in struct initializer lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: (near initialization for kni_net_ops) Fixes: 72a7a2b ("kni: allow per-net instances") Signed-off-by: Helin Zhang <helin.zhang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
- Loading branch information
1 parent
b0fb515
commit e6734d2
Showing
1 changed file
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters