diff options
author | Roi Dayan | 2018-11-11 16:50:16 +0100 |
---|---|---|
committer | Saeed Mahameed | 2018-12-14 22:28:51 +0100 |
commit | ac004b8321281b9da7d9a99674241e60e49ffc8a (patch) | |
tree | 694147318fb17bf9ff141550a57929ba7fce7d35 /drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h | |
parent | net/mlx5: Introduce inter-device communication mechanism (diff) | |
download | kernel-qcow2-linux-ac004b8321281b9da7d9a99674241e60e49ffc8a.tar.gz kernel-qcow2-linux-ac004b8321281b9da7d9a99674241e60e49ffc8a.tar.xz kernel-qcow2-linux-ac004b8321281b9da7d9a99674241e60e49ffc8a.zip |
net/mlx5e: E-Switch, Add peer miss rules
In the sriov offloads mode, packets that are not matched by any
other rule are sent towards the e-switch vport manager for further
processing.
Under upcoming patches (e.g for uplink LAG), packets sent from VF
vports belonging to esw0 (e-switch related to PF0) might end up in
esw1 (e-switch related to PF1) due to muxing logic applied by the
FW.
In such a case we still want the missed packet to be sent to the
"base" esw manager vport in order to present the control plane a
consistent view of the source (VF reresentor) port.
Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Shahar Klein <shahark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h b/drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h index f2d338b187a6..939d5bf1581b 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h @@ -7,6 +7,8 @@ #include <linux/mlx5/driver.h> enum mlx5_devcom_components { + MLX5_DEVCOM_ESW_OFFLOADS, + MLX5_DEVCOM_NUM_COMPONENTS, }; |