summaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2024-04-27 09:26:08 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-04-30 09:33:15 -0700
commit29385de339564b2f5bd2ad65eae8ded80d0ad854 (patch)
tree161d30788ab0fe83e8854844bd5c3ce1f290c308 /net/unix/sysctl_net_unix.c
parent5509fc9e3ab6938910626dccdd3d59671086edbf (diff)
downloadlinux-stable-29385de339564b2f5bd2ad65eae8ded80d0ad854.tar.gz
linux-stable-29385de339564b2f5bd2ad65eae8ded80d0ad854.tar.bz2
linux-stable-29385de339564b2f5bd2ad65eae8ded80d0ad854.zip
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 <mschmidt@redhat.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions