Skip to content

Commit 1ce4908

Browse files
..
1 parent da747ff commit 1ce4908

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

.github/buildomat/jobs/image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ pfexec chown "$UID" /out
102102
banner "P4 Codegen"
103103
# Add gcc-12 so the p4 compiler can find cpp
104104
# The tofino2 has 20 stages, but the current sidecar.p4 will fit into 14. We
105-
# add the "--stages 14" here to detect if/when the program grows beyond that
105+
# add the "--stages 18" here to detect if/when the program grows beyond that
106106
# limit. It's not necessarily a problem if we grow, but given the limited space
107107
# on the ASIC, we want to grow deliberatately and thoughtfully.
108-
PATH=/opt/gcc-12/bin:$PATH cargo xtask codegen --stages 14
108+
PATH=/opt/gcc-12/bin:$PATH cargo xtask codegen --stages 18
109109

110110
# Preserve all the diagnostics spit out by the compiler
111111
mkdir -p /out/p4c-diags

dpd-client/tests/integration_tests/mcast.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at https://mozilla.org/MPL/2.0/
4+
//
5+
// Copyright 2025 Oxide Computer Company
6+
17
use std::{
28
net::{IpAddr, Ipv4Addr, Ipv6Addr},
39
sync::Arc,

dpd/src/mcast.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at https://mozilla.org/MPL/2.0/
4+
//
5+
// Copyright 2025 Oxide Computer Company
6+
17
use std::{
28
collections::{HashMap, HashSet},
39
net::IpAddr,

dpd/src/multicast.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

dpd/src/table/mcast.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at https://mozilla.org/MPL/2.0/
4+
//
5+
// Copyright 2025 Oxide Computer Company
6+
17
use std::{
28
convert::TryInto,
39
fmt,

0 commit comments

Comments
 (0)