Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1369542
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: mvneta: fix changing MTU when using per-cpu processing |
| Date | 2016-04-01 21:20 +0200 |
| Message-ID | <rjcLT-sT-1@gated-at.bofh.it> (permalink) |
| References | <rj79w-4RA-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Marcin Wojtas <mw@semihalf.com> Date: Fri, 1 Apr 2016 15:21:18 +0200 > After enabling per-cpu processing it appeared that under heavy load > changing MTU can result in blocking all port's interrupts and transmitting > data is not possible after the change. > > This commit fixes above issue by disabling percpu interrupts for the > time, when TXQs and RXQs are reconfigured. > > Signed-off-by: Marcin Wojtas <mw@semihalf.com> Applied, thanks. When I reviewed this I was worried that this was yet another case where the ndo op could be invoked in a potentially atomic or similar context, whereby on_each_cpu() would be illegal to use. But that appears to not be the case, and thus this change is just fine. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: mvneta: fix changing MTU when using per-cpu processing Marcin Wojtas <mw@semihalf.com> - 2016-04-01 15:20 +0200 Re: [PATCH] net: mvneta: fix changing MTU when using per-cpu processing Marcin Wojtas <mw@semihalf.com> - 2016-04-01 15:30 +0200 Re: [PATCH] net: mvneta: fix changing MTU when using per-cpu processing David Miller <davem@davemloft.net> - 2016-04-01 21:20 +0200
csiph-web