Tags: Soroush-aali-bagi/p4c
Tags
Release 1.2.2.2 (p4lang#3247) Changelog: - Extend eBPF kernel target with support for additional BPF helpers and more types of BPF maps (3119) - loop_revisit method for dealing with recursive loops in the IR (3106) - Added nullptr checks for l/rtype (3138) - DPDK: Implementation for non byte aligned metadata and header fields (3114) - Fix expansion of signed ranges to masks (3212) - Forbid egress pipeline in dpdk by default (3104) - Point to PSA/eBPF implementation in main README (3244) - Remove unnecessary check in conversion of log_msg to a JSON (3067) - Represent unary plus in the IR (3157) - Use 0 as action ID for NoAction and refactor eBPF table implementation (3129) - Add PTF test infra for eBPF backend (3158) - Add support for ActionSelector extern to PSA/eBPF backend (3216) - Add support for Checksum extern and CRC16/32 algorithms to eBPF backend (3167) - Add support for parser value_set to eBPF backend (3235) - DPDK Backend: Insert table keys generated by compiler closer to the standard and user metadata (3160) - Fix cpplint errors for dpdk sources (3111) - P4C-DPDK: Emit error when struct fields >64-bit is present in the P4 (3217) - Replace pna direction with register read (3224) - Solving problems with Header Union verify function (reopened) (3214) - Add --xdp2tc compiler flag for eBPF backend (3187) - DPDK: Add support for "mirror_packet" PNA extern (3128) - Eliminate typedefs in bmv2-ss backend (3123) - Fix off-by-one bug in source file position calculation (3124) - Add support for Counter extern to PSA/eBPF backend (3165) - Add support for Register extern to PSA/eBPF backend (3202) - Comparisons of list expressions, structure-valued expressions, tuples and structs (3122) - Disable 'unused' warning for some psa.p4 externs (3147) - [dpdk] Shorten the Identifer name, including dots(.) in Member expression (3175) - Improve error message for count() in dpdk (3101) - improving the driver re: the checking of input pathnames, improving error messages, trying to prevent misleading error - ssages. (3218) - Insert type specializations before functions (3207) - Moved FindRecirculated from .cpp to .h (3088) - Add Digest extern to PSA/eBPF backend (3164) - DPDK: Fix core dump while generating bfrt json for PNA programs with action selector (3115) - Improve efficiency of range translation to mask (3133) - PSA-eBPF: Add missing header name substitution in deparser (3162) - Split psa_switch.h into two files (3144) - Add debug messages for generated eBPF programs (3097) - Compile the P4 compiler tools in host configuration (3148) - Do not allow casts to struct types (3234) - Fix Context json to emit target_action_name and NoAction (3213) - Fixed underflow during row-access in the SymBitMatrix (3143) (3169) - from1.0: fix register type signess (3117) - Removed execute permission bits from all 3 of the P4 files that had them. - typeChecker: make error message less confusing (3152) - Enable generation of pointer variables by eBPF codeGen (3131) - Fixed bitvec.h (3239) - P4C-DPDK - Support Non-zero arguments for default action (3206) - Treat match_kind as a regular type (3099) - Add support for Hash extern to eBPF backend (3215) - Implement Meter extern for eBPF backend (3231) - Keep track of source position for p4-14 switch statement labels (3141) - Print the current node type name when checkedTo fails (3116) - Remove incorrect test for recursion (3199) - Strength reduction should not remove some casts (3226) - Add support for InternetChecksum extern to eBPF backend (3194) - Emit semicolon after method call (3093) - Flatten local struct decl in dpdk (3108) - Handle bfrt Info for new type (3103) - Add correct and error test cases for structure-values expressions (3100) - Allow casts int to int (3220) - dpdk: Eliminate unused metadata fields (3096) - Implement PSA for eBPF backend (3139) - Improve error messages during type checking (3182) - Struct expressions can be ConstantExpressions (3125) - adding tests re the driver (1) missing error messages and (2) giving misleading error messages (3198) - Add support for ActionProfile extern to PSA/eBPF backend (3177) - Add support for DirectCounter extern to PSA/eBPF backend (3195) - Implement EBPF deparser (3136) - test: Update install_fedora_deps.sh (3190) - Type of a unary expression is not always the same as the input type (3135) - Allow P4 filenames containing spaces (3242) - Constant fold casts of serializble enums (3181) - DPDK Backend: Move learn instructions constant argument to metadata (3163) - [dpdk] Emit key name in context file as in bfrt and p4info (3205) - manage lifetimes of Visitor::visited (3168) - Refactor SetupJoinPoints to make it more extensible - sfinae-protect operator== StringRef overload (3132) - typedef with generic types requires type arguments (3174) - Dismantle Mux expression in dpdk (3087) - DPDK Backend: Add support for recirculate() extern (3236) - Fix error message for cast to 'type' (3241) - Solution for "Non Type_Bits type bool for expression" error (3120) - Add packet_in.length() and packet_in.advance() methods to a eBPF target (3137) - Add dpdk version string (3105) - DPDK Backend: Fix binary operations with 1st operand is not same as dst operand (3209) - DPDK: Fix missing action definitions in spec file (3109) - Handle struct expression in ebfp backend (3173) - P4C-DPDK-Support header field with Slice as a Table key (3151) - Preserve some types in constant folding. (3094) - Try to cancel previous Jenkins runs (3230) Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Release 1.2.2.1 (p4lang#3085) The current versioning scheme of the P4 compiler corresponds to the P4 language specification. In particular, the current compiler version corresponds to v1.2.2 of P4_16 Language Specification. This patch updates the P4 compiler version to the following format <major>.<minor>.<patchlevel>.<releasenumber> Where <releasenumber> increments with each release of the compiler. The increment in version number allows to distribute updates for the P4 compiler using package management systems such as DPKG (Debian/Ubuntu) and RPM (Fedora/CentOS). This change was discussed at the P4 open source developer days on November 23, 2021. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Enable automatic release on version change (p4lang#2829) * Use version file This commit create a VERSION file that can be used to obtain the current version of P4C. The current version string "1.2.0+g202103291035~a69e52" contains a semantic version, date and current git commit. However, the date makes sense only in packages. Building the same P4C compiler code on a different day should not result in a different version name. The current git commit is automatically from the git history. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> * ci: rename 'release' action to 'static-build' This GitHub action doesn't create a release, it only tests if a static build works on Ubuntu 20.04. Thus, using the name "static build" looks more accurately describes what it does. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> * Enable automatic releases This GitHub action creates a release in GitHub every time the Version.txt file has been changed. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>