]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for Multi-Physical Function Switch, MPFS, in mlx5en.
authorhselasky <hselasky@FreeBSD.org>
Wed, 2 Oct 2019 09:22:22 +0000 (09:22 +0000)
committerhselasky <hselasky@FreeBSD.org>
Wed, 2 Oct 2019 09:22:22 +0000 (09:22 +0000)
commitbf8cde114e8766f6ce12baa60d84a4733b8edaaa
treecc32708acd278190ba4e074194cb4bcead9a153e
parent375a0becdad87a2ffc50f4ced783703e9e56462a
Add support for Multi-Physical Function Switch, MPFS, in mlx5en.

MPFS is a logical switch in the Mellanox device which forward packets
based on a hardware driven L2 address table, to one or more physical-
or virtual- functions. The physical- or virtual- function is required
to tell the MPFS by using the MPFS firmware commands, which unicast
MAC addresses it is requesting from the physical port's traffic.
Broadcast and multicast traffic however, is copied to all listening
physical- and virtual- functions and does not need a rule in the MPFS
switching table.

Linux commit: eeb66cdb682678bfd1f02a4547e3649b38ffea7e
MFC after: 3 days
Sponsored by: Mellanox Technologies
sys/conf/files
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_main.c
sys/dev/mlx5/mlx5_core/mlx5_mpfs.c [new file with mode: 0644]
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
sys/dev/mlx5/mpfs.h [new file with mode: 0644]
sys/modules/mlx5/Makefile