From owner-freebsd-net@freebsd.org Tue Feb 14 11:26:56 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF6C1CDF55F for ; Tue, 14 Feb 2017 11:26:56 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BE41D1E35 for ; Tue, 14 Feb 2017 11:26:56 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BD978CDF55E; Tue, 14 Feb 2017 11:26:56 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD3B4CDF55D for ; Tue, 14 Feb 2017 11:26:56 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ot0-x22e.google.com (mail-ot0-x22e.google.com [IPv6:2607:f8b0:4003:c0f::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95AC21E34 for ; Tue, 14 Feb 2017 11:26:56 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ot0-x22e.google.com with SMTP id 73so89742519otj.0 for ; Tue, 14 Feb 2017 03:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jKatFvFkwMT8cuY+zXV45csdrCKbmh3nv4LCsdAMEC0=; b=P2qZ+uyaSEaQ+WTessRIxVAfX4Ry2OIQe3CEBGyW9COwmV4brzvRsrfYFl4966nnTn eTsY5eQCStFvEfwXAkAEtMNGx2rMStXyYGXFf3aEPCUPVNChZ3eL5NJ0fVw9zzdPauvO PIASymqJb3I1NkwJTR2qTuZx99s6ZXIMhgLHLoMPONb8qP5ox1Q2frxagzzA6Pn9Q2cE UZGvTculcDt9pHk4l/NMGWxurA4iBLYwcArZnm2PdOFh7yonRiJrSRx0ZWcD9nS3gaOA UqnP70d4Vtpesx4/97nXLrLKw6UucSt5AP1vrsY/vaZ1Pl4YBM8T6c+xmpO73y4HN6RG VGMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jKatFvFkwMT8cuY+zXV45csdrCKbmh3nv4LCsdAMEC0=; b=mv/Z5XCh3XlV0sYdp/vswfr3kYxsO+ddSVkdHJUhFT+ivqyNeaA2jc3br3RB11p6MH HBT4wjwYylkGCiTVBx7HN4mwI8ETCl+rW0+eT6CEV7zm5KQRpmOesib+JNWSeARAZcv0 /UhVgI8Iq/eKb1KycjpDYA9D+fFk2crZ3WXqW6+EAr6gX9GJuuo+VcWYGJvD9rWAsju7 R6/dAJYFxRuy0CTkwqaErv7mNlULk7qQX3MTwtxzdzFafZpz5H16M0xU48pirHxFyi9q TSWTA9oF+Tkre+A7sB6Q8r+DdMyYozQfB6aXbvT2x81kfpr0O7yqkzuNDYg/yrmQFJpr 9U3w== X-Gm-Message-State: AMke39kdpG93EhUw0M1sIgc4gIATsgU6R/pOwendmeweOPPeQ42ktpjgVK5DGkqZyiOd6QjC/snTtUoex8GnqA== X-Received: by 10.157.24.92 with SMTP id t28mr17088260ott.238.1487071615917; Tue, 14 Feb 2017 03:26:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.7.201 with HTTP; Tue, 14 Feb 2017 03:26:55 -0800 (PST) In-Reply-To: References: From: Vincenzo Maffione Date: Tue, 14 Feb 2017 12:26:55 +0100 Message-ID: Subject: Re: netmap_mem_get_info To: amir alipour Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 11:26:57 -0000 Hi, Have you tried to play with netmap sysctl parameters like: dev.netmap.buf_num dev.netmap.ring_num dev.netmap.if_num those are listed in the sysctl section of the netmap man page. Cheers, Vincenzo 2017-02-11 13:34 GMT+01:00 amir alipour : > hi > i am trying to assign more memory to netmap but it fails > i trace it to "netmap_mem_get_info" function ,this function changes my > defined memory size to 343019520 and i cant find the implementation of it > in the source code! > > Thank you for any help you can provide > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Vincenzo Maffione