| From | Subject | Date |
|---|---|---|
| Yann Dupont | possible issue between bridge igmp/multicast handling & ...
Hello.
I hope this is not a known problem.
We have servers running recent (2.6.36, 2.6.37-rc) hand compiled
vanilla kernels. We are using those servers to run KVM & LXC.
Those servers are DELL poweredge M605 in a M1000e enclosure ; the
network cards are 2X BCM5708S, driver bnx2, connected to Power Connect
M6220.
Multiples vlans are used, each vlan is connected to a virtual bridge on
the host.
This setup has been running fine for months.
We just added BCM57711 10G cards (bnx2x ...
| Jan 4, 6:40 am 2011 |
| Andrew Morton | Re: [Bugme-new] [Bug 25062] New: Bonding packet deduplic ...
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Fri, 17 Dec 2010 11:45:18 GMT
--
| Jan 4, 2:39 pm 2011 |
| Baruch Siach | Re: [PATCH v2 05/10] net/fec: add dual fec support for mx28
Hi Shawn,
Since you introduce this new kernel command line parameter in patch #3 of this
series, why not just make it right in the first place? This should make both
Since you now remove mach/hardware.h for ARCH_MXC, does this build for all
This breaks kernels for multiple archs (e.g. i.MX28 and i.MX25). Please use
run-time detection of CPU type, and do the MII/RMII etc. configuration
[snip]
baruch
--
~. .~ Tk Open ...
| Jan 4, 2:59 am 2011 |
| Baruch Siach | Re: [PATCH v2 05/10] net/fec: add dual fec support for mx28
Hi Shawn,
This is surprising. It means that this include was not needed in the first
place. git blame says this was added in 196719ec (fec: Add support for
How about:
#ifdef CONFIG_SOC_IMX28
#include <mach/mxs.h>
#else
#define cpu_is_mx28() (0)
#endif
if (cpu_is_mx28() {
/* Do i.MX28 stuff */
} else {
/* Do other i.MX stuff */
}
Note that the '#ifdef FEC_MIIGSK_ENR' section in fec_restart() is there only
to allow build for M5272 which does not have this define ...
| Jan 4, 8:07 am 2011 |
| Bhupesh Sharma | [PATCH net-next-2.6 v3 1/1] can: c_can: Added support fo ...
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B. Bosch C_CAN user manual can be
obtained from:
http://www.semiconductors.bosch.de/pdf/Users_Manual_C_CAN.pdf
This patch adds the support for this controller.
The following are the design choices made while writing the controller
driver:
1. Interface Register set IF1 has be used only in the current design.
2. Out of the 32 Message objects available, 16 are kept aside for RX
...
| Jan 4, 2:59 am 2011 |
| Ben Hutchings | Re: [RFC PATCH 0/3] Simplified 16 bit Toeplitz hash algorithm
Sure, the real value is in getting TX completions to line up with TX
[...]
At least if it's configured properly... or if this is automated using my
irq_cpu_rmap.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Jan 4, 8:43 am 2011 |
| Ben Hutchings | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
[...]
However, the option to omit the second operand is a GNU extension.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Jan 4, 7:16 am 2011 |
| Ben Hutchings | Re: [PATCH] r8169: support control of advertising
[...]
Pause advertising should also be controllable through ethtool, if flow
control can be altered in the MAC. (It's not clear whether it can.)
This should also check for unsupported advertising flags (e.g.
ADVERTISED_1000baseT_Full when the MAC doesn't support 1000M) and return
-EINVAL if they're set.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare ...
| Jan 4, 10:20 am 2011 |
| Daniel Baluta | 'tcp: bind() fix when many ports are bound' problem
Hi,
After a series of discussions [1], Eric provided
"tcp: bind() fix when many ports are bound" patch. ([2])
Anyhow, due to this problem ([3]) it was reverted.
Where there any follow ups on this patch?
I have spent some time looking at inet_csk_get_port with the
only conclusion that it's scary :D.
Should I work around patch "tcp: bind() fix when many ports are bound",
and try to fix problem [3], or is that a dead end?
thanks,
Daniel.
[1] ...
| Jan 4, 1:53 am 2011 |
| David Miller | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
From: Joel Sing <jsing@google.com>
Applied to net-2.6, thanks Joel.
If you guys want to mess with ternary operators and new macros,
please do that in net-next-2.6 the next time I merge or similar.
Thanks.
--
| Jan 4, 12:35 pm 2011 |
| David Miller | Re: [PATCH net-next 1/2] cnic: Do not allow iSCSI and FC ...
From: "Michael Chan" <mchan@broadcom.com>
Applied.
--
| Jan 3, 8:08 pm 2011 |
| David Miller | Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
From: Marc Kleine-Budde <mkl@pengutronix.de>
No. And there will never be.
Because it's never well defined whether it is safe to break up an
I/O operation into two sub-operations, nor in what order those
sub-operations can be done in.
For example, just reading one byte of a two-byte register might
clear the status bits in other byte if the two bytes are read in
the wrong order.
On some chips, avoiding losing information might be completely
impossible.
You have to do it by hand in ...
| Jan 4, 10:31 am 2011 |
| David Miller | Re: [PATCH net-next 2/2] cnic: Do not call bnx2i when bn ...
From: "Michael Chan" <mchan@broadcom.com>
Applied.
--
| Jan 3, 8:08 pm 2011 |
| David Miller | Re: [net-next-2.6 #2 00/08] r8169 driver updates
From: Francois Romieu <romieu@fr.zoreil.com>
I applied all of these patches, thanks Francois.
Because I am an idiot, I didn't notice you had a GIT tree with this
stuff prepared for me until after I pushed the patches out to
kernel.org :-/
Don't let this discourage you, using a GIT tree helps me a lot and I
just didn't expect it from you for whatever reason. :-) So please
keep doing this and I will pull directly from your GIT tree next time.
--
| Jan 4, 12:38 pm 2011 |
| David Miller | Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
From: Francois-Xavier Le Bail <fx.lebail@orange.fr>
Applied, thanks.
--
| Jan 4, 12:30 pm 2011 |
| Webmail Help Desk | ***IMPORTANT FINAL NOTICE***
Dear Webmail Account Owner:
It has come to our notice that your email has not passed the verification/Update process that we are presently working on.
We are currently upgrading our data base and e-mail account center, thereby deleting all Old Web mail email account to create more space for new accounts.To prevent your account from closing you will have to update it so that we will know that it's a presently used account. To complete your account re-confirmation, you must reply to this email ...
| Jan 4, 9:34 am 2011 |
| Eric Dumazet | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
I meant
#define FIB_RES_PREFSRC(res) __FIB_RES_PREFSRC(res, __fib_res_prefsrc(&res))
--
| Jan 4, 1:40 am 2011 |
| Eric Dumazet | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
Hmm no, this is not applicable, but this could be shorter :
fl.fl4_src = res.fi->fib_prefsrc ? : fl.fl4_dst;
--
| Jan 4, 12:33 am 2011 |
| Eric Dumazet | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
Ternary operator is standard C idiom, used in networking stuff, for
example in FIB_RES_PREFSRC() ;)
This could be properly done using another macro in include/net/ip_fib.h
to centralize this ternary op in one point :
#define __FIB_RES_PREFSRC(res, default) ((res).fi->fib_prefsrc ? : default)
#define FIB_RES_PREFSRC(res) __FIB_RES_PREFSRC(res, default, __fib_res_prefsrc(&res))
--
| Jan 4, 1:38 am 2011 |
| Eric Dumazet | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
Please use FIB_RES_PREFSRC(res)
as we do a few lines after ;)
Thanks
--
| Jan 4, 12:24 am 2011 |
| Eric Dumazet | Re: 'tcp: bind() fix when many ports are bound' problem
Dont mix TCP and UDP, they are not the same.
Problem with TCP is you can have TIME_WAIT sockets, disallowing a port
to be reused. Not with UDP.
The connect() [without a previous bind()], or a sendto() [without a
previous bind()] problem is more an API problem.
When kernel autobinds an UDP socket [to get a local IP/port], there is a
problem on the selection of the local address : It must be ANY_ADDR
(0.0.0.0)
While for TCP, the IP address wont change for the whole session.
Problem is : ...
| Jan 4, 4:22 am 2011 |
| Eric Dumazet | Re: [net-next-2.6 PATCH v4 2/2] net_sched: implement a r ...
I understand this code already exists in mq, I just want to note that
some qdiscs update their stats in their dump() subroutine, because their
enqueue()/dequeue() doesnt update all fields.
We might add a gather_stats() method, eventually, to get rid of all
oddities we currently have with 0 backlogs (or qlen) here and here ;)
For example, I am not even sure qdisc->qstats.qlen should not be
replaced by to qdisc->qstats.qlen in your loop, as done in
mqprio_dump_class_stats()
Reviewed-by: ...
| Jan 3, 11:46 pm 2011 |
| Eric Dumazet | Re: [RFC] net_sched: mark packet staying on queue too long
Here is the POC patch I am currently testing, with a probability to
"early drop" a packet of one percent per ms (HZ=1000 here), only if
packet stayed at least 4 ms on queue.
Of course, this only apply where SFQ is used, with known SFQ limits :)
The term "early drop" is a lie. RED really early mark/drop a packet at
enqueue() time, while I do it at dequeue() time [since I need to compute
the delay]. But effect is the same on sent packets. This might use a bit
more memory, but no more than ...
| Jan 4, 11:20 am 2011 |
| Eric Dumazet | Re: [RFC] net_sched: mark packet staying on queue too long
And of course I should do "goto end;" to properly do accounting,
--
| Jan 4, 11:29 am 2011 |
| Eric Dumazet | Re: [RFC] net_sched: mark packet staying on queue too long
Not at all, I had to install an AQM here at work, I chose SFQ because
Yes I did, but after some reading, I think there is an issue with BLUE,
regarding number of cache misses and complexity because of Bloom filter
(and double hashing)
For workloads with many flows, all bits are marked very fast.
I'd like to try kind of a SFQRED implementation, ie :
classify flows, then instead of using plain pfifo queues (currently done
in SFQ), use N pseudo RED queues.
RED is a bit complex because it ...
| Jan 4, 8:02 am 2011 |
| Francois-Xavier Le Bail | [PATCH v2] net: typos in comments in include/linux/igmp.h
There are typos in comments in include/linux/igmp.h:
83 #define IGMP_HOST_MEMBERSHIP_QUERY 0x11 /* From RFC1112 */
84 #define IGMP_HOST_MEMBERSHIP_REPORT 0x12 /* Ditto */
[snip]
88 #define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x11 */
89 #define IGMP_HOST_LEAVE_MESSAGE 0x17
90 #define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x11 */
The line 88 and 90 are about REPORT messages.
The IGMP_HOST_MEMBERSHIP_REPORT (IGMP V1) value is ...
| Jan 4, 12:10 pm 2011 |
| Gaspar Chilingarov | Re: 'tcp: bind() fix when many ports are bound' problem
Hi there!
Well, that looks strange.
On my own side I've just put workaround (manually binding to all ports
in sequence :)
and moved production code to FreeBSD as it has better scalable network stack.
I can see the potential problem with that bind() problem on highly
loaded DNS servers/resolvers which establish tons of outgoing UDP
connections.
In some cases that connections could fail and as not receiving the
answer it is normal condition for DNS this will go totally unnoticed.
I ...
| Jan 4, 2:12 am 2011 |
| jamal | Re: [net-next-2.6 PATCH v4 1/2] net: implement mechanism ...
On Mon, 2011-01-03 at 19:05 -0800, John Fastabend wrote:
This seems very hardware specific.
i.e may be true for 8021q (or like 8021q) type hardware and therefore
your qdisc.
There are people with hardware that has thousands of hardware
flow queues (or at least give impressions as such). Maybe a naming
convention prefixed with 8021Q would be nicer or moving it into
your qdisc infrastructure and export it so drivers needing it can.
cheers,
jamal
--
| Jan 4, 5:32 am 2011 |
| Jesper Dangaard Brouer | Re: [RFC] net_sched: mark packet staying on queue too long
That is true, operations department went kind of crazy when they started
to add/move customers to our new Nehalem Xeon 5550 systems. I have
stopped them now ;-)
The use of an SFQ per customer, actually also solves the buffer bloat
This is very interesting stuff! :-)
Have you looked at the SFB (Stochastic Fair Blue) implementation by
Juliusz Chroboczek?
http://www.pps.jussieu.fr/~jch/software/sfb/
Cheers,
Jesper ...
| Jan 4, 7:19 am 2011 |
| hayeswang | RE: [net-next-2.6 08/08] r8169: more 8168dp support.
The chip of 8111DP has an embedded system inside. Thus, sometime the nic has to
told the embedded system what the nic is doing now. For this reason, you can
find the function "OOB_notify" in source code of realtek. Furthermore, we do a
software mutex to avoid the driver and system from accessing the same register.
When doing reset, the nic has to notify the embedded system and wait a response.
However, maybe the system accesses the same register at the same time, so the
embedded system and the ...
| Jan 3, 7:43 pm 2011 |
| Jarek Poplawski | Re: [net-next-2.6 PATCH v4 2/2] net_sched: implement a r ...
I'm not sure why this unsetting is needed in case it was set by a
Did you give up those stats per tc class? You only show the leaf
classes here, but you could first loop per num_tc (as virtual
parent classes). So in dump_class_stats you should be able to
distinguish class 'level' by cl and do the second loop if necessary.
To show the class hierarchy you change tcm_parent in dump_class
for 'leaf' classes (like eg in sch_htb/htb_dump_class).
--
| Jan 4, 4:18 am 2011 |
| Jarek Poplawski | Re: [net-next-2.6 PATCH v5 2/2] net_sched: implement a r ...
Setting here (again) to unwind a bit later looks strange.
We need to 'get' tc classes too, eg for individual dumps. Then we
Why dev->num_tc above, netdev_get_num_tc(dev) here, and dev->num_tc
cl == 17, tc.offset == 0, tc.count == 1, num_tc = 16, q_idx = 1,
Should we report possibly unused/unconfigured tx_queues?
--
| Jan 4, 3:59 pm 2011 |
| Jan Engelhardt | genetlink misinterprets NEW as GET
Hey there,
I can't really say whether it's genetlink or netlink to blame,
but I noticed that a request with
nlmsg_flags = NLM_F_CREATE | NLM_F_EXCL
to a genl-registered component can return -EOPNOTSUPP because it does
not have a dumpit function defined in struct genl_ops. Make sense?
Not at first sight at least.
include/linux/netlink.h has this nice anecdote:
/* Modifiers to GET request */
#define NLM_F_ROOT 0x100
#define NLM_F_MATCH 0x200
#define NLM_F_ATOMIC ...
| Jan 3, 7:14 pm 2011 |
| Joe Perches | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
I don't object to using GNU extensions.
The ?: extension is used in most every major subsystem.
$ grep -rP --include=*.[ch] "\?\s*:" * | wc -l
515
(with some false positives)
--
| Jan 4, 8:32 am 2011 |
| John Fastabend | [net-next-2.6 PATCH v4 2/2] net_sched: implement a root ...
This implements a mqprio queueing discipline that by default creates
a pfifo_fast qdisc per tx queue and provides the needed configuration
interface.
Using the mqprio qdisc the number of tcs currently in use along
with the range of queues alloted to each class can be configured. By
default skbs are mapped to traffic classes using the skb priority.
This mapping is configurable.
Configurable parameters,
struct tc_mclass_qopt {
__u8 num_tc;
__u8 prio_tc_map[16];
...
| Jan 3, 8:05 pm 2011 |
| John Fastabend | [net-next-2.6 PATCH v4 1/2] net: implement mechanism for ...
This patch provides a mechanism for lower layer devices to
steer traffic using skb->priority to tx queues. This allows
for hardware based QOS schemes to use the default qdisc without
incurring the penalties related to global state and the qdisc
lock. While reliably receiving skbs on the correct tx ring
to avoid head of line blocking resulting from shuffling in
the LLD. Finally, all the goodness from txq caching and xps/rps
can still be leveraged.
Many drivers and hardware exist with the ...
| Jan 3, 8:05 pm 2011 |
| John Fastabend | Re: [net-next-2.6 PATCH v2 3/3] net_sched: implement a r ...
OK I'm convinced I'll keep everything contained in mclass. Building this mechanism into the qdisc seems to be adding extra complexity that is most likely not needed as you noted.
Although I suspect the "additional parameter" would be something along the lines of a queue index and offset? right? Otherwise how would a mq like qdisc know which queues it owns.
Thanks,
John.
--
| Jan 3, 5:18 pm 2011 |
| John Fastabend | Re: [net-next-2.6 PATCH v2 3/3] net_sched: implement a r ...
Perhaps something with qdisc_class_ops select_queue() could be done to make it more flexible. When I get around to implementing these hypothetical qdiscs I will have to figure it out. For now though hypothetical qdiscs are not a very compelling use case.
Thanks,
John.
--
| Jan 3, 7:59 pm 2011 |
| John Fastabend | Re: [net-next-2.6 PATCH v4 2/2] net_sched: implement a r ...
I did give up... but got it working with your hint in v5 thanks.
John.
--
| Jan 4, 11:16 am 2011 |
| John Fastabend | [net-next-2.6 PATCH v5 2/2] net_sched: implement a root ...
This implements a mqprio queueing discipline that by default creates
a pfifo_fast qdisc per tx queue and provides the needed configuration
interface.
Using the mqprio qdisc the number of tcs currently in use along
with the range of queues alloted to each class can be configured. By
default skbs are mapped to traffic classes using the skb priority.
This mapping is configurable.
Configurable parameters,
struct tc_mqprio_qopt {
__u8 num_tc;
__u8 prio_tc_map[TC_BITMASK ...
| Jan 4, 11:56 am 2011 |
| John Fastabend | [net-next-2.6 PATCH v5 1/2] net: implement mechanism for ...
This patch provides a mechanism for lower layer devices to
steer traffic using skb->priority to tx queues. This allows
for hardware based QOS schemes to use the default qdisc without
incurring the penalties related to global state and the qdisc
lock. While reliably receiving skbs on the correct tx ring
to avoid head of line blocking resulting from shuffling in
the LLD. Finally, all the goodness from txq caching and xps/rps
can still be leveraged.
Many drivers and hardware exist with the ...
| Jan 4, 11:56 am 2011 |
| Joel Sing | [PATCH] ipv4/route.c: respect prefsrc for local routes
The preferred source address is currently ignored for local routes,
which results in all local connections having a src address that is the
same as the local dst address. Fix this by respecting the preferred source
address when it is provided for local routes.
This bug can be demonstrated as follows:
# ifconfig dummy0 192.168.0.1
# ip route show table local | grep local.*dummy0
local 192.168.0.1 dev dummy0 proto kernel scope host src 192.168.0.1
# ip route change table local local ...
| Jan 3, 11:24 pm 2011 |
| Yahoo Award Center | Jan 4, 6:25 am 2011 | |
| Kurt Van Dijck | [PATCH net-next-2.6 v2 0/2] can: add driver for Softing card
This series will add a driver for Softing PCMCIA CAN card.
This core CAN networking code exists for a few years in the
socketCAN repository.
The updates since the latest socketCAN version:
* PCMCIA interfacing changed
* seperation between the two drivers via a platform:softing device
* added conditional bus-error reporting
About the platform_device ...
Softing Gmbh has PCMCIA & PCI cards. Both share the same
Dual Port RAM (DPRAM) interface. Therefore, the driver is split in 2 ...
| Jan 4, 8:05 am 2011 |
| Kurt Van Dijck | Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
(Thanks for the explanation)^2.
I left my code now with the only warning from sparse:
warning: Using plain integer as NULL pointer
That means, I got all __iomem references fixed.
Is this '0' instead of 'NULL' a big problem? I got plenty of those.
Kurt
--
| Jan 4, 5:19 am 2011 |
| Kurt Van Dijck | [PATCH net-next-2.6 v2 1/2] can: add driver for Softing card
This patch adds a driver for the platform:softing device.
This will create (up to) 2 CAN network devices from 1
platform:softing device
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
---
drivers/net/can/Kconfig | 2 +
drivers/net/can/Makefile | 1 +
drivers/net/can/softing/Kconfig | 16 +
drivers/net/can/softing/Makefile | 5 +
drivers/net/can/softing/softing.h | 193 ++++++
...
| Jan 4, 8:07 am 2011 |
| Kurt Van Dijck | [PATCH net-next-2.6 v2 2/2] can: add driver for Softing card
This patch adds the driver that creates a platform:softing device
from a pcmcia_device
Note: the Kconfig indicates a dependency on the softing.ko driver,
but this is purely to make configuration intuitive. This driver will
work independent, but no CAN network devices appear until softing.ko is
loaded too.
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
---
drivers/net/can/softing/Kconfig | 13 ++
drivers/net/can/softing/Makefile | 1 +
...
| Jan 4, 8:09 am 2011 |
| Michael Chan | [PATCH net-next 2/2] cnic: Do not call bnx2i when bnx2i ...
We should call bnx2i to send the iSCSI netlink message earlier in
cnic_unregister_device(). By the time cnic_unregister_driver() is
called, bnx2i may have freed data structures used by the upcalls.
Update version to 2.2.12.
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
---
drivers/net/cnic.c | 19 +++----------------
drivers/net/cnic_if.h | 6 +++---
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git ...
| Jan 3, 6:21 pm 2011 |
| Michael Chan | [PATCH net-next 1/2] cnic: Do not allow iSCSI and FCoE o ...
Because the hardware does not yet support these in this mode.
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
---
drivers/net/cnic.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/cnic.c b/drivers/net/cnic.c
index 4a9c628..41957fa 100644
--- a/drivers/net/cnic.c
+++ b/drivers/net/cnic.c
@@ -4826,12 +4826,8 @@ static void cnic_get_bnx2x_iscsi_info(struct cnic_dev *dev)
val = CNIC_RD(dev, addr);
...
| Jan 3, 6:21 pm 2011 |
| MichaÅ MirosÅaw | Re: [RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM
All drivers that have set_rx_csum() also define matching get_rx_csum().
Anyway, the code this is removing is broken in that it assumes TX csum
capability implying RX csum capability.
As a side note, GRO receive functions (TCPv4 and v6 - no other protocols
use it) are checking skb->ip_summed != CHECKSUM_NONE before allowing the
packet to be passed on, so it's not even necessary to force disabling GRO
when RX csum is off.
Best Regards,
Michał Mirosław
--
| Jan 4, 11:33 am 2011 |
| Marc Kleine-Budde | Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
There's ioread() and get_unaligned(). Do we have a combination of this?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
| Jan 4, 3:54 am 2011 |
| Marc Kleine-Budde | Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
No problem for the compiler, but it's bad style :)
Please fix it.
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
| Jan 4, 5:25 am 2011 |
| Oliver Neukum | [PATCH] r8169: support control of advertising
From 91e84e6b6ca416e8200f04b60383c398f9b93bd2 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oliver@neukum.org>
Date: Tue, 4 Jan 2011 17:11:29 +0100
Subject: [PATCH] r8169: support control of advertising
This allows "ethtool advertise" to control the speed and duplex
features the device offers the switch.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
drivers/net/r8169.c | 41 +++++++++++++++++++++++++++++++----------
1 files changed, 31 insertions(+), 10 deletions(-)
diff --git ...
| Jan 4, 9:15 am 2011 |
| Francois Romieu | [net-next-2.6 #2 02/08] r8169: identify different registers.
Documentation (sort of).
The location are the same, the values are the same but it is
just accidental. Note that the 810x could cope with a smaller
value as it does not support jumbo frames.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 3124462..33c3fbf 100644
--- ...
| Jan 3, 6:07 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 04/08] r8169: 8168DP specific MII regis ...
Adapted from version 8.019.00 of Realtek's r8168 driver and
amended per Hayes Wang's correction :
- OCPDR_GPHY_REG_SHIFT must be 16, not 12
- the reg should be at bit 16 ~ 22, whence OCPDR_REG_MASK
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 81 insertions(+), 2 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index ...
| Jan 3, 6:08 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 01/08] r8169: remove the firmware of RT ...
The binary file of the firmware is moved to linux-firmware repository.
The firmwares are rtl_nic/rtl8168d-1.fw and rtl_nic/rtl8168d-2.fw.
The driver goes along if the firmware couldn't be found. However, it
is suggested to be done with the suitable firmware.
Some wrong PHY parameters are directly corrected in the driver.
Simple firmware checking added per Ben Hutchings suggestion.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: ...
| Jan 3, 6:07 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 03/08] r8169: use device dependent meth ...
Current mdio_{read/write} needs device specific information to work
correctly with newer chipsets.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 307 ++++++++++++++++++++++++++-------------------------
1 files changed, 157 insertions(+), 150 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 33c3fbf..b5ced5e 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -502,9 +502,9 @@ struct ...
| Jan 3, 6:07 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 00/08] r8169 driver updates
The following series adds on top of the previous one :
- missing TxPacketMax and FW_LOADER (Ben Hutchings)
- wrong OCPDR_GPHY_REG offset and mask.
Hayes, are you ok with this one ?
The RTL_GIGA_MAC_VER_27 changes suggested by Hayes at the end of the
previous series are not included yet (feedback anyone ?).
The previous series included :
- Hayes'firmware removal. The firmware is already included in linux-firmware.
- my sauce to diminish the gap between the in-kernel r8169 driver
and ...
| Jan 3, 6:07 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 06/08] r8169: magic.
Adapted from version 8.019.00 of Realtek's r8168 driver.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 93 insertions(+), 0 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 0ec47f4..a73dd28 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -278,6 +278,18 @@ enum rtl8168_8101_registers {
};
enum ...
| Jan 3, 6:08 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 07/08] r8169: rtl_csi_access_enable rename.
Newer 8168 needs a slightly different rtl_csi_access_enable.
This patch separates some noise from the real thing.
No functional change.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index a73dd28..a468ee9 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3310,12 ...
| Jan 3, 6:08 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 08/08] r8169: more 8168dp support.
Adapted from version 8.019.00 of Realtek's r8168 driver
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 136 insertions(+), 9 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index a468ee9..27a7c20 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -121,7 +121,8 @@ enum mac_version {
RTL_GIGA_MAC_VER_24 = 0x18, // ...
| Jan 3, 6:08 pm 2011 |
| Francois Romieu | [net-next-2.6 #2 05/08] r8169: phy power ops
Bits from :
- version 8.019.00 of Realtek's 8168 driver
- version 1.019.00 of Realtek's 8101 driver
Plain old 8169 (PCI) devices do not seem to need anything akin to it.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
---
drivers/net/r8169.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 166 insertions(+), 1 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 3a63363..0ec47f4 100644
--- ...
| Jan 3, 6:08 pm 2011 |
| Francois Romieu | Re: [net-next-2.6 08/08] r8169: more 8168dp support.
hayeswang <hayeswang@realtek.com> :
Ok. Any comment about the patch below ? I wish it was more expressive,
especially the "mutex" magic.
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 27a7c20..d2c850d 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -615,6 +615,58 @@ static void ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data)
}
}
+#define OCP_REG_1 0x009c
+#define OCP_REG_2 0x0014
+
+static void ocp_lock_write(struct rtl8169_private ...
| Jan 3, 5:26 pm 2011 |
| Francois Romieu | Re: [PATCH] r8169: support control of advertising
Ben Hutchings <bhutchings@solarflare.com> :
Fixed.
Fixed.
Oliver, are you ok with the patch below (against davem's net-next or you
will experience rejects) ?
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 27a7c20..4175a14 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -540,7 +540,7 @@ struct rtl8169_private {
void (*up)(struct rtl8169_private *);
} pll_power_ops;
- int (*set_speed)(struct net_device *, u8 autoneg, u16 speed, u8 duplex);
+ int ...
| Jan 4, 3:38 pm 2011 |
| Sebastian J. Bronner | Re: bridge not routing packets via source bridgeport
Thanks for your guess, Eric.
Unfortunately, that didn't change anything.
According to the documentation at
http://lartc.org/howto/lartc.kernel.html
that parameter is to prevent _responses_ leaving through a different
interface that the original packet came in on. So, I wouldn't expect it
to have any impact on _routed packets_.
In my original e-mail, I forgot to mention something I noticed while
debugging:
If i put the bridge into promiscuous mode, then suddenly the packets ...
| Jan 4, 1:25 am 2011 |
| Shawn Guo | [PATCH v2 05/10] net/fec: add dual fec support for mx28
This patch is to add mx28 dual fec support. Here are some key notes
for mx28 fec controller.
- mx28 fec design made an assumption that it runs on a
big-endian system, which is incorrect. As the result, the
driver has to swap every frame going to and coming from
the controller.
- external phys can only be configured by fec0, which means
fec1 can not work independently and both phys need to be
configured by mii_bus attached on fec0.
- mx28 fec reset will get mac address ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 09/10] ARM: mx28: read fec mac address from ocotp
Read fec mac address from ocotp and save it into fec_platform_data
mac field for fec driver to use.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
Changes for v2:
- It's not necessary to remove "const" for fec_platform_data from
platform-fec.c and devices-common.h, so add it back.
- Hard-coding Freescale OUI (00:04:9f) instead of just the first
two two octets.
- Correct the return of mx28evk_fec_get_mac() and check it
with caller
arch/arm/mach-mxs/mach-mx28evk.c | ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | Re: [PATCH v2 06/10] ARM: mx28: update clocks for dual f ...
Hi Uwe,
The clk should not be off. Looking at _REGISTER_CLOCK below, we are
registering both fec.0 and fec.1 on the same one fec_clk. IOW, the
usecount of the clk is working to control the on/off of the clk.
#define _REGISTER_CLOCK(d, n, c) \
{ \
.dev_id = d, \
.con_id = n, \
.clk = &c, \
},
--
Regards,
Shawn
--
| Jan 4, 7:26 am 2011 |
| Shawn Guo | [PATCH v2 01/10] net/fec: fix MMFR_OP type in fec_enet_m ...
FEC_MMFR_OP_WRITE should be used than FEC_MMFR_OP_READ in
a mdio write operation.
It's probably a typo introduced by commit:
e6b043d512fa8d9a3801bf5d72bfa3b8fc3b3cc8
netdev/fec.c: add phylib supporting to enable carrier detection (v2)
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
drivers/net/fec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index cce32d4..52e9ca8 100644
--- a/drivers/net/fec.c
+++ ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 03/10] net/fec: add mac field into platform da ...
Add mac field into fec_platform_data and consolidate function
fec_get_mac to get mac address in following order.
1) kernel command line fec_mac=xx:xx:xx...
2) from flash in case of CONFIG_M5272 or fec_platform_data mac
field for others, which typically have mac stored in fuse
3) fec mac address registers set by bootloader
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
drivers/net/fec.c | 90 ++++++++++++++++++++++++++++----------------------
include/linux/fec.h | 2 ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | Re: [PATCH v2 05/10] net/fec: add dual fec support for mx28
Hi Baruch,
Sorry for rushing to send the patch set out. All these updates
should happen on patch #3 than #5. This is a serious problem,
I do not find a good way to detect cpu type. Neither adding a new
platform data field nor using __machine_arch_type to enumerate all
mx28 based machine (though there is only one currently) seems to be
good for me.
I will try to manipulate some mx28 unique register to identify mx28
from other i.mx variants. Hopefully, it will work.
Thanks for the ...
| Jan 4, 7:13 am 2011 |
| Shawn Guo | [PATCH v2 06/10] ARM: mx28: update clocks for dual fec support
Register clocks fec.0 and fec.1 for dual fec support.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
Changes for v2:
- Rebase the patch against patch below which gets fundamental
clocks explicitly called in clk_enable.
[PATCH v4] ARM: mxs: Change duart device to use amba-pl011
- Register clocks fec.0 and fec.1 respectively than use wildcard
NULL for both instances.
arch/arm/mach-mxs/clock-mx28.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 10/10] ARM: mxs: add initial pm support
This is a very initial pm support and basically does nothing.
With this pm support entry, drivers can start testing their own
pm functions.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
Changes for v2:
- Let build of pm.c depend on CONFIG_PM
- Remove the blank line above device_initcall in pm.c
arch/arm/mach-mxs/Makefile | 2 ++
arch/arm/mach-mxs/pm.c | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
create mode ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 07/10] ARM: mx28: add the second fec device re ...
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
arch/arm/mach-mxs/mach-mx28evk.c | 28 +++++++++++++++++++++++++---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index d162e95..def6519 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -57,6 +57,19 @@ static const iomux_cfg_t mx28evk_pads[] __initconst = {
(MXS_PAD_8MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 02/10] net/fec: remove the use of "index" whic ...
The "index" becomes legacy since fep->pdev->id starts working
to identify the instance.
Moreover, the call of fec_enet_init(ndev, 0) always passes 0
to fep->index. This makes the following code in fec_get_mac buggy.
/* Adjust MAC if using default MAC address */
if (iap == fec_mac_default)
dev->dev_addr[ETH_ALEN-1] = fec_mac_default[ETH_ALEN-1] + fep->index;
It may be the time to remove "index" and use fep->pdev->id instead.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 08/10] ARM: mxs: add ocotp read function
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
---
Changes for v2:
- Add mutex locking for mxs_read_ocotp()
- Use type size_t for count and i
- Add comment for clk_enable/disable skipping
- Add ERROR bit clearing and polling step
arch/arm/mach-mxs/Makefile | 2 +-
arch/arm/mach-mxs/include/mach/common.h | 1 +
arch/arm/mach-mxs/ocotp.c | 79 +++++++++++++++++++++++++++++++
3 files changed, 81 insertions(+), 1 deletions(-)
create mode 100644 ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 04/10] net/fec: improve pm for better suspend/resume
The following commit made a fix to use fec_enet_open/fec_enet_close
over fec_enet_init/fec_stop for suspend/resume, because fec_enet_init
does not allow to have a working network interface at resume.
e3fe8558c7fc182972c3d947d88744482111f304
net/fec: fix pm to survive to suspend/resume
This fix works for i.mx/mxc fec controller, but fails on mx28 fec
which gets a different interrupt logic design. On i.mx fec, interrupt
can be triggered even bit ETHER_EN of ECR register is not set. But
on ...
| Jan 4, 2:24 am 2011 |
| Shawn Guo | [PATCH v2 00/10] net/fec: add dual fec support for i.MX28
This patch series is to add dual fec support for mx28, which is
a mxs-based soc. Some code changes related to the following commits
are also made in this patch set for some reasons.
e6b043d512fa8d9a3801bf5d72bfa3b8fc3b3cc8
netdev/fec.c: add phylib supporting to enable carrier detection (v2)
e3fe8558c7fc182972c3d947d88744482111f304
net/fec: fix pm to survive to suspend/resume
It's been tested on mx28 evk and mx51 babbage. For mx28, it has
to work against the tree
...
| Jan 4, 2:24 am 2011 |
| Stephen Hemminger | Re: [RFC] net_sched: mark packet staying on queue too long
I am playing with Quick Fair Queue (QFQ) from FreeBSD.
The authors started with Linux first and sent me their version,
it needs some work first.
http://info.iet.unipi.it/~luigi/qfq/
http://www.google.com/search?client=ubuntu&channel=fs&q=QFQ+rizzo&ie=utf-8...
--
| Jan 4, 9:05 am 2011 |
| Martin Sustrik | Checking for closed TCP connection in kernel space
Hi all,
I open a TCP socket in the kernel space (sock_create_kern). I connect or
bind it, I send and receive data. Everything works as expected.
The problem is how to find out that the peer have closed the connection.
In user space you get 0 when calling recv() is such case. However, in
kernel space kernel_recvmsg seems to return 0 anytime when there are no
more data available. It doesn't return an error either.
Should I monitor the socket state using sk_state_change callback? But ...
| Jan 4, 8:16 am 2011 |
| Tom Herbert | Re: [RFC PATCH 0/3] Simplified 16 bit Toeplitz hash algorithm
I still don't see the value in doing this RX/TX queue pairing (unless
you're considering the possibility of explicitly binding sockets to
queue pairs). XPS should be sufficient mechanism to get affinity on
sending side. Also, don't know how the queue paring model will be
maintained when using priority queues on transmit-- transmit is likely
to be asymmetric to receive side. The ability to seamlessly decouple
The device hash should already be available in sk_rxhash, so maybe
that could be used ...
| Jan 3, 8:25 pm 2011 |
| Uwe Kleine-König | Re: [PATCH v2 06/10] ARM: mx28: update clocks for dual f ...
Hello Shawn,
Did you verify this works as intended? I didn't and consider it
possible that after
clk_enable("fec.0");
clk_enable("fec.1");
clk_disable("fec.1");
the clk is off. Probably it just works, just want to prevent hard to
find bugs ...
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
| Jan 4, 6:58 am 2011 |
| Changli Gao | Re: [PATCH] ipv4/route.c: respect prefsrc for local routes
I think Joe may object the use of "? :"
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
| Jan 4, 1:07 am 2011 |
| previous day | today | next day |
|---|---|---|
| January 3, 2011 | January 4, 2011 | None |
