From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 7C89C2BAC for ; Wed, 23 Mar 2016 10:26:10 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id r129so127059054wmr.1 for ; Wed, 23 Mar 2016 02:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=7W2N5ASLODF8c7O/YMLm9g6MWh7yDgJ5gIOLcTrfbww=; b=L9al81aD4gPCgcAcyDbojfhonog9icX/gJo8PdIAqkGZbOQNpuj3Ncc7eM1ej2FGTG 1DK1eUI0kEk3Ml2cRZ9MtzJK2qJCTu1cL50H0MpdzS+ydUAkTHzVNqbpFOkC6CmwSFhD Xh/qw3Sgt+sOa7mqKdfCT5r0A3DB1IpJyyUd+/CBFJQgu1cyyjgH8KJQIXOMM+RYw/li UScjn3IDqdB6z7QqXFAx2oVDGOYYi2/dDOBydJNGLhZ5QUzvPZ8CX0tSFtRKW0+ewoNR OcQUVlVrikM5gYTDTYIwEOZgL1ExLZZZb+dUR4pq9BZiZTWWMBxtZRE+oWnNDcOQIoJg mc2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=7W2N5ASLODF8c7O/YMLm9g6MWh7yDgJ5gIOLcTrfbww=; b=Y4jOnWFvnC5iCFn9puruynY6nQWL3ADn4DIP1uBvbBtvlcjawxYRrNeieLAKFWCL2m FWOWCeSBRYxhnOsJa2qPU+35yMY+avqYwTZDO8tSYMqONkez4w1dJfSQ5dSI2bPGDIHM eDT1r2gBOHiuIk3MsF+7j9xG70zr7wWL6DGM7iNn09Ih4ikz7xIMQ6CtVSPmNuFe7tvJ OOEIsKomClROyqBsptCqu4wyz3uKdbLj8ZFw/x5MLqo8HGT6Y3EipZHHLrBYbQdG402E lqvfcvfE4W8xpwHQidhcJ1Kswx/l7uds7Va3g3s77HROSBuhTJ6hNnoxwyFYJErBh8LE dLng== X-Gm-Message-State: AD7BkJIaX5oc7F/r/aii2vBRNyC1xHqCIq/56rcerX32EZDGqjDdCbQOxFiCj+WXGIaEzBcj X-Received: by 10.194.201.166 with SMTP id kb6mr2166939wjc.125.1458725170410; Wed, 23 Mar 2016 02:26:10 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id ks5sm1594411wjb.13.2016.03.23.02.26.08 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 02:26:09 -0700 (PDT) From: Adrien Mazarguil To: Bruce Richardson , dev@dpdk.org Date: Wed, 23 Mar 2016 10:25:50 +0100 Message-Id: <1458725150-13796-2-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458725150-13796-1-git-send-email-adrien.mazarguil@6wind.com> References: <1458725150-13796-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH] mlx5: fix packet padding macro check 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, 23 Mar 2016 09:26:10 -0000 All instances of HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING were not replaced by HAVE_VERBS_RX_END_PADDING during a rework of the original patch, effectively preventing this feature from being used. Fixes: 89ed2405447d ("mlx5: add support for HW packet padding") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 7ac495a..041cfc3 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -359,9 +359,9 @@ mlx5_pci_devinit(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) #ifdef HAVE_EXP_DEVICE_ATTR_VLAN_OFFLOADS IBV_EXP_DEVICE_ATTR_VLAN_OFFLOADS | #endif /* HAVE_EXP_DEVICE_ATTR_VLAN_OFFLOADS */ -#ifdef HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING +#ifdef HAVE_VERBS_RX_END_PADDING IBV_EXP_DEVICE_ATTR_RX_PAD_END_ALIGN | -#endif /* HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING */ +#endif /* HAVE_VERBS_RX_END_PADDING */ 0; #endif /* HAVE_EXP_QUERY_DEVICE */ -- 2.1.4