Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/55602 _apply issues_ Submitter: Adrien Mazarguil Date: 2019-06-28 15:56:36 Reply_mail: 20190628155056.28884-3-adrien.mazarguil@6wind.com DPDK git baseline: Repo:dpdk, CommitID: 5f4ed3f058493552658e914815f58e784755a1b3 *Repo: dpdk print "__rte_experimental must be at the start of functions prototype."; ret = 1; } } error: patch failed: devtools/checkpatches.sh:95 error: devtools/checkpatches.sh: patch does not apply Checking patch drivers/net/ixgbe/rte_pmd_ixgbe.h... error: while searching for: * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_SWFW_SYNC) If sw/fw semaphore acquisition failed */ __rte_experimental int rte_pmd_ixgbe_mdio_lock(uint16_t port); /** error: patch failed: drivers/net/ixgbe/rte_pmd_ixgbe.h:584 error: drivers/net/ixgbe/rte_pmd_ixgbe.h: patch does not apply Checking patch drivers/net/softnic/rte_eth_softnic.h... error: while searching for: * @return * Zero on success, error code otherwise. -- __rte_experimental int rte_pmd_softnic_manage(uint16_t port_id); #ifdef __cplusplus error: patch failed: drivers/net/softnic/rte_eth_softnic.h:75 error: drivers/net/softnic/rte_eth_softnic.h: patch does not apply Checking patch lib/librte_bbdev/rte_bbdev.h... error: while searching for: * @return * The total number of usable devices. -- __rte_experimental uint16_t rte_bbdev_count(void); /** error: patch failed: lib/librte_bbdev/rte_bbdev.h:55 error: lib/librte_bbdev/rte_bbdev.h: patch does not apply Checking patch lib/librte_bbdev/rte_bbdev_op.h... error: while searching for: * Operation type as string or NULL if op_type is invalid * -- __rte_experimental const char* rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type); /** error: patch failed: lib/librte_bbdev/rte_bbdev_op.h:461 error: lib/librte_bbdev/rte_bbdev_op.h: patch does not apply Checking patch lib/librte_bbdev/rte_bbdev_pmd.h... error: while searching for: * @return * - Slot in the rte_bbdev array for a new device; -- __rte_experimental struct rte_bbdev * rte_bbdev_allocate(const char *name); /** error: patch failed: lib/librte_bbdev/rte_bbdev_pmd.h:43 error: lib/librte_bbdev/rte_bbdev_pmd.h: patch does not apply Checking patch lib/librte_bpf/rte_bpf.h... error: while searching for: * @param bpf * BPF handle to destroy. -- __rte_experimental void rte_bpf_destroy(struct rte_bpf *bpf); /** error: patch failed: lib/librte_bpf/rte_bpf.h:113 error: lib/librte_bpf/rte_bpf.h: patch does not apply Checking patch lib/librte_bpf/rte_bpf_ethdev.h... error: while searching for: * @param queue * The identifier of the RX queue on the given port -- __rte_experimental void rte_bpf_eth_rx_unload(uint16_t port, uint16_t queue); /** error: patch failed: lib/librte_bpf/rte_bpf_ethdev.h:45 error: lib/librte_bpf/rte_bpf_ethdev.h: patch does not apply Checking patch lib/librte_compressdev/rte_comp.h... error: while searching for: * - On success pointer to mempool * - On failure NULL -- __rte_experimental struct rte_mempool * rte_comp_op_pool_create(const char *name, unsigned int nb_elts, unsigned int cache_size, uint16_t user_size, int socket_id); error: patch failed: lib/librte_compressdev/rte_comp.h:420 error: lib/librte_compressdev/rte_comp.h: patch does not apply Checking patch lib/librte_compressdev/rte_compressdev.h... error: while searching for: #define RTE_COMP_END_OF_CAPABILITIES_LIST() \ { RTE_COMP_ALGO_UNSPECIFIED } -- __rte_experimental const struct rte_compressdev_capabilities * rte_compressdev_capability_get(uint8_t dev_id, enum rte_comp_algorithm algo); error: patch failed: lib/librte_compressdev/rte_compressdev.h:50 error: lib/librte_compressdev/rte_compressdev.h: patch does not apply Checking patch lib/librte_compressdev/rte_compressdev_pmd.h... error: while searching for: * @return * - The rte_compressdev structure pointer for the given device identifier. -- __rte_experimental struct rte_compressdev * rte_compressdev_pmd_get_named_dev(const char *name); /** error: patch failed: lib/librte_compressdev/rte_compressdev_pmd.h:59 error: lib/librte_compressdev/rte_compressdev_pmd.h: patch does not apply Checking patch lib/librte_cryptodev/rte_cryptodev.h... error: while searching for: * - Return description of the asymmetric crypto capability if exist. * - Return NULL if the capability not exist. -- __rte_experimental const struct rte_cryptodev_asymmetric_xform_capability * rte_cryptodev_asym_capability_get(uint8_t dev_id, const struct rte_cryptodev_asym_capability_idx *idx); error: patch failed: lib/librte_cryptodev/rte_cryptodev.h:230 error: lib/librte_cryptodev/rte_cryptodev.h: patch does not apply Checking patch lib/librte_eal/common/include/arch/x86/rte_atomic_64.h... error: while searching for: }; } __rte_aligned(16) rte_int128_t; -- __rte_experimental static inline int rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, const rte_int128_t *src, error: patch failed: lib/librte_eal/common/include/arch/x86/rte_atomic_64.h:224 error: lib/librte_eal/common/include/arch/x86/rte_atomic_64.h: patch does not apply Checking patch lib/librte_eal/common/include/generic/rte_atomic.h... error: while searching for: * @return * Non-zero on success; 0 on failure. -- __rte_experimental static inline int rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, const rte_int128_t *src, error: patch failed: lib/librte_eal/common/include/generic/rte_atomic.h:1121 error: lib/librte_eal/common/include/generic/rte_atomic.h: patch does not apply Checking patch lib/librte_eal/common/include/generic/rte_cycles.h... error: while searching for: * @param us * Number of microseconds to wait. -- __rte_experimental void rte_delay_us_sleep(unsigned int us); /** error: patch failed: lib/librte_eal/common/include/generic/rte_cycles.h:165 error: lib/librte_eal/common/include/generic/rte_cycles.h: patch does not apply Checking patch lib/librte_eal/common/include/generic/rte_rwlock.h... error: while searching for: * - -EBUSY if lock could not be acquired for reading because a * writer holds the lock -- __rte_experimental static inline int rte_rwlock_read_trylock(rte_rwlock_t *rwl) { int32_t x; error: patch failed: lib/librte_eal/common/include/generic/rte_rwlock.h:88 error: lib/librte_eal/common/include/generic/rte_rwlock.h: patch does not apply Checking patch lib/librte_eal/common/include/generic/rte_ticketlock.h... error: while searching for: * @param tl * A pointer to the ticketlock. -- __rte_experimental static inline void rte_ticketlock_init(rte_ticketlock_t *tl) { __atomic_store_n(&tl->tickets, 0, __ATOMIC_RELAXED); error: patch failed: lib/librte_eal/common/include/generic/rte_ticketlock.h:48 error: lib/librte_eal/common/include/generic/rte_ticketlock.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_dev.h... error: while searching for: * - On success, zero. * - On failure, a negative value. -- __rte_experimental int rte_dev_event_callback_register(const char *device_name, rte_dev_event_cb_fn cb_fn, void *cb_arg); error: patch failed: lib/librte_eal/common/include/rte_dev.h:363 error: lib/librte_eal/common/include/rte_dev.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_eal.h... error: while searching for: * - 0 on success. * - (<0) on failure. -- __rte_experimental int rte_mp_action_register(const char *name, rte_mp_t action); /** error: patch failed: lib/librte_eal/common/include/rte_eal.h:275 error: lib/librte_eal/common/include/rte_eal.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_fbarray.h... error: while searching for: * - 0 on success. * - -1 on failure, with ``rte_errno`` indicating reason for failure. -- __rte_experimental int rte_fbarray_init(struct rte_fbarray *arr, const char *name, unsigned int len, unsigned int elt_sz); error: patch failed: lib/librte_eal/common/include/rte_fbarray.h:75 error: lib/librte_eal/common/include/rte_fbarray.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_interrupts.h... error: while searching for: * - On success, return the number of callback entities marked for remove. * - On failure, a negative value. -- __rte_experimental int rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb_fn, void *cb_arg, rte_intr_unregister_callback_fn ucb_fn); error: patch failed: lib/librte_eal/common/include/rte_interrupts.h:88 error: lib/librte_eal/common/include/rte_interrupts.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_lcore.h... Checking patch lib/librte_eal/common/include/rte_malloc.h... error: while searching for: * align is not a power of two). -- __rte_experimental void * rte_realloc_socket(void *ptr, size_t size, unsigned int align, int socket); /** error: patch failed: lib/librte_eal/common/include/rte_malloc.h:153 error: lib/librte_eal/common/include/rte_malloc.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_memory.h... error: while searching for: * 1 if stopped by the user * -1 if user function reported error -- __rte_experimental int rte_memseg_walk(rte_memseg_walk_t func, void *arg); /** error: patch failed: lib/librte_eal/common/include/rte_memory.h:227 error: lib/librte_eal/common/include/rte_memory.h: patch does not apply Checking patch lib/librte_eal/common/include/rte_random.h... Checking patch lib/librte_eal/common/include/rte_service.h... error: while searching for: * @retval 0 Service is not running on any lcore -- __rte_experimental int32_t rte_service_may_be_active(uint32_t id); /** error: patch failed: lib/librte_eal/common/include/rte_service.h:178 error: lib/librte_eal/common/include/rte_service.h: patch does not apply Checking patch lib/librte_ethdev/rte_ethdev.h... error: while searching for: * Next port id of the device, possibly port_id_start, * RTE_MAX_ETHPORTS if there is none. -- __rte_experimental uint16_t rte_eth_find_next_of(uint16_t port_id_start, const struct rte_device *parent); error: patch failed: lib/librte_ethdev/rte_ethdev.h:1453 error: lib/librte_ethdev/rte_ethdev.h: patch does not apply Checking patch lib/librte_ethdev/rte_ethdev_driver.h... error: while searching for: * @return * Negative errno value on error, 0 on success. -- __rte_experimental int rte_eth_switch_domain_alloc(uint16_t *domain_id); /** error: patch failed: lib/librte_ethdev/rte_ethdev_driver.h:225 error: lib/librte_ethdev/rte_ethdev_driver.h: patch does not apply Checking patch lib/librte_ethdev/rte_flow_driver.h... error: while searching for: * * -E2BIG: graph-depth @p graph is too deep. -- __rte_experimental int rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size, const struct rte_flow_item *pattern, uint64_t types, const struct rte_flow_expand_node graph[], error: patch failed: lib/librte_ethdev/rte_flow_driver.h:171 error: lib/librte_ethdev/rte_flow_driver.h: patch does not apply Checking patch lib/librte_ethdev/rte_mtr.h... error: while searching for: * @return * 0 on success, non-zero error code otherwise. -- __rte_experimental int rte_mtr_capabilities_get(uint16_t port_id, struct rte_mtr_capabilities *cap, struct rte_mtr_error *error); error: patch failed: lib/librte_ethdev/rte_mtr.h:438 error: lib/librte_ethdev/rte_mtr.h: patch does not apply Checking patch lib/librte_eventdev/rte_event_eth_rx_adapter.h... error: while searching for: * - 0: Success, retrieved successfully. * - <0: Error code on failure. */ __rte_experimental int rte_event_eth_rx_adapter_stats_get(uint8_t id, struct rte_event_eth_rx_adapter_stats *stats); error: patch failed: lib/librte_eventdev/rte_event_eth_rx_adapter.h:413 error: lib/librte_eventdev/rte_event_eth_rx_adapter.h: patch does not apply Checking patch lib/librte_flow_classify/rte_flow_classify.h... error: while searching for: * @return * Handle to flow classifier instance on success or NULL otherwise -- __rte_experimental struct rte_flow_classifier * rte_flow_classifier_create(struct rte_flow_classifier_params *params); /** error: patch failed: lib/librte_flow_classify/rte_flow_classify.h:155 error: lib/librte_flow_classify/rte_flow_classify.h: patch does not apply Checking patch lib/librte_hash/rte_hash.h... error: while searching for: * - 0 if freed successfully * - -EINVAL if the parameters are invalid. -- __rte_experimental int rte_hash_free_key_with_position(const struct rte_hash *h, const int32_t position); error: patch failed: lib/librte_hash/rte_hash.h:366 error: lib/librte_hash/rte_hash.h: patch does not apply Checking patch lib/librte_ip_frag/rte_ip_frag.h... error: while searching for: * @param tms * Current timestamp -- __rte_experimental void rte_frag_table_del_expired_entries(struct rte_ip_frag_tbl *tbl, struct rte_ip_frag_death_row *dr, uint64_t tms); error: patch failed: lib/librte_ip_frag/rte_ip_frag.h:348 error: lib/librte_ip_frag/rte_ip_frag.h: patch does not apply Checking patch lib/librte_ipsec/rte_ipsec.h... error: while searching for: * - Zero if operation completed successfully. * - -EINVAL if the parameters are invalid. -- __rte_experimental int rte_ipsec_session_prepare(struct rte_ipsec_session *ss); /** error: patch failed: lib/librte_ipsec/rte_ipsec.h:84 error: lib/librte_ipsec/rte_ipsec.h: patch does not apply Checking patch lib/librte_ipsec/rte_ipsec_group.h... error: while searching for: * @return * The pointer to the related *rte_ipsec_session* structure. -- __rte_experimental static inline struct rte_ipsec_session * rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop) { const struct rte_security_session *ss; error: patch failed: lib/librte_ipsec/rte_ipsec_group.h:42 error: lib/librte_ipsec/rte_ipsec_group.h: patch does not apply Checking patch lib/librte_ipsec/rte_ipsec_sa.h... error: while searching for: * @return * SA type value. -- __rte_experimental uint64_t rte_ipsec_sa_type(const struct rte_ipsec_sa *sa); /** error: patch failed: lib/librte_ipsec/rte_ipsec_sa.h:128 error: lib/librte_ipsec/rte_ipsec_sa.h: patch does not apply Checking patch lib/librte_kni/rte_kni.h... error: while searching for: * Previous link state == linkdown: 0 * Previous link state == linkup: 1 -- __rte_experimental int rte_kni_update_link(struct rte_kni *kni, unsigned int linkup); /** error: patch failed: lib/librte_kni/rte_kni.h:249 error: lib/librte_kni/rte_kni.h: patch does not apply Checking patch lib/librte_mbuf/rte_mbuf.h... error: while searching for: * @return * The pointer of the mbuf buffer. -- __rte_experimental static inline char * rte_mbuf_buf_addr(struct rte_mbuf *mb, struct rte_mempool *mp) { return (char *)mb + sizeof(*mb) + rte_pktmbuf_priv_size(mp); error: patch failed: lib/librte_mbuf/rte_mbuf.h:866 error: lib/librte_mbuf/rte_mbuf.h: patch does not apply Checking patch lib/librte_meter/rte_meter.h... error: while searching for: * @return * 0 upon success, error code otherwise -- __rte_experimental int rte_meter_trtcm_rfc4115_profile_config( struct rte_meter_trtcm_rfc4115_profile *p, struct rte_meter_trtcm_rfc4115_params *params); error: patch failed: lib/librte_meter/rte_meter.h:140 error: lib/librte_meter/rte_meter.h: patch does not apply Checking patch lib/librte_net/rte_arp.h... error: while searching for: * @return * - RARP packet pointer on success, or NULL on error -- __rte_experimental struct rte_mbuf * rte_net_make_rarp_packet(struct rte_mempool *mpool, const struct rte_ether_addr *mac); error: patch failed: lib/librte_net/rte_arp.h:63 error: lib/librte_net/rte_arp.h: patch does not apply Checking patch lib/librte_net/rte_net.h... error: while searching for: * Protocol that follows IPv6 header. * -1 if an error occurs during mbuf parsing. -- __rte_experimental int rte_net_skip_ip6_ext(uint16_t proto, const struct rte_mbuf *m, uint32_t *off, int *frag); error: patch failed: lib/librte_net/rte_net.h:51 error: lib/librte_net/rte_net.h: patch does not apply Checking patch lib/librte_pipeline/rte_port_in_action.h... error: while searching for: * @return * Input port action profile handle on success, NULL otherwise. -- __rte_experimental struct rte_port_in_action_profile * rte_port_in_action_profile_create(uint32_t socket_id); /** error: patch failed: lib/librte_pipeline/rte_port_in_action.h:172 error: lib/librte_pipeline/rte_port_in_action.h: patch does not apply Checking patch lib/librte_pipeline/rte_table_action.h... error: while searching for: * @return * Table action profile handle on success, NULL otherwise. -- __rte_experimental struct rte_table_action_profile * rte_table_action_profile_create(struct rte_table_action_common_config *common); /** error: patch failed: lib/librte_pipeline/rte_table_action.h:823 error: lib/librte_pipeline/rte_table_action.h: patch does not apply Checking patch lib/librte_power/rte_power_empty_poll.h... error: while searching for: * - 0 on success. * - Negative on error. -- __rte_experimental void rte_power_empty_poll_stat_free(void); /** error: patch failed: lib/librte_power/rte_power_empty_poll.h:142 error: lib/librte_power/rte_power_empty_poll.h: patch does not apply Checking patch lib/librte_rcu/rte_rcu_qsbr.h... error: while searching for: * Possible rte_errno codes are: * - EINVAL - max_threads is 0 -- __rte_experimental size_t rte_rcu_qsbr_get_memsize(uint32_t max_threads); /** error: patch failed: lib/librte_rcu/rte_rcu_qsbr.h:122 error: lib/librte_rcu/rte_rcu_qsbr.h: patch does not apply Checking patch lib/librte_sched/rte_sched.h... error: while searching for: * @return * 0 upon success, error code otherwise -- __rte_experimental int rte_sched_port_pipe_profile_add(struct rte_sched_port *port, struct rte_sched_pipe_params *params, uint32_t *pipe_profile_id); error: patch failed: lib/librte_sched/rte_sched.h:249 error: lib/librte_sched/rte_sched.h: patch does not apply Checking patch lib/librte_security/rte_security.h... error: while searching for: * - On success returns 0 * - On failure return errno -- __rte_experimental int rte_security_session_update(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_session_conf *conf); error: patch failed: lib/librte_security/rte_security.h:346 error: lib/librte_security/rte_security.h: patch does not apply Checking patch lib/librte_stack/rte_stack.h... error: while searching for: * @return * Actual number of objects pushed (either 0 or *n*). -- __rte_experimental static __rte_always_inline unsigned int rte_stack_push(struct rte_stack *s, void * const *obj_table, unsigned int n) { RTE_ASSERT(s != NULL); error: patch failed: lib/librte_stack/rte_stack.h:112 error: lib/librte_stack/rte_stack.h: patch does not apply Checking patch lib/librte_stack/rte_stack_lf.h... error: while searching for: * @return * Actual number of objects enqueued. -- __rte_experimental static __rte_always_inline unsigned int __rte_stack_lf_push(struct rte_stack *s, void * const *obj_table, unsigned int n) error: patch failed: lib/librte_stack/rte_stack_lf.h:23 error: lib/librte_stack/rte_stack_lf.h: patch does not apply Checking patch lib/librte_stack/rte_stack_std.h... error: while searching for: * @return * Actual number of objects pushed (either 0 or *n*). -- __rte_experimental static __rte_always_inline unsigned int __rte_stack_std_push(struct rte_stack *s, void * const *obj_table, unsigned int n) { error: patch failed: lib/librte_stack/rte_stack_std.h:19 error: lib/librte_stack/rte_stack_std.h: patch does not apply Checking patch lib/librte_table/rte_table_hash_func.h... error: while searching for: #include #include -- __rte_experimental static inline uint64_t rte_crc32_u64_generic(uint64_t crc, uint64_t value) { int i; error: patch failed: lib/librte_table/rte_table_hash_func.h:14 error: lib/librte_table/rte_table_hash_func.h: patch does not apply Checking patch lib/librte_telemetry/rte_telemetry.h... error: while searching for: * @return * -EALREADY if Telemetry is already initialised. -- __rte_experimental int32_t rte_telemetry_init(void); /** error: patch failed: lib/librte_telemetry/rte_telemetry.h:31 error: lib/librte_telemetry/rte_telemetry.h: patch does not apply Checking patch lib/librte_telemetry/rte_telemetry_parser.h... error: while searching for: #ifndef _RTE_TELEMETRY_PARSER_H_ #define _RTE_TELEMETRY_PARSER_H_ -- __rte_experimental int32_t rte_telemetry_parse(struct telemetry_impl *telemetry, char *socket_rx_data); #endif error: patch failed: lib/librte_telemetry/rte_telemetry_parser.h:8 error: lib/librte_telemetry/rte_telemetry_parser.h: patch does not apply Checking patch lib/librte_timer/rte_timer.h... error: while searching for: * - 0: Success * - -ENOSPC: maximum number of timer data instances already allocated -- __rte_experimental int rte_timer_data_alloc(uint32_t *id_ptr); /** * @warning error: patch failed: lib/librte_timer/rte_timer.h:147 error: lib/librte_timer/rte_timer.h: patch does not apply Checking patch lib/librte_vhost/rte_vdpa.h... error: while searching for: * @return * device id on success, -1 on failure -- __rte_experimental int rte_vdpa_register_device(struct rte_vdpa_dev_addr *addr, struct rte_vdpa_dev_ops *ops); error: patch failed: lib/librte_vhost/rte_vdpa.h:100 error: lib/librte_vhost/rte_vdpa.h: patch does not apply Checking patch lib/librte_vhost/rte_vhost.h... error: while searching for: * @return * 0 on success, -1 on failure -- __rte_experimental int rte_vhost_driver_attach_vdpa_device(const char *path, int did); /** error: patch failed: lib/librte_vhost/rte_vhost.h:313 error: lib/librte_vhost/rte_vhost.h: patch does not apply Checking patch lib/librte_vhost/rte_vhost_crypto.h... error: while searching for: * 0 if the Vhost Crypto Instance is created successfully. * Negative integer if otherwise -- __rte_experimental int rte_vhost_crypto_create(int vid, uint8_t cryptodev_id, struct rte_mempool *sess_pool, struct rte_mempool *sess_priv_pool, error: patch failed: lib/librte_vhost/rte_vhost_crypto.h:35 error: lib/librte_vhost/rte_vhost_crypto.h: patch does not apply DPDK STV team