From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by dpdk.org (Postfix) with ESMTP id A5E101B6AD for ; Mon, 16 Oct 2017 13:45:59 +0200 (CEST) Received: by mail-lf0-f51.google.com with SMTP id d10so16643315lfg.11 for ; Mon, 16 Oct 2017 04:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=j/xDR/KmKKfCCGXqspPNhFzOyjfKdfEOKEc+fr3kmcA=; b=hhc+Ku5La96NlGPSm8qWRkbAno+2Say4hsCnC26pFQQZz1IoYsH954pTnAq8IY8EaE 1CR4k+dAqxh30Xt6Tc0zZDNOwvuNUmaoT6dwoR11HAHbNNf1X3TRQoZwe32FgO/wjzHi DLQ2Ils1iH+trgqmFpgDTF46oXOO2bPTPZR5N6htIm1sbIL/ZZ3XzZZbpcPSZsIaFEwN SAtU8Js9XCEG6iKdOYjEDpu2RqP8W5SWuyGzLhqwCXRlJUvEP+H+Ect+g3QJBWqqwTRG J5Mg9Fc22kQ9luB4CrdzNdgy6bOeISYl13YcjgiiPhSd5/FtMa4mKgnSFTmygKF7R9aT 7ZLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=j/xDR/KmKKfCCGXqspPNhFzOyjfKdfEOKEc+fr3kmcA=; b=mHOqc5viUnDsKw8/TPpmfYVAjq83mGRgFEEGHwLR9vP+cxV8vi6JWvMY+yKhUBzJUd RHUaZeymG90TBdwp234cUEuo3MzsqZg2zgXmI0vIhgOcMaGbiEJSq9kIp9iocAy/gXx2 xC1Hnm/t4QnHw6joESae1TwIyhxVIc4rX+Zwlmd5WL36/r3nSVFgZpqXIdvo4u+Nsji5 dRIs7ji//UmHj6ovnWrFiNOFYU5m5OmVmAREmQLiQCQpOxPI8M9h6LrOHYR5ofrDtruA COc+CFUgw1Ob+quTEVKMBzBQXmKRaHyghoLl1TdLrRNnJZbGpU7If1tQwLk6Rhen4yha GaGg== X-Gm-Message-State: AMCzsaWlemykC9VNCHRn0OtPN/3uA5i4TxoI60FKj5NJTdeH4q8HSomt karWN2Vwlyntb34SMGWugwlxGh7TPKg= X-Google-Smtp-Source: ABhQp+TrW9JNk9s7ndIS78SrkWyduzVVZwQiyBwkT9Yaz7zNiDVS21VRQ0k9dSeu8IDJfrFr7fFzHw== X-Received: by 10.46.87.12 with SMTP id l12mr3812185ljb.44.1508154358975; Mon, 16 Oct 2017 04:45:58 -0700 (PDT) Received: from tdu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id c23sm1469607lfh.65.2017.10.16.04.45.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Oct 2017 04:45:58 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: Tomasz Duszynski Date: Mon, 16 Oct 2017 13:45:46 +0200 Message-Id: <1508154348-10988-1-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/2] examples/kni: update kni example application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 11:45:59 -0000 This patch series introduces some changes to the kni example application so that non-pci devices and those that can cannot do rx/tx while being stopped can use it. Tomasz Duszynski (2): examples/kni: check if pci_dev isn't NULL before using it examples/kni: stop lcores while doing kni ops examples/kni/main.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) -- 2.7.4