From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) by dpdk.org (Postfix) with ESMTP id AC1E56880 for ; Thu, 20 Nov 2014 09:23:21 +0100 (CET) Received: by mail-lb0-f179.google.com with SMTP id l4so1830791lbv.24 for ; Thu, 20 Nov 2014 00:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hx4Jr6IYERM1y/kwL3wBQNNGlPEjvdWrOFDh5vOj32w=; b=QqiSrna1hQyWgWlKQ8oPi7nnIc7mPMlxXFtw0cbAuflVwFKLKMCkqPpdIQXzRX0gZb UgvxDYnleF0fi5vforywdOTyPvR9YkfTRCrYjX+2mmtBlrOV8hTfxeWahPcZA8x5h7ht GRWKQs18bplXxSipaaTeV0MgH6iXwdLFEqerkdwSLwC1PkSXrvsXVqTOx3NONZef7LWc MkMO9mX/sq2g2n2rPpIOqEl/R7snRBfy4xr9fn/QBH2s6j4+6JT5tmAjUPaQSZLGsmzu +Olt3i2OxgLlvdf9CDU3C+uoZa1QuphTJwwcMAwTb8JiCsP9UkSdmx+NBdn9YmAOGT2B /93Q== MIME-Version: 1.0 X-Received: by 10.153.7.72 with SMTP id da8mr640301lad.90.1416472430413; Thu, 20 Nov 2014 00:33:50 -0800 (PST) Received: by 10.25.216.158 with HTTP; Thu, 20 Nov 2014 00:33:50 -0800 (PST) Date: Thu, 20 Nov 2014 09:33:50 +0100 Message-ID: From: Newman Poborsky To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] one worker reading multiple ports 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: Thu, 20 Nov 2014 08:23:21 -0000 Hi, is it possible to use one worker thread (one lcore) to read packets from multiple ports? When I start 2 workers and assign each one to read from different ports (with rte_eth_rx_burst()) everything works fine, but if I assign one worker to read packets from 2 ports, rte_eth_rx_burst() returns 0 as if no packets are read. Is there any reason for this kind of behaviour? Thanks! Br, Newman P.