diff options
author | Tom Jones <thj@freebsd.org> | 2024-08-14 09:23:11 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-08-29 08:36:25 +0000 |
commit | 828353fa5f461319ef05d23984418a7652dd6315 (patch) | |
tree | d8d8577952c4ba4ad75ed3468e79fff1503d8042 /src/plugins/nat/lib | |
parent | d726f6a99968b0e198b20b7d6cd21a6b64ce7909 (diff) |
vppinfra: Use affinity for online cpus on FreeBSD
On FreeBSD the affinity returned by cpuset gives us a bitmask
documenting the available cpus. This can be modified if we are jailed or
are launched via the cpuset(1) command.
Initialise the clib bitmask otherwise it is always 0 and we cannot
configure any workers.
Type: improvement
Change-Id: I067e373ea440c6fbd03839d1cf103c8b97d8a0c6
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/plugins/nat/lib')
0 files changed, 0 insertions, 0 deletions