CalicoVPP exposes three types of interaces
- tuntap - regular linux netdevs
- memif - performance oriented packet interaces
- vcl - performance oriented host stack (TCP, UDP, TLS in VPP)
The pod interface sizing can be confiugred with annotations in the pod manifest.
apiVersion: v1
kind: Pod
metadata:
name: samplepod
annotations:
cni.projectcalico.org/vppInterfacesSpec: |-
{
"eth0": {
"rx": 1,
"tx": 1,
"rxqsz": 1024,
"txqsz": 1024,
"rxMode": "polling",
"isl3": true
}
}txandrxset the number of queues the interface receives in VPPrxqszandtxqszset the number of buffers the interface receives in VPPrxModesets the way VPP reads from this interface (pollingadaptiveorinterrupt)isL3sets the interface mode L3 fortun(default) or L2 fortap
Here is the full specification reference