aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_flex_pipe.c
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2021-03-18 19:37:47 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-18 14:56:22 -0700
commit402fbb992e13fc57e917ac7c0a07a8a3e2385858 (patch)
treee042ec46f247f1e8fcb81835994b64bb6c642611 /drivers/net/ethernet/intel/ice/ice_flex_pipe.c
parentnet: move the xps maps to an array (diff)
downloadlinux-dev-402fbb992e13fc57e917ac7c0a07a8a3e2385858.tar.xz
linux-dev-402fbb992e13fc57e917ac7c0a07a8a3e2385858.zip
net: add an helper to copy xps maps to the new dev_maps
This patch adds an helper, xps_copy_dev_maps, to copy maps from dev_maps to new_dev_maps at a given index. The logic should be the same, with an improved code readability and maintenance. Signed-off-by: Antoine Tenart <atenart@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flex_pipe.c')
0 files changed, 0 insertions, 0 deletions