From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by dpdk.org (Postfix) with ESMTP id 7874D2C06 for ; Wed, 3 Aug 2016 00:31:14 +0200 (CEST) Received: by mail-lf0-f43.google.com with SMTP id f93so148648703lfi.2 for ; Tue, 02 Aug 2016 15:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=bRM9qcLRc0ACQiPmnu8Q8hNuL1SvYRKJ7vTyyDPgmeg=; b=XRFzdHJVS09C5EQugvXquq9hyFVEnioJ6igJAV0etuOI2/eNcHHQvXaLAKC+Q4yjq3 7lOVzAZDGp+Er04k1EqP7RgxW7ICY3gM8q7eTXT3BCDOjLIPZjqfDtbJjI7rhDZ+kimZ tgXumPXc1EMCKef5LNejrdWEYEdwMXVcYfagMW57vo/MnxqHW81hl3jdiKbiy8oPrJxg NylVKR05RwVaLmSRWwFWjwhicREP0BmfCT+1g7qaY1PX/0lzuC9XwRL+j5hoal1KwWdN tUFo/ywkWoPH2f9gp5xIVSnelp+8INbkgPH3Lq7ojWGBA6uSgC7L2cyJg3p5A6mXigRt BnfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bRM9qcLRc0ACQiPmnu8Q8hNuL1SvYRKJ7vTyyDPgmeg=; b=W1IH+gtTUXYXa3cCE7y4ugDoh4bW75lwUeREoq/Tq9SzwBi6zwSPyiVbPXJhvjTm2X 6Os7wu776S8h727VHnHwiiWD6IZ+jDWnRmQab9xm3K1WnedfVNycq9K1AkntCTuJJ0EZ 3IuIc9DmAUmuSqbMrT7JflrSeoofbO7f9RgcCDey9KLaSMtWTo47seUJEoL35i+k48YN ntShmF4XiWVT/o38yXR8j/Jx7DjGP2KPkTMSQ6I0yQD0e9wdmAzVCZUU06bTk37pfR5Q AMv/cPWP4DSJj85KqhiYJtspqj3Ek3O0Ho2DUvzZpNv+Urag5sjRVtxCiTAllQt2QRIJ eKOQ== X-Gm-Message-State: AEkooutXQf7KRWVwpAbpE/DJC9+THq8z/mclAUq4ZWXjyYqOz4LIQFjyOvsBftgcRrx7tqLKe42B9qS2hybfPw== X-Received: by 10.46.71.69 with SMTP id u66mr19126762lja.14.1470177073956; Tue, 02 Aug 2016 15:31:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.29.2 with HTTP; Tue, 2 Aug 2016 15:31:13 -0700 (PDT) From: txcy uio Date: Tue, 2 Aug 2016 15:31:13 -0700 Message-ID: To: thomas.monjalon@6wind.com, dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] eal: map shared config into exact same address as primary process (for freebsd) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 22:31:14 -0000 Hello I am getting a segmentation fault on freebsd 10 due to the shared config mismatch between the primary and secondary process - The following commit seems to have fixed this issue long time back on Linux but was never ported to freebsd. http://dpdk.org/browse/dpdk/commit/?id=6258f1c942c3e0b7bb715158cc266eede6521ddf Was there any specific reason for not fixing this on freebsd? FYI - secondary process : (gdb) p rte_config $2 = {master_lcore = 7, lcore_count = 2, lcore_role = {ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_RTE, ROLE_RTE, ROLE_OFF }, process_type = RTE_PROC_SECONDARY, mem_config = 0x800670000} primary proces : (gdb) p rte_config $2 = {master_lcore = 0, lcore_count = 6, lcore_role = {ROLE_RTE, ROLE_RTE, ROLE_RTE, ROLE_RTE, ROLE_RTE, ROLE_RTE, ROLE_OFF }, process_type = RTE_PROC_PRIMARY, mem_config = 0x800675000} --tyc