From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BDCAC4161B for ; Tue, 20 Nov 2018 11:29:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58E402087E for ; Tue, 20 Nov 2018 11:29:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58E402087E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codewreck.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729252AbeKTV5t (ORCPT ); Tue, 20 Nov 2018 16:57:49 -0500 Received: from nautica.notk.org ([91.121.71.147]:48633 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbeKTV5t (ORCPT ); Tue, 20 Nov 2018 16:57:49 -0500 Received: by nautica.notk.org (Postfix, from userid 1001) id 299F6C009; Tue, 20 Nov 2018 12:29:08 +0100 (CET) Date: Tue, 20 Nov 2018 12:28:53 +0100 From: Dominique Martinet To: Dmitry Vyukov Cc: Leon Romanovsky , David Miller , Eric Van Hensbergen , LKML , Latchesar Ionkov , netdev , Ron Minnich , syzkaller-bugs , v9fs-developer@lists.sourceforge.net Subject: Re: 9p/RDMA for syzkaller (Was: BUG: corrupted list in p9_read_work) Message-ID: <20181120112853.GA1155@nautica> References: <20181010155814.GC20918@nautica> <20181011131045.GA32030@nautica> <20181011141928.GB32030@nautica> <20181012150855.GA22149@nautica> <20181117084649.GA24182@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry Vyukov wrote on Tue, Nov 20, 2018: > I don't understand most of the words here, so I probably won't be of help. > > Leon told me that there is some kind of software emulation RDMA > interface (CONFIG_RDMA_RXE?). Maybe it can be used to create an > emulated RDMA interface per test process and use it to communicate > with 9p client? Yes, rxe is what you made me look into and is what I was talking about here - the problem is I can't seem to figure how to use it *as udp* within a single machine. With two VMs or a remote outside of the VM when I try to open a RDMA connection with that software emulation I get nicely understandable udp packets ; but within a single VM there is nothing visible at the udp layer, even if I explicitely configure multiple interfaces and try to use one as rxe and another without it that would act as "outside" -- the kernel doesn't send anything to the normal interface like it normally would. There might be other ways around it (I'm starting to think very ugly things like really pretend to connect to an IP outside of the VM, but capture the outgoing traffic with pcap and forge the replies), but I'd rather not have to go to this extent... -- Dominique