> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/2.2/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/2.2/releases/2.0.1.md).

# Fast Path Provider 2.0.1

The patch release of Fast Path Provider (FPP) introduces the following updates:

- Add `numRxQueues` and `numTxQueues` for memifs in NAD configuration
- Add configuration of TX queue placement
- Increase the maximum number of IPFIX exporters
- Support ifName in attachTo of LCP VPPInterfaces
- Fix spurious restarts
- Fix FPPNetwork CRD listing
- Fix operator VPP proxy connection lockups
- Don't try to create LCP pairs for empty bonds
- Fix missing `no_free_slots` metrics
- Handle memif `bufferSize` separate than memif `ringSize`

For known issues and the migration guide, see [FPP 2.0.0 release notes](https://docs.cennso.com/components/fpp/2.2/releases/2.0.0.md).

## Features

### Add `numRxQueues` and `numTxQueues` for memifs in NAD config

It was not possible to set the number of RX and TX queues for memif interfaces when using the `networks` section in the FPP chart. It is important to have that ability for performance tuning.

FPP 2.0.1 allows to define RX and TX queues in the FPP Helm chart:

```yaml
networks:
  internal-nic:
    type: memif
    networkName: net-10
    tableName: internal-rt
    numTxQueues: 8
    numRxQueues: 6
    ipv4:
      addresses:
      - 10.20.0.1/24
```

### Add configuration of TX queue placement

FPP 2.0.1 enables manual core placement of the TX queue for memif and hardware NIC interfaces using `txPlacement` and `clientTxPlacement`. It enables better performance.

Queue size and core placement can be managed using the FPP Helm chart:

```yaml
networks:
  net:
    type: memif                     # memif interface
    networkName: fpp-network-name   # FPPNetwork to attach to
    tableName: routing-table-name   # table to use on the client side
    numTxQueues: 8                  # number of TX queues on the client (this) side
    numRxQueues: 6                  # number of RX queues on the VPPSwitch side
    memifRingSize: 4096             # memif ring size
    memifBufferSize: 4096           # memif buffer size
    # TX queue to core assignment on the VPPSwitch side.
    # Each entry corresponds with a queue so the number of entries in the list
    # must equal `numRxQueues` above (6).
    txPlacement: ["0", "1", "2", "3", "4", "5"]
    # TX queue to core assignment on the client side.
    # Each entry corresponds with a queue so the number of entries in the list
    # must equal `numTxQueues` above (8).
    clientTxPlacement: ["0", "1", "2", "3", "4", "5", "6", "7"]
```

### Increase the maximum number of IPFIX exporters

Up until now, FPP Manager allowed you to use only 4 IPFIX exporters per VPP instance. It was hardcoded in FPP-VPP 22.02.2 release.

The new release of FPP-VPP 22.02.3 uplifts this limitation to 63 IPFIX exporters per VPP instance.

### Support `ifName` in `attachTo` of LCP VPPInterfaces

This adds a possibility to use an `ifName` value of the target interface in the `attachTo` field of an LCP interface specification. Using `VPPInterface.metadata.name` as `attachTo` is still supported. The Helm chart is updated so it no longer prefixes the `attachTo` value of the `lcp` section. This is a backward-incompatible change but acceptable as there are no FPP 2.0.0 production deployments.

Example usage:

```yaml
vppInterfaces:
- ifName: mygre
  ips:
  - 10.10.0.2/24
  tableName: internal-rt
  greTunnel:
    sourceIf: external-nic
    destIP: 10.0.0.1
    encapTableName: external-rt
- ifName: lcp0
  lcp:
    attachTo: mygre
    hostIfName: lcp0
```

## Fixes

### Fix spurious restarts

Thanks to keeping track of VPP CLI commands executed by each Amberd, these Amberds are no longer restarted when the FPP Operator restarts.

Additional improvement was to eliminate multiple, consequitive Amberd pod restarts.

### Fix FPPNetwork CRD display

Up until now, listing FPPNetwork CRD was not displaying any ID. Now, it is fixed by showing the `spec.id` column when listing FPPNetwork objects.

### Fix operator VPP proxy connection lockups

Connections to FPP Amberds was blocked in FPP Operator v2.0.0, while v2.0.1 fixes this issue.

### Don't try to create LCP pairs for empty bonds

FPP v2.0.1 fixes an LCP bug that caused a cyclic neighbour addition-deletion when such an LCP pair was created before the members were added to the bond. It affects FPP 2.0.0 only.

### Fix missing `no_free_slots` metrics

The VPP metrics for `memif` did not match a TAP error metric name.

Example of `memif` error when there are no free slots: `/err/memif1/102-an-tx/no_free_slots`.

For TAPs it is `no_free_tx_slots`

### Handle memif bufferSize separate than memif RingSize

Up until now, two memif parameters had to be declared together: `bufferSize` and `ringSize`. If `bufferSize` was empty and `ringSize` set - FPP controller was crashing.

FPP 2.0.1 separates these two options to be declared independently.
