@@ -286,6 +286,12 @@ def perf_udp_iperf_sriov(self, result: TestResult) -> None:
286286 udp_mode = True ,
287287 )
288288
289+ # Marked all following tests to skip on BSD since
290+ # sockperf compilation is not natively supported at this time
291+ # This is due to the default compiler on freebsd being c++17
292+ # and sockperf is designed to compile on c+11 which is no longer available
293+ # This is a way to compile it but it requires adding a patch file
294+ # to the sockperf repo to remove references to std::unary and std::binary
289295 @TestCaseMetadata (
290296 description = """
291297 This test case uses sockperf to test sriov network latency.
@@ -294,6 +300,7 @@ def perf_udp_iperf_sriov(self, result: TestResult) -> None:
294300 requirement = simple_requirement (
295301 min_count = 2 ,
296302 network_interface = Sriov (),
303+ unsupported_os = [BSD , Windows ],
297304 ),
298305 )
299306 def perf_sockperf_latency_tcp_sriov (self , result : TestResult ) -> None :
@@ -307,6 +314,7 @@ def perf_sockperf_latency_tcp_sriov(self, result: TestResult) -> None:
307314 requirement = simple_requirement (
308315 min_count = 2 ,
309316 network_interface = Sriov (),
317+ unsupported_os = [BSD , Windows ],
310318 ),
311319 )
312320 def perf_sockperf_latency_udp_sriov (self , result : TestResult ) -> None :
@@ -320,6 +328,7 @@ def perf_sockperf_latency_udp_sriov(self, result: TestResult) -> None:
320328 requirement = simple_requirement (
321329 min_count = 2 ,
322330 network_interface = Synthetic (),
331+ unsupported_os = [BSD , Windows ],
323332 ),
324333 )
325334 def perf_sockperf_latency_udp_synthetic (self , result : TestResult ) -> None :
@@ -333,6 +342,7 @@ def perf_sockperf_latency_udp_synthetic(self, result: TestResult) -> None:
333342 requirement = simple_requirement (
334343 min_count = 2 ,
335344 network_interface = Synthetic (),
345+ unsupported_os = [BSD , Windows ],
336346 ),
337347 )
338348 def perf_sockperf_latency_tcp_synthetic (self , result : TestResult ) -> None :
@@ -346,6 +356,7 @@ def perf_sockperf_latency_tcp_synthetic(self, result: TestResult) -> None:
346356 requirement = simple_requirement (
347357 min_count = 2 ,
348358 network_interface = Sriov (),
359+ unsupported_os = [BSD , Windows ],
349360 ),
350361 )
351362 def perf_sockperf_latency_tcp_sriov_busy_poll (self , result : TestResult ) -> None :
@@ -364,6 +375,7 @@ def perf_sockperf_latency_tcp_sriov_busy_poll(self, result: TestResult) -> None:
364375 requirement = simple_requirement (
365376 min_count = 2 ,
366377 network_interface = Sriov (),
378+ unsupported_os = [BSD , Windows ],
367379 ),
368380 )
369381 def perf_sockperf_latency_udp_sriov_busy_poll (self , result : TestResult ) -> None :
@@ -382,6 +394,7 @@ def perf_sockperf_latency_udp_sriov_busy_poll(self, result: TestResult) -> None:
382394 requirement = simple_requirement (
383395 min_count = 2 ,
384396 network_interface = Synthetic (),
397+ unsupported_os = [BSD , Windows ],
385398 ),
386399 )
387400 def perf_sockperf_latency_udp_synthetic_busy_poll (self , result : TestResult ) -> None :
@@ -400,6 +413,7 @@ def perf_sockperf_latency_udp_synthetic_busy_poll(self, result: TestResult) -> N
400413 requirement = simple_requirement (
401414 min_count = 2 ,
402415 network_interface = Synthetic (),
416+ unsupported_os = [BSD , Windows ],
403417 ),
404418 )
405419 def perf_sockperf_latency_tcp_synthetic_busy_poll (self , result : TestResult ) -> None :
0 commit comments