Skip to content

Commit

Permalink
Additional Felix config parameter to force BPF to track packets from …
Browse files Browse the repository at this point in the history
…list of specified interfaces
  • Loading branch information
Steven Boland committed May 3, 2023
1 parent 1c6ffa0 commit 1b3ecf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/pkg/apis/projectcalico/v3/felixconfig.go
Expand Up @@ -442,6 +442,10 @@ type FelixConfigurationSpec struct {
// BPFPolicyDebugEnabled when true, Felix records detailed information
// about the BPF policy programs, which can be examined with the calico-bpf command-line tool.
BPFPolicyDebugEnabled *bool `json:"bpfPolicyDebugEnabled,omitempty"`
// BPFForceTrackPacketsFromIfaces forces BPF to track packets from a list of specified interfaces.
// Essentially this excludes the specified list of interfaces from being NOTRACKed in IP Tables.
BPFForceTrackPacketsFromIfaces *[]string `json:"bpfForceTrackPacketsFromIfaces,omitempty"`

// RouteSource configures where Felix gets its routing information.
// - WorkloadIPs: use workload endpoints to construct routes.
// - CalicoIPAM: the default - use IPAM data to construct routes.
Expand Down

0 comments on commit 1b3ecf5

Please sign in to comment.