diff options
author | Roi Dayan <roid@mellanox.com> | 2017-12-05 10:38:58 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-17 14:17:34 -0700 |
commit | a6d04569120d53ebac1f0e6ffd5497b22c75f037 (patch) | |
tree | f790d34d5397a3c90407c22d293c2d15561e9b83 /drivers/net/macvtap.c | |
parent | 909d434406f9e7887ffb1ddaff1a7d0da50075b1 (diff) | |
download | op-kernel-dev-a6d04569120d53ebac1f0e6ffd5497b22c75f037.zip op-kernel-dev-a6d04569120d53ebac1f0e6ffd5497b22c75f037.tar.gz |
net/mlx5: Add merged e-switch cap
When merged e-switch is supported, the per-port e-switch is logically
merged into one e-switch that spans both physical ports and all the VFs.
Under merged eswitch, both the matching on source vport and setting
destination vport can have a 2nd attribute which is the vhca id of the
eswitch owner.
For example:
esw0: {match: <src vport=1 owner=0> action: fwd to <dst vport=7, owner=1>}
is a flow set on eswitch0 matching on source vport=1 from his eswitch
and the action being fwd to dest vport=7 of eswitch1.
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Shahar Klein <shahark@mellanox.com>
Reviewed-by: Or Gerlitz Klein <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/macvtap.c')
0 files changed, 0 insertions, 0 deletions