Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Igor Klemenski e710431a0b
Add WS 2022 self-hosted runners. (#2850)
* Add new server 2022 and 2019 runners.

* rename runners and VMs

* Update old runners

* update perf runner label

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-09-21 00:42:36 +00:00
Igor Klemenski c1ef869487
Add designated runner for perf jobs. (#2845)
* test perf runner

* run perf test on PR push

* remove gh condition

* remove repo restriction

* add perf label in yml

* works, uncomment

* user perf label for all of bpf_performance tests

* restore event-triggered run behavior

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-09-15 20:16:00 +00:00
Igor Klemenski 77191a8632
Use multiple self-hosted runner instances. (#2722)
* first try runners

* optimize json schema

* remove refs to vm_list.json

* comment out most of pipeline for final testing in prod

* try fixing appverifier double close on handle

* add native-only vcxproj configs for tcp_udp_listener.exe

* add missing vcxproj parts

* fix active config for tcp_udp_listener in ebpf .sln

* uncomment CI after successful run on all runners

* do staged migration

* fix up labels

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-08-02 22:04:42 +00:00
Igor Klemenski 78f826c2f0
Convert xdp_test and connect_redirect_tests into single-machine tests. (#2699)
* make xdp tests run on 2 duonic pairs

* makre 2-machine tests ready for duonic

* update expected bpf2c files

* rephrase xdp_test VM name comments

* update doc

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-07-28 01:21:01 +00:00
Anurag Saxena 8fd3acf528
Connect redirect implementation (#1651)
* draft fix

* fix

* demo

* fix initial ref counts

* fix

* cleanup

* backup

* checkpoint

* backup

* tests working

* fix analyze errors

* fix netebpfext build / bad merge

* sln file update

* v6 tests

* fix netebpfext user build

* refactor connect_redirect tests

* netebpfext changes

* fix tests

* fix netebpfext user tests

* fix sal

* add sublayer, remove filter_instance

* fix

* fix

* driver_tests

* fix bad merge

* fix scripts

* fix driver tests script

* driver tests script

* script fix

* add trace to debug failure

* fix driver test script

* create context only on allow, and create 2 contexts

* fix script

* netsh fix

* fix scripts

* add tests for pure v4 and v6 sockets

* fix test

* v6 test vm addresses

* remove commented code

* code cleanup

* cleanup

* remove bad_map_name files

* cleanup

* fix tests print statements

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* CR comments, fixes

* update connection context key, address CR comments

* fix build break, cr comments

* cr comments

* cr comments

* rename

* fix test script

* CR comments

* cleanup

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* fix

* cr comments

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-29 20:49:42 +00:00
Shankar Seal a8e3a30767
Support attaching XDP program per NIC. (#803)
* Support attaching XDP program per NIC.

* PR Feedback.

* fix bug.

* PR Feedback.
2022-03-14 15:16:11 -07:00
Shankar Seal 40915b0d15
Netebpfext refactor (#776)
* fix crash.

* use NMR APIs.

* program info provider; bind program info

rename attach provider as hook provider

function renaming

* refactor hook providers.

* async client detach.

* cicd automation and documentation.

* PR Feedback.

* switch to server 2019.

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-02-25 17:53:12 -08:00