summaryrefslogtreecommitdiff
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2024-04-27 10:26:08 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-04-30 19:33:15 +0300
commit29385de339564b2f5bd2ad65eae8ded80d0ad854 (patch)
tree161d30788ab0fe83e8854844bd5c3ce1f290c308 /net/core/skbuff.c
parent5509fc9e3ab6938910626dccdd3d59671086edbf (diff)
downloadlinux-29385de339564b2f5bd2ad65eae8ded80d0ad854.tar.xz
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/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions