aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
authorIvan Vecera <[email protected]>2024-04-27 09:26:08 +0200
committerTony Nguyen <[email protected]>2024-04-30 09:33:15 -0700
commit29385de339564b2f5bd2ad65eae8ded80d0ad854 (patch)
tree161d30788ab0fe83e8854844bd5c3ce1f290c308 /net/tipc/msg.c
parent5509fc9e3ab6938910626dccdd3d59671086edbf (diff)
i40e: Add and use helper to reconfigure TC for given VSI
Add helper i40e_vsi_reconfig_tc(vsi) that configures TC for given VSI using previously stored TC bitmap. Effectively replaces open-coded patterns: enabled_tc = vsi->tc_config.enabled_tc; vsi->tc_config.enabled_tc = 0; i40e_vsi_config_tc(vsi, enabled_tc); Reviewed-by: Michal Schmidt <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> Signed-off-by: Ivan Vecera <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions