Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dwc_eqos - vlan, flow, INF config options #32

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

idigdoug
Copy link
Collaborator

@idigdoug idigdoug commented Jan 5, 2024

  • Change checksum offload INF options from granular to combined.
  • Add INF options for FlowControl, PriorityVlanTag.
  • Respect INF option for FlowControl at MAC level.
  • Set DisableReceiveOwn on MAC options.
  • Correct Rx VLAN tag behavior: always strip tag, always copy tag to OOB.
  • Correct Tx VLAN tag behavior: add tag if present in OOB.
  • Stop tracking Tx-Own statistics. They don't seem useful.

The Tx VLAN tag behavior required significant refactoring of TxQueueAdvance. Previously we depended on one-to-one mapping between descriptor and fragment, but VLAN tags require context descriptors so there can now be descriptors without a matching fragment, so our descriptor drain code needs to deal with that.

- Change checksum offload INF options from granular to combined.
- Add INF options for FlowControl, PriorityVlanTag.
- Respect INF option for FlowControl at MAC level.
- Set DisableReceiveOwn on MAC options.
- Correct Rx VLAN tag behavior: always strip tag, always copy tag to OOB.
- Correct Tx VLAN tag behavior: add tag if present in OOB.
- Stop tracking Tx-Own statistics. They don't seem useful.

The Tx VLAN tag behavior required significant refactoring of
TxQueueAdvance. Previously we depended on one-to-one mapping between
descriptor and fragment, but VLAN tags require context descriptors so
there can now be descriptors without a matching fragment, so our
descriptor drain code needs to deal with that.
@idigdoug idigdoug merged commit 3a000eb into master Jan 5, 2024
2 checks passed
@idigdoug idigdoug deleted the dwc_eqos_vlan branch January 5, 2024 19:23
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.

3 participants