Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160474 Details for
Bug 242572
Realtek 8169 (Netgear GA311 etc.) based gigabit cards freeze startup
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
avoid useless NAPI poll scheduling
0004-r8169-avoid-useless-NAPI-poll-scheduling.patch (text/plain), 963 bytes, created by
Francois Romieu
on 2007-08-01 22:21:40 UTC
(
hide
)
Description:
avoid useless NAPI poll scheduling
Filename:
MIME Type:
Creator:
Francois Romieu
Created:
2007-08-01 22:21:40 UTC
Size:
963 bytes
patch
obsolete
>diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c >index fecedef..381288f 100644 >--- a/drivers/net/r8169.c >+++ b/drivers/net/r8169.c >@@ -2926,14 +2926,16 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance) > rtl8169_check_link_status(dev, tp, ioaddr); > > #ifdef CONFIG_R8169_NAPI >- RTL_W16(IntrMask, tp->intr_event & ~tp->napi_event); >- tp->intr_mask = ~tp->napi_event; >- >- if (likely(netif_rx_schedule_prep(dev))) >- __netif_rx_schedule(dev); >- else if (netif_msg_intr(tp)) { >- printk(KERN_INFO "%s: interrupt %04x taken in poll\n", >- dev->name, status); >+ if (status & tp->napi_event) { >+ RTL_W16(IntrMask, tp->intr_event & ~tp->napi_event); >+ tp->intr_mask = ~tp->napi_event; >+ >+ if (likely(netif_rx_schedule_prep(dev))) >+ __netif_rx_schedule(dev); >+ else if (netif_msg_intr(tp)) { >+ printk(KERN_INFO "%s: interrupt %04x in poll\n", >+ dev->name, status); >+ } > } > break; > #else >-- >1.5.2.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242572
:
156603
|
156759
|
156815
|
156816
|
156817
|
158726
|
159748
|
160162
|
160173
|
160185
|
160277
|
160280
| 160474 |
160507
|
161084