Skip to content

net: lan78xx: fix rx handling before first packet is send #2620

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

Merged

Conversation

lategoodbye
Copy link
Contributor

As long the bh tasklet isn't scheduled once, no packet from the rx path
will be handled. Since the tx path also schedule the same tasklet
this situation only persits until the first packet transmission.
So fix this issue by scheduling the tasklet during ndo_open like in usbnet.

#2617

As long the bh tasklet isn't scheduled once, no packet from the rx path
will be handled. Since the tx path also schedule the same tasklet
this situation only persits until the first packet transmission.
So fix this issue by scheduling the tasklet during ndo_open like in usbnet.

Link: raspberrypi#2617
Fixes: 55d7de9 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet")
Suggested-by: Floris Bos <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
@JamesH65
Copy link
Contributor

LGTM

@pelwell pelwell merged commit d407fc2 into raspberrypi:rpi-4.14.y Jul 17, 2018
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jul 18, 2018
kernel: vc4 unbalanced irq fix
See: raspberrypi/linux#2618

kernel: net: lan78xx: fix rx handling before first packet is send
kernel: lan78xx: Fix link status notifications
See: raspberrypi/linux#2620

firmware: isp: IL compatibility and alignment tweaks
firmware: IL ISP: Use vc_image instead of reworking own stride checking
firmware: isp: Minor clean ups
firmware: dispmanx: Complete the format strings for dispmanx_parse_list
firmware: IL ISP: Use vc_image instead of reworking own stride checking
firmware: MMAL/IL: Add support for components to report alignment requirements
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jul 18, 2018
kernel: vc4 unbalanced irq fix
See: raspberrypi/linux#2618

kernel: net: lan78xx: fix rx handling before first packet is send
kernel: lan78xx: Fix link status notifications
See: raspberrypi/linux#2620

firmware: isp: IL compatibility and alignment tweaks
firmware: IL ISP: Use vc_image instead of reworking own stride checking
firmware: isp: Minor clean ups
firmware: dispmanx: Complete the format strings for dispmanx_parse_list
firmware: IL ISP: Use vc_image instead of reworking own stride checking
firmware: MMAL/IL: Add support for components to report alignment requirements
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