From: Willem de Bruijn Subject: [PATCH net-next 0/3] expand txtimestamp selftest Date: Thu, 20 Dec 2018 16:22:51 -0500 Message-ID: <20181220212254.125681-1-willemdebruijn.kernel@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: davem@davemloft.net, Willem de Bruijn To: netdev@vger.kernel.org Return-path: Received: from mail-qt1-f196.google.com ([209.85.160.196]:46567 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389902AbeLTVXA (ORCPT ); Thu, 20 Dec 2018 16:23:00 -0500 Received: by mail-qt1-f196.google.com with SMTP id y20so3451138qtm.13 for ; Thu, 20 Dec 2018 13:22:59 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Willem de Bruijn Convert the existing txtimestamp test to run as part of kselftest and return a pass/fail. Also expand the variations of timestamping tested, including packet sockets, ipv6 raw and dgram and passing options using cmsg. These are enough changes to split across a few patches, even if all changes are only this one test. Willem de Bruijn (3): selftests: expand txtimestamp with cmsg support selftests: expand txtimestamp with ipv6 dgram + raw and pf_packet selftests: add txtimestamp kselftest tools/testing/selftests/Makefile | 1 + .../networking/timestamping/Makefile | 5 +- .../selftests/networking/timestamping/config | 2 + .../networking/timestamping/txtimestamp.c | 382 ++++++++++++++---- .../networking/timestamping/txtimestamp.sh | 58 +++ 5 files changed, 368 insertions(+), 80 deletions(-) create mode 100644 tools/testing/selftests/networking/timestamping/config create mode 100755 tools/testing/selftests/networking/timestamping/txtimestamp.sh -- 2.20.1.415.g653613c723-goog