diff options
author | Vu Pham <vuhuong@mellanox.com> | 2020-03-02 21:33:49 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-28 04:13:49 +0300 |
commit | 88e96e533cfa11e996c59a44bbb6b0e0b9891970 (patch) | |
tree | 40af64bc8361cd845f2187fc3958bb4214268279 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 133dcfc577eaec6538db4ebd8b9205b361f59018 (diff) | |
download | linux-88e96e533cfa11e996c59a44bbb6b0e0b9891970.tar.xz |
net/mlx5e: Slave representors sharing unique metadata for match
Bonded slave representors' vports must share a unique metadata
for match.
On enslaving event of slave representor to lag device, allocate
new unique "bond_metadata" for match if this is the first slave.
The subsequent enslaved representors will share the same unique
"bond_metadata".
On unslaving event of slave representor, reset the slave
representor's vport to use its own default metadata.
Replace ingress acl and rx rules of the slave representors' vports
using new vport->bond_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