v1.2.4.9
What's Changed
- Allow one more round of type inference after specialization by @mihaibudiu in #4291
- Try to fix Github actions syntax. by @fruffy in #4394
- backends/tc: Honour P4TEST_REPLACE environment variable like other backends by @thomascalvert-xlnx in #4395
- backends/ebpf: Track header offset in bytes rather than bits. by @thomascalvert-xlnx in #4327
- [P4Testgen] Hotfixes and improvements to the P4Constraints parsers. by @fruffy in #4387
- Fixes from static analysis by @vlstill in #4391
- Rename eBPF section names for tc backend by @vbnogueira in #4361
- [#4365] Do not allow
--Wdisable
or--Wwarn
to demote errors. Allow--Winfo=diagnostic
to work fordiagnostic
s that can be both warnings and errors. by @kfcripps in #4366 - Dpdk backend:Explicitly use method toString() while moving isValid() Methodcall used as table key, to metadata. by @usha1830 in #4383
- [P4Testgen] Fix failing P4Testgen gtest. by @fruffy in #4397
- [P4Testgen] Use P4Runtime in the protobuf test back end. by @fruffy in #4303
- Improve diagnostics for
MethodCallExpression
by @kfcripps in #4354 - [P4Testgen] Fix generation of specific fields in the Protobuf-IR test backend. by @fruffy-g in #4400
- Implement copy assignment operator for hvec_map by @asl in #4388
- [P4Testgen] Introduce a configuration structure for the test back ends. by @fruffy in #4372
- [P4Testgen] Add a silent mode to P4Tools. Add performance counting at the top level. by @fruffy in #4369
- [P4Testgen] Add an option to override the test name. by @fruffy in #4401
- Do not check for shadowing repeatedly in inlining passes. by @kfcripps in #4396
- [P4Testgen] Stop when an error is throwing in the P4Runtime serializer. Make stop-on-error explicit in the Midend class. by @fruffy in #4408
- Memoize & improve name lookup in
ResolveReferences
by @kfcripps in #4376 - Add buildifier to Bazel workspace and run it on the bazel build files. by @fruffy in #4413
- Implement lightweight RTTI for (not only) IR::Node class hierarchies by @asl in #4377
- [P4Testgen] Add a test case generation API to P4Testgen. by @fruffy in #4374
- Introduce a frontend policy as a customization point for frontend by @vlstill in #4406
- Emit a reasonable error if someone uses type in place where expression is exprected by @vlstill in #4411
- Add IR utility that helps with return of multiple statements from Transform by @vlstill in #4414
- test for ContantFolding + policy by @grg in #4421
- gtest include: quotes -> angled brackets by @grg in #4422
- frontend policy fix: missed ConstantFolding instance by @grg in #4423
- [P4Testgen] Look up the alias in the P4Info instead of using the fully-qualified control plane name for Protobuf IR tests. by @fruffy-g in #4425
- [P4Testgen] Add an option to only generate tests with dropped packets. by @fruffy in #4416
- Add a missing build rule to P4Testgen's bazel build. by @fruffy-g in #4429
- [P4Testgen] Basic support for
@p4runtime_translation
and@p4runtime_translation_mappings
. by @fruffy-g in #4363 - Pass FrontEndPolicy to unit tests by @vlstill in #4433
- allow json output format to be modified by @grg in #4407
- Provide better hash functions and boilerplate by @asl in #4424
- Error casting bool const to other than bit<1> by @ChrisDodd in #4419
- Don't apply defaultArguments in table action lists by @ChrisDodd in #4434
- -lldb arg run run lldb on the compiler in tests by @ChrisDodd in #4435
- Fix Python linters and clean up run-bmv2-ptf-test.py, testutils, and ebpfenv by @fruffy in #4437
- [P4Testgen] Move seed logging to toplevel. by @fruffy in #4436
- add missing srcInfo to ParserState by @grg in #4438
- Avoid to-after-is double calls to RTTI in the type checker by @vlstill in #4441
- P4TC - CRC32 Initialisation by @komaljai in #4427
- Change minimum key struct alignment to 8 by @vbnogueira in #4426
- Fix comment by @kfcripps in #4449
- Create a dependabot.yml for Github actions by @fruffy in #4405
- Refactor some visitor internals by @asl in #4447
- Bump docker/login-action from 2 to 3 by @dependabot in #4453
- Bump peter-evans/create-pull-request from 5 to 6 by @dependabot in #4454
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #4455
- Bump actions/cache from 2 to 4 by @dependabot in #4456
- Bump actions/checkout from 3 to 4 by @dependabot in #4457
- Refactor ReferenceResolver to use native C++-enumerators in some places by @asl in #4432
- Add merge group label to relevant CI runs. by @fruffy in #4462
- [P4Testgen] Add more API options to the P4Testgen api. by @fruffy-g in #4451
- [P4Testgen] Handle value suffixes in the asserts parser. by @fruffy-g in #4450
- Remove some unused boost headers and switch from boost code to alternatives by @asl in #4464
- Fix hvec_map insert/emplace by @ChrisDodd in #4458
- Bump actions/setup-python from 4 to 5 by @dependabot in #4466
- Bump docker/build-push-action from 3 to 5 by @dependabot in #4467
- Add support for parser errors in tc backend by @vbnogueira in #4443
- Add some more global operator new / delete overrides by @asl in #4465
- Try to speed up the CI build process by @fruffy in #4470
- Bump protobuf version and add Abseil as compiler dependency. by @asl in #4463
- Dowload pre-built Z3 on Macs as well by @asl in #4476
- [P4Testgen] Implement a library for common control-plane symbolic variables. by @fruffy in #4398
- Use better maps to store visitor state by @asl in #4459
- Try to clean up the Protobuf includes. by @fruffy in #4474
- Fix for pipeline id for tc backend by @Sosutha in #4480
- Fix for default_action in tc backend by @Sosutha in #4485
- backends/tc: Fix issues reported in #4327 by @thomascalvert-xlnx in #4484
- [P4Testgen] Add an option to selectively ignore control plane elements. by @fruffy in #4417
- Update MacOS runner to Ventura, add MacOS Sonoma (M1) runner by @fruffy in #4393
- Add missing Bazel targets. by @fruffy-g in #4486
- Fixes from static analysis by @vlstill in #4442
- Distinguish runner OS. by @fruffy-g in #4487
- Generalize get in map utils by @asl in #4483
- Fetch latest brew formulae by @asl in #4488
- Use abseil maps even more by @asl in #4473
- Move out of place comment in gc.cpp by @kfcripps in #4494
- Automated Release v1.2.4.9 by @github-actions in #4490
Full Changelog: v1.2.4.8...v1.2.4.9