From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by dpdk.org (Postfix) with ESMTP id 5DE292C4A for ; Sun, 6 Mar 2016 19:05:01 +0100 (CET) Received: by mail-ig0-f170.google.com with SMTP id hb3so27823042igb.0 for ; Sun, 06 Mar 2016 10:05:01 -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; bh=qwfI3qYZJ6z/aAQTZgAyD5gNgu34orsMzjsBzd3kM/c=; b=hDbxbBqPG7nOYojhBeMFPsmChqUd+7J7AFKJLfg8Mg/p6ZygarvgnBhvxgX2s1XrNE CZQh80hx9RWr+flj9/kjlF5OKJiCQQovfmpE+iH2k0LwYp9VkeZ9h8HJ5RLlosSZZh9K pM1S6ivuPKq/enkVTVKaCMwvvaZsq3jAr1mqw4ZkWiRY50bxyfbGeQ80OT40mfAGCTSs ng1QG6sQCnmSjTE/RwsgSIjaiQxeImB7IQT2Hq4zKh0Gg38olU5DmX4q0yboeS5QSZ1y XhL8zahdiCPj+lh51GmFnvxxwlKmY9wTpw4IxKOYH9uq2HN8V3pmyrs/Bqxiq8icEZau zhAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=qwfI3qYZJ6z/aAQTZgAyD5gNgu34orsMzjsBzd3kM/c=; b=aLU4sTjJEwsRgxh7r5nuz0sNesNTnPITJM9/XkNM72Xmfnxl+b6DEmkawhtnz1Xz9E xHqIn4Hg0np1ne9FBiV9s07YvMcxhm2IgD30kzsU76X74UP6jkLIYpukYFuWmsZn0Ndr EiaYau9rYzbJ4gUXzwaFPxkH8qtSmKJQSnIsCyMED0dkix2Rec85gh1/3xTwITy/Sla8 AUuYmgn77hWrgk9TQp3dQi/EoBIQPvXqS2kc0+iyMKzEMG4vNgmk51kJb7wCclqpGuGT AzoTOf8f8ZBIFDR5ye5To0aaM5gat2DcNfxdy2qV2fuvrzdRl/yo2cKf5vbPPcBdVFBO U0YA== X-Gm-Message-State: AD7BkJKBTViAGr7v+UEIqJivSZKNrqPpejdmG2yNqE4Q8P63e2JOLDtXHhGfNXF+ucljIOhEeGhqw1hu53nyRg== MIME-Version: 1.0 X-Received: by 10.50.118.100 with SMTP id kl4mr7886842igb.72.1457287500815; Sun, 06 Mar 2016 10:05:00 -0800 (PST) Received: by 10.107.15.20 with HTTP; Sun, 6 Mar 2016 10:05:00 -0800 (PST) Date: Sun, 6 Mar 2016 21:35:00 +0330 Message-ID: From: Mostafa Salari To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] A problem with KNI in pipeline X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 18:05:01 -0000 Hello, I want to create a pipeline to act as KNI port, called *pipeline_kni*, such that: 1. A pipeline_kni instance receives packets from its input ports, then deliver them to Linux kernel. 2. pipeline_kni instance receive packets from linux and put them on pipeline output ports. The problem is that I want to identify actual port id corresponding to a input port of pipeline! Because I need to pass this information to rte_eth_dev_info_get(*port_id* , &dev_info) to retrieve NIC information (such as PCI adrs, ...) I'm new to using pipeline! Is there any other standard way to do this? Its a point to KNI in the link below in Table 23.1 : http://dpdk.org/doc/guides/prog_guide/packet_framework.html What does it mean? Is there a pipeline input/output port of type KNI? If so, how can we determine it (for example) in *pktq_in* field in a configuration file? Thanks, Regards