git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc: update deprecation of ethdev offload API
[dpdk.git]
/
lib
/
librte_net
/
rte_net_crc.c
diff --git
a/lib/librte_net/rte_net_crc.c
b/lib/librte_net/rte_net_crc.c
index
661fe32
..
0c1bf51
100644
(file)
--- a/
lib/librte_net/rte_net_crc.c
+++ b/
lib/librte_net/rte_net_crc.c
@@
-205,8
+205,7
@@
rte_net_crc_calc(const void *data,
}
/* Select highest available crc algorithm as default one */
-static inline void __attribute__((constructor))
-rte_net_crc_init(void)
+RTE_INIT(rte_net_crc_init)
{
enum rte_net_crc_alg alg = RTE_NET_CRC_SCALAR;