Package: perftest / 3.4+0.6.gc3435c2-1

Fix-typo-destory.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Description: Fix typo destory -> destroy
Author: Benjamin Drung <benjamin.drung@profitbricks.com>

--- a/src/raw_ethernet_send_bw.c
+++ b/src/raw_ethernet_send_bw.c
@@ -415,7 +415,7 @@
 				if (ibv_destroy_flow(flow_create_result[flow_index + qp_index * user_param.flows])) {
 				#endif
 					perror("error");
-					fprintf(stderr, "Couldn't Destory flow\n");
+					fprintf(stderr, "Couldn't destroy flow\n");
 					return FAILURE;
 				}
 			}
@@ -430,7 +430,7 @@
 				if (ibv_destroy_flow(flow_promisc[qp_index])) {
 				#endif
 					perror("error");
-					fprintf(stderr, "Couldn't Destory flow\n");
+					fprintf(stderr, "Couldn't destroy flow\n");
 					return FAILURE;
 				}
 			}
@@ -446,7 +446,7 @@
 				if (ibv_destroy_flow(flow_sniffer[qp_index])) {
 				#endif
 					perror("error");
-					fprintf(stderr, "Couldn't Destory sniffer flow\n");
+					fprintf(stderr, "Couldn't destroy sniffer flow\n");
 					return FAILURE;
 				}
 			}
--- a/src/raw_ethernet_send_lat.c
+++ b/src/raw_ethernet_send_lat.c
@@ -247,7 +247,7 @@
 	user_param.test_type == ITERATIONS ? print_report_lat(&user_param) :
 		print_report_lat_duration(&user_param);
 
-	/* destory promisc flow */
+	/* destroy promisc flow */
 	if (user_param.use_promiscuous) {
 		#ifdef HAVE_RAW_ETH_EXP
 		if (ibv_exp_destroy_flow(flow_promisc)) {
@@ -255,7 +255,7 @@
 		if (ibv_destroy_flow(flow_promisc)) {
 		#endif
 			perror("error");
-			fprintf(stderr, "Couldn't Destory promisc flow\n");
+			fprintf(stderr, "Couldn't destroy promisc flow\n");
 			return FAILURE;
 		}
 	}
@@ -268,7 +268,7 @@
 		if (ibv_destroy_flow(flow_create_result[i])) {
 		#endif
 			perror("error");
-			fprintf(stderr, "Couldn't Destory flow\n");
+			fprintf(stderr, "Couldn't destroy flow\n");
 			return FAILURE;
 		}
 
--- a/src/send_bw.c
+++ b/src/send_bw.c
@@ -549,9 +549,9 @@
 		fprintf(stderr," Trying to close this side resources\n");
 	}
 
-	/* Destory all test resources, including Mcast if exists */
+	/* Destroy all test resources, including Mcast if exists */
 	if (send_destroy_ctx(&ctx,&user_param,&mcg_params)) {
-		fprintf(stderr,"Couldn't Destory all SEND resources\n");
+		fprintf(stderr,"Couldn't destroy all SEND resources\n");
 		return FAILURE;
 	}
 	if (user_param.work_rdma_cm == ON) {
--- a/src/raw_ethernet_send_burst_lat.c
+++ b/src/raw_ethernet_send_burst_lat.c
@@ -252,7 +252,7 @@
 	if (user_param.machine == CLIENT)
 		print_report_lat(&user_param);
 
-	/* destory promisc flow */
+	/* destroy promisc flow */
 	if (user_param.use_promiscuous) {
 		#ifdef HAVE_RAW_ETH_EXP
 		if (ibv_exp_destroy_flow(flow_promisc)) {
@@ -260,7 +260,7 @@
 		if (ibv_destroy_flow(flow_promisc)) {
 		#endif
 			perror("error");
-			fprintf(stderr, "Couldn't Destory promisc flow\n");
+			fprintf(stderr, "Couldn't destroy promisc flow\n");
 			return FAILURE;
 		}
 	}
@@ -273,7 +273,7 @@
 		if (ibv_destroy_flow(flow_create_result[i])) {
 		#endif
 			perror("error");
-			fprintf(stderr, "Couldn't Destory flow\n");
+			fprintf(stderr, "Couldn't destroy flow\n");
 			return FAILURE;
 		}