diff options
author | 2020-03-02 10:33:49 -0800 | |
---|---|---|
committer | 2020-05-27 18:13:49 -0700 | |
commit | 88e96e533cfa11e996c59a44bbb6b0e0b9891970 (patch) | |
tree | 40af64bc8361cd845f2187fc3958bb4214268279 /net/tipc | |
parent | net/mlx5: E-Switch, Alloc and free unique metadata for match (diff) | |
download | wireguard-linux-88e96e533cfa11e996c59a44bbb6b0e0b9891970.tar.xz wireguard-linux-88e96e533cfa11e996c59a44bbb6b0e0b9891970.zip |
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 'net/tipc')
0 files changed, 0 insertions, 0 deletions