From 1bd9b61222f3a81ffe770fc00b70ded6e760c42b Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Fri, 1 Jun 2018 09:09:08 +0200 Subject: New upstream version 18.05 Change-Id: Icd4170ddc4f63aeae5d0559490e5195b5349f9c2 Signed-off-by: Christian Ehrhardt --- lib/librte_pdump/rte_pdump.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/librte_pdump/rte_pdump.h') diff --git a/lib/librte_pdump/rte_pdump.h b/lib/librte_pdump/rte_pdump.h index a7e83727..673a2b07 100644 --- a/lib/librte_pdump/rte_pdump.h +++ b/lib/librte_pdump/rte_pdump.h @@ -37,10 +37,10 @@ enum rte_pdump_socktype { /** * Initialize packet capturing handling * - * Creates pthread and server socket for handling clients - * requests to enable/disable rxtx callbacks. + * Register the IPC action for communication with target (primary) process. * * @param path + * This parameter is going to be deprecated; it was used for specifying the * directory path for server socket. * * @return @@ -52,7 +52,7 @@ rte_pdump_init(const char *path); /** * Un initialize packet capturing handling * - * Cancels pthread, close server socket, removes server socket address. + * Unregister the IPC action for communication with target (primary) process. * * @return * 0 on success, -1 on error @@ -163,6 +163,7 @@ rte_pdump_disable_by_deviceid(char *device_id, uint16_t queue, uint32_t flags); /** + * @deprecated * Allows applications to set server and client socket paths. * If specified path is null default path will be selected, i.e. *"/var/run/" for root user and "$HOME" for non root user. @@ -181,7 +182,7 @@ rte_pdump_disable_by_deviceid(char *device_id, uint16_t queue, * 0 on success, -EINVAL on error * */ -int +__rte_deprecated int rte_pdump_set_socket_dir(const char *path, enum rte_pdump_socktype type); #ifdef __cplusplus -- cgit 1.2.3-korg