diff options
author | Vu Pham <vuhuong@mellanox.com> | 2020-03-12 20:26:25 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-28 04:13:50 +0300 |
commit | 9728366f53d283be943ee99d5989f155e55fc077 (patch) | |
tree | e9e7e078fc5aea288b98787e9cc6ee2db0af2bc1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 88e96e533cfa11e996c59a44bbb6b0e0b9891970 (diff) | |
download | linux-9728366f53d283be943ee99d5989f155e55fc077.tar.xz |
net/mlx5e: Use change upper event to setup representors' bond_metadata
Use change upper event to detect slave representor from
enslaving/unslaving to/from lag device.
On enslaving event, call mlx5_enslave_rep() API to create, add
this slave representor shadow entry to the slaves list of
bond_metadata structure representing master lag device and use
its metadata to setup ingress acl metadata header.
On unslaving event, resetting the vport of unslaved representor
to use its default ingress/egress acls and rx rules with its
default_metadata.
The last slave will free the shared bond_metadata and its
unique metadata.
Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions