From owner-freebsd-net@freebsd.org Fri Aug 17 16:32:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65AD91074D1F for ; Fri, 17 Aug 2018 16:32:46 +0000 (UTC) (envelope-from ipfix5101@gmail.com) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE33789082 for ; Fri, 17 Aug 2018 16:32:45 +0000 (UTC) (envelope-from ipfix5101@gmail.com) Received: by mail-oi0-x230.google.com with SMTP id d189-v6so14983064oib.6 for ; Fri, 17 Aug 2018 09:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DjhTxbF2c+ulK9rJes6qcyxA5nPcsd27Fo5XEiN0gUo=; b=htp7+pwfroLL5t+ut9oc1ItMfS20oDBC9C/r6LAwUGvQ4rvEUPMSXjV9yKIsrvYlLo 0ZowmKRij2Yh1PZ4fC0VQKJJ45zM9e4iRiiqIOCs6wXboSs5iZl72XUAGYREOLiSfrKs qarS6uda/X5ztNJx5hBWViwtZ+5+4jxSezMi8MAbigE2vy2kWwIg+/P3uw/lHnOEORfO J64AhKSIdZTAnB8sUjGFdpdMDClo//BjQYVY2hOBsLCNOc7LkwshLWt5v+xD1sanh+qn UMtH2Hszd6dcOUTrhkS6mAJ3xtWOTe8wSGLkPXLWLcp8cJ4v0LIH+zCPQ0HwCjWUPvdU xB8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DjhTxbF2c+ulK9rJes6qcyxA5nPcsd27Fo5XEiN0gUo=; b=lVd8Josbv61QhTtYc18hwn99RPXCX2+cd2QcLfCerLOgFDwJO+M6pio0KIUXO81ktZ 0lCoQb/C3QCCylnG1W1v7u1c7hvwaqGIJ47UFkSJY7+1FjLq+KCPX9H5SxvPGVCsjjbp 9aNzwPVQTq5bqTOKd3KRbz/vGN620D8fOdUbtMAm/773vYPGETJiAxXc7IFtQDAvlZoS 19PiMIjQZCpeihvDFxd8s833cTtlQpEG8cLo5zYPiJhEt7R8VkBF1ipEW07ODgz7+8tB atEu3I4bFnaZlmImRuu0KUNeoJDdqQtUoeuJ3QWfgAbENQviZ39CghbHoKFopM5HN4+9 d2bQ== X-Gm-Message-State: AOUpUlGZcHA19pq6OnUbe9xWvHgkHgAJdZbieCUhlOAljv1gTg584yTx 303ppbcG9wKSQcHaO3lWKiGW5iKY/P92Kod2PyHPJ/Wl X-Google-Smtp-Source: AA+uWPwOChB/++KnaCvfjBRJNC9t1Blf4XGChSX/2qqrY5/zO7E7Yd6FVdTaXy5mU0nhP15lOYk0h4TyuPkSQFCSyOk= X-Received: by 2002:aca:5354:: with SMTP id h81-v6mr3300887oib.299.1534523565188; Fri, 17 Aug 2018 09:32:45 -0700 (PDT) MIME-Version: 1.0 From: VO Ipfix Date: Fri, 17 Aug 2018 09:32:33 -0700 Message-ID: Subject: Getting netmap to co-exist with user-space processes that use sockets To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 16:32:46 -0000 Hello there, I would like to use netmap with pptk (emulated driver) to generate send traffic from an interface, but still allow rx/tx to get to the the kernel so that other user-space networking processes function as normal. Currently, if I open an interface eg netmap:eth0, other user space processes are unable to perform any networking via sockets. How could I go about solving this? Thanks, Victor