Re: [PATCH] ummunotify: Userspace support for MMU notifications

2010-04-13 Thread Håkon Bugge
On Apr 13, 2010, at 1:59 , Jason Gunthorpe wrote: On Mon, Apr 12, 2010 at 04:03:59PM -0700, Andrew Morton wrote: As discussed in http://article.gmane.org/gmane.linux.drivers.openib/61925 and follow-up messages, libraries using RDMA would like to track precisely when application code

Weird board ID

2010-04-13 Thread Justin Clift
Hi all, Just received an old Topspin 2 port PCIe card (MTLP25208-C), using firmware 4.6.0 and thought I'd update it to the latest firmware before trying to do anything with it. However, the board id is being reported really strangely: $ sudo mstflint -d mthca0 q Image type:

[PATCH] opensm/osm_subnet.c: fixing some options to not hot-swappable

2010-04-13 Thread Yevgeny Kliteynik
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-Path: klit...@dev.mellanox.co.il X-OriginalArrivalTime: 13 Apr 2010 10:40:45.0762 (UTC) FILETIME=[C6063A20:01CADAF5] The following options are not hot-swappable: transaction_timeout transaction_retries

Re: [PATCH] opensm/osm_subnet.c: fixing some options to not hot-swappable

2010-04-13 Thread Sasha Khapyorsky
On 13:40 Tue 13 Apr , Yevgeny Kliteynik wrote: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-Path: klit...@dev.mellanox.co.il X-OriginalArrivalTime: 13 Apr 2010 10:40:45.0762 (UTC) FILETIME=[C6063A20:01CADAF5] The following options are not

Re: [infiniband-diags] [0/3] support --diff and --diffcheck in ibnetdiscover

2010-04-13 Thread Sasha Khapyorsky
On 16:08 Tue 13 Apr , Sasha Khapyorsky wrote: Would it be better to keep cache in a regular human readable ibnetdiscover output format, so '--diff' will be usable not just against cache, but also against a regular ibnetdiscover output files? BTW, such implementation could be simplified

Re: [PATCH v3 1/2] libibnetdisc: Convert to a multi-smp algorithm

2010-04-13 Thread Sasha Khapyorsky
On 13:46 Tue 13 Apr , Sasha Khapyorsky wrote: However see some comments and questions below. Another thought. What about API like: ibnd_discover_fabric(cosnt char *ca_name, unsigned port_num, struct ibnd_config *cfg); So libibnetdisc will be

Re: [PATCH] Dimension port order file support

2010-04-13 Thread Sasha Khapyorsky
On 15:32 Wed 24 Mar , Sasha Khapyorsky wrote: Hi Dale, On 18:06 Wed 03 Mar , Dale Purdy wrote: Provide a means to specify on a per switch basis the mapping (order) between switch ports and dimensions for Dimension Order Routing. This allows the DOR routing engine to be used

RE: two questions about RDMA-WRITE

2010-04-13 Thread Sean Hefty
(2) It takes a long time to finish rdma_disconnect work (about 10 seconds), so is it a reasonable time? This is long. How is your disconnect code structured? -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v3 1/2] libibnetdisc: Convert to a multi-smp algorithm

2010-04-13 Thread Ira Weiny
On Tue, 13 Apr 2010 13:46:58 +0300 Sasha Khapyorsky sas...@voltaire.com wrote: On 12:49 Thu 18 Feb , Ira Weiny wrote: From: Ira Weiny wei...@llnl.gov Date: Fri, 22 Jan 2010 17:33:30 -0800 Subject: [PATCH] libibnetdisc: Convert to a multi-smp algorithm v3: change

Re: [PATCH V3 0/2] Add support for enhanced atomic operations

2010-04-13 Thread Roland Dreier
Do you propose to use IB_ATOMIC_GLOB instead of IB_ATOMIC_HCA while setting atomic capability in the code below? props-atomic_cap = dev-dev-caps.flags MLX4_DEV_CAP_FLAG_ATOMIC ? IB_ATOMIC_HCA : IB_ATOMIC_NONE; Or add IB_MASKED_ATOMIC to ib_atomic_cap enum

Re: [PATCH] ummunotify: Userspace support for MMU notifications

2010-04-13 Thread Roland Dreier
I am not sure I agree with the premises here. ptMalloc and malloc hooks are not related to the issue in my opinion. User space library calls do not change virtual to physical mapping, system calls do. The following sys calls might change virtual to physical mapping: munmap(), mremap(),

Re: [PATCH] ummunotify: Userspace support for MMU notifications

2010-04-13 Thread Peter Zijlstra
On Tue, 2010-04-13 at 10:57 -0700, Roland Dreier wrote: Are those system calls the only possible way that virtual to physical mappings can change? Can't page migration or something like that potentially affect things? And even if you did have hooks into every system call that mattered (keep

Re: [PATCH v3 1/2] libibnetdisc: Convert to a multi-smp algorithm

2010-04-13 Thread Ira Weiny
On Tue, 13 Apr 2010 20:18:24 +0300 Sasha Khapyorsky sas...@voltaire.com wrote: On 13:46 Tue 13 Apr , Sasha Khapyorsky wrote: +static int recv_node_info(smp_engine_t *engine, ibnd_smp_t * smp, + uint8_t *mad, void *cb_data) +{ + ibnd_fabric_t *fabric =

Re: Socket Direct Protocol: help (2)

2010-04-13 Thread Steve Wise
Tung, Chien Tin wrote: NE020 supports 4 SGEs. I don't know enough about SDP to know why it is using this calculation for # of send_sge: #define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE 0x8000 ? 1 : 0x8000 / PAGE_SIZE) Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code

Re: [PATCH v3 1/2] libibnetdisc: Convert to a multi-smp algorithm

2010-04-13 Thread Ira Weiny
On Tue, 13 Apr 2010 16:25:31 +0300 Sasha Khapyorsky sas...@voltaire.com wrote: On 13:46 Tue 13 Apr , Sasha Khapyorsky wrote: However see some comments and questions below. Another thought. What about API like: ibnd_discover_fabric(cosnt char *ca_name, unsigned port_num,

Acupuncturists - 23,988 records 1,826 emails

2010-04-13 Thread zealot Minor
Oscar, Contact me at the email address below for a catalog of all our USA lists. Also, this week we are offering reduced costs for more than one list. Regards, Abby Lin Email Address: Albert.Shook @ expertdata2010.co.cc Forward email to rembox @ expertdata2010.co.cc to purge you

RE: RDMA CM problems, ib_find_cached_gid() fails

2010-04-13 Thread Sean Hefty
Putting in lots of printk messages, I see that the server machine indeed gets a connection request MAD, but that the ib_find_cached_gid() call inside of cma_acquire_dev() fails. Any ideas? What kernel version are you using, and are you trying to connect using IPv4 or IPv6 addresses? Can you

Re: [PATCH] ummunotify: Userspace support for MMU notifications

2010-04-13 Thread Håkon Bugge
On Apr 13, 2010, at 20:02 , Peter Zijlstra wrote: Yeah, virtual-physical maps can change through swapping, page migration, memory compaction, huge-page aggregation (the latter two not yet being upstream). Assuming this holds true, RDMA will not work. And with no RDMA, we do not need