Re: [PATCH] r8169: Enable RX_MULTI_EN for RTL_GIGA_MAC_VER_40

2014-07-15 Thread Francois Romieu
Hayes Wang : > Michel D?nzer [mailto:mic...@daenzer.net] [...] > > Without this, the ethernet port on my ASUS A88X Pro mainboard stops > > working sometimes, with messages like these in dmesg: > > > > AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 > > domain=0x001e

Re: [PATCH] r8169: Enable RX_MULTI_EN for RTL_GIGA_MAC_VER_40

2014-07-15 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : Michel D?nzer [mailto:mic...@daenzer.net] [...] Without this, the ethernet port on my ASUS A88X Pro mainboard stops working sometimes, with messages like these in dmesg: AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 domain=0x001e

Re: [PATCH net v2] r8169: disable L23

2014-07-09 Thread Francois Romieu
and continue after the next the PCI > reset occurs. This causes the device stays in L2/L3 link state, and the system > couldn't find the device. > > Signed-off-by: Hayes Wang Acked-by: Francois Romieu Thanks, the explanation of the race between software induced PCI reset and transit

Re: [PATCH net v2] r8169: disable L23

2014-07-09 Thread Francois Romieu
be queued and continue after the next the PCI reset occurs. This causes the device stays in L2/L3 link state, and the system couldn't find the device. Signed-off-by: Hayes Wang hayesw...@realtek.com Acked-by: Francois Romieu rom...@fr.zoreil.com Thanks, the explanation of the race between software

Re: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Francois Romieu
Richard Weinberger : > Am 09.07.2014 00:47, schrieb Francois Romieu: [...] > > What are you taking about ? netconsole does not need to receive. > > Isn't netconsole is only one user of netpoll ? Out of tree users are irrelevant. See netpoll r

Re: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Francois Romieu
Richard Weinberger : [...] > This won't work as netpoll runs with IRQs disabled. > ->ndo_poll_controller() has to make sure that SKBs can be received and > transmitted > while IRQs are off. I thought calling the channel callback by hand would be > enough to receive SKBs. What are you taking

Re: [PATCH net] r8169: disable L23

2014-07-08 Thread Francois Romieu
Hayes Wang : > For RTL8411, RTL8111G, RTL8402, RTL8105, and RTL8106, the nic couldn't > leave the power saving mode of L23 for certain situation. This causes > the device lost for the system. Disable the L23 mode to avoid it. Ok with the patch as it exactly addresses the required hw_start

Re: [PATCH net] r8169: disable L23

2014-07-08 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : For RTL8411, RTL8111G, RTL8402, RTL8105, and RTL8106, the nic couldn't leave the power saving mode of L23 for certain situation. This causes the device lost for the system. Disable the L23 mode to avoid it. Ok with the patch as it exactly addresses the

Re: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Francois Romieu
Richard Weinberger rich...@nod.at : [...] This won't work as netpoll runs with IRQs disabled. -ndo_poll_controller() has to make sure that SKBs can be received and transmitted while IRQs are off. I thought calling the channel callback by hand would be enough to receive SKBs. What are you

Re: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Francois Romieu
Richard Weinberger rich...@nod.at : Am 09.07.2014 00:47, schrieb Francois Romieu: [...] What are you taking about ? netconsole does not need to receive. Isn't netconsole is only one user of netpoll ? Out of tree users are irrelevant. See netpoll related comments

Re: SmPL for automatic request_firmware_nowait() conversion

2014-06-24 Thread Francois Romieu
Luis R. Rodriguez : > On Sat, Jun 21, 2014 at 12:52:05PM +0200, Francois Romieu wrote: > > Luis R. Rodriguez : [...] > Note that in the worst case if udev is present in the worst case if the > firmware is not present loading can take up to timeout * num CPUs [0], > but work

Re: SmPL for automatic request_firmware_nowait() conversion

2014-06-24 Thread Francois Romieu
Luis R. Rodriguez mcg...@suse.com : On Sat, Jun 21, 2014 at 12:52:05PM +0200, Francois Romieu wrote: Luis R. Rodriguez mcg...@suse.com : [...] Note that in the worst case if udev is present in the worst case if the firmware is not present loading can take up to timeout * num CPUs [0

Re: SmPL for automatic request_firmware_nowait() conversion

2014-06-21 Thread Francois Romieu
Luis R. Rodriguez : > I was just porting over an ethernet driver [0] to use > request_firmware_nowait() > since firmware loading seems can take over a minute on one device, while > at it I noticed no other ethernet drivers yet use this API so figure > this may be a trend coming if devices are

Re: SmPL for automatic request_firmware_nowait() conversion

2014-06-21 Thread Francois Romieu
Luis R. Rodriguez mcg...@suse.com : I was just porting over an ethernet driver [0] to use request_firmware_nowait() since firmware loading seems can take over a minute on one device, while at it I noticed no other ethernet drivers yet use this API so figure this may be a trend coming if

Re: netconsole breaks netpoll on bridge

2014-06-16 Thread Francois Romieu
Stefan Priebe - Profihost AG : [...] > That sounds great! Is there anything I can do or some code I can port to veth? You may add an empty handler for .ndo_poll_controller in drivers/net/veth.c and give it a try on current kernel. It should not be too bad. -- Ueimor -- To unsubscribe from

Re: netconsole breaks netpoll on bridge

2014-06-16 Thread Francois Romieu
Stefan Priebe - Profihost AG s.pri...@profihost.ag : [...] That sounds great! Is there anything I can do or some code I can port to veth? You may add an empty handler for .ndo_poll_controller in drivers/net/veth.c and give it a try on current kernel. It should not be too bad. -- Ueimor -- To

Re: 3.14.1 network issue with rtl81xx chip

2014-06-01 Thread Francois Romieu
Udo van den Heuvel : [...] > On two boxes with rtl network chip I see connections going down. Do you notice netdev watchdog messages in the kernel log ? [...] > 3.14.1 has the issue. Does it qualify as a (recent ?) regression or is it a fresh new setup ? > How can I fix this more elegantly ?

Re: 3.14.1 network issue with rtl81xx chip

2014-06-01 Thread Francois Romieu
Udo van den Heuvel udo...@xs4all.nl : [...] On two boxes with rtl network chip I see connections going down. Do you notice netdev watchdog messages in the kernel log ? [...] 3.14.1 has the issue. Does it qualify as a (recent ?) regression or is it a fresh new setup ? How can I fix this more

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-04 Thread Francois Romieu
Darek Marcinkiewicz : > On Sun, May 04, 2014 at 08:43:51PM +0200, Francois Romieu wrote: [...] > > Regarding tx_dnext updates, you may add a short notice in ec_bhf_start_xmit > > and ec_bhf_process_tx explaining that the periodic poller will somehow end > > working with th

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-04 Thread Francois Romieu
Darek Marcinkiewicz : > On Sat, May 03, 2014 at 01:40:29PM +0200, Francois Romieu wrote: [...] > Thank you. I am attaching 2 of thse to this repsonse - the other two > are no longer relevant due to the changes I made into the driver. > One of the attached patches is slightly modfi

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-04 Thread Francois Romieu
Darek Marcinkiewicz rek...@newterm.pl : On Sat, May 03, 2014 at 01:40:29PM +0200, Francois Romieu wrote: [...] Thank you. I am attaching 2 of thse to this repsonse - the other two are no longer relevant due to the changes I made into the driver. One of the attached patches is slightly modfied

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-04 Thread Francois Romieu
Darek Marcinkiewicz rek...@newterm.pl : On Sun, May 04, 2014 at 08:43:51PM +0200, Francois Romieu wrote: [...] Regarding tx_dnext updates, you may add a short notice in ec_bhf_start_xmit and ec_bhf_process_tx explaining that the periodic poller will somehow end working with the right value

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-03 Thread Francois Romieu
er work when load increases and the usual Tx lock avoidance patterns would kick in (current locking is gross). Did Beckhoff document their FPGA PCI interface ? -- Ueimor >From d2a5bfdc7854e9b3cffcab9249299354fa5037d0 Mon Sep 17 00:00:00 2001 Message-Id: From: Francois Romieu Date: Sat, 3 M

Re: [PATCH v5 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-03 Thread Francois Romieu
: d2a5bfdc7854e9b3cffcab9249299354fa5037d0.1399110121.git.rom...@fr.zoreil.com From: Francois Romieu rom...@fr.zoreil.com Date: Sat, 3 May 2014 11:15:26 +0200 Subject: [PATCH 1/4] ec_bhf: inverted xmas tree. X-Organisation: Land of Sunshine Inc. Signed-off-by: Francois Romieu rom...@fr.zoreil.com --- drivers/net/ethernet/ec_bhf.c | 8

Re: r8169 Rx ERROR.

2014-05-01 Thread Francois Romieu
Udo : [...] > [354436.656703] r8169 :01:00.0 eth0: Rx ERROR. status = 342ac40d > [354615.387915] r8169 :01:00.0 eth0: Rx ERROR. status = 342cc075 > (and a load more of them) > > What is wrong? Hardware? Ethernet CRC is wrong. Which kind of 816x is it (see XID in kernel log) ? --

Re: [PATCH v4 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-01 Thread Francois Romieu
Darek Marcinkiewicz : [changes] (you may add those after the "---" above the diffstat) [...] > diff --git a/drivers/net/ethernet/ec_bh.c b/drivers/net/ethernet/ec_bh.c > new file mode 100644 > index 000..2ed2cee > --- /dev/null > +++ b/drivers/net/ethernet/ec_bh.c [...] > +#define

Re: [PATCH v4 1/1] Driver for Beckhoff CX5020 EtherCAT master module.

2014-05-01 Thread Francois Romieu
Darek Marcinkiewicz rek...@newterm.pl : [changes] (you may add those after the --- above the diffstat) [...] diff --git a/drivers/net/ethernet/ec_bh.c b/drivers/net/ethernet/ec_bh.c new file mode 100644 index 000..2ed2cee --- /dev/null +++ b/drivers/net/ethernet/ec_bh.c [...] +#define

Re: r8169 Rx ERROR.

2014-05-01 Thread Francois Romieu
Udo udo...@xs4all.nl : [...] [354436.656703] r8169 :01:00.0 eth0: Rx ERROR. status = 342ac40d [354615.387915] r8169 :01:00.0 eth0: Rx ERROR. status = 342cc075 (and a load more of them) What is wrong? Hardware? Ethernet CRC is wrong. Which kind of 816x is it (see XID in kernel log)

Re: [PATCH v3] netconsole: Add tty driver

2014-04-02 Thread Francois Romieu
Struan Bartlett : [...] > --- a/drivers/net/netconsole.c2014-03-31 04:40:15.0 +0100 > +++ b/drivers/net/netconsole.c2014-04-01 11:58:50.0 +0100 > @@ -15,6 +15,7 @@ > * generic card hooks > * works non-modular > * 2003-09-07

Re: [PATCH v3] netconsole: Add tty driver

2014-04-02 Thread Francois Romieu
Struan Bartlett struan.bartl...@gmail.com : [...] --- a/drivers/net/netconsole.c2014-03-31 04:40:15.0 +0100 +++ b/drivers/net/netconsole.c2014-04-01 11:58:50.0 +0100 @@ -15,6 +15,7 @@ * generic card hooks * works non-modular *

Re: [PATCH net-next v3 1/2] r8152:addRTL8152_EARLY_AGG_TIMEOUT_SUPER

2014-03-14 Thread Francois Romieu
hayeswang : [...] > Besides, I don't wish to modify the setting by ethtool when re-loading > the driver or rebooting every time. Why ? The recipe is different but there isn't much setup difference between a module param and an ethtool command that is run through udev. The latter is more

Re: [PATCH net-next v3 1/2] r8152:addRTL8152_EARLY_AGG_TIMEOUT_SUPER

2014-03-14 Thread Francois Romieu
hayeswang hayesw...@realtek.com : [...] Besides, I don't wish to modify the setting by ethtool when re-loading the driver or rebooting every time. Why ? The recipe is different but there isn't much setup difference between a module param and an ethtool command that is run through udev. The

Re: [PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread Francois Romieu
Hayes Wang : > The tx descriptor version of RTL8111B belong to RTL_TD_0. > > Signed-off-by: Hayes Wang Acked-by: Francois Romieu All 8168b chipsets should had shared the same Tx descriptor layout. 2b7b431858c284b62c18baaf2cea571be2797d5a ("r8169: TSO fixes.") got it righ

Re: [PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : The tx descriptor version of RTL8111B belong to RTL_TD_0. Signed-off-by: Hayes Wang hayesw...@realtek.com Acked-by: Francois Romieu rom...@fr.zoreil.com All 8168b chipsets should had shared the same Tx descriptor layout

Re: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x276/0x280()

2014-03-08 Thread Francois Romieu
(linux.n...@intel.com removed from the Cc: list) poma : [...] > Francois, do you have this[1] patch applicable for the recent 'r8169.c'? > > $ patch -p5 < r8169-xmit.patch > patching file r8169.c > Hunk #1 FAILED at 5870. > Hunk #2 succeeded at 5540 with fuzz 2 (offset -482 lines). > Hunk #3

Re: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x276/0x280()

2014-03-08 Thread Francois Romieu
(linux.n...@intel.com removed from the Cc: list) poma pomidorabelis...@gmail.com : [...] Francois, do you have this[1] patch applicable for the recent 'r8169.c'? $ patch -p5 r8169-xmit.patch patching file r8169.c Hunk #1 FAILED at 5870. Hunk #2 succeeded at 5540 with fuzz 2 (offset -482

Re: [PATCH v1.3 11/11] arcmsr: Adding support Areca ARC1214/1224/1264/1284 SATA 6Gb raid controllers

2014-02-21 Thread Francois Romieu
黃清隆 : [...] > diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c > b/drivers/scsi/arcmsr/arcmsr_hba.c > --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-02-20 19:11:05.0 +0800 > +++ b/drivers/scsi/arcmsr/arcmsr_hba.c 2014-02-21 01:47:26.0 +0800 [...] > @@ -2894,6 +3372,89 @@

Re: [PATCH v1.3 11/11] arcmsr: Adding support Areca ARC1214/1224/1264/1284 SATA 6Gb raid controllers

2014-02-21 Thread Francois Romieu
黃清隆 ching2...@areca.com.tw : [...] diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-02-20 19:11:05.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr_hba.c 2014-02-21 01:47:26.0 +0800 [...] @@ -2894,6

Re: [PATCH net-next 12/14] r8152: replace netif_rx withnetif_receive_skb

2014-02-18 Thread Francois Romieu
hayeswang : > Francois Romieu [mailto:rom...@fr.zoreil.com] > > Hayes Wang : > > > Replace netif_rx with netif_receive_skb to avoid disabling irq frequently > > > for increasing the efficiency. > > > > read_bulk_callback is issued in irq context

Re: [PATCH net-next 12/14] r8152: replace netif_rx with netif_receive_skb

2014-02-18 Thread Francois Romieu
Hayes Wang : > Replace netif_rx with netif_receive_skb to avoid disabling irq frequently > for increasing the efficiency. read_bulk_callback is issued in irq context. It could thus use plain spin_lock / spin_unlock instead of the irq disabling version. -- Ueimor -- To unsubscribe from this

Re: [PATCH net-next 12/14] r8152: replace netif_rx with netif_receive_skb

2014-02-18 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : Replace netif_rx with netif_receive_skb to avoid disabling irq frequently for increasing the efficiency. read_bulk_callback is issued in irq context. It could thus use plain spin_lock / spin_unlock instead of the irq disabling version. -- Ueimor -- To

Re: [PATCH net-next 12/14] r8152: replace netif_rx withnetif_receive_skb

2014-02-18 Thread Francois Romieu
hayeswang hayesw...@realtek.com : Francois Romieu [mailto:rom...@fr.zoreil.com] Hayes Wang hayesw...@realtek.com : Replace netif_rx with netif_receive_skb to avoid disabling irq frequently for increasing the efficiency. read_bulk_callback is issued in irq context. It could thus use

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-01-26 Thread Francois Romieu
Sander Eikelenboom : [...] > I have got a regression with a 3.14-mw kernel (last commit is > 4ba9920e5e9c0e16b5ed24292d45322907bb9035): > It looks like it's related to the rtl8169 ... > > -- > Sander > > Jan 26 11:36:26 serveerstertje kernel: [ 89.105537] [ cut here >

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-01-26 Thread Francois Romieu
Sander Eikelenboom li...@eikelenboom.it : [...] I have got a regression with a 3.14-mw kernel (last commit is 4ba9920e5e9c0e16b5ed24292d45322907bb9035): It looks like it's related to the rtl8169 ... -- Sander Jan 26 11:36:26 serveerstertje kernel: [ 89.105537] [ cut here

Re: [PATCH net-next 6/6] r8152: support RTL8153

2013-12-27 Thread Francois Romieu
Hayes Wang : [...] > diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c > index 4b1c0f3..3e09887 100644 > --- a/drivers/net/usb/cdc_ether.c > +++ b/drivers/net/usb/cdc_ether.c > @@ -486,6 +486,7 @@ static const struct driver_info wwan_info = { > #define ZTE_VENDOR_ID

Re: [PATCH net-next 3/6] r8152: change some definitions

2013-12-27 Thread Francois Romieu
Hayes Wang : [...] > diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c > index b8bc3eb..a8ea848 100644 > --- a/drivers/net/usb/r8152.c > +++ b/drivers/net/usb/r8152.c [...] > @@ -274,6 +274,9 @@ enum rtl_register_content { > #define RTL8152_MAX_TX 10 > #define

Re: [PATCH net-next 3/6] r8152: change some definitions

2013-12-27 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : [...] diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index b8bc3eb..a8ea848 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c [...] @@ -274,6 +274,9 @@ enum rtl_register_content { #define RTL8152_MAX_TX 10

Re: [PATCH net-next 6/6] r8152: support RTL8153

2013-12-27 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : [...] diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 4b1c0f3..3e09887 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -486,6 +486,7 @@ static const struct driver_info wwan_info = { #define

Re: [PATCH v2] WAN: Adding support for Infineon PEF2256 E1 chipset (FALC56)

2013-11-02 Thread Francois Romieu
Christophe Leroy : > The patch adds WAN support for Infineon FALC56 - PEF2256 E1 Chipset. > > Signed-off-by: Jerome Chantelauze > Acked-by: Christophe Leroy > > diff -urN a/drivers/net/wan/pef2256.c b/drivers/net/wan/pef2256.c > --- a/drivers/net/wan/pef2256.c 1970-01-01

Re: [PATCH v2] WAN: Adding support for Infineon PEF2256 E1 chipset (FALC56)

2013-11-02 Thread Francois Romieu
Christophe Leroy christophe.le...@c-s.fr : The patch adds WAN support for Infineon FALC56 - PEF2256 E1 Chipset. Signed-off-by: Jerome Chantelauze jerome.chantelauze@c-s.fr Acked-by: Christophe Leroy christophe.le...@c-s.fr diff -urN a/drivers/net/wan/pef2256.c

Re: [PATCH 11/11] asmlinkage, wan/sbni: Make inline assembler symbols visible and assembler global

2013-10-23 Thread Francois Romieu
Florian Fainelli : [...] > How about scheduling the WAN drivers for removal? Does anybody > actually use them nowadays? There is still some interest in WAN drivers, see Christophe Leroy posting on 2013/10/13 "[PATCH] WAN: Adding support for Infineon PEF2256 E1 chipset" (buggy but it's a

Re: [PATCH 11/11] asmlinkage, wan/sbni: Make inline assembler symbols visible and assembler global

2013-10-23 Thread Francois Romieu
Florian Fainelli f.faine...@gmail.com : [...] How about scheduling the WAN drivers for removal? Does anybody actually use them nowadays? There is still some interest in WAN drivers, see Christophe Leroy posting on 2013/10/13 [PATCH] WAN: Adding support for Infineon PEF2256 E1 chipset (buggy but

Re: [BUG] Regression in 2fdac010 drivers/net/ethernet/via/via-velocity.c: update napi implementation

2013-10-01 Thread Francois Romieu
Julia Lawall : [...] > There has already been a discussion about this, and a patch has already > been proposed. It has to do with lock managament. I will look for the > email. The underlying problem has to do with disabled irq. netif_receive_skb assumes irq to be enabled. Current

Re: [BUG] Regression in 2fdac010 drivers/net/ethernet/via/via-velocity.c: update napi implementation

2013-10-01 Thread Francois Romieu
Julia Lawall julia.law...@lip6.fr : [...] There has already been a discussion about this, and a patch has already been proposed. It has to do with lock managament. I will look for the email. The underlying problem has to do with disabled irq. netif_receive_skb assumes irq to be enabled.

Re: [PATCH] stable_kernel_rules.txt: Exclude networking from stable rules

2013-09-19 Thread Francois Romieu
Joe Perches : [...] > David selects them regardless. > > from Documentation/networking/netdev-FAQ.txt: I don't believe that those who read Documentation/stable_kernel_rules.txt will magically read networking/netdev-FAQ.txt as well nor figure that while they should not mark the patches stables

Re: [PATCH] stable_kernel_rules.txt: Exclude networking from stable rules

2013-09-19 Thread Francois Romieu
Joe Perches : [...] > diff --git a/Documentation/stable_kernel_rules.txt > b/Documentation/stable_kernel_rules.txt > index b0714d8..a2d6da0 100644 > --- a/Documentation/stable_kernel_rules.txt > +++ b/Documentation/stable_kernel_rules.txt > @@ -29,6 +29,11 @@ Rules on what kind of patches are

Re: [PATCH] stable_kernel_rules.txt: Exclude networking from stable rules

2013-09-19 Thread Francois Romieu
Joe Perches j...@perches.com : [...] diff --git a/Documentation/stable_kernel_rules.txt b/Documentation/stable_kernel_rules.txt index b0714d8..a2d6da0 100644 --- a/Documentation/stable_kernel_rules.txt +++ b/Documentation/stable_kernel_rules.txt @@ -29,6 +29,11 @@ Rules on what kind of

Re: [PATCH] stable_kernel_rules.txt: Exclude networking from stable rules

2013-09-19 Thread Francois Romieu
Joe Perches j...@perches.com : [...] David selects them regardless. from Documentation/networking/netdev-FAQ.txt: I don't believe that those who read Documentation/stable_kernel_rules.txt will magically read networking/netdev-FAQ.txt as well nor figure that while they should not mark the

Re: [REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Francois Romieu
Igor Gnatenko : > Since 136d8f377e1575463b47840bc5f1b22d94bf8f63 commit we have kernel > panic on: > 01:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. > > Screen: https://www.dropbox.com/s/mu3t3wxpxbn4ou5/IMAG0507.jpg > > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1008323

Re: [REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Francois Romieu
Igor Gnatenko i.gnatenko.br...@gmail.com : Since 136d8f377e1575463b47840bc5f1b22d94bf8f63 commit we have kernel panic on: 01:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Screen: https://www.dropbox.com/s/mu3t3wxpxbn4ou5/IMAG0507.jpg RHBZ:

Re: network stopped with a kernel error

2013-09-01 Thread Francois Romieu
Roberto Spadim : [...] > ethtool show eth2 and eth1 as up and running and eth2 as fibre but > it's a TP board?! It happens with old model r8169 boards that go south during netdev whatchdog recovery handler. Please send the XID line included in dmesg output at startup. > i'm considering eth2 a

Re: network stopped with a kernel error

2013-09-01 Thread Francois Romieu
Roberto Spadim robe...@spadim.com.br : [...] ethtool show eth2 and eth1 as up and running and eth2 as fibre but it's a TP board?! It happens with old model r8169 boards that go south during netdev whatchdog recovery handler. Please send the XID line included in dmesg output at startup. i'm

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
Keep it small though literate. --- drivers/net/usb/sr9700.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index f7f46e6..3f05b35 100644 --- a/drivers/net/usb/sr9700.c +++

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
Liu, please check those. --- drivers/net/usb/sr9700.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index 3f05b35..3ae3caf 100644 --- a/drivers/net/usb/sr9700.c +++ b/drivers/net/usb/sr9700.c @@ -99,8 +99,9 @@ static

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
- use all columns - the driver uses both 'netdev' and 'net'. Let's use 'netdev' ('net' is shorter but it tastes of network namespaces) - don't dereference dev->net when there is a local netdev at hand - use some existing #define (please check those) - skb_set_tail_pointer to avoid compiler cast

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
- use all columns - the driver uses both 'netdev' and 'net'. Let's use 'netdev' ('net' is shorter but it tastes of network namespaces) - don't dereference dev-net when there is a local netdev at hand - use some existing #define (please check those) - skb_set_tail_pointer to avoid compiler cast

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
Liu, please check those. --- drivers/net/usb/sr9700.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index 3f05b35..3ae3caf 100644 --- a/drivers/net/usb/sr9700.c +++ b/drivers/net/usb/sr9700.c @@ -99,8 +99,9 @@ static

Re: [PATCH] USB2NET : SR9700 : One Chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-29 Thread Francois Romieu
Keep it small though literate. --- drivers/net/usb/sr9700.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index f7f46e6..3f05b35 100644 --- a/drivers/net/usb/sr9700.c +++

Re: Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 DeviceDriver into the Linux Kernel

2013-08-21 Thread Francois Romieu
sr_skb->len = len; > + sr_skb->data = skb->data + 3; > + sr_skb->tail = skb->data + len; > + sr_skb->truesize = len + sizeof(struct sk_buff); > + usbnet_skb_return(dev, sr_skb)

Re: [ATTEND] oops.kernel.org prospect

2013-08-21 Thread Francois Romieu
Anton Arapov : [...] > Oh well,... I didn't have a time for this right now, nor project is > not exactly in the state I'm willing to show (mostly webui) I have sorted the r8169 oopses by kernel revision to start with the most recent kernels. I don't get why the r8169 driver appears in the

Re: [ATTEND] oops.kernel.org prospect

2013-08-21 Thread Francois Romieu
Anton Arapov an...@redhat.com : [...] Oh well,... I didn't have a time for this right now, nor project is not exactly in the state I'm willing to show (mostly webui) I have sorted the r8169 oopses by kernel revision to start with the most recent kernels. I don't get why the r8169 driver

Re: Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 DeviceDriver into the Linux Kernel

2013-08-21 Thread Francois Romieu
, + .disable_hub_initiated_lpm = 1, +}; Please line things up (see my first review). [...] Francois Romieu ?? 2013-08-21 04:46:12 liujunliang_ljl ?? gregkh; sunhecheng; linux-usb; netdev; linux-kernel ?? Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700

Re: Networking problem with 3.11-rc6+

2013-08-20 Thread Francois Romieu
Chris Clayton : [...] > [0.207094] acpi PNP0A08:00: ACPI _OSC support notification failed, > disabling PCIe ASPM > [0.207155] acpi PNP0A08:00: Unable to request _OSC control (_OSC support > mask: 0x08) [...] > [5.311191] r8169 :07:00.0: can't disable ASPM; OS doesn't have ASPM

Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread Francois Romieu
liujunliang_ljl : [...] > We want to merge SR9700 device driver into the Linux Kernel. The following > is the Linux 3.10.7 version patch for SR9700, Please give us the assessment > and support. Welcome. Go ahead. [...] > diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c > new

Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread Francois Romieu
liujunliang_ljl liujunliang_...@163.com : [...] We want to merge SR9700 device driver into the Linux Kernel. The following is the Linux 3.10.7 version patch for SR9700, Please give us the assessment and support. Welcome. Go ahead. [...] diff --git a/drivers/net/usb/sr9700.c

Re: Networking problem with 3.11-rc6+

2013-08-20 Thread Francois Romieu
Chris Clayton chris2...@gmail.com : [...] [0.207094] acpi PNP0A08:00: ACPI _OSC support notification failed, disabling PCIe ASPM [0.207155] acpi PNP0A08:00: Unable to request _OSC control (_OSC support mask: 0x08) [...] [5.311191] r8169 :07:00.0: can't disable ASPM; OS

Re: [PATCHv2] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-19 Thread Francois Romieu
ujhely...@gmail.com : [...] > Some phy's can be configured to enable wake on lan (e.g. at803x or marvell > 88E1318S). > There is no way how to enable wol on CPSW with such connected phys. This patch > adds this support. It is provided by calling the phy's related code. > > Tested on board with

Re: [PATCHv2] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-19 Thread Francois Romieu
ujhely...@gmail.com ujhely...@gmail.com : [...] Some phy's can be configured to enable wake on lan (e.g. at803x or marvell 88E1318S). There is no way how to enable wol on CPSW with such connected phys. This patch adds this support. It is provided by calling the phy's related code. Tested

Re: Kernel summit 2013: Call for Hobbyists

2013-08-16 Thread Francois Romieu
Theodore Ts'o : [...] > To apply, please send a proposal outlining what you do, what you'd bring > to the kernel summit An umbrella to start with. :o) While the (highly variable amount of) kernel work I do is intellectually rewarding at times, it's not exactly the kind of cool or important

Re: Kernel summit 2013: Call for Hobbyists

2013-08-16 Thread Francois Romieu
Theodore Ts'o ty...@thunk.org : [...] To apply, please send a proposal outlining what you do, what you'd bring to the kernel summit An umbrella to start with. :o) While the (highly variable amount of) kernel work I do is intellectually rewarding at times, it's not exactly the kind of cool or

Re: [PATCH net-next v2 1/3] net/usb/r8152: support aggregation

2013-08-15 Thread Francois Romieu
hayeswang : > Francois Romieu [mailto:rom...@fr.zoreil.com] [...] > > The forward declaration is not needed. > > The r8152_submit_rx() need the declaration of read_bulk_callback(), and the > read_bulk_callback() need the declaration of r8152_submit_rx(), too. It likes > a

Re: [PATCH net-next v2 1/3] net/usb/r8152: support aggregation

2013-08-15 Thread Francois Romieu
Hayes Wang : [...] > diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c > index 11c51f2..abb0b9f 100644 > --- a/drivers/net/usb/r8152.c > +++ b/drivers/net/usb/r8152.c [...] > @@ -315,13 +318,34 @@ struct tx_desc { > u32 opts2; > }; > > +struct rx_agg { > + struct

Re: [PATCH net-next v2 1/3] net/usb/r8152: support aggregation

2013-08-15 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : [...] diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 11c51f2..abb0b9f 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c [...] @@ -315,13 +318,34 @@ struct tx_desc { u32 opts2; }; +struct rx_agg { +

Re: [PATCH net-next v2 1/3] net/usb/r8152: support aggregation

2013-08-15 Thread Francois Romieu
hayeswang hayesw...@realtek.com : Francois Romieu [mailto:rom...@fr.zoreil.com] [...] The forward declaration is not needed. The r8152_submit_rx() need the declaration of read_bulk_callback(), and the read_bulk_callback() need the declaration of r8152_submit_rx(), too. It likes a dead

Re: question about netif_rx

2013-08-13 Thread Francois Romieu
(no top-post nor lazy quote please) David Shwatrz : [...] > In the napi_gro_receive() we check that the device supports > NETIF_F_GRO, but I don't see that we inspect checksum or that > NETIF_F_GRO is depends on checksum. napi_gro_receive is irrelevant. Let aside tunnel, the real work happens

Re: question about netif_rx

2013-08-13 Thread Francois Romieu
David Shwatrz : [...] > what is the current state of checksum offloading support has to do > with it ? maybe you meant current state of NAPI support ? netif_receive_skb vs napi_gro_receive choice. -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: question about netif_rx

2013-08-13 Thread Francois Romieu
(no top-post nor lazy quote please) David Shwatrz dshwa...@gmail.com : [...] In the napi_gro_receive() we check that the device supports NETIF_F_GRO, but I don't see that we inspect checksum or that NETIF_F_GRO is depends on checksum. napi_gro_receive is irrelevant. Let aside tunnel, the real

Re: question about netif_rx

2013-08-13 Thread Francois Romieu
David Shwatrz dshwa...@gmail.com : [...] what is the current state of checksum offloading support has to do with it ? maybe you meant current state of NAPI support ? netif_receive_skb vs napi_gro_receive choice. -- Ueimor -- To unsubscribe from this list: send the line unsubscribe

Re: question about netif_rx

2013-08-12 Thread Francois Romieu
Julia Lawall : > François Romieu : [...] > > Can you send a netif_receive_skb replacement patch for it ? > > Just to be sure, I just replace netif_rx by netif_receive_skb, nothing > else? Yes. It should imho be fine with a comment incluing your analysis and a few words about the current state

Re: question about netif_rx

2013-08-12 Thread Francois Romieu
Julia Lawall julia.law...@lip6.fr : François Romieu rom...@fr.zoreil.com : [...] Can you send a netif_receive_skb replacement patch for it ? Just to be sure, I just replace netif_rx by netif_receive_skb, nothing else? Yes. It should imho be fine with a comment incluing your analysis and a

Re: question about netif_rx

2013-08-11 Thread Francois Romieu
Julia Lawall : > To my limited understanding, in a NAPI polling function, one should use > netif_receive_skb, rather than netif_rx. Nit: or napi_gro_receive (+ napi_gro_flush with __napi_complete) when the device offers some checksum offloading features. > However, the via-velocity driver

Re: question about netif_rx

2013-08-11 Thread Francois Romieu
Julia Lawall julia.law...@lip6.fr : To my limited understanding, in a NAPI polling function, one should use netif_receive_skb, rather than netif_rx. Nit: or napi_gro_receive (+ napi_gro_flush with __napi_complete) when the device offers some checksum offloading features. However, the

Re: [PATCH 1/1] net/velocity: add poll controller function for velocity nic

2013-07-19 Thread Francois Romieu
Amit Uttamchandani : > Add poll controller function for velocity nic. Thanks. You did not state if it was tested. Was it ? -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/1] net/velocity: add poll controller function for velocity nic

2013-07-19 Thread Francois Romieu
Amit Uttamchandani auttamchand...@logicube.com : Add poll controller function for velocity nic. Thanks. You did not state if it was tested. Was it ? -- Ueimor -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH net-next] r8169: add a new chip for RTL8411

2013-07-09 Thread Francois Romieu
David Miller : [...] > Francois, please review. The style is consistent with the driver. The commit message may state that this 8411 chipset does not require any special action in rtl_link_chg_patch (whence differing from the previous "F" 8411). Most of the code shared by rtl_hw_start_8168g_2

Re: [PATCH net-next] r8169: add a new chip for RTL8411

2013-07-09 Thread Francois Romieu
David Miller da...@davemloft.net : [...] Francois, please review. The style is consistent with the driver. The commit message may state that this 8411 chipset does not require any special action in rtl_link_chg_patch (whence differing from the previous F 8411). Most of the code shared by

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-21 Thread Francois Romieu
opensou...@tigusoft.pl : > On Sunday 16 June 2013 18:39:21 Francois Romieu wrote: > > Thank you for feedback. We provide XID, IRQ and additional info below. Executive summary: 1. affected Realtek nics are 8168evl (XID 0c900800) and an old PCI (XID 1800) 2. failing marvell ni

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-21 Thread Francois Romieu
opensou...@tigusoft.pl opensou...@tigusoft.pl : On Sunday 16 June 2013 18:39:21 Francois Romieu wrote: Thank you for feedback. We provide XID, IRQ and additional info below. Executive summary: 1. affected Realtek nics are 8168evl (XID 0c900800) and an old PCI (XID 1800) 2. failing

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-16 Thread Francois Romieu
opensou...@tigusoft.pl : [...] > Thanks for helping to debug and find this problem: tigusoft.pl , #grsecurity > , > Arach , Admin2501 , R.Freeman > > > We await any instructions how to debug this further. Please send the XID of Realtek devices you own ('dmesg | grep XID'). r8169 support

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-16 Thread Francois Romieu
opensou...@tigusoft.pl opensou...@tigusoft.pl : [...] Thanks for helping to debug and find this problem: tigusoft.pl , #grsecurity , Arach , Admin2501 , R.Freeman We await any instructions how to debug this further. Please send the XID of Realtek devices you own ('dmesg | grep XID').

<    1   2   3   4   5   6   7   8   9   10   >