Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7158919ybi; Mon, 8 Jul 2019 15:50:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcvvhUWm+qXK0DPYyY38WkoDVtYnAhEMfC5Mxqkf99ggFRzgREnVy4hplGswkcNnJ4Lk+S X-Received: by 2002:a17:902:20e9:: with SMTP id v38mr28136432plg.62.1562626259224; Mon, 08 Jul 2019 15:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562626259; cv=none; d=google.com; s=arc-20160816; b=id9ud0IbmJtIhMTuiXtXcL/l6LXOAVS7yhfkY9ScZet/eCkygopcpmMeDG3OsLVvyi 1JhbL8bwF+8gl62u6U528nyD+1yyBBNUbMzY24YZfPtj5EAFg5BfinWpKrY4Lqn6kXkw zWNZ01rpkpMycSY42O3QTlkAP4XuqImeZ4qpI88qt07t7MGNLsUlZen1zyzE5s0uexkh 93Z6iuvzNDIZNQs8LHp1hfdwE2f8QlEIUlViiuVS2FLrYc8tEJROZgwtcDPPCyURIjgG ffKt+QlCPf7o+6u39oEhVTp77dPe3pOy9mzAoeGrsHLQznK7C72hZBi8FB8qd3qGgvPA A+Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QmhLmLZUpQw51TcWj6xz/UWa7Fe+O+3V90DXK/aEFco=; b=Z4cRHzA7rgiIjJV0FW16IFqh8LlVS5Evpn3AOVW98iQPG7hWmOksr8RJeGh+gMGMma fssRzpgKKWOopu6nuLQJ3wVl2LbRAKSp+iTBx+NEot2VOJa9H+gETl1riMRKqdP8vtqq YGgT2PMs/DvG8FRedbf/vXG2TT9H6VxbEAo9LBS+OVl/he/fQDJ2/gGol6FBGC7Erm9f wu7YFo03IeKUgvVkoNCUeG5ZHYk+P5cg9hfiBD+Q7EsuGCtNre/gGVlgqmuPDl/qMrz/ OCJ7k33+9GpFjjMy5R9FRSxhoOFoOysZpVu+z6Olmx3hH3KUI0NbXwsa4jx3Gyw+x49U KuUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=guiXzaD+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si20318830pfm.6.2019.07.08.15.50.44; Mon, 08 Jul 2019 15:50:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=guiXzaD+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405025AbfGHUc7 (ORCPT + 99 others); Mon, 8 Jul 2019 16:32:59 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37053 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731895AbfGHUc7 (ORCPT ); Mon, 8 Jul 2019 16:32:59 -0400 Received: by mail-lj1-f193.google.com with SMTP id z28so8375469ljn.4 for ; Mon, 08 Jul 2019 13:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=QmhLmLZUpQw51TcWj6xz/UWa7Fe+O+3V90DXK/aEFco=; b=guiXzaD+Q8k8J8Y2zzy+eGlckI4Qfj/1ia32W8QPEpVyDxD+5hgsVF1EBjtMcdA2s/ 5R6J5f6GgfGC+nFAbBkYPeDw/XfsFDCoboRXhsd0sXhsudSf3059LbepmLdXf+bGovGT qc6zCll9qpQztznsNGoUo1/z6sIst7IWs3z+Pv7nR02bMmC5DCviI65aoqFu1kzeunE8 sJFWmex7qjLe3ziuuenXDF2zBUBKL8qpBXz1MQYcrJEwVtkCqsinEygD57Y8dbRhrT+j eNRMf0cE5rKvU5kEP5hfxK9mWRVAK1SjUcuMmd409q26ptgM28q5w2oyc86eWpf2IN5O UeiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=QmhLmLZUpQw51TcWj6xz/UWa7Fe+O+3V90DXK/aEFco=; b=PLBQCZAdcGeUkaHJik1q08GS9yg/JdVHPun15Ny+2ze8wgbfgcRxVg6Qex5wI6ukFa UmycJG+TV+Awlp9um6e+lZf/tj+HWbFKZ5Mmkzw5C5B5aFI0iLvyF+VgD+TW6mCP70Jj pyOuWwwpWt1AYlMNsv8huZswpy81Y+iE71hJl35wiiP9CvGBRzJxgBVYGJssuTv6TTJX 5TRz6jyaDVyF559K7XDuwZu4RIMPpAikc08ZFKiDKY2vcneWC9s1FdS9CGX3YNMVIpEB lclgbuKI4ZvJUrnTudJpO1yZ2rNhfUvHTTy3aqMzYNpQ5P3xwL9zL1A411zXj4YmgbCh L+GQ== X-Gm-Message-State: APjAAAXQhpCnCCVHnksUxYXSI+dAJdgExPdH4OTLyo1sM0X3Qcom87tk y0iGQr6exOlrb96NBzZ9gas2uw== X-Received: by 2002:a2e:981:: with SMTP id 123mr11792658ljj.66.1562617977232; Mon, 08 Jul 2019 13:32:57 -0700 (PDT) Received: from khorivan (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id z23sm2925562lfq.77.2019.07.08.13.32.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Jul 2019 13:32:56 -0700 (PDT) Date: Mon, 8 Jul 2019 23:32:54 +0300 From: Ivan Khoronzhuk To: David Miller Cc: grygorii.strashko@ti.com, hawk@kernel.org, ast@kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, xdp-newbies@vger.kernel.org, ilias.apalodimas@linaro.org, netdev@vger.kernel.org, daniel@iogearbox.net, jakub.kicinski@netronome.com, john.fastabend@gmail.com Subject: Re: [PATCH v8 net-next 0/5] net: ethernet: ti: cpsw: Add XDP support Message-ID: <20190708203252.GA12580@khorivan> Mail-Followup-To: David Miller , grygorii.strashko@ti.com, hawk@kernel.org, ast@kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, xdp-newbies@vger.kernel.org, ilias.apalodimas@linaro.org, netdev@vger.kernel.org, daniel@iogearbox.net, jakub.kicinski@netronome.com, john.fastabend@gmail.com References: <20190705150502.6600-1-ivan.khoronzhuk@linaro.org> <20190707.183146.1123763637704790378.davem@davemloft.net> <20190707.183511.503486832061897586.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190707.183511.503486832061897586.davem@davemloft.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 07, 2019 at 06:35:11PM -0700, David Miller wrote: >From: David Miller >Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT) > >> From: Ivan Khoronzhuk >> Date: Fri, 5 Jul 2019 18:04:57 +0300 >> >>> This patchset adds XDP support for TI cpsw driver and base it on >>> page_pool allocator. It was verified on af_xdp socket drop, >>> af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX. >>> >>> It was verified with following configs enabled: >> ... >> >> I'm applying this to net-next, please deal with whatever follow-ups are >> necessary. > >Nevermind, you really have to fix this: > >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_si’: >drivers/net/ethernet/ti/davinci_cpdma.c:1047:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > buffer = (u32)si->data; > ^ >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_idle_submit_mapped’: >drivers/net/ethernet/ti/davinci_cpdma.c:1114:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > si.data = (void *)(u32)data; > ^ >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_mapped’: >drivers/net/ethernet/ti/davinci_cpdma.c:1164:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > si.data = (void *)(u32)data; > ^ Actrually that's fixed in reply v9 patch. But, nevermind, i will send v9 for whole series. -- Regards, Ivan Khoronzhuk