Skip to content

Refactor hci_core_{source,sink}_v2 as thin wrappers - #86

Open
FrancescoConti wants to merge 1 commit into
masterfrom
fc/job-queue-refactor
Open

Refactor hci_core_{source,sink}_v2 as thin wrappers#86
FrancescoConti wants to merge 1 commit into
masterfrom
fc/job-queue-refactor

Conversation

@FrancescoConti

Copy link
Copy Markdown
Member

This commit refactors hci_core_{source,sink}v2, which introduced ready/valid job queues, as thin wrappers around "traditional" hci_core{source,sink}.
Most (if not all) downstream HWPEs use non-v2 streamers, which still receive significant updates and improvements. On the other hand, v2 streamers have been left untouched and are only lightly tested.

Moving the v2 streamers to thin wrappers has the primary advantage that any code duplication (and divergence) is removed. Eventually, non-v2 streamers may be deprecated and in that case their functionality may be reintegrated in the v2 streamers, but this can happen only if most downstream HWPEs migrate to v2.

This commit refactors hci_core_{source,sink}_v2, which introduced
ready/valid job queues, as thin wrappers around "traditional"
hci_core_{source,sink}.
Most (if not all) downstream HWPEs use non-v2 streamers, which
still receive significant updates and improvements. On the other
hand, v2 streamers have been left untouched and are only lightly
tested.

Moving the v2 streamers to thin wrappers has the primary advantage
that any code duplication (and divergence) is removed.
Eventually, non-v2 streamers may be deprecated and in that case
their functionality may be reintegrated in the v2 streamers, but
this can happen only if most downstream HWPEs migrate to v2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant