/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/net/meson.build
61 строка
1 KB
Rajesh Kumar
net: add IEEE 1588 PTP v2 protocol header definitions
09 июн 2026, 13:32
09 июн 2026, 13:32
a898542
Код
Авторство
О чём код?
# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2020 Intel Corporation headers = files( 'rte_cksum.h', 'rte_ip.h', 'rte_ip4.h', 'rte_ip6.h', 'rte_tcp.h', 'rte_udp.h', 'rte_tls.h', 'rte_dtls.h', 'rte_esp.h', 'rte_sctp.h', 'rte_icmp.h', 'rte_arp.h', 'rte_ether.h', 'rte_macsec.h', 'rte_vxlan.h', 'rte_gre.h', 'rte_gtp.h', 'rte_net.h', 'rte_net_crc.h', 'rte_mpls.h', 'rte_higig.h', 'rte_ecpri.h', 'rte_pdcp_hdr.h', 'rte_geneve.h', 'rte_l2tpv2.h', 'rte_ppp.h', 'rte_ptp.h', 'rte_ib.h', ) sources = files( 'rte_arp.c', 'rte_ether.c', 'rte_net.c', 'rte_net_crc.c', ) deps += ['mbuf'] if dpdk_conf.has('RTE_ARCH_X86_64') sources += files('net_crc_sse.c') cflags_options = ['-mpclmul', '-maes'] foreach option:cflags_options if cc.has_argument(option) cflags += option endif endforeach # only build AVX-512 support if we also have PCLMULQDQ support if cc.has_argument('-mvpclmulqdq') sources_avx512 += files('net_crc_avx512.c') cflags_avx512 += ['-mvpclmulqdq'] endif elif (dpdk_conf.has('RTE_ARCH_ARM64') and cc.get_define('__ARM_FEATURE_CRYPTO', args: machine_args) != '') sources += files('net_crc_neon.c') cflags += ['-DCC_ARM64_NEON_PMULL_SUPPORT'] endif