diff options
author | 2021-03-18 19:37:47 +0100 | |
---|---|---|
committer | 2021-03-18 14:56:22 -0700 | |
commit | 402fbb992e13fc57e917ac7c0a07a8a3e2385858 (patch) | |
tree | e042ec46f247f1e8fcb81835994b64bb6c642611 /drivers/net/ethernet/intel/ice/ice_flex_pipe.c | |
parent | net: move the xps maps to an array (diff) | |
download | linux-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