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
net/mlx5: implement vectorized MPRQ burst
[dpdk.git]
/
drivers
/
net
/
mlx4
/
mlx4_utils.c
diff --git
a/drivers/net/mlx4/mlx4_utils.c
b/drivers/net/mlx4/mlx4_utils.c
index
a727d70
..
614dc19
100644
(file)
--- a/
drivers/net/mlx4/mlx4_utils.c
+++ b/
drivers/net/mlx4/mlx4_utils.c
@@
-8,7
+8,6
@@
* Utility functions used by the mlx4 driver.
*/
* Utility functions used by the mlx4 driver.
*/
-#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
@@
-36,7
+35,7
@@
mlx4_fd_set_non_blocking(int fd)
if (ret != -1 && !fcntl(fd, F_SETFL, ret | O_NONBLOCK))
return 0;
if (ret != -1 && !fcntl(fd, F_SETFL, ret | O_NONBLOCK))
return 0;
-
assert
(errno);
+
MLX4_ASSERT
(errno);
rte_errno = errno;
return -rte_errno;
}
rte_errno = errno;
return -rte_errno;
}