| From | Subject | Date |
|---|---|---|
| Mr. Parris Williams | Congratulation!!!
£1,350,000.00 Pounds has been awarded to your E-mail do send us your Name Age Tel Address contery.
--
| Oct 28, 3:48 pm 2009 |
| Mr. Parris Williams | Congratulation!!!
£1,350,000.00 Pounds has been awarded to your E-mail do send us your Name Age Tel Address contery.
--
| Oct 28, 3:48 pm 2009 |
| Mr. Parris Williams | Congratulation!!!
£1,350,000.00 Pounds has been awarded to your E-mail do send us your Name Age Tel Address contery.
--
| Oct 28, 3:49 pm 2009 |
| Matt Carlson | dev_flags definitions in broadcom.c
Nate, On May 17, 2008 you submitted a patch titled
"PHYLIB: Add 1000Base-X support for Broadcom bcm5482". In that patch
you defined several dev_flags definitions for the broadcom module. I
only see the PHY_BCM_FLAGS_MODE_1000BX being used in the code though. I
quickly scanned through the phy_connect calls in drivers/net and didn't
see any caller using this preprocessor definition or an equivalent
hardcoded constant. Perhaps I missed something though. Can you tell me
where these flags are ...
| Oct 28, 2:25 pm 2009 |
| Bartlomiej Zolnierki ... | Re: pull request: wireless-next-2.6 2009-10-28
I find it rather disappointing that all my review comments regarding
rt2800pci support were just completely ignored and then the initial
patch was merged just as it was..
The way rt2800usb and rt2800pci drivers are designed really results
in making the task of adding working support for RT28x0 and RT30x0
chipsets to rt2x00 infrastructure more difficult and time consuming
than it should be... :(
--
Bartlomiej Zolnierkiewicz
--
| Oct 28, 2:56 pm 2009 |
| John W. Linville | pull request: wireless-next-2.6 2009-10-28
Dave,
I let my patches pile-up! Yikes!!
This request includes the usual ton of stuff for -next -- driver
updates, fixes for some earlier -next stuff, a few cfg80211 changes to
accomodate the libertas driver, etc. Of note is the rt2800pci support
added to the rt2x00 family.
Pleaset let me know if there are problems!
Thanks,
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-next-2.6/
---
The following changes ...
| Oct 28, 2:10 pm 2009 |
| John W. Linville | pull request: wireless-2.6 2009-10-28
Dave,
Here is a collection of fixes (mostly (almost-)one-liners) intended
for 2.6.32. There are a couple of fixes relating to behavior when an
association failes, as well as spelling fixes, simply endian fixes,
a MAINTAINERS change...I don't think there is anything controversial
here...
Please let me know if there are problems!
Thanks,
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following ...
| Oct 28, 1:53 pm 2009 |
| David Stevens | Re: [Fwd: Re: [PATCH] Multicast packet reassembly can fail]
Steve,
If you didn't join the group on both interfaces, you won't receive
two copies in the first place; the unjoined NIC won't deliver anything
up the stack that isn't in it's multicast address filter.
+-DLS
--
| Oct 28, 1:22 pm 2009 |
| Steve Chen | Re: [Fwd: Re: [PATCH] Multicast packet reassembly can fail]
Thanks for the inputs. I'll revisit the issue.
Steve
--
| Oct 28, 2:11 pm 2009 |
| Yinghai Lu | nfs broken in net-next?
pk12-3214-189-102:~ # mount -t nfs 10.6.75.100:/data/shared/pxeboot /x
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
using opensuse11.1
YH
--
| Oct 28, 1:13 pm 2009 |
| David Stevens | Re: [PATCH] Multicast packet reassembly can fail
I haven't gone through the entire thread yet, but I should point
out that this appears to break regular IP fragmentation for
unicast packets. There is no restriction whatsoever that
fragments from a remote destination that are actually for
the same datagram need to be routed on the same paths
and received on the same input interface.
For the multicast case, if they are from the same datagram,
it doesn't matter how you got them. If it's a different datagram
with the same ID, which can happen ...
| Oct 28, 1:12 pm 2009 |
| Ron Mercer | [net-2.6 PATCH 2/2] qlge: Fix firmware mailbox command t ...
The mailbox command process would only process a maximum of 5 unrelated
firmware events while waiting for it's command completion status.
It should process an unlimited number of events while waiting for a maximum of 5 seconds.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
---
drivers/net/qlge/qlge.h | 1 +
drivers/net/qlge/qlge_mpi.c | 23 ++++++++++++-----------
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/net/qlge/qlge.h ...
| Oct 28, 11:39 am 2009 |
| Ron Mercer | [net-2.6 PATCH 0/2] qlge: Fixes for qlge.
Fix EEH and firmware mailbox command processor.
--
| Oct 28, 11:39 am 2009 |
| Ron Mercer | [net-2.6 PATCH 1/2] qlge: Fix EEH handling.
Clean up driver resources without touch the hardware. Add pci
save/restore state.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
---
drivers/net/qlge/qlge_main.c | 78 ++++++++++++++++++++++++++++--------------
1 files changed, 52 insertions(+), 26 deletions(-)
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 48b45df..cea7531 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3916,6 +3916,7 @@ static int __devinit ...
| Oct 28, 11:39 am 2009 |
| Neil Horman | [PATCH] AF_RAW: Augment raw_send_hdrinc to expand skb to ...
Augment raw_send_hdrinc to correct for incorrect ip header length values
A series of oopses was reported to me recently. Apparently when using AF_RAW
sockets to send data to peers that were reachable via ipsec encapsulation,
people could panic or BUG halt their systems.
I've tracked the problem down to user space sending an invalid ip header over an
AF_RAW socket with IP_HDRINCL set to 1.
Basically what happens is that userspace sends down an ip frame that includes
only the header (no ...
| Oct 28, 10:39 am 2009 |
| Eric Dumazet | Re: [PATCH] AF_RAW: Augment raw_send_hdrinc to expand sk ...
Thanks a lot for this detailed info, I wish everything could be explained like this !
I believe we should drop the request, since padding it is not what was expected by user.
--
| Oct 28, 11:13 am 2009 |
| Neil Horman | Re: [PATCH] AF_RAW: Augment raw_send_hdrinc to expand sk ...
Yeah, I had a feeling. Ok, version 2, this time drop the invalid frame and
report it to user space, instead of expanding it:
Augment raw_send_hdrinc to correct for incorrect ip header length values
A series of oopses was reported to me recently. Apparently when using AF_RAW
sockets to send data to peers that were reachable via ipsec encapsulation,
people could panic or BUG halt their systems.
I've tracked the problem down to user space sending an invalid ip ...
| Oct 28, 11:59 am 2009 |
| Eric Dumazet | Re: [PATCH] AF_RAW: Augment raw_send_hdrinc to expand sk ...
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
--
| Oct 28, 2:01 pm 2009 |
| Ajit Khaparde | [PATCH net-next-2.6] be2net: Add the new PCI IDs to PCI_ ...
This patch adds the PCI IDs for the next generation chip to the
PCI_DEVICE_ID table.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 4520db7..43180dc 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -31,8 +31,10 @@ MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd ...
| Oct 28, 10:23 am 2009 |
| Steve Chen | Re: [Fwd: Re: [PATCH] Multicast packet reassembly can fail]
The application received it once. IIRC the duplicate packet is drop in
Routing code drops the duplicate packet for none-fragmented case as
Actually, the patch tries to prevent packet drop for this exact
scenario. Please consider the following scenarios
1. Packet comes in the fragment reassemble code in the following order
(eth0 frag1), (eth0 frag2), (eth1 frag1), (eth1 frag2)
Packet from both interfaces get reassembled and gets further processed.
2. Packet can some times arrive in ...
| Oct 28, 10:05 am 2009 |
| Eric Dumazet | Re: [Fwd: Re: [PATCH] Multicast packet reassembly can fail]
Yes your patch does this, so each multicast application receives two copies of the
Really ? how so ? I dont see how it can happen, unless you use RPF ?
current situation should be :
(eth0 frag1) : We create a context, store frag1 in it
(eth1 frag1) : We find this context, and drop frag1 since we already have the data
(maybe the bug is here, if we cannot cope with a duplicate ?)
(eth0 frag2) : We find this context, store frag2 -> complete datagram and deliver it
(eth1 ...
| Oct 28, 10:26 am 2009 |
| Steve Chen | Re: [Fwd: Re: [PATCH] Multicast packet reassembly can fail]
I will have to double check exactly where the packet drop happens. I
I see the point you are making. I assumed, probably incorrectly, that
since eth0 and eth1 have different IP address. I would get a complete
series of fragments for each interface. Perhaps, I should really be
looking up the stack to see why packets were dropped. Please correct me
if I'm mistaken. The normal behavior is that application should be
receiving either 2 (scenario 1) or 1 (scenario 2) ...
| Oct 28, 11:25 am 2009 |
| Kristoffer Glembo | phylib printouts
Hi,
There are some printouts in the phy abstraction library using pr_info().
Personally I would prefer if they used pr_debug() instead.
Especially the pr_info("%s: probed\n", bus->name) in mdiobus_register()
since in some cases I can't tolerate a console printout while the link
is down (we have an ethernet debug link and read the UART output through
the link).
Of course this is a very specific case but in general in embedded
systems (which I think is where the phylib is mainly used) ...
| Oct 28, 9:33 am 2009 |
| Shreyas Bhatewara | [PATCH] vmxnet3: remove duplicate #include
Remove duplicate headerfile includes from vmxnet3_int.h
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Bhavesh Davda <davda@vmware.com>
---
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
index 3c0d70d..4450816 100644
--- a/drivers/net/vmxnet3/vmxnet3_int.h
+++ b/drivers/net/vmxnet3/vmxnet3_int.h
@@ -27,16 +27,11 @@
#ifndef _VMXNET3_INT_H
#define _VMXNET3_INT_H
...
| Oct 28, 9:30 am 2009 |
| Bhavesh Davda | RE: [Pv-drivers] [PATCH] vmxnet3: remove duplicate #include
Correction:
Thanks
- Bhavesh
--
| Oct 28, 9:32 am 2009 |
| Eric Dumazet | [PATCH net-next-2.6] bridge: Optimize multiple unregistration
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
net/bridge/br_if.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index b1b3b0f..2117e5b 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -154,7 +154,7 @@ static void del_nbp(struct net_bridge_port *p)
}
/* called with RTNL */
-static void del_br(struct net_bridge ...
| Oct 28, 8:35 am 2009 |
| Eric Dumazet | [PATCH net-next-2.6] ipmr: Optimize multiple unregistration
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
net/ipv4/ipmr.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index 6949745..ef4ee45 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -275,7 +275,8 @@ failure:
* @notify: Set to 1, if the caller is a notifier_call
*/
-static int vif_delete(struct net *net, int vifi, int ...
| Oct 28, 8:21 am 2009 |
| Eric Dumazet | [PATCH net-next-2.6] ip6tnl: Optimize multiple unregistration
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
net/ipv6/ip6_tunnel.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index 670c291..6c1b5c9 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -1393,14 +1393,19 @@ static void ip6_tnl_destroy_tunnels(struct ip6_tnl_net *ip6n)
{
int h;
struct ip6_tnl ...
| Oct 28, 8:16 am 2009 |
| Eric Dumazet | [PATCH net-next-2.6] ip6mr: Optimize multiple unregistration
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
net/ipv6/ip6mr.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 85849b4..52e0f74 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -477,7 +477,7 @@ failure:
* Delete a VIF entry
*/
-static int mif6_delete(struct net *net, int vifi)
+static int mif6_delete(struct net *net, ...
| Oct 28, 7:48 am 2009 |
| Rik van Riel | TG3, kvm, ipv6 & tso data corruption bug?
I have been tracking down what I thought was a KVM related network
issue for a while, however it appears it could be a hardware issue.
The symptom is that data in network packets gets corrupted, before
the checksum is calculated. This means the remote host can get
corrupted data, with no way to calculate it (except application
level checksums). Luckily ssh has such checksums, so my rsync over
ssh backup script discovered this issue.
On a very regular basis, I got this message from ...
| Oct 28, 7:46 am 2009 |
| Matt Carlson | Re: TG3, kvm, ipv6 & tso data corruption bug?
This problem sounds familiar. There are chip bugs in this area, but as
far as I know, they should have been worked around. Let me see if this
is indeed the same bug resurfacing.
--
| Oct 28, 9:32 am 2009 |
| Eric Dumazet | [PATCH net-next-2.6] ipv6 sit: Optimize multiple unregis ...
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
net/ipv6/sit.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index b6b1626..2362a33 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1145,16 +1145,19 @@ static struct xfrm_tunnel sit_handler = {
.priority = 1,
};
-static void sit_destroy_tunnels(struct sit_net *sitn)
+static void ...
| Oct 28, 7:37 am 2009 |
| Ben Hutchings | [PATCHv2 net-2.6] sfc: Really allow RX checksum offload ...
We have never checked the efx_nic::rx_checksum_enabled flag everywhere
we should, and since the switch to GRO we don't check it anywhere.
It's simplest to check it in the one place where we initialise the
per-packet checksummed flag.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Cc: stable@kernel.org
---
This version really is applicable to net-2.6 and 2.6.31.y, and to
2.6.27.y with fuzz 1. I'm not sure whether this bug is serious enough
for a stable update but it is an obvious ...
| Oct 28, 7:34 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 1/7] Only parse time stamp TCP option in time w ...
Since we only use tcp_parse_options here to check for the exietence
of TCP timestamp option in the header, it is better to call with
the "established" flag on.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Signed-off-by: Ori Finkelman <ori@comsleep.com>
Signed-off-by: Yony Amit <yony@comsleep.com>
---
net/ipv4/tcp_minisocks.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index 624c3c9..8c8c6e6 ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 4/7] Add the no SACK route option feature
Implement querying and acting upon the no sack bit in the features
field.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/linux/rtnetlink.h | 2 +-
net/ipv4/tcp_input.c | 3 ++-
net/ipv4/tcp_output.c | 4 +++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index adf2068..9c802a6 100644
--- ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 6/7] Allow to turn off TCP window scale opt pe ...
Add and use no window scale bit in the features field.
Note that this is not the same as setting a window scale of 0
as would happen with window limit on route.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/linux/rtnetlink.h | 1 +
net/ipv4/tcp_input.c | 3 ++-
net/ipv4/tcp_output.c | 6 ++++--
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 0/7] Per route TCP options support kill switches
Allow selectively turning off support for specific TCP options
on a per route basis.
One normally want to disable SACK, DSACK, time stamp or window
scale if one got a piece of broken networking equipment somewhere
as a stop gap until you can bring a big enough hammer to deal with
the broken network equipment. It doesn't make sense to "punish" the
entire connections going through the machine to destinations not
related to the broken equipment.
This is doubly true when one is dealing with ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | Re: [PATCHv4 0/7] Per route TCP options support kill switches
Code wise only the first patch - in tcp_timewait_state_process I
was calling tcp_parse_options() without actually initializing
properly the tstamp_ok field of the truct tcp_options_received
parameter to the that function.
I failed to noticed that since being a non initalized structure
on the stack it can actually produce the required behavior
depending on whatever random data was there.
I spotted it thanks to Williams A.S. review of my changes in that area.
Since I had the opportunity, ...
| Oct 28, 7:31 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 2/7] Allow tcp_parse_options to consult dst entry
We need tcp_parse_options to be aware of dst_entry to
take into account per dst_entry TCP options settings
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/net/tcp.h | 3 ++-
net/ipv4/syncookies.c | 27 ++++++++++++++-------------
net/ipv4/tcp_input.c | 9 ++++++---
net/ipv4/tcp_ipv4.c | 21 ++++++++++++---------
net/ipv4/tcp_minisocks.c | 7 ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 5/7] Allow disabling TCP timestamp options per route
Implement querying and acting upon the no timestamp bit in the feature
field.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/linux/rtnetlink.h | 2 +-
net/ipv4/tcp_input.c | 3 ++-
net/ipv4/tcp_output.c | 8 ++++++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 9c802a6..2ab8c75 ...
| Oct 28, 7:15 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 3/7] Add dst_feature to query route entry features
Adding an accessor to existing dst_entry feautres field and
refactor the only supported feature (allfrag) to use it.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/net/dst.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/include/net/dst.h b/include/net/dst.h
index 5a900dd..b562be3 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ ...
| Oct 28, 7:15 am 2009 |
| Eric Dumazet | Re: [PATCHv4 0/7] Per route TCP options support kill switches
I am a bit lost. What exactly changed in this new version, versus v3 ?
--
| Oct 28, 7:22 am 2009 |
| Gilad Ben-Yossef | [PATCHv4 7/7] Allow disabling of DSACK TCP option per route
Add and use no DSCAK bit in the features field.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
---
include/linux/rtnetlink.h | 1 +
net/ipv4/tcp_input.c | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 6784b34..e78b60c 100644
--- a/include/linux/rtnetlink.h
+++ ...
| Oct 28, 7:15 am 2009 |
| Krzysztof Halasa | WAN device configuration, again...
Hi,
I'm currently at final stages of "producing" two WAN drivers and there
is one thing to solve: they have really complex options. It's no longer
a V.35 with ca. 4 clock modes, a clock rate and few encodings etc. They
need many options unique to each driver/board. I think I need a more
capable interface to configure the devices than the current ioctl-based
one.
I think of something:
- using netlink or similar interface
- with potentially unlimited "payload" size (data may be transfered ...
| Oct 28, 6:28 am 2009 |
| Dan Williams | Re: WAN device configuration, again...
If you're doing a new config interface, I'd suggest netlink like the
wireless guys did to replace WEXT with cfg80211. Using netlink makes
your interface easily available from programs/libraries without having
to screenscrape anything. If you want some advice on netlink API stuff,
ask Johannes Berg.
--
| Oct 28, 9:03 am 2009 |
| David Miller | Re: [PATCH V3]NET/KS8695: add support NAPI for Rx
I said to send a relative patch against V2, so that I can
apply it on top what you've already sent.
Why are you sending a full fresh patch after being instructed
not to do that?
--
| Oct 28, 6:37 am 2009 |
| Figo.zhang | [PATCH V3]NET/KS8695: add support NAPI for Rx
Add support NAPI Rx API for KS8695NET driver.
v2, change the Rx function to NAPI.
in <KS8695X Integrated Multi-port Gateway Solution Register Description
v1.0>:
Interrupt Enable Register (offset 0xE204)
Bit29 : WAN MAC Receive Interrupt Enable
Bit16 : LAN MAC Receive Interrupt Enable
Interrupt Status Register (Offset 0xF208)
Bit29: WAN MAC Receive Status
Bit16: LAN MAC Receive Status
see arch/arm/mach-ks8695/devices.c:
ks8695_wan_resources[] and ks8695_lan_resources[]
have ...
| Oct 28, 6:23 am 2009 |
| Narendra K | Re: PATCH: Network Device Naming mechanism and policy
With the patch "[PATCH]udev:Extend udev to support move events"
(http://marc.info/?l=linux-hotplug&m=125673399217656&w=2) udev would be
able to handle "move" events that are generated when interfaces are
renamed by commands like nameif. And we can maintain the symlinks by
having rules to handle this move event.
With regards,
Narendra K
--
| Oct 28, 6:06 am 2009 |
| Narendra K | [PATCH]udev:Extend udev to support move events
As of now, udev does not support move events that are generated when
network interfaces are renamed. This patch extends udev to support move
events. With this patch udev would support rules like
ACTION=="move", SUBSYSTEM=="net", PROGRAM="netif_id %k"
Signed-off-by: Narendra K <Narendra_K@dell.com>
---
udev/udev-event.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/udev/udev-event.c b/udev/udev-event.c
index f4d7121..4a77753 100644
--- ...
| Oct 28, 5:46 am 2009 |
| David Miller | Re: [PATCH net-next] bnx2x: Do Tx handling in a separate ...
From: "Vladislav Zolotarov" <vladz@broadcom.com>
There is no reason not to use NAPI to achieve this objective and that's
the main objection I have to your patch.
Using NAPI will not only allow you to move the SKB freeing to softirq
context but it will also provide fairness between multiple NAPI
contexts active at the same time on the same cpu.
Furthermore, if you combine RX and TX NAPI work for a specific queue
into the same NAPI context, TX liberation can run first and provide
fresh CPU ...
| Oct 28, 2:57 am 2009 |
| Vladislav Zolotarov | Re: [PATCH net-next] bnx2x: Do Tx handling in a separate ...
I'd like to start from your last remark: you r absolutely right, and this is the problem we have in the current net-next driver. More than that, this patch is fixing this problem: it moved liberation of Tx SKBs from hardIRQ context (ISR) to the softIRQ context (tasklet) thereby resolving the problem u've mentioned. So, total agreement with u on this one. I must have named the patch differently to emphasize it.
I'd like to summarize the patch I've sent:
- Take Tx SKB liberation out of hardIRQ.
- ...
| Oct 28, 2:54 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 11/23] igb: make tx hang check multi ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change makes the tx hang check run over all tx queues instead of just
queue 0. Also have hang display info on EOP descriptor instead of the
descriptor at the start of the chain.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git ...
| Oct 28, 2:48 am 2009 |
| David Miller | Re: [net-next-2.6 PATCH 01/23] igb: add support for sepe ...
All applied to net-next-2.6, but then I had to add the following
patch to kill a warning:
igb: Fix warnings in igb_set_ringparam()
drivers/net/igb/igb_ethtool.c: In function ‘igb_set_ringparam’:
drivers/net/igb/igb_ethtool.c:744: warning: comparison of distinct pointer types lacks a cast
drivers/net/igb/igb_ethtool.c:748: warning: comparison of distinct pointer types lacks a cast
Casts were to u16 on the constant, but the type of new_{r,t}x_count is
u32. Cast to u32 ...
| Oct 28, 3:39 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 07/23] igb: rework handling of the v ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch corrects some errors in how vlans are being handled when vfs
start interacting with the management vlans.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 94 +++++++++++++++-----------------------------
1 files changed, 32 insertions(+), 62 deletions(-)
diff --git a/drivers/net/igb/igb_main.c ...
| Oct 28, 2:47 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 10/23] igb: move global_quad_port_a ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change moves global_quad_port_a into igb_probe as a static define
since it doesn't actually need to be global.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 62b6876..7f32211 100644
--- ...
| Oct 28, 2:48 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 16/23] igb: cleanup igb.h header whi ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch changes the layout of the ring and adapter structs to fill a few
holes in the structure. It also cleans up some whitespace and formatting
issues.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index ...
| Oct 28, 2:50 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 22/23] igb: open up SCTP checksum of ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Going forward the plan is to have the MACs support SCTP checksum offloads
so change the check from == to >=.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 846e64f..1a6c074 100644
--- ...
| Oct 28, 2:52 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 21/23] igb: limit minimum mtu to 68 ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Limit the minimum mtu to 68 in order to prevent ip from being unbound from
the interface.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 264ff00..846e64f 100644
--- a/drivers/net/igb/igb_main.c
+++ ...
| Oct 28, 2:52 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 01/23] igb: add support for seperate ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch adds support for a seperate tx-usecs interrupt moderation setting
in ethtool which is supported when tx and rx interrupt vectors are sperated.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 5 +++-
drivers/net/igb/igb_ethtool.c | 49 +++++++++++++++++++++++++++++++----------
drivers/net/igb/igb_main.c | 22 ...
| Oct 28, 2:45 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 03/23] igb: misc cleanups within igb ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch just goes thorugh and does several cleanups on igb_ethtool.c.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_ethtool.c | 105 +++++++++++++++++++++++------------------
1 files changed, 60 insertions(+), 45 deletions(-)
diff --git a/drivers/net/igb/igb_ethtool.c b/drivers/net/igb/igb_ethtool.c
index 84fe25a..d24b902 100644
--- ...
| Oct 28, 2:46 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 02/23] igb: cleanup some of the code ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
The code for the hw timestamping is a bit bulky and making some of the
functions difficult to read. In order to clean things up a bit I am moving
the timestamping operations into seperate functions.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/e1000_82575.h | 14 +
drivers/net/igb/e1000_defines.h | 33 +++
drivers/net/igb/e1000_regs.h ...
| Oct 28, 2:46 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 04/23] igb: use packet buffer sizes ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch changes the configuration for 82576 so that it uses the actual
value of the 82576 rx packet buffer size instead of just assuming the
value.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/e1000_82575.h | 2 ++
drivers/net/igb/e1000_regs.h | 2 ++
drivers/net/igb/igb_main.c | 3 ++-
3 files changed, 6 insertions(+), 1 ...
| Oct 28, 2:46 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 05/23] igb: replace the VF clear_to_ ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
In order to support future features it is easiest to replace the
clear_to_send boolean with a flag value.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 5 +-
drivers/net/igb/igb_main.c | 125 +++++++++++++++++++++++---------------------
2 files changed, 70 insertions(+), 60 deletions(-)
diff --git a/drivers/net/igb/igb.h ...
| Oct 28, 2:46 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 06/23] igb: rework use of VMOLR in r ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch updates the use of the VMOLR to include enabling multicast
promiscous for the VFs should they attempt to send over 30 multicast
addresses or if they use the new message type to enable multicast
promiscuous.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/e1000_mbx.h | 10 +-
drivers/net/igb/igb.h | 2
...
| Oct 28, 2:47 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 08/23] igb: move vf init into a sepe ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch moves VF initialization into a seperate function to help improve
the readability of igb_probe.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 98 +++++++++++++++++++++++++-------------------
1 files changed, 56 insertions(+), 42 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index ...
| Oct 28, 2:47 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 09/23] igb: only process global stat ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch moves the update of adapter->net_stats.rx/tx values out of the
interrupt routine and into igb_update_stats by just adding together the
tx/rx byte/packet counts for the rings.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 61 +++++++++++++++++++++-----------------------
1 files changed, 29 insertions(+), 32 ...
| Oct 28, 2:48 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 12/23] igb: cleanup code related to ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch cleans up some of the ring alloc and free code to better handle
exceptions such as attempting to free resources on an already freed ring.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/drivers/net/igb/igb_main.c ...
| Oct 28, 2:49 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 13/23] igb: change queue ordering fo ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch changes the queue ordering for 82576 adapters so that if VFs are
enabled the queues will first be allocated out of the PF pool. Any
remaining queues will be allocated out of other VMDq pools.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 ...
| Oct 28, 2:49 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 14/23] igb: cleanup interrupt enable ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch changes a few things so that instead of firing a link status
interrupt directly the get_link_status bit is set and the watchdog is
scheduled. In addition the mailbox bit is now only enabled if VFs are
enabled.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 31 +++++++++++++++++++++++--------
1 files changed, 23 ...
| Oct 28, 2:49 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 15/23] igb: Remove invalid stats counters
From: Alexander Duyck <alexander.h.duyck@intel.com>
There are several counters being used like they are static when in fact
they are clear on read. In order to prevent the values from being
incorrect I am removing the defunct counters.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 6 ------
drivers/net/igb/igb_main.c | 18 +-----------------
2 files changed, 1 insertions(+), 23 ...
| Oct 28, 2:50 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 17/23] igb: cleanup igb xmit frame path
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch cleans up the xmit frame path for igb to better handle xmit
frame errors and avoid null pointer exceptions. It also cleans up some
whitespace issues found in the xmit frame path.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff ...
| Oct 28, 2:50 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 18/23] igb: cleanup clean_rx_irq_adv ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch cleans up some whitespace issues in clean_rx_irq_adv. It also
adds NUMA aware page allocation and dma error handling to
alloc_rx_buffers_adv.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/drivers/net/igb/igb_main.c ...
| Oct 28, 2:51 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 19/23] igb: replace unecessary &adap ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch just cleans up some unecessary references to the adapter->hw
member when it has already been placed in a local variable named hw.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/drivers/net/igb/igb_main.c ...
| Oct 28, 2:51 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 20/23] igb: add pci_dev in few spots ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch relpaces several references to adapter->pdev->dev with just
pdev->dev. This allows for cleanup of several multiline dev_err/info
calls.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/net/igb/igb_main.c ...
| Oct 28, 2:51 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 23/23] igb: cleanup whitespace issue ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch goes through and cleans up whitespace issues in igb_main.c
to help improve readability.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 41 +++++++++++++++++++----------------------
1 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index ...
| Oct 28, 2:52 am 2009 |
| Stephen Hemminger | Re: [net-next-2.6 PATCH 01/23] igb: add support for sepe ...
On Wed, 28 Oct 2009 03:39:22 -0700 (PDT)
new_rx_count = max_t(u32, new_rx_count, IGB_MIN_RXD)
is slightly cleaner (hides cast)
--
--
| Oct 28, 8:42 am 2009 |
| Akinobu Mita | [PATCH 4/7] mlx4: Use bitmap_find_next_zero_area
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Roland Dreier <rolandd@cisco.com>
Cc: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Cc: netdev@vger.kernel.org
---
drivers/net/mlx4/alloc.c | 37 ++++---------------------------------
1 files changed, 4 insertions(+), 33 deletions(-)
diff --git a/drivers/net/mlx4/alloc.c b/drivers/net/mlx4/alloc.c
index ad95d5f..8c85156 100644
--- a/drivers/net/mlx4/alloc.c
+++ b/drivers/net/mlx4/alloc.c
@@ -72,35 +72,6 @@ void ...
| Oct 28, 1:43 am 2009 |
| fangxiaozhi 00110321 | Re: PATCH 23/10]Optimize the upload speed for PPP connection.
Thanks your advice.
But generally, PAGE_SIZE is 4096, whether it is too large or not?
If PAGE_SIZE is really appropriate, then I can resubmit the patch.
Thanks very much.
----- Original Message -----
From: "David Miller" <davem@davemloft.net>
To: <william.allen.simpson@gmail.com>
Cc: <huananhu@huawei.com>; <netdev@vger.kernel.org>; <linux-kernel@vger.kernel.org>; <zihan@huawei.com>; <greg@kroah.com>; <haegar@sdinet.de>
Sent: Saturday, October 24, 2009 9:46 ...
| Oct 28, 12:30 am 2009 |
| David Miller | Re: [net-next-2.6 PATCH] vxge: Configure the number of t ...
From: Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Applied, thanks.
--
| Oct 28, 2:47 am 2009 |
| Sreenivasa Honnur | [net-next-2.6 PATCH] vxge: Configure the number of trans ...
- Configure the number of transmit descriptors per packet to MAX_SKB_FRAGS + 1.
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
---
diff -urpN orig/drivers/net/vxge/vxge-main.c patch1/drivers/net/vxge/vxge-main.c
--- orig/drivers/net/vxge/vxge-main.c 2009-10-26 23:28:15.000000000 -0700
+++ patch1/drivers/net/vxge/vxge-main.c 2009-10-26 23:32:07.000000000 -0700
@@ -3612,11 +3612,12 @@ static int __devinit ...
| Oct 27, 10:49 pm 2009 |
| David Miller | Re: [patch net-next]atl1c: duplicate atl1c_get_tpd
From: <jie.yang@atheros.com>
Applied, thanks.
--
| Oct 27, 10:31 pm 2009 |
| jie.yang | [patch net-next]atl1c: duplicate atl1c_get_tpd
From: Jie Yang <jie.yang@atheros.com>
remove duplicate atl1c_get_tpd, it may cause hardware to send wrong packets.
Signed-off-by: Jie Yang <jie.yang@atheros.com>
---
drivers/net/atl1c/atl1c_main.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index 1372e9a..3b8801a 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -1981,8 +1981,6 @@ static void ...
| Oct 27, 10:14 pm 2009 |
| David Miller | Re: [net-next-2.6 PATCH 01/20] igb: add new data structu ...
All 20 patches applied, thanks a lot.
--
| Oct 28, 1:28 am 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 01/20] igb: add new data structure f ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Add a new igb_q_vector data structure to handle interrupts and NAPI. This
helps to abstract the rings away from the adapter struct. In addition it
allows for a bit of consolidation since a tx and rx ring can share a
q_vector.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 46 +-
drivers/net/igb/igb_ethtool.c | 8
...
| Oct 27, 6:49 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 04/20] igb: move the tx and rx ring ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change makes the tx and rx config a bit cleaner by breaking out the ring
specific configuration from the generic rx and tx configuration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 6 +
drivers/net/igb/igb_main.c | 179 ++++++++++++++++++++++++++++----------------
2 files changed, 117 insertions(+), 68 ...
| Oct 27, 6:50 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 05/20] igb: remove rx_ps_hdr_len
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch removes the rx_ps_hdr_len which isn't really needed since we can
now use rx_buffer_len less than 1K to indicate that we are in a packet split
mode. We also don't need it since we always use a half page for the data
buffers when receiving so we always know the size to map/unmap.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h ...
| Oct 27, 6:50 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 07/20] igb: change the head and tail ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Since we are writting to the head/tail pointers frequently we might as well
save ourselves some processing time by converting the head and tail offsets
directly to pointers. This will shave a few cycles off the rx/tx path and
allows us to move one step closer to the rings being a bit more independant of
each other.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Oct 27, 6:51 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 06/20] igb: move SRRCTL register con ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
The SRRCTL register exists per ring. Instead of configuring all of them in
the RCTL configuration which is meant to be global it makes more sense to move
this out into the ring specific configuration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 60 +++++++++++++++++---------------------------
1 files changed, 23 insertions(+), ...
| Oct 27, 6:51 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 08/20] igb: add pci device pointer t ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch adds a pci device pointer to the ring structure. The main use of
this pointer is for memory mapping/unmapping of the rings.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 5 ++-
drivers/net/igb/igb_ethtool.c | 4 +-
drivers/net/igb/igb_main.c | 72 ++++++++++++++++++++---------------------
3 files changed, ...
| Oct 27, 6:51 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 09/20] igb: move rx_buffer_len into ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch moves the rx_buffer_len value into the ring structure. This allows
greater flexibility and the option of doing things such as supporting packet
split only on some queues, or enabling virtualization.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 3 +--
drivers/net/igb/igb_main.c | 41 ...
| Oct 27, 6:52 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 10/20] igb: move alloc_failed and cs ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
The allocation failed and checksum error stats are currently kept as a
global stat. If we end up allocating the queues to multiple netdevs then
the global counter doesn't make much sense. For this reason I felt it
necessary to move the alloc_rx_buff_failed stat into the rx_stats
portion of the rx_ring.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Oct 27, 6:52 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 11/20] igb: add a flags value to the ring
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch adds a flags value to the ring that cleans up some of the last
remaining items from the ring in order to help seperate it from the adapter
struct. By implementing these flags it becomes possible for different rings
to support different functions such as rx checksumming.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | ...
| Oct 27, 6:52 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 12/20] igb: place a pointer to the n ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change adds a pointer to the netdev to the ring itself. The idea being
at some point in the future it will be possible to support multiple netdevs
from a single adapter struct.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 3 ++-
drivers/net/igb/igb_main.c | 29 ++++++++++++++---------------
2 files changed, 16 ...
| Oct 27, 6:53 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 13/20] igb: move the multiple receiv ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch moves the multiple receive queue configuration into a seperate
function from igb_configure_rx. We can essentially do the configuration for
the multiple receive queues just prior to enabling the RX and this will allow
us to seperate the queue enablement from the receive queue layout
configuration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Oct 27, 6:53 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 14/20] igb: delay VF reset notificat ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This update delays the VF reset notification until after interrupts are
enabled. Otherwise there is a chance of having the VF try to reset itself too
soon and being ignored by the PF as a result.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_main.c | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 ...
| Oct 27, 6:53 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 15/20] igb: setup vlan tag replicati ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This update adds vlan tag stripping for inter-vf communications to the
igb_vmm_control configuration function.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/e1000_82575.h | 9 +++++++++
drivers/net/igb/igb_main.c | 11 +++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/e1000_82575.h ...
| Oct 27, 6:54 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 16/20] igb: re-use ring configuratio ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Since all of the ring code is now specific to the ring instead of the adapter
struct it is possible to cut a large section of code out of the ethtool
testing configuraiton since we can just use the existing functions to
configure the rings.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 14 +++
drivers/net/igb/igb_ethtool.c | ...
| Oct 27, 6:54 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 17/20] igb: make tx ring map and fre ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change makes a minor change to the xmit_frame_ring_adv funcition in that
it moves 2 checks from it into the xmit_frame_adv since the checks were not
ring specific. In addition it exports the xmit_frame_ring_adv and the
unmap_and_free_tx_resource calls so that they can be used by other code such
as the ethtool loopback testing calls.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher ...
| Oct 27, 6:54 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 18/20] igb: make ethtool use core xm ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change adds a clean_rx/tx_irq type function call to the ethtool loopback
testing which allows us to test the core transmit and receive functionality in
the driver.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_ethtool.c | 156 +++++++++++++++++++++++------------------
1 files changed, 89 insertions(+), 67 deletions(-)
diff --git ...
| Oct 27, 6:55 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 19/20] igb: add single vector msi-x ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change adds testing of the first msix vector to the interrupt testing.
This should help with determining the cause of interrupt issues when they are
encountered.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb_ethtool.c | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
diff --git ...
| Oct 27, 6:55 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 20/20] igb: cleanup "todo" code foun ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch moves some defines into the e1000_regs.h file since this is the
correct place for register defines and not inside of igb_ethtool.c
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/e1000_regs.h | 7 +++++++
drivers/net/igb/igb_ethtool.c | 11 +----------
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git ...
| Oct 27, 6:55 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 03/20] igb: increase minimum rx buff ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This update increases the minimum rx buffer size to 1K. The reason for this
change is to support SR-IOV and avoid any conflicts with the rings being able
to set their own MTU sizes.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/igb/igb.h | 2 --
drivers/net/igb/igb_main.c | 25 +++----------------------
2 files changed, 3 insertions(+), ...
| Oct 27, 6:50 pm 2009 |
| Jeff Kirsher | [net-next-2.6 PATCH 02/20] igb: remove rx checksum good ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
Counting packets with a good checksum can cause a significant amount of cache
line bouncing due to the shared counter being written to by all of the queues.
In order to avoid this I am removing the counter since we still have the
checksum failed counter which will tell us if there are any issues.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Oct 27, 6:49 pm 2009 |
| Patrick McHardy | Re: iproute uses too small of a receive buffer
Yeah, on second thought the probing also doesn't make too much sense
since the memory is only used when its really needed anyways. And its
How about this? It uses 1MB as receive buf limit by default (without
increasing /proc/sys/net/core/rmem_max it will be limited by less
however) and allows to specify the size manually using "-rcvbuf X"
(-r is already used, so you need to specify at least -rc).
Additionally rtnl_listen() continues on ENOBUFS after printing the
error message.
| Oct 28, 12:50 pm 2009 |
| Eric Dumazet | Re: iproute uses too small of a receive buffer
Real fix is to realloc buffer at receive time, no need for user setting.
In my testings I saw it reaching 1 Mbyte
write(2, "REALLOC buflen 8192\n"..., 20) = 20
write(2, "REALLOC buflen 16384\n"..., 21) = 21
write(2, "REALLOC buflen 32768\n"..., 21) = 21
write(2, "REALLOC buflen 65536\n"..., 21) = 21
write(2, "REALLOC buflen 131072\n"..., 22) = 22
write(2, "REALLOC buflen 262144\n"..., 22) = 22
write(2, "REALLOC buflen 524288\n"..., 22) = 22
[iproute2] realloc buffer in rtnl_listen
# ...
| Oct 28, 12:01 am 2009 |
| Eric Dumazet | Re: iproute uses too small of a receive buffer
Then, another problem is that some information can be dropped at kernel level
when socket rcvbuf is full (ip monitor too slow to read its socket)
Thats hard to fix because you need to tweak /proc/sys/net/core/rmem_max
--
| Oct 28, 12:09 am 2009 |
| Eric Dumazet | Re: iproute uses too small of a receive buffer
Oops, this was wrong, Ben was right, sorry...
ENOBUFS errors is a flag to actually report to user that some information was dropped,
not that user supplied buffer at recv() time is not big enough.
I was surprised that buffer could reach 1Mbytes, while RCVBUF was 32768 or so.
--
| Oct 28, 12:37 am 2009 |
| Eric Dumazet | Re: iproute uses too small of a receive buffer
Please note we do not allocate a big buffer, only allow more small skbs
to be queued on socket receive queue.
If memory is not available, skb allocation will eventually fail
and be reported as well, embedded or not.
I vote for allowing 1024*1024 bytes instead of 32768,
and eventually user should be warned that it is capped by
Yes, but caller of 'ip monitor' just restart it anyway
--
| Oct 28, 12:52 am 2009 |
| David Miller | Re: iproute uses too small of a receive buffer
From: Eric Dumazet <eric.dumazet@gmail.com>
This discussion constantly reminds me of:
/*
* skb should fit one page. This choice is good for headerless malloc.
* But we should limit to 8K so that userspace does not have to
* use enormous buffer sizes on recvmsg() calls just to avoid
* MSG_TRUNC when PAGE_SIZE is very large.
*/
#if PAGE_SIZE < 8192UL
#define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
#else
#define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
#endif
#define ...
| Oct 28, 12:55 am 2009 |
| Patrick McHardy | Re: iproute uses too small of a receive buffer
How about this? It will double the receive queue limit on ENOBUFS
up to 1024 * 1024b, then bail out with the normal error message on
further ENOBUFS.
Signed-off-by: Patrick McHardy <kaber@trash.net>
| Oct 28, 12:05 pm 2009 |
| Ben Greear | Re: iproute uses too small of a receive buffer
First: This still pretty much guarantees that messages will be lost when
the program starts (when messages are coming in too large of chunks for small buffers)
If you are debugging something tricky, having lost messages will be
very annoying!
Second: Why bail on ENOBUFS at all? I don't see how it helps the user
since they will probably just have to start it again, and will miss more
messages than keeping going would have.
And, even 1MB may not be enough for some scenarios. So, probably ...
| Oct 28, 12:19 pm 2009 |
| Ben Greear | Re: iproute uses too small of a receive buffer
Looks good..except:
If rmem_max is smaller than 1M, will that cause setsocktopt to
fail and thus fail early out of rtnl_open_byproto?
Maybe we should only print errors but not return in that method
when setsockopt fails?
In another project, I ended up trying ever smaller values until one
worked in order to get near what the user wanted even if rmem_max
was configured smaller. Not sure if that is worth doing here or not.
Thanks,
Ben
--
Ben Greear ...
| Oct 28, 1:04 pm 2009 |
| Patrick McHardy | Re: iproute uses too small of a receive buffer
No, the kernel takes the value as a hint and only uses the
maximum allowable value:
case SO_RCVBUF:
/* Don't error on this BSD doesn't and if you think
about it this is right. Otherwise apps have to
play 'guess the biggest size' games. RCVBUF/SNDBUF
are treated in BSD as hints */
if (val > sysctl_rmem_max)
I think it should be fine this way.
--
| Oct 28, 1:07 pm 2009 |
| Ben Greear | Re: iproute uses too small of a receive buffer
Sweet. No complaints from me then.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
--
| Oct 28, 1:21 pm 2009 |
| Eric Dumazet | Re: iproute uses too small of a receive buffer
In this case, just dont call setsockopt() at all in "ip" and let system use the
standard/default value (/proc/sys/net/core/rmem_default) that an admin can change
if he wants to handle one million devices :)
--
| Oct 28, 1:38 pm 2009 |
| Eric Dumazet | Re: [PATCH] Multicast packet reassembly can fail
Yes please, I cannot find your previous mail in my archives.
Thanks
--
| Oct 28, 6:30 am 2009 |
| Steve Chen | Re: [PATCH] Multicast packet reassembly can fail
I sent the specific scenario the patch tries to address to the list in
an earlier e-mail. Would it be beneficial if I post the test code
somewhere so everyone can have access?
Regards,
Steve
--
| Oct 28, 6:32 am 2009 |
| Eric Dumazet | Re: [PATCH] Multicast packet reassembly can fail
This makes no sense to me, but I need to check the code.
How interface could matter in IP defragmentation ?
And why multicast is part of the equation ?
If defrag fails, this must be for other reason,
and probably needs another fix.
Check line 219 of net/ipv4/inet_fragment.c
#ifdef CONFIG_SMP
/* With SMP race we have to recheck hash table, because
* such entry could be created on other cpu, while we
* promoted read lock to write lock.
*/
...
| Oct 28, 3:18 am 2009 |
| Rick Jones | Re: [PATCH] Multicast packet reassembly can fail
If I understand correctly, the idea here is to say that when multiple interfaces
receive fragments of copies of the same IP datagram that both copies will
"survive" and flow up the stack?
Doesn't that rather fly in the face of the weak-end-system model followed by Linux?
I can see where scenario one leads to two IP datagrams making it up the stack,
but I would have thought that was simply an "accident" of the situation that
cannot reasonably be prevented, not justification to cause ...
| Oct 28, 10:18 am 2009 |
| Mark Huth | Re: [PATCH] Multicast packet reassembly can fail
The problem we've seen arises only when there are multiple interfaces
each receiving the same multicast packets. In that case there are
multiple packets with the same key. Steve was able to track down a
packet loss due to re-assembly failure under certain arrival order
conditions.
The proposed fix eliminated the packet loss in this case. There might
be a different problem in the re-assembly code that we have masked by
separating the packets into streams from each interface. Now that ...
| Oct 28, 9:55 am 2009 |
| Steve Chen | Re: [PATCH] Multicast packet reassembly can fail
For scenario 2, the routing code drops the 2nd packet. As a result, no
packet make it to the application. If someone is willing to suggest an
alternative, I can certainly rework the patch and retest.
Regards,
Steve
--
| Oct 28, 10:50 am 2009 |
| Rick Jones | Re: [PATCH] Multicast packet reassembly can fail
I'll ask my next potentially Emily Litella question - don't multicast IP
applications bind to multicast IP addresses and not interfaces? That is to say,
doesn't the first datagram completed get delivered to all applications on the
host which have bound to the corresponding multicast IP (and port number...) ?
rick jones
--
| Oct 28, 11:10 am 2009 |
| Steve Chen | Re: [PATCH] Multicast packet reassembly can fail
I actually don't know who Emily Litella is until today. This mailing
list is great not just for learning networking stuff :). In the test
code I received, one of the step to setup is to configure the IP address
of the interface that the application is expecting the packet. It
appears to bind on interface based on that casual observation. I'll
have to study the code in detail to be able to say for sure.
Regards,
Steve
--
| Oct 28, 11:40 am 2009 |
| Steve Chen | Re: [PATCH] Multicast packet reassembly can fail
Here is the scenario this patch tries to address
<src node> ----> <switch> ----> <eth0 dest node>
\---> <eth1 dest node>
For this specific case, src/dst address, protocol, IP ID and fragment
offset are all identical. The only difference is the ingress interface.
A good follow up question would be why would anyone in their right mind
multicast to the same destination? well, I don't know. I can not get
the people who reported the problem to tell me either. ...
| Oct 28, 6:29 am 2009 |
| Patrick McHardy | Re: [PATCH 4/6] vlan: Optimize multiple unregistration
This shouldn't be necessary since the lower device is already in the
process of being unregistered. If it was necessary, it could cause
crashes since the individual pointers are not set to zero atomically.
--
| Oct 28, 1:05 pm 2009 |
| Eric Dumazet | Re: [PATCH 4/6] vlan: Optimize multiple unregistration
Very good point indeed, even if in practice memset() use long word transferts
I'll make a cleanup patch, or do you want to do it ?
--
| Oct 28, 1:47 pm 2009 |
| David Miller | Re: [net-next-2.6 PATCH 0/6] net: Speedup netdevice unre ...
From: Eric Dumazet <eric.dumazet@gmail.com>
All applied to net-next-2.6, thanks!
--
| Oct 28, 2:23 am 2009 |
| David Miller | Re: [PATCH] cnic: Fix L2CTX_STATUSB_NUM offset in contex ...
From: "Michael Chan" <mchan@broadcom.com>
Applied to net-2.6, but please be explicit about what tree you
want me to apply this to in the future.
Sure I could deduce this by running "git describe" on that
commit ID mentioned in the commit message, but why not be
explicit? :-)
--
| Oct 28, 3:42 am 2009 |
| =?ISO-8859-15?Q?Ilpo ... | Re: [PATCH 3/3] net: TCP thin dupack
Have you tested it? ...I doubt this will work like you say and retransmit
something when the window is small. ...Besides, you should have built this
patch on top of the function rename you submitted earlier as after DaveM
applied that this will no longer even compile...
--
i.
--
| Oct 28, 7:17 am 2009 |
| William Allen Simpson | Re: [PATCH 3/3] net: TCP thin dupack
I've not had the chance to examine the rest, but I've been poking at a
patch series that's used 15 for over a year, so could you try 16 and 17?
--
| Oct 27, 7:43 pm 2009 |
| Arnd Hannemann | Re: [PATCH 2/3] net: TCP thin linear timeouts
The session timeout no longer depends on the actual number of retransmits. Instead its a time interval,
which is roughly equivalent to the time a TCP, performing exponential backoff would need to perform
15 retransmits.
However, addressing the proposal:
I wonder how one can seriously suggest to just skip congestion response during timeout-based
loss recovery? I believe that in a heavily congested scenarios, this would lead to a goodput
goodput disaster... Not to mention that in a heavily ...
| Oct 28, 5:58 am 2009 |
| William Allen Simpson | Re: [PATCH 2/3] net: TCP thin linear timeouts
Sorry to be too picky about the naming, but "rm_expb" really doesn't
mean what is actually done. Perhaps TCP_THIN_LINEAR_BACKOFF and
sysctl_tcp_thin_linear_backoff?
Also, as debated on some other recent patches, shouldn't the global
sysctl specify the default, and the per socket option specify the
forced override?
--
| Oct 27, 8:20 pm 2009 |
| =?ISO-8859-15?Q?Ilpo ... | Re: [PATCH 2/3] net: TCP thin linear timeouts
The first part is nowadays done with __tcp_set_rto(tp).
--
i.
--
| Oct 28, 7:18 am 2009 |
| =?ISO-8859-15?Q?Ilpo ... | Re: [PATCH 2/3] net: TCP thin linear timeouts
...I don't see how high latency is in any connection to stream being
"thin" or not btw. If all ACKs are lost it usually requires silence for
the full RTT, which affects a stream regardless of its size. ...If not all
ACKs are lost, then the dupACK approach in the other patch should cover
Good point. I suppose such an under-provisioned network can certainly be
there. I have heard that at least some people who remove exponential back
off apply it later on nth retransmission as very often ...
| Oct 28, 7:31 am 2009 |
| William Allen Simpson | Re: [PATCH 1/3] net: TCP thin-stream detection
This bothers me a bit. Having just looked at your Linux presentation,
and not (yet) read your papers, it seems much of your justification was
with 1 packet per RTT. Here, you seem to be concentrating on 4, probably
because many implementations quickly ramp up to 4.
But there's a fair amount of experience showing that ramping to 4 is
problematic on congested paths, especially wireless networks. Fast
retransmit in that case would be disastrous.
Once upon a time, I worked on a fair number of ...
| Oct 27, 8:09 pm 2009 |
| Kumar Gopalpet-B05799 | RE: [PATCH v2 4/7] fsl_pq_mdio: Add Suport for etsec2.0 ...
I had rebased and tested on the master branch of the following tree
http://www.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git
(The git protocol clone was not working, hence we used http)
If this is not the right tree, kindly correct me.
I could not find any other net-next-2.6 tree/branch on kernel.org.
I have updated the tree again, (though there is no change)
the last commit on the tree being :
commit b37b62fea1d1bf68ca51818f8eb1035188efd030
Author: Ben Hutchings ...
| Oct 28, 5:00 am 2009 |
| David Miller | Re: [PATCH v2 4/7] fsl_pq_mdio: Add Suport for etsec2.0 ...
From: Sandeep Gopalpet <sandeep.kumar@freescale.com>
This is the third time you've submitted this patch, and for
the third time it DOES NOT apply to net-next-2.6 at all when
I try to apply this gianfar patch series.
You must be patching against another tree that has some changes
that conflict with this one.
Sort this out before submitting this again.
If you submit once more this same series, and it doesn't apply
properly to net-next-2.6, I will flat our ignore your submissions
for a ...
| Oct 28, 2:43 am 2009 |
| David Miller | Re: [PATCH net-2.6] sfc: Really allow RX checksum offloa ...
From: Ben Hutchings <bhutchings@solarflare.com>
This patch only applies to net-next-2.6, so I can't see how it could
be a -stable candidate :-)
So I've applied it there.
--
| Oct 28, 2:49 am 2009 |
| Ben Hutchings | Re: [PATCH net-2.6] sfc: Really allow RX checksum offloa ...
The register name update in net-next-2.6 changed the context for this
patch. I'll send a new patch that will apply to the earlier versions.
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.
--
| Oct 28, 3:53 am 2009 |
| David Miller | Re: [PATCH net-2.6] sfc: Set ip_summed correctly for pag ...
From: Ben Hutchings <bhutchings@solarflare.com>
Queued up for -stable, thanks.
--
| Oct 28, 3:44 am 2009 |
| Andrew Morton | Re: [PATCH] hso: fix debug routines
On Tue, 27 Oct 2009 16:26:55 +0200
This patch has no changelog, and I'm not seeing any description of what
it fixes and how it fixes it up-thread.
--
| Oct 28, 4:16 pm 2009 |
| David Miller | Re: [PATCH V2]NET/KS8695: add support NAPI for Rx
From: "Figo.zhang" <figo1802@gmail.com>
Applied to net-next-2.6, thanks.
--
| Oct 28, 3:55 am 2009 |
| Daniel Silverstone | Re: [PATCH V2]NET/KS8695: add support NAPI for Rx
I hate that there's no proper IRQ functions for managing these, as Ben has
commented. Although I can understand that writing such is beyond the scope of
You still didn't update the module version. This is a pity because you've
potentially radically changed behaviour and you definitely have radically
You have not added documentation for these fields in the structure's
I can't see where you have moved this to. Without it, sometimes the KS8695's
This '64' seems quite arbitrary. Is ...
| Oct 28, 5:06 am 2009 |
| Ben Dooks | Re: [PATCH V2]NET/KS8695: add support NAPI for Rx
It would be nice to see some form of API addition to
the interrupt system to ack interrupts that have been
handled like this, since the irq layer is already
tracking the necessary IRQ->handler mappings.
--
Ben Dooks, Software Engineer, Simtec Electronics
http://www.simtec.co.uk/
--
| Oct 28, 3:57 am 2009 |
| David Miller | Re: [PATCH V2]NET/KS8695: add support NAPI for Rx
From: Daniel Silverstone <dsilvers@simtec.co.uk>
Any such change would need to be relative to what's already
in net-next-2.6
--
| Oct 28, 5:14 am 2009 |
| David Miller | Re: [PATCH] net: Corrected spelling error heurestics->he ...
From: Andreas Petlund <apetlund@simula.no>
Applied to net-next-2.6, thanks.
--
| Oct 28, 4:02 am 2009 |
| William Allen Simpson | Re: [net-next-2.6 PATCH v4 3/3] TCPCT part 1c: initial S ...
They explain the "several related concepts" -- indeed the entire scope of
This patch series was fairly clearly described in Adam's draft last year.
Before writing text, I like to have implementation code.... :-)
In fact, it has long been my position that we shouldn't publish IETF RFCs
without running code (and I never have). Even PPP over SOnet/SDH had
preliminary hardware before publication. Unfortunately, those with
standards-bodies-itis have a sad history of the opposite.
The Usenix ...
| Oct 28, 10:14 am 2009 |
| Eric Dumazet | Re: [net-next-2.6 PATCH v4 3/3] TCPCT part 1c: initial S ...
Sorry this link might be interesting to you, but I found nothing that explains
I tried to find an RFC or document about this stuff and failed.
Before reading implementation code, I like to have english text that describes
the new concept/design.
(BTW I found http://ttcplinux.sourceforge.net/theses/ETTCP.pdf and found it interesting,
I wonder what happened to this)
--
| Oct 28, 7:17 am 2009 |
| Stephen Hemminger | Re: [PATCH] dcache: better name hash function
On Tue, 27 Oct 2009 16:41:52 -0700 (PDT)
Agreed. Here is the reduced version of the program.
To run:
find /home -printf '%f\n' 2>/dev/null | ./htest -n 100
| Oct 27, 5:10 pm 2009 |
| Linus Torvalds | Re: [PATCH] dcache: better name hash function
The timings are very sensitive to random I$ layout at least on Nehalem.
The reason seems to be that the inner loop is _so_ tight that just
depending on exactly where the loop ends up, you can get subtle
interactions with the loop cache.
Look here:
[torvalds@nehalem ~]$ find /home -printf '%f\n' 2>/dev/null | ./htest -n 100
Algorithm Time Ratio Max StdDev
full_name_hash 1.141899 1.03 4868 263.37
djb2 0.980200 1.03 ...
| Oct 27, 5:58 pm 2009 |
| Stephen Hemminger | Re: [PATCH] dcache: better name hash function
On Tue, 27 Oct 2009 17:58:53 -0700 (PDT)
Thanks. I wasn't putting huge amount of stock in the micro benchmark,
was more interested in how the distribution worked out (which is CPU
independent) rather than the time. As long as all usage of name hashing
fold properly, there isn't a lot of reason to change.
--
--
| Oct 27, 6:56 pm 2009 |
| Eric Dumazet | Re: [PATCH] net: fold network name hash (v2)
full_name_hash() returns an "unsigned int", which is guaranteed to be 32 bits
You should therefore use hash_32(hash, NETDEV_HASHBITS),
not hash_long() that maps to hash_64() on 64 bit arches, which is
slower and certainly not any better with a 32bits input.
/* Compute the hash for a name string. */
static inline unsigned int
full_name_hash(const unsigned char *name, unsigned int len)
{
unsigned long hash = init_name_hash();
while (len--)
hash = ...
| Oct 27, 11:07 pm 2009 |
| David Miller | Re: [PATCH] net: fold network name hash (v2)
From: Eric Dumazet <eric.dumazet@gmail.com>
Agreed.
--
| Oct 28, 2:28 am 2009 |
| Stephen Hemminger | Re: [PATCH] net: fold network name hash (v2)
On Wed, 28 Oct 2009 07:07:10 +0100
OK, I was following precedent. Only a couple places use hash_32, most use
hash_long().
Using the upper bits does give better distribution.
With 100,000 network names:
Time Ratio Max StdDev
hash_32 0.002123 1.00 422 11.07
hash_64 0.002927 1.00 400 3.97
The time field is pretty meaningless for such a small sample
--
| Oct 28, 8:57 am 2009 |
| David Miller | Re: [RFC PATCH] fib_hash: improve route deletion scaling ...
From: Benjamin LaHaise <bcrl@lhnet.ca>
Having it in a config option is worse, distributions are going
to turn it on so it would be protecting nothing for %99.999 of
folks out there.
--
| Oct 27, 6:01 pm 2009 |
| David Miller | Re: [PATCH -next] netxen: fix builds for SYSFS=n or MODULES=n
From: Dhananjay Phadke <dhananjay.phadke@qlogic.com>
Please adhere to the following netiquette when replying to
patches:
1) DO NOT TOP POST.
You can feel free to continue doing this, but I am warning you
that soon a day will come when replying to postings in a top-post
manner will have your posting completely rejected from the list.
This is absolutely the largest pet peeve amongst kernel developers.
Quote only the relevant parts of the message, nothing more, and
then ...
| Oct 28, 2:34 am 2009 |
| David Miller | Re: [PATCH -next] netxen: fix builds for SYSFS=n or MODULES=n
From: Randy Dunlap <randy.dunlap@oracle.com>
Applied, thanks Randy.
--
| Oct 28, 2:36 am 2009 |
| Greg KH | Re: wanPMC-CxT1E1
I'll try to get it to build in the kernel tree today and send you a copy
of the patch to try out.
thanks,
greg k-h
--
| Oct 28, 11:11 am 2009 |
| Andrew Morton | Re: Fw: [Bug 14470] New: freez in TCP stack
On Mon, 26 Oct 2009 08:41:32 -0700
Stephen, please retain the bugzilla and reporter email cc's when
Twice a day on six separate machines. That ain't no hardware glitch.
Vaclav, are you able to say whether this is a regression? Did those
machines run 2.6.30 (for example)?
--
| Oct 28, 3:13 pm 2009 |
| Denys Fedoryschenko | Re: Fw: [Bug 14470] New: freez in TCP stack
I had issues on Dell also. On one fixed by bios update, another only after
tuning some voodoo settings in sysctl (i was in hurry, no redundancy for this
server, and it was rebooting each day 1-3 times). It happens also in 32 and
64bit kernels (32bit userspace), also "heavy" tcp workload, both of them act
as proxy.
But my issue probably different, on both Dell servers i had bnx2 with IPMI.
It was very weird, nmi_watchdog, panic on reboot / on oops, detect
softlockups, detect deadlocks, detect ...
| Oct 28, 3:27 pm 2009 |
| David Miller | Re: [PATCH 1/2] tc35815: Fix return value of tc35815_do_ ...
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Applied.
--
| Oct 28, 3:57 am 2009 |
| David Miller | Re: [PATCH 2/2] tc35815: Enable NAPI
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Applied.
Please remove the NAPI enabling macro and the tests for it.
NAPI support should be unconditional.
If people want to test the pre-NAPI behavior, they can check
out an older copy of the driver quite easily.
Thanks.
--
| Oct 28, 3:57 am 2009 |
| David Miller | Re: [PATCH net-next-2.6] net: sysfs: ethtool_ops can be NULL
From: Andy Gospodarek <andy@greyhouse.net>
Applied.
--
| Oct 28, 4:02 am 2009 |
| Gilad Ben-Yossef | Re: [PATCH v3 4/7] Add the no SACK route option feature
It doesn't. Please see my discussion with Eric for the why.
In short, doing so introduce a very subtle change to what the existing
interface do today, which will break
backwards compatibility by changing the meaning of writing zero to the
relevant sysctl. I don't want to be hunt down by angry sys admins :-)
Thanks,
Gilad
--
Gilad Ben-Yossef
Chief Coffee Drinker & CTO
Codefidence Ltd.
Web: http://codefidence.com
Cell: +972-52-8260388
Skype: gilad_codefidence
Tel: ...
| Oct 28, 3:18 am 2009 |
| Gilad Ben-Yossef | Re: [PATCH v3 1/7] Only parse time stamp TCP option in t ...
Hi William,
Gladly (and suggestions to do it differently are welcome) :
For the purpose of the patch tcp_parse_options was changed to consult
dst_entry options when parsing non established packets.
This means that for any place that we call tcp_parse_options with the
established parameter set to false, we need to supply it with a dst_entry.
In all other locations in kernel code when tcp_parse_options is called
such a dst_entry is easily available already.
The time wait mini socket ...
| Oct 28, 3:14 am 2009 |
| Patrick McHardy | Re: [PATCH] vlan: allow VLAN ID 0 to be used
I agree. Quoting IEEE802.1Q:
0 The null VLAN ID. Indicates that the tag header contains only priority
information; no VLAN identifier is present in the frame. ...
I don't think the standard makes any demands regarding this.
The current behaviour seems better to me since its symetrical
to the output path, where the VLAN device is necessary to be
able to specify a priority mapping.
--
| Oct 28, 9:13 am 2009 |
| David Miller | Re: [PATCH] virtio-net: fix data corruption with OOM
From: Rusty Russell <rusty@rustcorp.com.au>
Applied, thanks.
--
| Oct 28, 4:03 am 2009 |
| Rusty Russell | Re: [PATCH] virtio-net: fix data corruption with OOM
In case this got lost in the meta-discussion:
Subject: virtio-net: fix data corruption with OOM
Date: Sun, 25 Oct 2009 19:03:40 +0200
From: "Michael S. Tsirkin" <mst@redhat.com>
virtio net used to unlink skbs from send queues on error,
but ever since 48925e372f04f5e35fec6269127c62b2c71ab794
we do not do this. This causes guest data corruption and crashes
with vhost since net core can requeue the skb or free it without
it being taken off the list.
This patch fixes this by queueing the ...
| Oct 28, 3:56 am 2009 |
| David Miller | Re: [PATCH] via-velocity: Remove private device list
From: Ben Hutchings <ben@decadent.org.uk>
Looks good to me, applied to net-next-2.6
--
| Oct 28, 4:02 am 2009 |
| David Miller | Re: [PATCH NEXT 0/6] netxen: changes for new chip
From: Dhananjay Phadke <dhananjay@netxen.com>
All applied, thanks.
--
| Oct 28, 4:11 am 2009 |
| David Miller | Re: [net-next-2.6 PATCH] e100: Fix to allow systems with ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied, thanks.
--
| Oct 28, 4:14 am 2009 |
| David Miller | Re: [PATCH] vmxnet3: remove duplicated #include
From: Shreyas Bhatewara <sbhatewara@vmware.com>
This patch doesn't apply to net-next-2.6, please resend.
--
| Oct 28, 4:13 am 2009 |
| Janusz Krzysztofik | [PATCH kernel 2.6.32-rc5] [RESEND] netdev: usb: dm9601.c ...
I found that the current version of drivers/net/usb/dm9601.c can be used to
successfully drive a low-power, low-cost network adapter with USB ID
0a46:9000, based on a DM9000E chipset. As no device with this ID is yet
present in the kernel, I have created a patch that adds support for the device
to the dm9601 driver.
Created and tested against linux-2.6.32-rc5.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
---
I'm not sure if ...
| Oct 28, 8:34 am 2009 |
| Mel Gorman | Re: [PATCH 0/5] Candidate fix for increased number of GF ...
I was digging through commits for suspend-related changes. Rafael, is
there any chance that some change to suspend is responsible for this
regression? This commit for example is a vague possibility;
c6f37f12197ac3bd2e5a35f2f0e195ae63d437de: PM/Suspend: Do not shrink memory before suspend
I say vague because FREE_PAGE_NUMBER is so small.
Also, what was the behaviour of the e100 driver when suspending before
this commit?
6905b1f1a03a48dcf115a2927f7b87dba8d5e566: Net / e100: Fix suspend of ...
| Oct 28, 4:59 am 2009 |
| Karol Lewandowski | Re: [PATCH 0/5] Candidate fix for increased number of GF ...
I've tested patches 1+2+3+4 in my normal usage scenario (do some work,
suspend, do work, suspend, ...) and it failed today after 4 days (== 4
suspend-resume cycles).
I'll test 1-5 now.
Thanks.
--
| Oct 28, 4:42 am 2009 |
| Tobi Oetiker | Re: [PATCH 0/5] Candidate fix for increased number of GF ...
I have been testing 1+2,1+2+3 as well as 3+4 and have been of the
assumption that 3+4 does help ... I have now been runing a modified
version of 4 which prints a warning instead of doing anything ... I
have now seen the allocation issue again without the warning being
printed. So in other words
1+2+3 make the problem less severe, but do not solve it
4 seems to be a red hering.
cheers
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch ...
| Oct 28, 5:55 am 2009 |
| David Miller | Re: [net-next-2.6 PATCH] be2net:Changes to update ethtoo ...
From: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Applied, thanks.
--
| Oct 28, 4:15 am 2009 |
| Ben Hutchings | Re: [PATCH] udev: create empty regular files to represen ...
[...]
Since net devices can be renamed, unlike other devices, the ifindex is
the proper stable identifier. Using the name as an identifier opens up
race conditions. If there are events that don't include the ifindex,
this should be fixed.
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.
--
| Oct 28, 6:06 am 2009 |
| Kay Sievers | Re: [PATCH] udev: create empty regular files to represen ...
What's the point of all this? Why would udev ever need to find the
name of a device by the ifindex? The device name is the primary value
That all sounds very much like something which will hit us back some
day. I'm not sure, if udev should publish such dead text files in
/dev, it does not seem to fit the usual APIs/assumptions where /sys
and /dev match, and libudev provides access to both. It all sounds
more like a database for a possible netdevname library, which does not
need to be public ...
| Oct 28, 1:23 am 2009 |
| dann frazier | Re: [PATCH] udev: create empty regular files to represen ...
Or have udev maintain them in a private directory (e.g.,
/var/lib/udev/netalias). Personally, I like the approach of having
udev manage them as files - its an abstraction our users already get,
and they don't have to learn two mechanisms when aliasing disks and
nics (SYMLINK ftw). Plus there's obviously a lot of code reuse to be
had (most of my patch was moving code into a common section).
If we want to hide the file implementation - we could invent another
udev construct that basically ...
| Oct 28, 8:09 am 2009 |
| Jordan_Hargrave | RE: [PATCH] udev: create empty regular files to represen ...
I was thinking, if we're not planning on use the chardev/kernel route. There already exists an ifindex file in /sys/class/net/XXX/ifindex.
Should udev/helper be creating links to this, or is it better to keep everything under the /dev/ tree?
Using this method would require the patch to udev to handle renaming events.
--jordan hargrave
Dell Enterprise Linux Engineering
-----Original Message-----
From: dann frazier [mailto:dannf@hp.com]
Sent: Wed 10/28/2009 10:09
To: Domsch, Matt
Cc: ...
| Oct 28, 9:09 am 2009 |
| Jordan_Hargrave | RE: [PATCH] udev: create empty regular files to represen ...
I was thinking, if we're not planning on use the chardev/kernel route. There already exists an ifindex file in /sys/class/net/XXX/ifindex.
Should udev/helper be creating links to this, or is it better to keep everything under the /dev/ tree?
Using this method would require the patch to udev to handle renaming events.
--jordan hargrave
Dell Enterprise Linux Engineering
-----Original Message-----
From: dann frazier [mailto:dannf@hp.com]
Sent: Wed 10/28/2009 10:09
To: Domsch, Matt
Cc: Kay ...
| Oct 28, 9:09 am 2009 |
| Greg KH | Re: [PATCH] udev: create empty regular files to represen ...
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
Please never create symlinks out of /dev/ to /sys that doesn't make
sense at all and probably violates part of the LSB somewhere...
thanks,
greg k-h
--
| Oct 28, 9:11 am 2009 |
| Narendra_K | RE: [PATCH] udev: create empty regular files to represen ...
The char device nodes under /dev/netdev/ do seem to adhere to the
assumption of what is there under /sys and /dev match.
With regards,
Narendra K
--
| Oct 28, 12:15 pm 2009 |
| Matt Domsch | Re: [PATCH] udev: create empty regular files to represen ...
Ultimately, udev doesn't care. I just want to use udev to keep track
of the pathname to device connections, like it does for all other
types of devices.
Applications such as net-tools, iproute, ethtool, etc. take a kernel
device name. I want to extend them to also take a path, and resolve
that path to a kernel device name. libnetdevname currently is _one
small function_ which does this. It need not even be in a library.
But whatever the mechanism, the path names need to be ...
| Oct 28, 6:03 am 2009 |
| Patrick McHardy | Re: Oops in net/ipv6/netfilter/nf_conntrack_l3proto_ipv6 ...
Did you unload any helper modules before this happened?
--
| Oct 28, 9:29 am 2009 |
| Patrick McHardy | Re: [RFC] multiqueue changes
We don't seem to be supporting changing real_num_tx_queues for
registered devices currently (at least I couldn't find it).
So I guess it depends on how this would be implemented.
Simply changing the dev->real_num_tx_queues value while the
device is down would require qdisc operations to operate on
all possible queues since the amount of queues in use could
be changed after the qdisc is created/configured, but before
the device is set up. This approach has more complications
like switching ...
| Oct 28, 10:27 am 2009 |
| Jarek Poplawski | Re: [RFC] multiqueue changes
Actually, I changed my mind after Eric's and especially David's
explanations. Probably there will be needed some changes in handling
the real_num_tx_queues, but there is no reason to misuse them for
masking a totally useless num_tx_queues value, like in this case. So,
IMHO, its mainly about the driver(s) (and maybe a bit of API change)
here.
Jarek P.
--
| Oct 28, 2:23 pm 2009 |
| previous day | today | next day |
|---|---|---|
| October 27, 2009 | October 28, 2009 | October 29, 2009 |
