Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 17.11.4
[deb_dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_socket.c
diff --git
a/drivers/net/mlx5/mlx5_socket.c
b/drivers/net/mlx5/mlx5_socket.c
index
7ab3100
..
97f90c0
100644
(file)
--- a/
drivers/net/mlx5/mlx5_socket.c
+++ b/
drivers/net/mlx5/mlx5_socket.c
@@
-61,6
+61,12
@@
mlx5_socket_init(struct rte_eth_dev *dev)
int ret;
int flags;
+ /*
+ * Close the last socket that was used to communicate
+ * with the secondary process
+ */
+ if (priv->primary_socket)
+ mlx5_socket_uninit(dev);
/*
* Initialise the socket to communicate with the secondary
* process.