Skip to content

Commit

Permalink
ice: Add VLAN FDB support in switchdev mode
Browse files Browse the repository at this point in the history
Add support for matching on VLAN tag in bridge offloads.
Currently only trunk mode is supported.

To enable VLAN filtering (existing FDB entries will be deleted):
ip link set $BR type bridge vlan_filtering 1

To add VLANs to bridge in trunk mode:
bridge vlan add dev $PF1 vid 110-111
bridge vlan add dev $VF1_PR vid 110-111

Signed-off-by: Marcin Szycik <marcin.szycik@intel.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
  • Loading branch information
Marcin Szycik authored and Tony Nguyen committed Jul 24, 2023
1 parent bccd9bc commit e9dda2c
Show file tree
Hide file tree
Showing 2 changed files with 317 additions and 8 deletions.
Loading

0 comments on commit e9dda2c

Please sign in to comment.