From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by dpdk.org (Postfix) with ESMTP id A13A636E for ; Mon, 26 Sep 2016 12:02:01 +0200 (CEST) Received: by mail-it0-f50.google.com with SMTP id j69so39709278itb.0 for ; Mon, 26 Sep 2016 03:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightcyber-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=pCfvRyOa13br7BgAqTAoEpWCjgDWu1pP/d9SHS91fPc=; b=eGD2VtX5XFXOj7KIiPby1wwSOcNLZDwN06UU5VvW8ANYk2rn9oy2snS59ChGnsx1m5 m3yaM9IVj1ji/uwZFTFBO21MNcU8YF+qAvNrm135nQmmse/vCzbBVAt3JfVTAFD156Lz Y9cPC9xis7NR/p0NO+B69LdH1EaQdv3Nsc2+aHcnf/YMoJ57CgDHC5FNspNzzoYA81g1 E+NWQ8EujxLXNQolox6l9/eqk6SUuQz7RLY1MXanAglpwGouHcJ7Jbh/8AghcDI70fwF Rwv7q5O1JRpkdCHs2ldFbH1oz3FngrbFRBH7d5reFXE4w7uCQ1nQtBiyf7/7U6UJQRJo gqFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pCfvRyOa13br7BgAqTAoEpWCjgDWu1pP/d9SHS91fPc=; b=Nz9XQ+ONsZaRuNkYJyKLZ4IrwGN06lePfDOBqoWCB9lFTjxhe7fSSGBBs9OPXwQDI/ qgk70uJgv9LODDILWXQZYPxR+goRO/PPrXW7Oebg+UQycSzmPPboAC8FfcReGvx9RYwB YZVaiplV5jY7d+fk2rNaIu2ebn1XGI4Di/sJ0NGSX3U7G/Nuqax6saNc4V0xBA0Vq1JL ICxUd+/5q0wgOtpqBRQtSQ+kl7FzlpXIP2JRZGJT8LeMo+V1eOuXBRQh8Cos7z+R92DU MQ/zxy61G+d3x9AAOvux26MrvQH+z4gwDjCqKansBOAm1N5Tvd0my6HiPjWO+kN1f6mQ lNww== X-Gm-Message-State: AA6/9RkK+PfrsY4L0H29eM2edl0iSsULgGRGlFdZYjXACrec8sXIPYEsuZIgBhSXqsL2Dk9ZhyVvH+i2fUCoag== X-Received: by 10.36.53.83 with SMTP id k80mr17374536ita.59.1474884120864; Mon, 26 Sep 2016 03:02:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.194.199 with HTTP; Mon, 26 Sep 2016 03:02:00 -0700 (PDT) From: Keren Hochman Date: Mon, 26 Sep 2016 13:02:00 +0300 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Using rte_eth_link_get_nowait 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: Mon, 26 Sep 2016 10:02:02 -0000 Hi, My application needs to know if port is up, but without wasting 9 seconds (using rte_eth_link_get). I tried to register to callback: lsi_event_callback as suggested in the DPDK examples but I did not receive the event RTE_ETH_EVENT_INTR_LSC. Thanks, Keren.