From patchwork Thu Feb 28 19:29:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moshe Levi X-Patchwork-Id: 1049730 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 449NZc37qfz9s70 for ; Fri, 1 Mar 2019 06:55:35 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 9FA72B1F7; Thu, 28 Feb 2019 19:55:33 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 2B109B199 for ; Thu, 28 Feb 2019 19:42:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 3C67C81A for ; Thu, 28 Feb 2019 19:42:52 +0000 (UTC) Received: from Internal Mail-Server by MTLPINE1 (envelope-from moshele@mellanox.com) with ESMTPS (AES256-SHA encrypted); 28 Feb 2019 21:29:12 +0200 Received: from r-vnc11.mtr.labs.mlnx (r-vnc11.mtr.labs.mlnx [10.208.0.123]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x1SJTC5i007966; Thu, 28 Feb 2019 21:29:12 +0200 Received: from r-vnc11.mtr.labs.mlnx (r-vnc11.mtr.labs.mlnx [127.0.0.1]) by r-vnc11.mtr.labs.mlnx (8.14.4/8.14.4) with ESMTP id x1SJTCjo014698; Thu, 28 Feb 2019 21:29:12 +0200 Received: (from moshele@localhost) by r-vnc11.mtr.labs.mlnx (8.14.4/8.14.4/Submit) id x1SJTANq014694; Thu, 28 Feb 2019 21:29:10 +0200 From: Moshe Levi To: dev@openvswitch.org Date: Thu, 28 Feb 2019 21:29:10 +0200 Message-Id: <1551382150-14662-1-git-send-email-moshele@mellanox.com> X-Mailer: git-send-email 1.7.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH] netdev-tc-offloads: Improve log message for icmpv6 offload not supported X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Signed-off-by: Moshe Levi Reviewed-by: Greg Rose --- lib/netdev-tc-offloads.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/netdev-tc-offloads.c b/lib/netdev-tc-offloads.c index 36bce15..e65f5b9 100644 --- a/lib/netdev-tc-offloads.c +++ b/lib/netdev-tc-offloads.c @@ -1015,12 +1015,12 @@ test_key_and_mask(struct match *match) key->nw_proto == IPPROTO_ICMPV6) { if (mask->tp_src) { VLOG_DBG_RL(&rl, - "offloading attribute icmp_type isn't supported"); + "offloading attribute icmpv6_type isn't supported"); return EOPNOTSUPP; } if (mask->tp_dst) { VLOG_DBG_RL(&rl, - "offloading attribute icmp_code isn't supported"); + "offloading attribute icmpv6_code isn't supported"); return EOPNOTSUPP; } } else if (key->dl_type == htons(OFP_DL_TYPE_NOT_ETH_TYPE)) {