diff options
author | Vadim Pasternak <[email protected]> | 2023-02-08 08:33:26 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-02-13 12:07:50 +0100 |
commit | 26e118ea98cf5ec0b53198e643d5fa8d99b73b49 (patch) | |
tree | 0032f53f2edcee55e08dc2923b7ee516a42220cc /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 233fd7e44cd7363ede8025619291b98475024c30 (diff) |
platform/mellanox: mlxreg-hotplug: Allow more flexible hotplug events configuration
Currently hotplug configuration in logic device assumes that all items
are provided with no holes.
Thus, any group of hotplug events, associated with the specific
status/event/mask registers is configured in those registers
successively from bit zero to bit #n (#n < 8).
This logic is changed int order to allow non-successive definition to
support configuration with the skipped bits – for example bits 3, 5, 7
in status/event/mask registers can be associated with hotplug events,
while others can be skipped.
Signed-off-by: Vadim Pasternak <[email protected]>
Reviewed-by: Michael Shych <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions