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

IGB AVB support #1

Open
wants to merge 2 commits into
base: rcar-gen3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ config MSE_PACKETIZER_CVF_MJPEG
config MSE_ADAPTER_EAVB
tristate "MSE EAVB Adapter"
depends on MSE_CORE
depends on RAVB_STREAMING
depends on RAVB_STREAMING || IGB_STREAMING
default m
---help---
Renesas Ethernet AVB software
Expand Down
2 changes: 2 additions & 0 deletions mse_adapter_eavb.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ static int mse_adapter_eavb_send_prepare(int index,
(eavb->entry + i)->seq_no = i;
(eavb->entry + i)->vec[0].base = packets[i].paddr;
(eavb->entry + i)->vec[0].len = packets[i].len;
(eavb->entry + i)->vec[0].vaddr = packets[i].vaddr;
}

eavb->entried = 0;
Expand Down Expand Up @@ -586,6 +587,7 @@ static int mse_adapter_eavb_receive_prepare(int index,
(eavb->entry + i)->seq_no = i;
(eavb->entry + i)->vec[0].base = packets[i].paddr;
(eavb->entry + i)->vec[0].len = packets[i].len;
(eavb->entry + i)->vec[0].vaddr = packets[i].vaddr;
}

/* entry queue */
Expand Down