net/sfc: add NUMA-aware registry of service logical cores
authorAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 08:39:39 +0000 (11:39 +0300)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 20 Jul 2021 10:20:31 +0000 (12:20 +0200)
commit7c041f971ba7dc6a2228834c1aae1707837aae60
tree0360c42bf07ddf756222c6a24be05101b964d4d7
parentb8cf5ba549f23ca91b2c56d8e58566cbe6a18100
net/sfc: add NUMA-aware registry of service logical cores

The driver requires service cores for housekeeping. Share these
cores for many adapters and various purposes to avoid extra CPU
overhead.

Since housekeeping services will talk to NIC, it should be possible
to choose logical core on matching NUMA node.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
drivers/net/sfc/meson.build
drivers/net/sfc/sfc_service.c [new file with mode: 0644]
drivers/net/sfc/sfc_service.h [new file with mode: 0644]