Share via


AccelerationMode Class

public final class AccelerationMode
extends ExpandableStringEnum<AccelerationMode>

Enable advanced network acceleration options. This allows users to configure acceleration using BPF host routing. This can be enabled only with Cilium dataplane. If not specified, the default value is None (no acceleration). The acceleration mode can be changed on a pre-existing cluster. See https://aka.ms/acnsperformance for a detailed explanation.

Field Summary

Modifier and Type Field and Description
static final AccelerationMode BPF_VETH

Enable eBPF host routing with veth device mode.

static final AccelerationMode NONE

Disable acceleration options.

Constructor Summary

Constructor Description
AccelerationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccelerationMode value.

Method Summary

Modifier and Type Method and Description
static AccelerationMode fromString(String name)

Creates or finds a AccelerationMode from its string representation.

static Collection<AccelerationMode> values()

Gets known AccelerationMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BPF_VETH

public static final AccelerationMode BPF_VETH

Enable eBPF host routing with veth device mode.

NONE

public static final AccelerationMode NONE

Disable acceleration options.

Constructor Details

AccelerationMode

@Deprecated
public AccelerationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccelerationMode value.

Method Details

fromString

public static AccelerationMode fromString(String name)

Creates or finds a AccelerationMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccelerationMode.

values

public static Collection<AccelerationMode> values()

Gets known AccelerationMode values.

Returns:

known AccelerationMode values.

Applies to