diff options
author | Md Fahad Iqbal Polash <[email protected]> | 2018-08-09 06:29:54 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-08-28 11:01:06 -0700 |
commit | b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 (patch) | |
tree | f13951b213c06fea70ea0d02b182bb614e04fb99 /tools/perf/scripts/python/syscall-counts.py | |
parent | b3969fd727aa1f2ace4794f2a180f9769128027c (diff) |
ice: Implement ice_bridge_getlink and ice_bridge_setlink
ice_bridge_getlink returns the current bridge mode using
ndo_dflt_bridge_getlink and the mode parameter available in
first_switch->bridge_mode.
ice_bridge_setlink is invoked when the bridge mode needs to
changed. The value to be changed to is available as a netlink
message which is parsed in this function. If the mode has to
be changed, switch_flags is set appropriately (set ALLOW_LB
for VEB mode and clear it for VEPA mode) and ice_aq_update_vsi
is called. Also change the unicast switch filter rules.
Signed-off-by: Md Fahad Iqbal Polash <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions