linux-netdev mailing list

FromSubjectsort iconDate
Inaky Perez-Gonzalez
[PATCH] wimax/i2400m: driver loads firmware v1.4 instead ...
This is a one liner change to have the driver use by default the v1.4 of the i2400m firmware instead of v1.3. The v1.4 version of the firmware has been submitted to David Woodhouse for inclusion in the linux-firmware tree and it is already available at http://linuxwimax.org/Download. The reason for this change is that the 1.3 release of the user space software and firmware has a few issues that will make it difficult to use with currently deployed commercial networks such as Xohm ...
Feb 19, 3:40 pm 2009
Hagen Paul Pfeifer
[PATCH 2/2] netfilter: fix hardcoded size assumptions
get_random_bytes() is sometimes called with a hard coded size assumption of an integer. This could not be true for next centuries. This patch replace it with a compile time statement. Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> --- net/netfilter/nf_conntrack_core.c | 5 +++-- net/netfilter/nf_conntrack_expect.c | 2 +- net/netfilter/xt_hashlimit.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net/netfilter/nf_conntrack_core.c ...
Feb 19, 4:43 pm 2009
Hagen Paul Pfeifer
[PATCH] netfilter code cleanup
I stumbled accross some unattractive code in the netfilter core. These two patches try address them. Best regards, Hagen Paul Pfeifer --
Feb 19, 4:43 pm 2009
Hagen Paul Pfeifer
[PATCH 1/2] nf_conntrack: table max size should hold at ...
Table size is defined as unsigned, wheres the table maximum size is defined as a signed integer. The calculation of max is 8 or 4, multiplied the table size. Therefore the max value is aligned to unsigned. Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> --- include/net/netfilter/nf_conntrack.h | 2 +- net/netfilter/nf_conntrack_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/netfilter/nf_conntrack.h ...
Feb 19, 4:43 pm 2009
Mike -- EMAIL IGNORED
Ethernet Hubs -- OBE?
My Netgear DS104 is OBE; it stops every few days pending a power cycle. I need a hub, rather than a switch because I have one box promiscuously sniffing all my Linux boxes. Some shopping seems to suggest that hubs are no longer available. I did find some used on the web but none new. I heard a rumor that some switches can have their switching switched off so they function as hubs. Does anyone know anything about this? Thanks, Mike. --
Feb 19, 3:42 pm 2009
James Huang
Re: LRO restructuring?
Hi all, One question about inet_lro.c (linux 2.6.28.6) In lro_proc_segment(), it does not check the number of available frags entries in lro_desc->parent against the number of new fragments to be added before calling lro_add_frags(). Is that a bug? I see that lro_proc_segment() does some type of checking at the end, but could that be too late (i.e. overflow the frags[])?? Also I think some obvious optimization in lro_get_desc() can be done by combining the two for loops ...
Feb 19, 3:20 pm 2009
Randy Dunlap
[PATCH] ISDN: fix sc/shmem printk format warning
From: Randy Dunlap <randy.dunlap@oracle.com> Fix isdn/sc/shmem.c printk format warning: drivers/isdn/sc/shmem.c:57: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/isdn/sc/shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.29-rc5-git3.orig/drivers/isdn/sc/shmem.c +++ linux-2.6.29-rc5-git3/drivers/isdn/sc/shmem.c @@ -54,7 +54,7 @@ void memcpy_toshmem(int card, void ...
Feb 19, 2:47 pm 2009
Denys Fedoryschenko
2.6.29-rc5-git3 Leak r=1 3
If it is interesting for anybody, on loaded proxy server, at beginning: [ 21.587816] netconsole: remote ethernet address 00:04:23:af:02:ca [ 21.591028] console [netcon0] enabled [ 21.591486] netconsole: network logging started [ 23.942232] sd 11:0:0:0: [sda] 1146040320 512-byte hardware sectors: (586 GB/546 GiB) [ 23.943077] sd 11:0:0:0: [sda] Write Protect is off [ 23.943138] sd 11:0:0:0: [sda] Mode Sense: 06 00 10 00 [ 23.943182] sd 11:0:0:0: [sda] Write cache: enabled, read ...
Feb 19, 2:04 pm 2009
Yi Zou
[PATCH 7/7] fcoe: fcoe fc crc offload indication by skb- ...
If LLD supports FCCRC offload, it should set ip_summed to be CHECKSUM_UNNECESSARY so we don't have to do CRC check again. Signed-off-by: Yi Zou <yi.zou@intel.com> --- drivers/scsi/fcoe/libfcoe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 3072428..2a34832 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c @@ -624,7 +624,7 @@ int fcoe_percpu_receive_thread(void *arg) ...
Feb 19, 12:50 pm 2009
Zou, Yi
RE: [PATCH 6/7] fcoe: remove ETH_P_FCOE from fc_fcoe.h
Good point, I'll fix that. Thanks. yi --
Feb 19, 2:49 pm 2009
Yi Zou
[PATCH 6/7] fcoe: remove ETH_P_FCOE from fc_fcoe.h
No need to have ETH_P_FCOE in fc_fcoe.h as it is now defined in if_ether.h Signed-off-by: Yi Zou <yi.zou@intel.com> --- include/scsi/fc/fc_fcoe.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/include/scsi/fc/fc_fcoe.h b/include/scsi/fc/fc_fcoe.h index f271d9c..ccb3dbe 100644 --- a/include/scsi/fc/fc_fcoe.h +++ b/include/scsi/fc/fc_fcoe.h @@ -25,13 +25,6 @@ */ /* - * The FCoE ethertype eventually goes in net/if_ether.h. - */ -#ifndef ...
Feb 19, 12:50 pm 2009
Stephen Hemminger
Re: [PATCH 6/7] fcoe: remove ETH_P_FCOE from fc_fcoe.h
On Thu, 19 Feb 2009 12:50:23 -0700 Just do the move from fc_fcoe.h to if_ether.h in one patch. --
Feb 19, 2:25 pm 2009
Yi Zou
[PATCH 4/7] libfc: add support of large receive offload ...
When LLD supports direct data placement (ddp) for large receive of an scsi i/o coming into fc_fcp, we call into libfc_function_template's ddp_setup() to prepare for a ddp of large receive for this read I/O. When I/O is complete, we call the corresponding ddp_done() to get the length of data ddped as well as to let LLD do clean up. Summary of changes: 1. Added ddp_setup()/ddp_done() to libfc_function_template and they are expected to be impleted by fcoe layer 2. Added exch_send() to seperate ...
Feb 19, 12:50 pm 2009
Yi Zou
[PATCH 5/7] fcoe: add support to net_fcoe_ops in fcoe_sw
This adds implementation of ddp_setup()/ddp_done() in fcoe_sw for its fcoe_sw_libfc_fcn_templ. Signed-off-by: Yi Zou <yi.zou@intel.com> --- drivers/scsi/fcoe/fcoe_sw.c | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_sw.c b/drivers/scsi/fcoe/fcoe_sw.c index 7632d7e..57f7a51 100644 --- a/drivers/scsi/fcoe/fcoe_sw.c +++ b/drivers/scsi/fcoe/fcoe_sw.c @@ -373,8 +373,45 @@ static int fcoe_sw_destroy(struct ...
Feb 19, 12:50 pm 2009
Yi Zou
[PATCH 3/7] fcoe: check offload features from LLD throug ...
This checkes if net_devices supports net_fcoe_ops, if it does, then sets up the corresponding flags in the associated fc_lport. Note that large sequence offload is already supported in the current libfc/fcoe, only thing needed is to tell the corresponding fc_lport that LLD is capabale of doing so by using fcoe_ops->features. Signed-off-by: Yi Zou <yi.zou@intel.com> --- drivers/scsi/fcoe/fcoe_sw.c | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff ...
Feb 19, 12:49 pm 2009
Yi Zou
[PATCH 1/7] net: add ETH_P_FCOE for Fibre Channel over E ...
This adds eth type ETH_P_FCOE for Fibre Channel over Ethernet (FCoE) Signed-off-by: Yi Zou <yi.zou@intel.com> --- include/linux/if_ether.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index 7f3c735..59d197c 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h @@ -78,6 +78,7 @@ #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ #define ETH_P_AOE 0x88A2 /* ATA over ...
Feb 19, 12:49 pm 2009
Stephen Hemminger
Re: [PATCH 2/7] net: add FCoE offload support through ne ...
On Thu, 19 Feb 2009 12:49:49 -0700 Rather than adding another _ops structure please add to existing netdevice_ops. You don't need the flags that way. If netdevice_ops has fcoe_setup, then device can do it... --
Feb 19, 2:24 pm 2009
Zou, Yi
RE: [PATCH 2/7] net: add FCoE offload support through ne ...
The comments in struct net_device_ops says for management hooks, if that's an ok place for net_fcoe_ops, then, I am all for it. Thanks. yi --
Feb 19, 2:32 pm 2009
Yi Zou
[PATCH 2/7] net: add FCoE offload support through net_device
This adds a "struct net_fcoe_ops *fcoe_ops" to net_device struct so any network adapter driver can provide Fiber Channle over Ethernet (FCoE) offload support through net_device. The fcoe_ops is only available when FCoE is enabled in kernel as built-in or module driver. Signed-off-by: Yi Zou <yi.zou@intel.com> --- include/linux/netdevice.h | 8 ++++++++ include/linux/netfcoe.h | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 0 deletions(-) create mode ...
Feb 19, 12:49 pm 2009
Yi Zou
[PATCH 0/7] Add support to FCoE offload through net_device
Hi, I am working on to support offload for Fiber Channel over Ethernet (FCoE) for the Open-FCoE project maintained at http://www.open-fcoe.org. I would like to propose adding FCoE offload support through the net_device struct as shown in the series of patches followed here. The general idea is to add "struct net_fcoe_ops *fcoe_ops" to net_device, so any network adapter driver that wants to provides FCoE offload can use fcoe_ops through net_device. The following patches touch both netdev and ...
Feb 19, 12:49 pm 2009
Tony Asleson
Kernel behavior when returning NETDEV_TX_BUSY from hard_ ...
I am running into the following scenario and I wanted to verify that it is expected. A user application does a single 8k UDP send. While the Ethernet device driver is accepting each skb via hard_start_xmit it temporarily runs out of resources and calls netif_stop_queue and returns NETDEV_TX_BUSY. When the driver catches up it does a netif_wake_queue to resume skb transmission. When this occurs during the UDP send, the Ethernet driver does not get any of the remaining skb buffers and the UDP ...
Feb 19, 1:19 pm 2009
Stephen Hemminger
Re: Kernel behavior when returning NETDEV_TX_BUSY from h ...
On Thu, 19 Feb 2009 14:19:10 -0600 Well written drivers never return TX_BUSY. They manage the queue such that it is stopped when there is no space and only woken up when there is space. --
Feb 19, 2:26 pm 2009
Wolfgang Grandegger
[PATCH 2/8] can: Update MAINTAINERS and CREDITS file
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> --- CREDITS | 4 ++++ MAINTAINERS | 7 +++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/CREDITS b/CREDITS index 2b39168..ecbf6a2 100644 --- a/CREDITS +++ b/CREDITS @@ -1248,6 +1248,10 @@ S: 8124 Constitution Apt. 7 S: Sterling Heights, Michigan 48313 S: USA +N: Wolfgang Grandegger +E: wg@grandegger.com +D: Controller Area Network (device drivers) + N: William Greathouse E: ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 0/8] can: CAN network device driver interface and ...
the PF_CAN protocol family for the Controller Area Network is available in the kernel since version 2.6.25 but drivers for real CAN devices are still missing. This patch series adds a generic CAN network device driver interface and, as a start, a few drivers. It is the result of the ongoing discussion and development of the Socket-CAN project hosted at the BerliOS web-server (http://developer.berlios.de/projects/socketcan). The patch series consists of the following patches: [PATCH 1/8] can: ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 8/8] can: Driver for the Freescale MSCAN controller
This patch adds the generic Socket-CAN driver for the MSCAN controller available on some Freescale processor chips like the PowerPC MPC5200, MPC512x or the m86k MC68HC12. It also includes an OF platform driver for the MPC5200. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> --- drivers/net/can/Kconfig | 20 + drivers/net/can/Makefile | 1 + drivers/net/can/mscan/Makefile | 9 + drivers/net/can/mscan/mpc52xx_can.c | 293 +++++++++++++++ ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 1/8] can: Documentation for the CAN device driver ...
This patch documents the CAN netowrk device drivers interface, removes obsolete documentation and adds some useful links to CAN resources. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> --- Documentation/networking/can.txt | 214 ++++++++++++++++++++++++++++++------- 1 files changed, 173 insertions(+), 41 deletions(-) diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt index 2035bc4..d2cc3de ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 3/8] can: CAN Network device driver and SYSFS interface
The CAN network device driver interface provides a generic interface to setup, configure and monitor CAN network devices. It exports a set of common data structures and functions, which all real CAN network device drivers should use. Please have a look to the SJA1000 or MSCAN driver to understand how to use them. The name of the module is can-dev.ko. Furthermore adds a SYSFS interface to set and get CAN device properties. When the CAN device is registered, a set of SYSFS files is created ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 4/8] can: Driver for the SJA1000 CAN controller
This patch adds the generic Socket-CAN driver for the Philips SJA1000 full CAN controller. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> --- drivers/net/can/Kconfig | 11 + drivers/net/can/Makefile | 2 + drivers/net/can/sja1000/Makefile | 7 + drivers/net/can/sja1000/sja1000.c | 681 +++++++++++++++++++++++++++++++++++++ drivers/net/can/sja1000/sja1000.h | 177 ++++++++++ 5 files changed, ...
Feb 19, 12:01 pm 2009
Jonathan Corbet
Re: [PATCH 3/8] can: CAN Network device driver and SYSFS ...
On Thu, 19 Feb 2009 20:01:17 +0100 I can only assume that this calculation means something to somebody. I guess there's no hope for those of use too lazy to go read the Bosch spec, This function, too, is pretty well impenetrable. I couldn't possibly try This is the first mention I see of a lock in this file. What are your locking rules? There doesn't seem to be a lot of locking going on... In I do believe that function is *freeing* space...? The allocation function initializes a ...
Feb 19, 4:49 pm 2009
Wolfgang Grandegger
[PATCH 7/8] can: SJA1000 driver for Kvaser PCI cards
The patch adds support for the PCI cards: PCIcan and PCIcanx (1, 2 or 4 channel) from Kvaser (http://www.kvaser.com). Signed-off-by: Per Dalen <per.dalen@cnw.se> Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> --- drivers/net/can/Kconfig | 7 + drivers/net/can/sja1000/Makefile | 1 + drivers/net/can/sja1000/kvaser_pci.c | 415 ++++++++++++++++++++++++++++++++++ 3 files changed, 423 insertions(+), 0 deletions(-) create mode 100644 ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 6/8] can: SJA1000 driver for EMS PCI cards
The patch adds support for the one or two channel CPC-PCI and CPC-PCIe cards from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). Signed-off-by: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Markus Plessing <plessing@ems-wuensche.com> Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> --- drivers/net/can/Kconfig | 7 + drivers/net/can/sja1000/Makefile | 1 + drivers/net/can/sja1000/ems_pci.c | 328 +++++++++++++++++++++++++++++++++++++ 3 files changed, 336 ...
Feb 19, 12:01 pm 2009
Wolfgang Grandegger
[PATCH 5/8] can: SJA1000 generic platform bus driver
This driver adds support for the SJA1000 chips connected to the "platform bus", which can be found on various embedded systems. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> --- drivers/net/can/Kconfig | 10 ++ drivers/net/can/sja1000/Makefile | 1 + ...
Feb 19, 12:01 pm 2009
Thomas Klein
[PATCH] ehea: Fix memory hotplug handling
Added missing set_bit() to disable data transfer when a memchange notification is handled Signed-off-by: Thomas Klein <tklein@de.ibm.com> --- diff -Nurp -X dontdiff linux-2.6.29-rc4/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.29-rc4/drivers/net/ehea/ehea.h 2009-02-18 16:59:54.000000000 +0100 +++ patched_kernel/drivers/net/ehea/ehea.h 2009-02-18 17:01:12.000000000 +0100 @@ -40,7 +40,7 @@ #include <asm/io.h> #define DRV_NAME "ehea" -#define ...
Feb 19, 4:32 am 2009
Stephen Hemminger
Re: [PATCH] iproute2: Fix no default display of ip4ip6 tunnels
On Thu, 19 Feb 2009 12:06:33 +0530 it is possible to see all with ip -6 tunnel show mode all --
Feb 19, 9:52 am 2009
Srivats P
[PATCH] iproute2: Fix no default display of ip4ip6 tunnels
From: Srivats P. <srivats.p@conexant.com> "ip -6 tunnel show" displays only ip6ip6 tunnels not ip4ip6 tunnels - it should display all irrespective of proto. This is because the default tunnel proto is initialized to IPPROTO_IPV6 in ip6_tnl_parm_init() which is fine for a 'add' command but not for 'show'. This patch overrides proto with 0 signifying 'mode any' as the default in case of a 'show'. Signed-off-by: Srivats P. <srivats.p@conexant.com> --- diff --git a/ip/ip6tunnel.c ...
Feb 18, 11:36 pm 2009
Stefan Richter
Re: [PATCHv2 00/11]Get rid of all the old macro DMA_nBIT ...
Shouldn't you organize the patch series per subsystem, not per old macro? And then Cc the respective maintainers? As it stands, the patches cannot be routed through the normal channels; yet there is no fundamental reason to handle these patches differently from normal patches. -- Stefan Richter -=====-==--= --=- =--== http://arcgraph.de/sr/ --
Feb 19, 5:47 am 2009
Yang Hongyang
[PATCH 00/12]Next:Get rid of all the old micro DMA_XXBIT ...
Replace all DMA_XXBIT_MASK micro with new DMA_BIT_MASK(n) micro 01:Replace all DMA_64BIT_MASK micro with DMA_BIT_MASK(64) 02:Replace all DMA_48BIT_MASK micro with DMA_BIT_MASK(48) 03:Replace all DMA_40BIT_MASK micro with DMA_BIT_MASK(40) 04:Replace all DMA_39BIT_MASK micro with DMA_BIT_MASK(39) 05:Replace all DMA_35BIT_MASK micro with DMA_BIT_MASK(35) 06:Replace all DMA_32BIT_MASK micro with DMA_BIT_MASK(32) 07:Replace all DMA_31BIT_MASK micro with DMA_BIT_MASK(31) 08:Replace all ...
Feb 18, 11:35 pm 2009
Ingo Molnar
Re: [PATCHv2 00/11]Get rid of all the old macro DMA_nBIT ...
Traditionally such trivially correct convert-it-all patches lived in -mm and were merged upstream in one go, near the end of the merge window. Sprinkling it into dozens of subsystem channels (some of which are very unreliable) is neither good nor an economic use of our resources. Patches that can potentially cause trouble should go via the usual channels. Ingo --
Feb 19, 8:08 am 2009
Andrew Morton
Re: [PATCHv2 00/11]Get rid of all the old macro DMA_nBIT ...
On Thu, 19 Feb 2009 16:08:51 +0100 yes, fun. I hit several rejects merging these, easily fixed. After this lot is merged there will probably be a few unconverted sites which will need a second pass. After that we can think about removing the old #defines. --
Feb 19, 4:14 pm 2009
Yang Hongyang
[PATCH 05/12]Replace all DMA_35BIT_MASK micro with DMA_B ...
Replace all DMA_35BIT_MASK micro with DMA_BIT_MASK(35) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/netxen/netxen_nic_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 8bea4cb..2d4e41b 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -183,8 +183,8 @@ static int nx_set_dma_mask(struct netxen_adapter ...
Feb 18, 11:45 pm 2009
Stefan Richter
Re: [PATCHv2 06/11]Replace all DMA_32BIT_MASK macro with ...
this hunk Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de> -- Stefan Richter -=====-==--= --=- =--== http://arcgraph.de/sr/ --
Feb 19, 5:50 am 2009
Yang Hongyang
Re: [PATCH 00/12]Next:Get rid of all the old micro DMA_X ...
Will fix,Thank you!~ -- Regards Yang Hongyang --
Feb 19, 1:52 am 2009
Yang Hongyang
[PATCH 02/12]Replace all DMA_48BIT_MASK micro with DMA_B ...
Replace all DMA_48BIT_MASK micro with DMA_BIT_MASK(48) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/dl2k.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c index c749e9f..4a1b554 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/dl2k.c @@ -714,7 +714,7 @@ rio_interrupt (int irq, void *dev_instance) static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) { - return ...
Feb 18, 11:40 pm 2009
Yang Hongyang
Re: [PATCH 11/12]Remove defines of DMA_XXBIT_MASK micro
That's a good idea,Seems it's nessary to keep these old defines. I will resend the patch with s/micro/macro typo fix and keep these old defines,Thanks Ingo!~ -- Regards Yang Hongyang --
Feb 19, 1:56 am 2009
Yang Hongyang
[PATCH 12/12]Update related documentations
Update related documentations Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- Documentation/DMA-mapping.txt | 18 +++++++++--------- .../sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt index b2a4d6d..01f24e9 100644 --- a/Documentation/DMA-mapping.txt +++ b/Documentation/DMA-mapping.txt @@ -136,7 +136,7 @@ exactly ...
Feb 18, 11:55 pm 2009
Yang Hongyang
[PATCH 11/12]Remove defines of DMA_XXBIT_MASK micro
Remove defines of DMA_XXBIT_MASK micro Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- include/linux/dma-mapping.h | 20 +------------------- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index f238c7e..70f9c63 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -13,27 +13,9 @@ enum dma_data_direction { DMA_NONE = 3, }; +/*use DMA_BIT_MASK(n) within your driver instead ...
Feb 18, 11:54 pm 2009
Yang Hongyang
[PATCH 07/12]Replace all DMA_31BIT_MASK micro with DMA_B ...
Replace all DMA_31BIT_MASK micro with DMA_BIT_MASK(31) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/scsi/aacraid/commsup.c | 4 ++-- drivers/scsi/aacraid/linit.c | 4 ++-- drivers/usb/host/ehci-pci.c | 2 +- sound/pci/ali5451/ali5451.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index 3b69c2d..956261f 100644 --- a/drivers/scsi/aacraid/commsup.c +++ ...
Feb 18, 11:48 pm 2009
Yang Hongyang
[PATCH 03/12]Replace all DMA_40BIT_MASK micro with DMA_B ...
Replace all DMA_40BIT_MASK micro with DMA_BIT_MASK(40) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/ia64/kernel/pci-dma.c | 2 +- arch/x86/kernel/pci-dma.c | 2 +- drivers/net/bnx2.c | 2 +- drivers/net/enic/enic_main.c | 4 ++-- drivers/net/ipg.c | 2 +- drivers/net/tg3.c | 6 +++--- drivers/scsi/sym53c8xx_2/sym_hipd.h | 2 +- 7 files changed, 10 insertions(+), 10 ...
Feb 18, 11:41 pm 2009
Yang Hongyang
[PATCH 08/12]Replace all DMA_30BIT_MASK micro with DMA_B ...
Replace all DMA_30BIT_MASK micro with DMA_BIT_MASK(30) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/b44.c | 14 +++++++------- drivers/net/wireless/b43/dma.c | 6 +++--- drivers/net/wireless/b43legacy/dma.c | 6 +++--- sound/pci/sis7019.c | 2 +- sound/pci/trident/trident_main.c | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/net/b44.c b/drivers/net/b44.c index ...
Feb 18, 11:49 pm 2009
Yang Hongyang
[PATCH 06/12]Replace all DMA_32BIT_MASK micro with DMA_B ...
Replace all DMA_32BIT_MASK micro with DMA_BIT_MASK(32) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/arm/mach-davinci/board-evm.c | 4 +- arch/arm/mach-davinci/usb.c | 4 +- arch/arm/mach-kirkwood/common.c | 2 +- arch/arm/mach-orion5x/common.c | 2 +- arch/arm/plat-iop/adma.c | 2 +- arch/avr32/boards/hammerhead/flash.c | 4 +- arch/avr32/mach-at32ap/at32ap700x.c ...
Feb 18, 11:46 pm 2009
Yang Hongyang
[PATCH 09/12]Replace all DMA_28BIT_MASK micro with DMA_B ...
Replace all DMA_28BIT_MASK micro with DMA_BIT_MASK(28) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/wan/wanxl.c | 4 ++-- sound/pci/als300.c | 4 ++-- sound/pci/emu10k1/emu10k1x.c | 4 ++-- sound/pci/es1968.c | 4 ++-- sound/pci/ice1712/ice1712.c | 4 ++-- sound/pci/maestro3.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index ...
Feb 18, 11:51 pm 2009
Yang Hongyang
[PATCHv2 01/11]Replace all DMA_64BIT_MASK macro with DMA ...
Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/arm/mach-iop13xx/setup.c | 8 ++++---- arch/arm/mach-iop13xx/tpmi.c | 10 +++++----- arch/arm/mach-kirkwood/common.c | 8 ++++---- arch/arm/mach-orion5x/common.c | 4 ++-- arch/arm/plat-iop/adma.c | 6 +++--- arch/ia64/sn/pci/pci_dma.c | 2 +- ...
Feb 19, 2:36 am 2009
Yang Hongyang
[PATCHv2 06/11]Replace all DMA_32BIT_MASK macro with DMA ...
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/arm/mach-davinci/board-evm.c | 4 +- arch/arm/mach-davinci/usb.c | 4 +- arch/arm/mach-kirkwood/common.c | 2 +- arch/arm/mach-orion5x/common.c | 2 +- arch/arm/plat-iop/adma.c | 2 +- arch/avr32/boards/hammerhead/flash.c | 4 +- arch/avr32/mach-at32ap/at32ap700x.c ...
Feb 19, 2:45 am 2009
Yang Hongyang
[PATCH 01/12]Replace all DMA_64BIT_MASK micro with DMA_B ...
Replace all DMA_64BIT_MASK micro with DMA_BIT_MASK(64) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/arm/mach-iop13xx/setup.c | 8 ++++---- arch/arm/mach-iop13xx/tpmi.c | 10 +++++----- arch/arm/mach-kirkwood/common.c | 8 ++++---- arch/arm/mach-orion5x/common.c | 4 ++-- arch/arm/plat-iop/adma.c | 6 +++--- arch/ia64/sn/pci/pci_dma.c | 2 +- ...
Feb 18, 11:38 pm 2009
Yang Hongyang
[PATCHv2 07/11]Replace all DMA_31BIT_MASK macro with DMA ...
Replace all DMA_31BIT_MASK macro with DMA_BIT_MASK(31) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/scsi/aacraid/commsup.c | 4 ++-- drivers/scsi/aacraid/linit.c | 4 ++-- drivers/usb/host/ehci-pci.c | 2 +- sound/pci/ali5451/ali5451.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index 3b69c2d..956261f 100644 --- a/drivers/scsi/aacraid/commsup.c +++ ...
Feb 19, 2:47 am 2009
Yang Hongyang
[PATCHv2 11/11]Update the old macro DMA_nBIT_MASK relate ...
Update the old macro DMA_nBIT_MASK related documentations Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- Documentation/DMA-mapping.txt | 18 +++++++++--------- .../sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt index b2a4d6d..01f24e9 100644 --- a/Documentation/DMA-mapping.txt +++ b/Documentation/DMA-mapping.txt @@ ...
Feb 19, 2:53 am 2009
Yang Hongyang
[PATCH 10/12]Replace all DMA_24BIT_MASK micro with DMA_B ...
Replace all DMA_24BIT_MASK micro with DMA_BIT_MASK(24) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/ia64/kernel/pci-dma.c | 2 +- arch/x86/include/asm/dma-mapping.h | 4 ++-- arch/x86/kernel/pci-dma.c | 2 +- drivers/base/isa.c | 2 +- drivers/pnp/card.c | 2 +- drivers/pnp/core.c | 2 +- sound/pci/als4000.c | 4 ++-- sound/pci/azt3328.c | 4 ++-- ...
Feb 18, 11:53 pm 2009
Américo
Re: [PATCH 00/12]Next:Get rid of all the old micro DMA_X ...
s/micro/macro/ -- "Against stupidity, the gods themselves, contend in vain." --
Feb 18, 11:49 pm 2009
Yang Hongyang
[PATCHv2 08/11]Replace all DMA_30BIT_MASK macro with DMA ...
Replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/b44.c | 14 +++++++------- drivers/net/wireless/b43/dma.c | 6 +++--- drivers/net/wireless/b43legacy/dma.c | 6 +++--- sound/pci/sis7019.c | 2 +- sound/pci/trident/trident_main.c | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/net/b44.c b/drivers/net/b44.c index ...
Feb 19, 2:48 am 2009
Yang Hongyang
[PATCH 04/12]Replace all DMA_39BIT_MASK micro with DMA_B ...
Replace all DMA_39BIT_MASK micro with DMA_BIT_MASK(39) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/forcedeth.c | 4 ++-- drivers/net/netxen/netxen_nic_main.c | 8 ++++---- drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 5b910cf..069d87d 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c @@ -5534,12 ...
Feb 18, 11:44 pm 2009
Yang Hongyang
[PATCHv2 10/11]Replace all DMA_24BIT_MASK macro with DMA ...
Replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/ia64/kernel/pci-dma.c | 2 +- arch/x86/include/asm/dma-mapping.h | 4 ++-- arch/x86/kernel/pci-dma.c | 2 +- drivers/base/isa.c | 2 +- drivers/pnp/card.c | 2 +- drivers/pnp/core.c | 2 +- sound/pci/als4000.c | 4 ++-- sound/pci/azt3328.c | 4 ++-- ...
Feb 19, 2:51 am 2009
Yang Hongyang
[PATCHv2 02/11]Replace all DMA_48BIT_MASK macro with DMA ...
Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/dl2k.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c index c749e9f..4a1b554 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/dl2k.c @@ -714,7 +714,7 @@ rio_interrupt (int irq, void *dev_instance) static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) { - return ...
Feb 19, 2:38 am 2009
Yang Hongyang
[PATCHv2 09/11]Replace all DMA_28BIT_MASK macro with DMA ...
Replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/wan/wanxl.c | 4 ++-- sound/pci/als300.c | 4 ++-- sound/pci/emu10k1/emu10k1x.c | 4 ++-- sound/pci/es1968.c | 4 ++-- sound/pci/ice1712/ice1712.c | 4 ++-- sound/pci/maestro3.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index ...
Feb 19, 2:50 am 2009
Ingo Molnar
Re: [PATCH 11/12]Remove defines of DMA_XXBIT_MASK micro
Looks good beyond the s/micro/macro typo fix, but i'd suggest to keep these old defines for one more kernel cycle, then do a final removal of all remaining uses, in a single patch. That way we'll save ourselves from quite a bit of unnecessary build breakages (as your patchset shows there's still a lot of users of the old macros), as these definitions get moved around, reintroduced, etc. Conflict resolution becomes easier as well - if such a patch conflicts with some ongoing work ...
Feb 19, 1:14 am 2009
Yang Hongyang
[PATCHv2 00/11]Get rid of all the old macro DMA_nBIT_MAS ...
v1->v2:fix s/micro/macro typo and keep the old defines of DMA_nBIT_MASK ---------------------- Replace all DMA_nBIT_MASK macro with the new DMA_BIT_MASK(n) macro 01:Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64) 02:Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48) 03:Replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40) 04:Replace all DMA_39BIT_MASK macro with DMA_BIT_MASK(39) 05:Replace all DMA_35BIT_MASK macro with DMA_BIT_MASK(35) 06:Replace all DMA_32BIT_MASK ...
Feb 19, 2:32 am 2009
Yang Hongyang
[PATCHv2 04/11]Replace all DMA_39BIT_MASK macro with DMA ...
Replace all DMA_39BIT_MASK macro with DMA_BIT_MASK(39) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/forcedeth.c | 4 ++-- drivers/net/netxen/netxen_nic_main.c | 8 ++++---- drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 5b910cf..069d87d 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c @@ -5534,12 ...
Feb 19, 2:42 am 2009
Yang Hongyang
[PATCHv2 05/11]Replace all DMA_35BIT_MASK macro with DMA ...
Replace all DMA_35BIT_MASK macro with DMA_BIT_MASK(35) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- drivers/net/netxen/netxen_nic_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 8bea4cb..2d4e41b 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -183,8 +183,8 @@ static int nx_set_dma_mask(struct netxen_adapter ...
Feb 19, 2:43 am 2009
Yang Hongyang
[PATCHv2 03/11]Replace all DMA_40BIT_MASK macro with DMA ...
Replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> --- arch/ia64/kernel/pci-dma.c | 2 +- arch/x86/kernel/pci-dma.c | 2 +- drivers/net/bnx2.c | 2 +- drivers/net/enic/enic_main.c | 4 ++-- drivers/net/ipg.c | 2 +- drivers/net/tg3.c | 6 +++--- drivers/scsi/sym53c8xx_2/sym_hipd.h | 2 +- 7 files changed, 10 insertions(+), 10 ...
Feb 19, 2:40 am 2009
David Miller
Re: [PATCH 2/2] niu: improve ethtool support for gigabit ...
From: Constantin Baranov <baranov@mercdev.com> Looks good, patch applied, thanks. --
Feb 18, 6:53 pm 2009
David Miller
Re: [PATCH 1/2] niu: fix PHY template choice for 10G copper
From: Constantin Baranov <baranov@mercdev.com> 10g copper cards pretty much don't exist, which is probably why nobody has hit this problem :-) Patch applied, thanks. --
Feb 18, 6:53 pm 2009
Ханкин Константин
Re: Why linux keeps connected routes when link goes down
Well. Why routes are not in kernel table when interface is DOWN? And why routes are still alive if interface is UP, but not RUNNING? I think it's right when I can't send anything through interface when there is no link. But now I have no link and a route to some network with the highest metric -- Konstantin E-mail homecreate@list.ru Jabber homecreate@jabber.ru --
Feb 18, 11:22 pm 2009
Stephen Hemminger
Re: Why linux keeps connected routes when link goes down
On Thu, 19 Feb 2009 02:03:40 +0500 There are patches in Vyatta version of Quagga to what you want. They have been submitted to quagga-developers but the community process on quagga is much slower than the kernel. --
Feb 18, 5:04 pm 2009
Henk Stegeman
Re: net_device_ops support in bridging and fec_mpc52xx.c
I must have made a mistake when I tested the previous patch, I discovered later it still had errors: - I had accidentally removed the base address in the fec_mpc52xx driver. - The priv->phydev pointer was sometimes not initialized (NULL) but still passed by the fec_mpc52xx driver, this pointer is then used unchecked by the eth_tool_* functions (used by bridging to determine port priority). As far as I see this depends on whether mpc52xx_fec_open (or mpc52xx_fec_close) is called which in turn ...
Feb 19, 2:45 am 2009
Herbert Xu
Re: LRO restructuring?
The target is to get GRO into 2.6.30, and have all LRO drivers I'd like to see more performance data on the forwarding side. The act of aggregation isn't exactly free so it very much depends on what you're forwarding. The driver for all this work is bridging used for virtualisation If packet length changes due to NAT then we're no loner bound by the end-to-end restriction so we can do whatever we want. For GRO we treat it in exactly the same way as a GSO packet that undergoes NAT. ...
Feb 19, 6:53 am 2009
David Miller
Re: [PATCH] tcp: remove obsoleted comment about differen ...
From: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi> Applied, thanks Ilpo. --
Feb 18, 6:45 pm 2009
Roland Dreier
Re: [PATCH] RDMA/cxgb3: logical-/bit-or confusion?
> - ep->mpa_attr.crc_enabled = (mpa->flags & MPA_CRC) | crc_enabled ? 1 : 0; > + ep->mpa_attr.crc_enabled = (mpa->flags & MPA_CRC) || crc_enabled ? 1 : 0; > - ep->mpa_attr.crc_enabled = (mpa->flags & MPA_CRC) | crc_enabled ? 1 : 0; > + ep->mpa_attr.crc_enabled = (mpa->flags & MPA_CRC) || crc_enabled ? 1 : 0; So as I said before, I guess this change is fine, except: add/remove: 0/0 grow/shrink: 1/0 up/down: 18/0 (18) function old new ...
Feb 18, 5:37 pm 2009
Steve Wise
Re: [PATCH] RDMA/cxgb3: logical-/bit-or confusion?
It does not bother me to leave the code as-is. Roel, Was this found by code inspection or some tool that is run on the code? --
Feb 18, 5:53 pm 2009
David Miller
Re: [net-next PATCH] e1000e: remove workaround for e1000 ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Applied, thanks. --
Feb 18, 8:34 pm 2009
David Miller
Re: [net-next PATCH] igb: remove LRO Kconfig option
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Applied. --
Feb 18, 6:56 pm 2009
David Miller
Re: [PATCH] net: Optimize skb_tx_hash() by eliminating a ...
From: Krishna Kumar <krikku@gmail.com> Applied to net-next-2.6, thank you! --
Feb 18, 6:55 pm 2009
Eric Dumazet
Re: [PATCH] iptables: lock free counters
Acked-by: Eric Dumazet <dada1@cosmosbay.com> Sucessfully tested on my dual quad core machine too, but iptables only (no ipv6 here) BTW, my new "tbench 8" result is 2450 MB/s, (it was 2150 MB/s not so long ago) --
Feb 19, 4:46 pm 2009
Rick Jones
Re: [PATCH] iptables: lock free counters
Do you folks need/want further testing against the 32-core setup? --
Feb 19, 4:56 pm 2009
Stephen Hemminger
[PATCH] iptables: lock free counters
The reader/writer lock in ip_tables is acquired in the critical path of processing packets and is one of the reasons just loading iptables can cause a 20% performance loss. The rwlock serves two functions: 1) it prevents changes to table state (xt_replace) while table is in use. This is now handled by doing rcu on the xt_table. When table is replaced, the new table(s) are put in and the old one table(s) are freed after RCU period. 2) it provides synchronization when accesing the ...
Feb 19, 12:47 pm 2009
Stephen Hemminger
Re: [RFT 4/4] netfilter: Get rid of central rwlock in tc ...
TCP connection tracking suffers of huge contention on a global rwlock, used to protect tcp conntracking state. As each tcp conntrack state have no relations between each others, we can switch to fine grained lock, using a spinlock per "struct ip_ct_tcp" tcp_print_conntrack() dont need to lock anything to read ct->proto.tcp.state, so speedup /proc/net/ip_conntrack as well. In this version the lock is placed in a 4 byte whole in the nf_conntrack structure. This means no size change, and same ...
Feb 19, 3:03 pm 2009
Rusty Russell
Re: [RFC v1] virtio: add virtio-over-PCI driver
Probably. We have unlimited bits in lguest and s390, but 128 is reasonable for the forseeable future (if not, you end up using bit 128 to mean "look Well, virtio in general is guest-host asymmetric. I originally explored symmetry, but it didn't seem to offer any concrete advantages, so we didn't require it. You aren't actually directly connecting two guests, are you? So this is just a simplification for your implementation? You could always add a VIRTIO_NET_F_MRG_TXBUF which did what you ...
Feb 19, 4:18 am 2009
Kumar Gala
Re: [RFC v1] virtio: add virtio-over-PCI driver
so we can deal with 85xx as well. We just need to isolate the 83xx specific bits (message usage) - k --
Feb 19, 9:51 am 2009
Ira Snyder
Re: [RFC v1] virtio: add virtio-over-PCI driver
Ok. There currently isn't an interface to access more than 32 bits I'm not connecting two guests directly. My eventual setup will have a single x86 computer (the host) and many guest systems. I don't care if the guests cannot communicate between each other, just that they can communicate with the host. I wanted to avoid the extra trip to userspace, so I just connected two instances of virtio_net together. This way you just recv packets in the kernel, rather than jumping to userspace and ...
Feb 19, 9:49 am 2009
Ira Snyder
Re: [RFC v1] virtio: add virtio-over-PCI driver
You should be able to build a kernel with support for both host and guest operation, and then use the device tree to switch which driver you get. The host driver won't be used without a PCI bus, and the guest I looked at the cardnet driver before I implemented my PCINet driver. I hunch it would be rejected for the same reasons, but maybe not. Also, it makes no use of DMA, which is critical for good transfer speed. Using memcpy() in PCINet gives performance around 10 mbit/sec, which ...
Feb 19, 9:14 am 2009
Ira Snyder
Re: [RFC v1] virtio: add virtio-over-PCI driver
In fact, most of the driver has nothing to do with hardware, and everything to do with managing memory. Most of the driver could be shared between implementations. The only things that would be hardware specific are setting up the descriptor memory, and raising/handling interrupts. I just wanted to get something working and out here to discuss. I figured that more hardware support, features, etc. could come later. Just like everything else in the kernel, I'm sure this will have to evolve ...
Feb 19, 10:03 am 2009
Zang Roy-R61911
RE: [RFC v1] virtio: add virtio-over-PCI driver
I suppose we need to build the kernel twice. one for vop_host (on host with pci enabled) and the other is for vop_fsl ( on agent with pci disabled). Is it possible to build one image for both host and agent. We do not scan the pci bus if the controller is configured to agent. Also, is it possible to include mpc85xx architecture? They should be same. There is some code for 85xx in Fresscale ...
Feb 18, 11:10 pm 2009
Zang Roy-R61911 Feb 18, 11:13 pm 2009
Jay Vosburgh
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
Yes, module load error, but not a build error. The build with CONFIG_IPV6 is fine, and bonding loads fine as long as ipv6 is loaded. The issue arises when the ipv6 module is prevented from loading; in that case, bonding cannot load because it now requires functionality from ipv6. -J --- -Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com --
Feb 19, 11:20 am 2009
Randy Dunlap
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
Just for clarification, is this a run-time (module load-time) error but not a build error? -- ~Randy --
Feb 19, 11:15 am 2009
Vlad Yasevich
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
Is that what people really want to block? Or do they want to prevent the use of IPv6 in environments where IPv6 is not supported? If it's this case, then simply not configuring any IPv6 addresses on the system interfaces will make it seem as if IPv6 is not there. Without IPv6 addresses, AF_INET6 sockets are the same as AF_INET. I really see no reason to block them. Any legacy apps that people might worry about don't use this type socket any way. One doesn't even need to worry about ...
Feb 18, 6:11 pm 2009
Herbert Xu
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
OK we should definitely fix that. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Feb 19, 6:32 am 2009
Andrey Borzenkov
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
Yes, this is run-time error. If IPV6 is disabled during kernel build,=20 everything works; but the error was seen on distribution kernel which=20 includes IPV6.
Feb 19, 11:19 am 2009
Herbert Xu
Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5
We already have a way: echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6 Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Feb 19, 6:29 am 2009
David Miller
Re: [PATCH net-next] e1000: Removing the unused macro PA ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Applied, thanks everyone. --
Feb 19, 3:39 pm 2009
David Miller
Re: [PATCH] atm: add missing parentheses
From: Roel Kluin <roel.kluin@gmail.com> Applied, thanks. --
Feb 18, 8:35 pm 2009
David Miller
Re: [PATCH] tg3: fix typo && -> || in drivers/net/tg3.c
From: Wei Yongjun <yjwei@cn.fujitsu.com> Roel Kluin already posted a fix for this, thank you. --
Feb 18, 6:44 pm 2009
David Miller
Re: [PATCH] atl1c:Atheros L1C Gigabit Ethernet driver
From: <jie.yang@atheros.com> Patch applied, thank you very much. --
Feb 18, 6:30 pm 2009
Lennert Buytenhek
Re: [PATCH v2] net/mv643xx: don't disable the mib timer ...
Acked-by: Lennert Buytenhek <buytenh@marvell.com> --
Feb 18, 6:05 pm 2009
David Miller
Re: [PATCH v2] net/mv643xx: don't disable the mib timer ...
From: Lennert Buytenhek <buytenh@wantstofly.org> Also applied, thanks! --
Feb 18, 6:37 pm 2009
Jarek Poplawski
Re: mac-redirect
I guess you need to use ebtables dnat for this yet. Cheers, Jarek P. --
Feb 19, 12:30 pm 2009
David Miller
Re: [PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.
From: Divy Le Ray <divy@chelsio.com> Adding new IDs is something we can do in net-2.6, so I'm going to add this patch there. Let me know if you don't want me to do that, or if there is some dependency with net-next-2.6 that I'm not seeing. Thanks! --
Feb 18, 6:48 pm 2009
Divy Le Ray
Re: [PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.
Hi Dave, Applying it against net-2.6 is all good. Cheers, Divy --
Feb 18, 7:25 pm 2009
David Miller
Re: [PATCH] ATM: misplaced parentheses?
From: Roel Kluin <roel.kluin@gmail.com> Applied. --
Feb 18, 6:41 pm 2009
David Miller
Re: [PATCH] net/mv643xx: use GFP_ATOMIC while atomic
From: Lennert Buytenhek <buytenh@wantstofly.org> Applied. --
Feb 18, 6:37 pm 2009
David Miller
Re: [PATCH] drivers/net/sfc: fix sparse warnings: Should ...
From: Hannes Eder <hannes@hanneseder.net> Applied to net-next-2.6, thanks. --
Feb 18, 6:49 pm 2009
David Miller
Re: [PATCH 23/43 v2] drivers/net/igb: fix sparse warning ...
From: Hannes Eder <hannes@hanneseder.net> Applied, thanks. --
Feb 18, 8:36 pm 2009
David Miller
Re: [PATCH] genetlink: introduce pre/post methods
From: Johannes Berg <johannes@sipsolutions.net> I'm fine with this: Acked-by: David S. Miller <davem@davemloft.net> Feel free to toss it into the wireless tree. --
Feb 18, 6:33 pm 2009
Lennert Buytenhek
Re: [PATCH 0/6] mv643xx_eth updates
Hi David, Sorry for being slow with responding to this. I tried a routing test on an ARM board that uses mv643xx_eth on an almost vanilla (some arch/arm changes) 2.6.29-rc3 for each of these three cases: 1. LRO disabled in Kconfig 2. LRO enabled in Kconfig, !NETIF_F_LRO 3. LRO enabled in Kconfig, NETIF_F_LRO I'm injecting 300kpps on one interface (lan1), and routing the packets to another interface (lan2). lan[1234] are virtual (DSA) netdevs that are tagged over eth0. I'm reading sw ...
Feb 19, 3:43 pm 2009
Evgeniy Polyakov
Re: Passive OS fingerprint xtables match.
It is not that simple. IPv6 was never a out-of-the-box solution, and in case of this module we either need to setup a router, or use ipv6-aware application (fortunately telnet knows that in the recent distros). -- Evgeniy Polyakov --
Feb 19, 4:56 am 2009
Jarek Poplawski
Re: problem with IPoA (CLIP), NAT, and VLANS
On 18-02-2009 22:05, Jarek Poplawski wrote: ...And the first step could be trying skb_copy() in the driver's ->hard_start_xmit() callback (of course, if you prefer data safety over perfomance). Jarek P. --
Feb 19, 12:30 am 2009
David Miller
Re: [PATCH v2] Re: problem with IPoA (CLIP), NAT, and VLANS
From: Jarek Poplawski <jarkao2@gmail.com> Patch applied, this is correct even though it doesn't fix the bug. I'm pretty sure that packet corruption is a driver error of some kind rather than some kind of generic problem. --
Feb 19, 12:31 am 2009
David Miller
Re: [PATCH] TG3: &&/|| confusion
From: "Matt Carlson" <mcarlson@broadcom.com> Applied. --
Feb 18, 6:42 pm 2009
Herbert Xu
Re: ipsec and netfilter
They do go through netfilter again after decap in transport mode: int xfrm4_transport_finish(struct sk_buff *skb, int async) { struct iphdr *iph = ip_hdr(skb); iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol; #ifndef CONFIG_NETFILTER if (!async) return -iph->protocol; #endif __skb_push(skb, skb->data - skb_network_header(skb)); iph->tot_len = htons(skb->len); ip_send_check(iph); NF_HOOK(PF_INET, NF_INET_PRE_ROUTING, skb, skb->dev, ...
Feb 19, 5:57 am 2009
Stephen Hemminger
Re: [PATCH] iproute2: 0 out memory for tc_skbedit struct ...
On Mon, 9 Feb 2009 17:02:48 -0800 Similar fix just applied --
Feb 19, 10:00 am 2009
Patrick McHardy
Re: [PATCH] netfilter: unfold two loops in ip6_packet_match()
Also applied, thanks Eric. Are you going to send a new patch for ip_tables.c or should I just take the old one? --
Feb 19, 3:19 am 2009
Patrick McHardy Feb 19, 3:17 am 2009
Eric Dumazet
[PATCH] netfilter: unfold two loops in physdev_mt()
xt_physdev netfilter module can use an ifname_compare() helper so that two loops are unfolded. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> --- net/netfilter/xt_physdev.c | 32 +++++++++++++++++++++----------- 1 files changed, 21 insertions(+), 11 deletions(-) diff --git a/net/netfilter/xt_physdev.c b/net/netfilter/xt_physdev.c index 4b13ef7..44a234e 100644 --- a/net/netfilter/xt_physdev.c +++ b/net/netfilter/xt_physdev.c @@ -20,10 +20,27 @@ MODULE_DESCRIPTION("Xtables: Bridge ...
Feb 19, 1:00 am 2009
Eric Dumazet
[PATCH] netfilter: unfold two loops in ip6_packet_match()
ip6_tables netfilter module can use an ifname_compare() helper so that two loops are unfolded. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> --- net/ipv6/netfilter/ip6_tables.c | 33 +++++++++++++++++++----------- 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index a33485d..d64594b 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c @@ -89,6 +89,25 @@ ip6t_ext_hdr(u8 ...
Feb 19, 1:14 am 2009
previous daytodaynext day
February 18, 2009February 19, 2009February 20, 2009