Add ability to use raw PCIe mapped resource4 (BAR4) #2

Merged
DataHoarder merged 4 commits from use-raw-resource4 into master 2021-10-28 17:54:09 +00:00
Owner

This allows using raw PCIe mapped BAR4 resources for management. MSI interrupts are not supported.
Even when using a module that does not support UIO, management engine can still be used.

Usage example under fm_platform_attributes.cfg

api.platform.config.switch.0.resource4DevName text /sys/bus/pci/devices/0000:84:00.0/resource4

Should work under containers and links, given the actual device is the target and not the resource.

This allows using raw PCIe mapped BAR4 resources for management. MSI interrupts are not supported. Even when using a module that does not support UIO, management engine can still be used. Usage example under _fm_platform_attributes.cfg_ ``` api.platform.config.switch.0.resource4DevName text /sys/bus/pci/devices/0000:84:00.0/resource4 ``` Should work under containers and links, given the actual device is the target and not the resource.
DataHoarder self-assigned this 2021-10-28 17:19:31 +00:00
DataHoarder added 4 commits 2021-10-28 17:19:31 +00:00
All checks were successful
continuous-integration/drone/push Build is passing
42b656828d
Implement raw resource4 usage
Some checks reported errors
continuous-integration/drone/push Build was killed
dca27e07df
Increase FM_PLAT_MAX_CFG_STR_LEN to 256 from 32 bytes
Some checks reported errors
continuous-integration/drone/push Build was killed
3173f19cd6
Properly get driver, netname for resource4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
88e28afb0b
Disable MSI if using resource4 device
DataHoarder merged commit 93e8b23145 into master 2021-10-28 17:54:09 +00:00
DataHoarder deleted branch use-raw-resource4 2021-10-28 17:54:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FM10K/IES#2
No description provided.