All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] net-sysfs: move the xps cpus/rxqs retrieval in a common function
@ 2021-01-06 18:04 Antoine Tenart
  2021-01-06 18:04 ` [PATCH net 1/3] net-sysfs: convert xps_cpus_show to bitmap_zalloc Antoine Tenart
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Antoine Tenart @ 2021-01-06 18:04 UTC (permalink / raw)
  To: davem, kuba, alexander.duyck; +Cc: Antoine Tenart, netdev

Hello,

In net-sysfs, the xps_cpus_show and xps_rxqs_show functions share the
same logic. To improve readability and maintenance, as discussed
here[1], this series moves their common logic to a new function.

Patches 1/3 and 2/3 are prerequisites for the factorization to happen,
so that patch 3/3 looks better and is easier to review.

Thanks!
Antoine

[1] https://lore.kernel.org/netdev/160875219353.1783433.8066935261216141538@kwain.local/

Antoine Tenart (3):
  net-sysfs: convert xps_cpus_show to bitmap_zalloc
  net-sysfs: store the return of get_netdev_queue_index in an unsigned
    int
  net-sysfs: move the xps cpus/rxqs retrieval in a common function

 net/core/net-sysfs.c | 179 +++++++++++++++++++++----------------------
 1 file changed, 86 insertions(+), 93 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-08 22:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 18:04 [PATCH net 0/3] net-sysfs: move the xps cpus/rxqs retrieval in a common function Antoine Tenart
2021-01-06 18:04 ` [PATCH net 1/3] net-sysfs: convert xps_cpus_show to bitmap_zalloc Antoine Tenart
2021-01-06 18:04 ` [PATCH net 2/3] net-sysfs: store the return of get_netdev_queue_index in an unsigned int Antoine Tenart
2021-01-06 18:04 ` [PATCH net 3/3] net-sysfs: move the xps cpus/rxqs retrieval in a common function Antoine Tenart
2021-01-06 19:54   ` Alexander Duyck
2021-01-07  8:54     ` Antoine Tenart
2021-01-07 16:38       ` Alexander Duyck
2021-01-08  9:07         ` Antoine Tenart
2021-01-08 16:33           ` Alexander Duyck
2021-01-08 18:58             ` Antoine Tenart
2021-01-08 22:04               ` Alexander Duyck
2021-01-08 22:46                 ` Antoine Tenart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.