> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/latest/releases/1.3.0.md).

# Fast Path Provider Manager 1.3.0

Fast Path Provider (FPP) v1.3.0 provides the following improvements:

- New NAT metrics `vpp_nat_max_flows_exceeded` and `vpp_nat_out_of_ports` added
- FPP-VPP updated to v22.02.2 with improved NAT events logging
- Fix multiple VPPInterface templating in the FPP Helm chart

FPP-CRD 1.3.0 does not contain any changes from the previous release. FPP 1.2.0 can work with FPP CRD
in v1.3.0 installed on the cluster.

This version contains one known issue related to [low TAP performance under static load](#low-tap-performance-under-static-load).

## Features

### New NAT metrics

New NAT metrics were introduced for better observability of the VPP NAT mechanism:

- `vpp_nat_max_flows_exceeded` - indicates that NAT translation cannot be created because the maximum number
  of port allocations is reached
- `vpp_nat_out_of_ports` - indicates that NAT translation cannot be created because of port allocation failure

These metrics are exposed as error counters. Each occurrence of NAT port allocation issue increases the counter.
When VPP NAT plugin cannot make a translation, traffic is not NATed. You can find more details about the failures
in the FPP logs.

### NAT events logging improved

FPP-VPP v22.02.2 brings a new event log entry that appears when the NAT plugin cannot allocate a port for existing
binding to make a translation. Also, an event is logged when the NAT flow table is full and there is no possibility
to create a new NAT translation. These logs are rate limited to 1 per second.

Example logs:

```
/usr/bin/vpp[17]: nat: maximum sessions exceeded
/usr/bin/vpp[17]: nat: Out of ports for binding 198.19.8.1:1024-1028
```

## Fixes

### Fix multiple VPPInterface templating in the FPP Helm chart

In previous releases, the `vppInterface` configuration section contained a bug when generating multiple VPPInterface
objects from a template file. The separator `---` was included in the preceding object, causing the whole configuration
to fail when applied.

In the FPP chart 1.3.0, multiple VPPInterfaces can be created without an issue.

## Known issues

### Low TAP performance under static load

Under a particular kind of synthetic load, on Intel E810 NICs, the maximum throughput for TAP interfaces
is reduced and may not meet the required KPIs.

The reason for that is a problem with the IP-based distribution of traffic among queues in the VPP tap driver.
When using tap driver for Linux networking-based pods, 1 Mpps throughput is expected
if diverse TCP/UDP source/destination port combinations appear in the packets, even if a few server ports are being used.
0.4 Mpps is expected if there are few source/destination port combinations, even if the source/destination IP
addresses vary. Thus, with most cases of real-world traffic, 1 Mpps is expected.

## Migration guide

### 1.2 -> 1.3

Follow these steps to upgrade FPP from 1.2 to 1.3 using Helm charts:

1. Install the `fpp-crd` Helm chart in version 1.3.0.
1. Remove the `fpp-support` Helm chart in version 1.2.0.
1. Install the `fpp-support` Helm chart in version 1.3.0.
1. Install the `fpp` Helm chart in version 1.3.0.
