oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 9 forks source link

lib/tapi: include fuller driver info in PCI node description #25

Closed okt-galaktionov closed 11 months ago

okt-galaktionov commented 1 year ago

Redefine ta_driver to mean the currently bound driver. Add information about NET and DPDK drivers for easier access from tests.

Breaks: changes the behaviour of tapi_cfg_net_node_get_pci_info and tapi_cfg_net_get_iut_if_pci_info functions.

Testing done: the new version of this function is used in vswitch-ts to easily find the bound driver and pass both net and DPDK driver names to configuration scripts.

okt-galaktionov commented 1 year ago

Would it be better if I renamed cfg_net_pci_info_t's ta_driver to bound_driver or something similar?