From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id AC8BD1B202 for ; Fri, 6 Oct 2017 02:54:48 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 17:54:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,482,1500966000"; d="scan'208";a="907232864" Received: from unknown (HELO [10.241.225.33]) ([10.241.225.33]) by FMSMGA003.fm.intel.com with ESMTP; 05 Oct 2017 17:54:46 -0700 To: Raslan Darawsheh , dev@dpdk.org Cc: yskoh@mellanox.com, shahafs@mellanox.com References: <1506617303-32509-1-git-send-email-rasland@mellanox.com> <1507028429-23944-1-git-send-email-rasland@mellanox.com> From: Ferruh Yigit Message-ID: Date: Fri, 6 Oct 2017 01:54:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507028429-23944-1-git-send-email-rasland@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 1/3] ethdev: add Rx HW timestamp capability X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 00:54:49 -0000 On 10/3/2017 12:00 PM, Raslan Darawsheh wrote: > Add a new offload capability flag for Rx HW > timestamp and enabling/disabling this via rte_eth_rxmode. > > Signed-off-by: Raslan Darawsheh <...> > +++ b/doc/guides/nics/features.rst > @@ -567,6 +567,17 @@ Supports L4 checksum offload. > * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_UDP_CKSUM,DEV_RX_OFFLOAD_TCP_CKSUM``, > ``tx_offload_capa:DEV_TX_OFFLOAD_UDP_CKSUM,DEV_TX_OFFLOAD_TCP_CKSUM,DEV_TX_OFFLOAD_SCTP_CKSUM``. > > +.. _nic_features_hw_timestamp: > + > +Timestamp offload > +----------------- > + > +Supports Timestamp. > + > +* **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_TIMESTAMP``. > +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_TIMESTAMP``. > +* **[provides] mbuf**: ``mbuf.timestamp``. > +* **[provides] rte_eth_dev_info**: ``rx_offload_capa:DEV_RX_OFFLOAD_TIMESTAMP``. Can you also add this new feature to default.ini file?