From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id 21E311B3E8 for ; Mon, 29 Jan 2018 14:58:15 +0100 (CET) Received: by mail-wr0-f171.google.com with SMTP id f11so7309405wre.4 for ; Mon, 29 Jan 2018 05:58:15 -0800 (PST) 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=ANc4BcqzIb1RGB5YthsUiuxP/wj3pPhXvVyrnhHRbgE=; b=jCQQbWt7Z0OPmx/ncLPEUJTFqySucB4VxswjRRjh3rWo2TBqOm5IY2IFXrpgWcs8KW XG03cA3w5k6Ite9NqPP9jyeXvhw7ySSNvDSCelNBlzQvkXbDENNn/KtWfi6UIU41iLN7 JY6gsj6FknG0RgYowTlBbqqqxEnShhg3tFNAowNDIn2NlxXwXlwU9trPtFHo72oX26xv 0Pkch8DZ8ifZhLwEQ/8L2cVJuRytEevxfbGIVO8Aw6cOZnr+/NPfjChg4e2F75dzBtW9 8cntcx/WV/reN+tso9d049yPdKDkbTaKdzmTg7Ay6LqsxpXJbPBadxRSpWq+YJZxeYYH UiYA== 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=ANc4BcqzIb1RGB5YthsUiuxP/wj3pPhXvVyrnhHRbgE=; b=ugsfxOXASXeJAVvprTmmOEQSplij0thsj1rg54act/Q6rgZ8iUYzzARzhuaLDcf3OZ UsbrxGZqkgYhXKzje8dMUGVIHKcwPAer4szBmT9AuUpjIfP4BMSF9Msg067Ed6KJj72D OQBoUOg8N1zjbaMFaIsM6i7f274YEDVUE6hMH3+o+BHh0Jy+HQjYoaGO6Uo8C+IEEKPv XYmedG4CYTkFvRNR2Jmt2phnwYkWztYqQbj9Yr7kn9/ytoNBC/8zvOmYuNjtKWUrg5J7 G228oDff0I7fZIrkNU/rxN5G1bqljkLhBtWpEc9W1RaZgXuuc5vQlOld2y3xVDDrzprn ObxA== X-Gm-Message-State: AKwxytedbSUW/52eJFltKVg8/n4V6cf2CXTXIqJpVnh7f1Zx49rHKLNg hhuQp421eajaITXM+nd22oUOdwjTZ96tf2z+Ve5dyQ== X-Google-Smtp-Source: AH8x2255D7T10gyB1yFCTV8qcBd7Q7NRUkEQcZ7AUniUZgabSC8nXtJZAFceWC1dKb1mSbYeEhNNUbJONSRGVIblVX8= X-Received: by 10.223.135.115 with SMTP id 48mr21148798wrz.212.1517234294666; Mon, 29 Jan 2018 05:58:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.189.3 with HTTP; Mon, 29 Jan 2018 05:58:14 -0800 (PST) From: Tom B Date: Mon, 29 Jan 2018 08:58:14 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Port Link state for secondary process X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 13:58:15 -0000 Hello, I could not get the port link state using rte_eth_link_get from a secondary process: struct rte_eth_link link; rte_eth_link_get((uint8_t) port_id, &link); if (link.link_status) { printf("Link Up\n"); } else { printf("Link Down\n"); } This code caused either segmentation fault for dpdk-16.11 or EAL fatal error in dpdk-17.11. Please suggest me a work around to get the link state (up/down) in secondary process. Thanks, TB