From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by dpdk.org (Postfix) with ESMTP id 572B72C67 for ; Wed, 9 Mar 2016 16:37:13 +0100 (CET) Received: by mail-lb0-f171.google.com with SMTP id k15so71500244lbg.0 for ; Wed, 09 Mar 2016 07:37:13 -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=M406QwyEPDvnvylJtYr54I6ChNn2A9vFMQLY/N8Bok4=; b=XYDl+A04+zDSGUx6TiuyE11jGPJsG7LVMcYV6/l1i+NexuTcxm8sd4C4vCB01FJc53 lZBFiItEgHLtMy3lE6KT3nbsSVjTmjWRxlk1BosQjSNC11kyCPY+uxzkQ6JkKDNsTBqc 8g+CSFCb7QEqz77lY0dGCmPorYP9K9u3iYkRWwKvwqjWW6p5d/ImNLFWL/K76/ZYmpa/ vVjf9upRxjlM/GUXzTaQ05g5TKtbidHA6SnNDIVy/20yWUI4M2lWjchJqxKrNAURHF18 001wC4DGk/K871DhfBV5OPPD1DW5K3s27+oUkpK53dQ/+kZ1AMTEDiLWOLDrBHJI/YWg F0gg== 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=M406QwyEPDvnvylJtYr54I6ChNn2A9vFMQLY/N8Bok4=; b=fJ+FAaoPd+NTxar/3x9oqK7TLs/6aShpHU7q/xtENgmcEulweUDMPcJRxcKWyTwzFu FMwsm4j2aNOI0XXkNqbw65X1ewlwiQloK44lS6MGOAYGSsGrGnOqaQ0ZMVDwfoavhAbz oMfpVfpsqiJJVElhi9Q9eM3dIHOe2L3BDy6Q72W0EZg88ZPv4f59Y8sBPffMEnyFcvCD xuUgp+wSI7jxKWUbDZaMfIj5IX93G+il5hitoZPFde5uvGgcVYOu2eGFEW61IgGaY/HY 7OOQyhm2Yjyepnybbu4V8jxZhCHGODVTmSEXaLXd/UnIZAbCLIvHKasohk3HoVw4SZMi vq5w== X-Gm-Message-State: AD7BkJKko01z4rprua0XjHOvZ9x4ov2s2r6TVeZ2AP2LYqersm1Ggfq/VJowYmjWZfAcRYglnDkuuuAsnbAuyg== MIME-Version: 1.0 X-Received: by 10.25.152.135 with SMTP id a129mr12389497lfe.40.1457537811209; Wed, 09 Mar 2016 07:36:51 -0800 (PST) Received: by 10.25.90.142 with HTTP; Wed, 9 Mar 2016 07:36:51 -0800 (PST) Date: Wed, 9 Mar 2016 16:36:51 +0100 Message-ID: From: Ralf Grosse Boerger To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Kernel NIC Interface and SO_TIMESTAMPING/PTP Hardware Clock 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: Wed, 09 Mar 2016 15:37:13 -0000 Hi, I am planning to use a PTP Daemon (http://linuxptp.sourceforge.net/) on a Ethernet port that is used by the DPDK. The kernel NIC interface should allow me to pass PTP frame from/to the Linux Ethernet interface (via rte_kni_tx_burst() and rte_kni_rx_burst()). But the PTP daemon also requires SO_TIMESTAMPING/PTP Hardware Clock-API of the Linux Ethernet device. If I start the ptp4l daemon on a KNI device (for example vEth0_0) I get an error that the hardware timestamping mode is not supported. Can anyone point me to the relevant source files of the KNI driver that need to be modified to add HW timestamping and PHC support to a KNI device? (I am using an Intel i210 card). Thanks in advance Ralf