linux-netdev mailing list

FromSubjectsort iconDate
Changli Gao
[PATCH v2] ipt_REJECT: can't work with bridges
ipt_REJECT: can't work with bridges ip_route_me_harder can't create the route cache when the outdev is the same with the indev for the skbs whichout a valid protocol set. __mkroute_input functions has this check: 1998 if (skb->protocol != htons(ETH_P_IP)) { 1999 /* Not IP (i.e. ARP). Do not create route, if it is 2000 * invalid for proxy arp. DNAT routes are always valid. 2001 * 2002 * Proxy arp feature have been ...
Jul 5, 12:16 am 2010
Ron Mercer
[net-next PATCH 0/6] qlge: fixes for qlge.
1) Restore promiscuous setting after reset. 2) Don't use firmware when forcing firmware dump. 3) Reduce print level in data path statements. 4) Fix possible endian issue for rx UDP csum. 5) Make adapter drop frame errors and pass up csum errors. 6) Change version to v1.00.00.25.00.00-01. --
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 5/6] qlge: Make adapter drop frame error ...
Statistics are available and the driver doesn't need the actual frame. This TCP/UDP and IP headers checksum errors will still be passed to the driver. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge_main.c | 30 ++++++++++++++++++++++++++++-- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index a41b6b5..dd9e86c 100644 --- a/drivers/net/qlge/qlge_main.c +++ ...
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 4/6] qlge: Fix possible endian issue for ...
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index e39451b..a41b6b5 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -1677,7 +1677,7 @@ static void ql_process_mac_rx_skb(struct ql_adapter *qdev, /* Unfragmented ipv4 UDP frame. */ struct iphdr *iph = (struct iphdr *) skb->data; ...
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 3/6] qlge: Reduce print level in data pa ...
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge_main.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index e99c2c6..e39451b 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -1521,7 +1521,7 @@ static void ql_process_mac_rx_page(struct ql_adapter *qdev, /* Frame error, so drop the packet. */ if (ib_mac_rsp->flags2 & ...
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 1/6] qlge: Restore promiscuous setting a ...
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge.h | 1 + drivers/net/qlge/qlge_main.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index bfb8b32..01b0634 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -2246,6 +2246,7 @@ netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); void ql_check_lb_frame(struct ql_adapter *, struct sk_buff ...
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 2/6] qlge: Don't use firmware when forci ...
In some cases the firmware may be dead. Instead we dump the firmware parameters and then restart it. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge.h | 1 - drivers/net/qlge/qlge_dbg.c | 7 +------ drivers/net/qlge/qlge_mpi.c | 17 ----------------- 3 files changed, 1 insertions(+), 24 deletions(-) diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 01b0634..27f83d6 100644 --- a/drivers/net/qlge/qlge.h +++ ...
Jul 5, 3:19 pm 2010
Ron Mercer
[net-next PATCH 6/6] qlge: Change version to v1.00.00.25 ...
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> --- drivers/net/qlge/qlge.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 27f83d6..06b2188 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -16,7 +16,7 @@ */ #define DRV_NAME "qlge" #define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver " -#define DRV_VERSION "v1.00.00.23.00.00-01" +#define ...
Jul 5, 3:19 pm 2010
Frank Arnold
bridge br_multicast: BUG: unable to handle kernel NULL p ...
Hi, we see a kernel NULL pointer dereference during testing of the KVM tree, currently based on 2.6.35-rc3. We are using bridge to connect the KVM guests through the hosts network interface. Here is the trace: BUG: unable to handle kernel NULL pointer dereference at 0000000000000028 IP: [<ffffffffa0196da0>] __br_ip4_hash+0x0/0x7c [bridge] PGD 0 ...
Jul 5, 12:05 pm 2010
Sol Kavy
RE: Possible bug in net/ipv4/route.c?
So is there some place else that should have the clear instead of ipv4_link_failure()? Sol -----Original Message----- From: Herbert Xu [mailto:herbert@gondor.apana.org.au] Sent: Monday, July 05, 2010 5:04 AM To: Sol Kavy Cc: linux-kernel@vger.kernel.org; Greg Ren; Guojun Jin; Murat Sezgin; Sener Ilgen; David S. Miller; Stephen Hemminger; netdev@vger.kernel.org Subject: Re: Possible bug in net/ipv4/route.c? Generally this area should be cleared on entry to each stack intending on using ...
Jul 5, 9:37 am 2010
Lloyds Tsb Bank
Partnership Request
Hello, I am Mr. Jawad James, Credit Accounting officer of Lloyds TSB Bank. I am contacting you for a possible business transfer worth 122.5 Million Pounds. It will be in my interest to finish this transaction with you hoping that you will not cheat or blackmail me at the conclusion of this goal because i have planned it for long. If you can be a collaborator to this transaction, please indicate your positive interest immediately for us to proceed. Remember this is absolutely confidential because ...
Jul 5, 7:04 am 2010
Ralf Baechle
[NET] ioc3-eth: Use the instance of net_device_stats fro ...
Since net_device has an instance of net_device_stats, we can remove the instance of this from the adapter structure. Based on original patch by Kulikov Vasiliy. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> drivers/net/ioc3-eth.c | 49 ++++++++++++++++++++++++----------------------- 1 files changed, 25 insertions(+), 24 deletions(-) diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index e3b5e94..0b3f6df 100644 --- ...
Jul 5, 5:59 am 2010
Lloyds Tsb Bank Plc
Partnership Request
Hello, I am Mr. Jawad James, Credit Accounting officer of Lloyds TSB Bank. I am contacting you for a possible business transfer worth 122.5 Million Pounds. It will be in my interest to finish this transaction with you hoping that you will not cheat or blackmail me at the conclusion of this goal because i have planned it for long. If you can be a collaborator to this transaction, please indicate your positive interest immediately for us to proceed. Remember this is absolutely confidential ...
Jul 5, 3:30 am 2010
Michal Humpula
[PATCH net-next-2.6 v2] ipv6: adding ip_nonlocal_bind op ...
Adds ability to bind to non-local IPv6 address the same way as for IPv4 Signed-off-by: Michal Humpula <michal.humpula@web4u.cz> diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index f350c69..1ebed5e 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -963,6 +963,11 @@ bindv6only - BOOLEAN Default: FALSE (as specified in RFC2553bis) +ipv6_nonlocal_bind - BOOLEAN + If set, allows processes to ...
Jul 5, 3:12 am 2010
YOSHIFUJI Hideaki
Re: [PATCH net-next-2.6 v2] ipv6: adding ip_nonlocal_bin ...
Hello. Mails are crossing, but additional comments below. why? In IPv4 it seems to be exported for SCTP. Probably you need to look into SCTP as well. --yoshfuji --
Jul 5, 3:30 am 2010
Michal Humpula
Re: [PATCH net-next-2.6 v2] ipv6: adding ip_nonlocal_bin ...
Thanks for review. I should obviously wait a little bit longer before posting the v2. --
Jul 5, 4:59 am 2010
Lady Irina Gutavo
request
I am Mrs Irina Gutavo a Cancer patient, i was informed by my doctor that i have a few weeks to live, I hereby give to you my £20 Million Pounds to set up a Charity Organization to help people that are in needs. Please respond for further instructions. Sincerely. Mrs Irina Gutavo. --
Jul 5, 2:06 am 2010
Ofer Heifetz
RE: Splice status
Hi, Well, Samba still disables splice support (hard coded), I applied your patch (adding the SPLICE_F_NONBLOCK to the splice(sock, pipe)) and I managed to write 4G file to Samba share. I did notice that the splice is done on buffers in two sizes: 1380 and 2760 (when writing to share file), I guess that if I can get samba to use bigger buffers it will reduce the splice calls and achieve better performance. I also saw that when re-writing a file splice does use the maximum buffer size (~16K) ...
Jul 5, 6:47 am 2010
Changli Gao
Re: Splice status
Did you drain the pipe before calling splice(2) to move data from socket to pipe? -- Regards, Changli Gao(xiaosuo@gmail.com) --
Jul 5, 2:59 am 2010
Ofer Heifetz
Splice status
Hi I have been trying to test splice on kernel 2.6.35_4 (x86) from Samba (v3.4.7) but could not copy more than ~60MB to the Samba server share. Strace shows that the splice got stuck in blocking mode on the splice call from socket to pipe. Has anyone managed to get splice from socket to fd work for large files (up to 4G file size) ? -Ofer --
Jul 5, 2:26 am 2010
Eric Dumazet
RE: Splice status
loops and performs splice(sock, pipe) and splice(pipe, fd). There is no Draining pipe before splice() call would only trigger the bug less often. splice(sock, pipe) can block if caller dont use appropriate "non blocking pipe' splice() mode, even if pipe is empty before a splice() call. Last time I checked, splice() code was disabled in samba. Is it a patched version ? Samba should add SPLICE_F_NONBLOCK to first splice() call (from sock to pipe) (You also need a recent kernel, check ...
Jul 5, 5:50 am 2010
Ofer Heifetz
RE: Splice status
I am using Samba, so from my understanding of the source code, it loops and performs splice(sock, pipe) and splice(pipe, fd). There is no flush of any sort in between. When you say drain you mean to flush all data to pipe? -Ofer -----Original Message----- From: Changli Gao [mailto:xiaosuo@gmail.com] Sent: Monday, July 05, 2010 12:59 PM To: Ofer Heifetz Cc: netdev@vger.kernel.org Subject: Re: Splice status Did you drain the pipe before calling splice(2) to move data from socket to ...
Jul 5, 3:52 am 2010
Changli Gao
Re: Splice status
I checked the function: sys_recvfile() and found It is buggy. to_write = nread; while (to_write > 0) { int thistime; thistime = splice(pipefd[0], NULL, tofd, &splice_offset, to_write, SPLICE_F_MOVE); if (thistime == -1) { goto done; } ...
Jul 5, 5:08 am 2010
Eric Dumazet
RE: Splice status
Note that if your load increases or network is faster, splice will naturally use more data per call. Dont worry. Also, you can change MIN(count, 16384) to MIN(count, 65536) now the real samba bug is known and can be fixed (by the SPLICE_F_NONBLOCK patch I sent) (I guess using 16384 instead of 65536 was a try to reduce hang --
Jul 5, 8:34 am 2010
Eric Dumazet
Re: [PATCH net-next-2.6] tg3: 64bits stats
Overhead would be minimal, only in get_stats() method and only for drivers that want to provide 64 bit stats... Clearly, rx/tx path must not have any overhead. Right now, even RTNL 64bit stats are not safe. Should we revert prior patches or try to make progress ? --
Jul 5, 11:07 am 2010
Eric Dumazet
Re: [PATCH net-next-2.6] tg3: 64bits stats
Right, but a read_lock() would not be enough, even if all users would use it. --
Jul 5, 11:59 am 2010
Ben Hutchings
Re: [PATCH net-next-2.6] tg3: 64bits stats
Ugh, I was assuming that callers of dev_get_stats() would hold dev_base_lock. However only netstat_show() seems to do so currently. -- 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. --
Jul 5, 11:41 am 2010
Eric Dumazet
Re: [PATCH net-next-2.6] tg3: 64bits stats
Yes, I provided one patch but am working on a different one, requiring a new rtnl_link_stats64 param to ndo_get_stats64() methods and dev_get_stats() as well. dev->stats64 should not be overwritten without some synchronization, so just disallow it for the moment... --
Jul 5, 11:35 am 2010
Eric Dumazet
[PATCH net-next-2.6] tg3: 64bits stats
After commit be1f3c2c027c (net: Enable 64-bit net device statistics on 32-bit architectures), we can now provide 64bit stats, even on 32bit arches. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> --- drivers/net/tg3.c | 32 ++++++++++---------------------- drivers/net/tg3.h | 4 ++-- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 289cdc5..d1430f9 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -9021,7 ...
Jul 5, 2:14 am 2010
Ben Hutchings
Re: [PATCH net-next-2.6] tg3: 64bits stats
I really didn't want to add this overhead and complication to readers when only some drivers need it. 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. --
Jul 5, 10:31 am 2010
Eric Dumazet
Re: [PATCH net-next-2.6] tg3: 64bits stats
Please disregard this patch. There is small possibility a reader might read a 64bit value while another writer makes a change to it, changing high 32bit value. A change in core network would be needed to make this 100% safe, possibly using a seqlock to protect dev->stats64 --
Jul 5, 9:03 am 2010
Ben Hutchings
Re: [PATCH net-next-2.6] tg3: 64bits stats
I think you should use a similar approach here as you did in the loopback driver, i.e. update private variables in the RX and TX path and then copy/aggregate them in the implementation ndo_get_stats64 (only without the need for percpu stats). If you want to include a seqlock in the driver stats interface, you can do that but it's not going to be pretty and we're still going to need additional seqlocks for per-queue (or percpy) stats in some drivers. Ben. -- Ben Hutchings, Senior ...
Jul 5, 11:30 am 2010
Karl Hiramoto
[PATCH v2 6/9] atm/suni.c: call atm_dev_signal_change() ...
Propagate changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/atm/suni.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c index da4b91f..41c56ea 100644 --- a/drivers/atm/suni.c +++ b/drivers/atm/suni.c @@ -291,8 +291,9 @@ static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) static void poll_los(struct atm_dev *dev) { - dev->signal = GET(RSOP_SIS) & ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 0/9] atm: propagate atm_dev signal carrier t ...
Changes from v1: Use atm_dev notifier chain instead of callback function pointer in struct vcc. In drivers/usb/atm call atm_dev_signal_change(). In userspace it's helpfull to know if a network device has a carrier signal. Often it is monitored via netlink. This patchset allows a way for the struct atm_dev drivers to pass carrier on/off to the netdevice. For DSL, carrier is on when the line has reached showtime state. Currently this patchset only propagates the changes to br2684 ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 1/9] atm: propagate signal changes via notifier
Add notifier chain for changes in atm_dev. Clients like br2684 will call register_atmdevice_notifier() to be notified of changes. Drivers will call atm_dev_signal_change() to notify clients like br2684 of the change. On DSL and ATM devices it's usefull to have a know if you have a carrier signal. netdevice LOWER_UP changes can be propagated to userspace via netlink monitor. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- include/linux/atmdev.h | 12 ++++++++++++ net/atm/common.c ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 2/9] atm/br2684: register notifier event for c ...
When a signal change event occurs call netif_carrier_on/off. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- net/atm/br2684.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 64 insertions(+), 2 deletions(-) diff --git a/net/atm/br2684.c b/net/atm/br2684.c index 6719af6..5afa512 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c @@ -139,6 +139,42 @@ static struct net_device *br2684_find_dev(const struct br2684_if_spec *s) return NULL; } +static ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 3/9] atm/adummy: add syfs DEVICE_ATTR to chang ...
Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/atm/adummy.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/drivers/atm/adummy.c b/drivers/atm/adummy.c index 6d44f07..46b9476 100644 --- a/drivers/atm/adummy.c +++ b/drivers/atm/adummy.c @@ -40,6 +40,42 @@ struct adummy_dev { static LIST_HEAD(adummy_devs); +static ssize_t __set_signal(struct device *dev, + struct device_attribute *attr, + const char *buf, ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 4/9] atm/idt77105.c: call atm_dev_signal_chang ...
Propagate changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/atm/idt77105.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/atm/idt77105.c b/drivers/atm/idt77105.c index dab5cf5..bca9cb8 100644 --- a/drivers/atm/idt77105.c +++ b/drivers/atm/idt77105.c @@ -126,7 +126,7 @@ static void idt77105_restart_timer_func(unsigned long dummy) istat = GET(ISTAT); /* side effect: clears all interrupt status ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 5/9] atm/solos-pci: call atm_dev_signal_change ...
Propagate changes to upper atm layer, so userspace netmontor knows when DSL showtime reached. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/atm/solos-pci.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index ded76c4..6174965 100644 --- a/drivers/atm/solos-pci.c +++ b/drivers/atm/solos-pci.c @@ -383,7 +383,7 @@ static int process_status(struct solos_card *card, int port, struct sk_buff *skb ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 7/9] usb/atm/cxacru.c: call atm_dev_signal_cha ...
Propagate signal changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/usb/atm/cxacru.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index c89990f..101ffc9 100644 --- a/drivers/usb/atm/cxacru.c +++ b/drivers/usb/atm/cxacru.c @@ -866,50 +866,50 @@ static void cxacru_poll_status(struct work_struct *work) instance->line_status = buf[CXINF_LINE_STATUS]; ...
Jul 5, 1:45 am 2010
Karl Hiramoto
[PATCH v2 8/9] usb/atm/speedtch.c: call atm_dev_signal_c ...
Propagate signal changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/usb/atm/speedtch.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 1335456..80f9617 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c @@ -525,7 +525,7 @@ static void speedtch_check_status(struct work_struct *work) switch (status) { case ...
Jul 5, 1:46 am 2010
Karl Hiramoto
[PATCH v2 9/9] usb/atm/ueagle-atm.c: call atm_dev_signal ...
Propagate signal changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> --- drivers/usb/atm/ueagle-atm.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index e213d3f..ebae944 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c @@ -575,6 +575,13 @@ MODULE_PARM_DESC(annex, sc->usbatm->atm_dev->type = val; \ } while (0) +#define ...
Jul 5, 1:46 am 2010
Richard Cochran
[PATCH v2 0/4] Extend Time Stamping
This patch set extends the packet time stamping capabilites of the network stack in two ways. 1. The first patch presents a work-around for the TX software time stamping fallback problem cited in cd4d8fdad1f1. The idea is to add two inline functions into each MAC driver. The functions will act as hooks for current (and possible future) time stamping needs, once they are placed correctly within each MAC driver. 2. The other patches prepare the way for PHY drivers to offer time ...
Jul 4, 10:30 pm 2010
Richard Cochran
[PATCH 1/4] net: add driver hooks for time stamping.
This patch adds hooks for transmit and receive time stamps. The transmit hook allows a software fallback for transmit time stamps, for MACs lacking time stamping hardware. The receive hook does not yet have any effect, but it prepares the way for hardware time stamping in PHY devices. Using the hooks will still require adding two inline function calls to each MAC driver. Signed-off-by: Richard Cochran <richard.cochran@omicron.at> --- include/linux/skbuff.h | 36 ...
Jul 4, 10:31 pm 2010
Richard Cochran
[PATCH 2/4] phylib: add a way to make PHY time stamps po ...
This patch adds a new networking option to allow hardware time stamps from PHY devices. Using PHY time stamps will still require adding two inline function calls to each MAC driver. The CONFIG option makes these calls safe to add, since the calls become NOOPs when the option is disabled. The patch also adds phylib driver methods for the SIOCSHWTSTAMP ioctl and callbacks for transmit and receive time stamping. Drivers may optionally implement these functions. Signed-off-by: Richard Cochran ...
Jul 4, 10:32 pm 2010
Richard Cochran
[PATCH 3/4] phylib: preserve ifreq parameter when callin ...
The phy_mii_ioctl() function unnecessarily throws away the original ifreq. We need access to the ifreq in order to support PHYs that can perform hardware time stamping. Two maverick drivers filter the ioctl commands passed to phy_mii_ioctl(). This is unnecessary since phylib will check the command in any case. Signed-off-by: Richard Cochran <richard.cochran@omicron.at> --- drivers/net/arm/ixp4xx_eth.c | 3 ++- drivers/net/au1000_eth.c | 2 +- ...
Jul 4, 10:33 pm 2010
Richard Cochran
[PATCH 4/4] phylib: Allow reading and writing a mii bus ...
In order to support hardware time stamping from a PHY, it is necessary to read from the PHY while running in_interrupt(). This patch allows a mii bus to operate in an atomic context. An mii_bus driver may declare itself capable for this mode. Drivers which do not do this will remain with the default that bus operations may sleep. Before commit 35b5f6b1a82b5c586e0b24c711dc6ba944e88ef1 mii bus operations were protected with spin locks. That commit replaced the locks with mutexs in order to ...
Jul 4, 10:33 pm 2010
Simon Horman
Re: [PATCH net-next-2.6] ipv6: adding ip_nonlocal_bind o ...
Perhaps the inner two if statements could be combined to remove unnecessary nesting? And perhaps check for sysctl_ipv6_nonlocal_bind first, as presumably its a cheaper, though less likely to succeed check. if (!(addr_type & IPV6_ADDR_MULTICAST)) { if (!sysctl_ipv6_nonlocal_bind && !ipv6_chk_addr(net, &addr->sin6_addr, dev, 0)) { err = -EADDRNOTAVAIL; goto out_unlock; } } Actually, I wonder if all three if statements could be combined. if ...
Jul 4, 7:03 pm 2010
Michal Humpula
Re: [PATCH net-next-2.6] ipv6: adding ip_nonlocal_bind o ...
Thanks you for review, I agree with the objections. I'll send a corrected version. --
Jul 4, 11:56 pm 2010
YOSHIFUJI Hideaki
Re: [PATCH net-next-2.6] ipv6: adding ip_nonlocal_bind o ...
Hello. This is not sufficient. In IPv4, even if you do non-local bind, you cannot connect/send packets from that address until the admin really assigns that address on the node. Local address is checked when you try to connect (or to send), and this is important thing to do. But in IPv6, it is not checked, and it is very bad to open this "hole". --yoshfuji --
Jul 5, 3:13 am 2010
Michal Humpula
Re: [PATCH net-next-2.6] ipv6: adding ip_nonlocal_bind o ...
Thanks again for review. Could you please point me to part, where the check is done? Is there a reason why is the check not done in IPv6 too? --
Jul 5, 5:26 am 2010
Philip Prindeville
Re: setsockopt(IP_TOS) being privileged or distinct capa ...
Say, on a slightly different subject... but still having to do with setsockopt(IP_TOS)... is it intentional that system call effectively does nothing if the socket is in listen(), connect(), or bind() states? In other words, you have to issue the setsockopt() immediately after the socket() call, or it doesn't do anything. As I remember, that's slightly different semantics from BSD, which allows you to change the markings on a bound or listening socket. I've not walked through the kernel ...
Jul 5, 11:08 am 2010
Philip Prindeville
Re: setsockopt(IP_TOS) being privileged or distinct capa ...
The logic being that if having a RAW socket requires privilege, but it's necessary to have reasonable security for user-invokable programs... and we manage to do this without too much trouble for those to programs, Right. And I'm saying because of the potentially disruptive nature of That would be a very good guess. And google-stalking is fine. I draw the line at leaving dead cats at my I understand that. That's part of the reason that I've submitted patches for APR, Apache, ...
Jul 5, 11:04 am 2010
Rick Jones
Re: bnx2/5709: Strange interrupts spread
At the risk of typing into Michael's keyboard, chances are, what the NIC does is follow Microsoft's specs for RSS, which as far as I can tell, discusses hashing either just on the IP addresses (v4 or v6) or the IP addresses and TCP port numbers, so unless Broadcom has an enhancement/extension, if the traffic arriving is not TCP/IP and not multiple connections, it probably does not get spread-out. rick jones --
Jul 5, 3:56 pm 2010
Patrick McHardy Jul 5, 1:39 am 2010
Patrick McHardy Jul 5, 1:37 am 2010
sbs
Re: IGB driver upgrade
I have tested 2.0.6 and 2.1.9 modules for 4 days and there were no any issues detected :) On Tue, Jun 29, 2010 at 8:15 PM, Alexander Duyck Thank you, I'll install 2.6.35-rc4 today on several servers with both --
Jul 4, 11:45 pm 2010
Takashi Iwai
Re: [PATCH 3/3] pm_qos: get rid of the allocation in pm_ ...
Hi, sorry for the late reply, as I've been on vacation in the last week (and shut off mails intentionally :) At Mon, 28 Jun 2010 12:44:48 -0500, I like the patch very well, too. Is this correct...? Shouldn't it be a negative check? thanks, Takashi --
Jul 4, 11:41 pm 2010
Rafael J. Wysocki
Re: [linux-pm] [PATCH 3/3] pm_qos: get rid of the alloca ...
Well, it's been for a while in linux-next ... Rafael --
Jul 5, 2:07 pm 2010
James Bottomley
Re: [PATCH 3/3] pm_qos: get rid of the allocation in pm_ ...
Yes, it should be a negative check ... I'll update the patch. I guess this still means that no-one has managed to test it on a functional system ... James --
Jul 5, 7:02 am 2010
mark gross
Re: [PATCH 3/3] pm_qos: get rid of the allocation in pm_ ...
well I guess that explains the warning I got on my back port of this patch. [ 62.944788] ------------[ cut here ]------------ [ 62.944788] WARNING: at kernel/pm_qos_params.c:266 pm_qos_update_request+0x21/0x46) [ 62.944788] pm_qos_update_request() called for unknown object [ 62.944788] Modules linked in: mrst_sspi ...
Jul 5, 12:16 pm 2010
Jeff Kirsher
Re: [REGRESSION] e1000e stopped working [MANUALLY BISECTED]
Can you give us till Tuesday to respond? I know that there are some additional e1000e patches in my queue, which may resolve the issue, but this weekend the power is down to do some infrastructure upgrades which prevents us from doing any investigation.debugging until Tuesday. -- Cheers, Jeff --
Jul 5, 1:13 am 2010
Maxim Levitsky Jul 5, 2:58 am 2010
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Yes and no -- yes in the sense that if you want to use more functionality of the switch chip, you'll have to add some code that extracts that info from the Linux network interface config and turns it into commands for the switch chip, and no in the sense that I'm not sure yet what the best way to implement this would be. (Doing it all in userspace is one option.) --
Jul 5, 10:24 am 2010
Eric Dumazet
Re: [PATCHv3 2/2] sfc: Implement 64-bit net device stati ...
Ben, David I believe following patch is needed after our recent commits. Not sure a seqlock is really needed, maybe a spinlock would be enough. Thanks [PATCH net-next-2.6] net: fix 64 bit counters on 32 bit arches There is a small possibility that a reader gets incorrect values on 32 bit arches. SNMP applications could catch incorrect counters when a 32bit high part is changed. I believe we need to add some synchronisation to avoid this. A driver that provides 64bit stats on a ...
Jul 5, 11:16 am 2010
Eric Dumazet
[PATCH net-next-2.6 V2] net: fix 64 bit counters on 32 ...
Here is an updated patch, without added lock but temp storage. Thanks [PATCH net-next-2.6 V2] net: fix 64 bit counters on 32 bit arches There is a small possibility that a reader gets incorrect values on 32 bit arches. SNMP applications could catch incorrect counters when a 32bit high part is changed by another stats consumer/provider. One way to solve this is to add a rtnl_link_stats64 param to all ndo_get_stats64() methods, and also add such a parameter to dev_get_stats(). Rule ...
Jul 5, 1:05 pm 2010
Eric Dumazet
Re: [PATCHv3 2/2] sfc: Implement 64-bit net device stati ...
One other way would be to add a rtnl_link_stats64 param to ndo_get_stats64() method, and ask drivers to copy their stats in this zone, instead of returning &dev->stats64 or something... And also change dev_get_stats() with this new parameter. Each caller would use a private copy, with no risk of concurrent updates. --
Jul 5, 11:31 am 2010
previous daytodaynext day
July 4, 2010July 5, 2010July 6, 2010