Home
last modified time | relevance | path

Searched hist:"044 ab86d431b59b88966457dbb62679f274ec442" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/core/
H A Dnet-sysfs.cdiff 044ab86d431b59b88966457dbb62679f274ec442 Thu Mar 18 13:37:46 CDT 2021 Antoine Tenart <atenart@kernel.org> net: move the xps maps to an array

Move the xps maps (xps_cpus_map and xps_rxqs_map) to an array in
net_device. That will simplify a lot the code removing the need for lots
of if/else conditionals as the correct map will be available using its
offset in the array.

This should not modify the xps maps behaviour in any way.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Ddev.cdiff 044ab86d431b59b88966457dbb62679f274ec442 Thu Mar 18 13:37:46 CDT 2021 Antoine Tenart <atenart@kernel.org> net: move the xps maps to an array

Move the xps maps (xps_cpus_map and xps_rxqs_map) to an array in
net_device. That will simplify a lot the code removing the need for lots
of if/else conditionals as the correct map will be available using its
offset in the array.

This should not modify the xps maps behaviour in any way.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/drivers/net/
H A Dvirtio_net.cdiff 044ab86d431b59b88966457dbb62679f274ec442 Thu Mar 18 13:37:46 CDT 2021 Antoine Tenart <atenart@kernel.org> net: move the xps maps to an array

Move the xps maps (xps_cpus_map and xps_rxqs_map) to an array in
net_device. That will simplify a lot the code removing the need for lots
of if/else conditionals as the correct map will be available using its
offset in the array.

This should not modify the xps maps behaviour in any way.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/linux/
H A Dnetdevice.hdiff 044ab86d431b59b88966457dbb62679f274ec442 Thu Mar 18 13:37:46 CDT 2021 Antoine Tenart <atenart@kernel.org> net: move the xps maps to an array

Move the xps maps (xps_cpus_map and xps_rxqs_map) to an array in
net_device. That will simplify a lot the code removing the need for lots
of if/else conditionals as the correct map will be available using its
offset in the array.

This should not modify the xps maps behaviour in any way.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>