HomeFreeBSD

mlx5en: Create and destroy all flow tables and rules when the network interface…

Description

mlx5en: Create and destroy all flow tables and rules when the network interface attaches and detaches.

Previously flow steering tables and rules were only created and destroyed
at link up and down events, respectivly. Due to new requirements for adding
TLS RX flow tables and rules, the main flow steering table must always be
available as there are permanent redirections from the TLS RX flow table
to the vlan flow table.

Sponsored by: NVIDIA Networking

(cherry picked from commit e059c120b4223fd5ec3af9def21c0519f439fe57)

Details

Provenance
hselaskyAuthored on Feb 8 2022, 3:08 PM
Parents
rGe441376f455e: mlx5en: Add race protection for SQ remap
Branches
Unknown
Tags
Unknown