From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D10DC55186 for ; Fri, 24 Apr 2020 07:28:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 170342075A for ; Fri, 24 Apr 2020 07:28:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Xk+vkEim" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726736AbgDXH2E (ORCPT ); Fri, 24 Apr 2020 03:28:04 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:20123 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726709AbgDXH2C (ORCPT ); Fri, 24 Apr 2020 03:28:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587713281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+mkhOo4L9DwFWD7/xJxWxANEBJZACGqsdE1Q/H+DWyI=; b=Xk+vkEimvoMebYEOvR1ckeRZlqQpBH0+z+2tmEhN9tBWkgSrt5gUPIfFPOg+A07rQ+DxdC U7ITN/a8sQZTcYHBlIqeGuLSanM6iRnAi6fS9SiMJZwMT/qix/+GRahwUq4ydK+mJcBfVD 0gAIEakY/dBNbdAoTpJVmPRN4DRyz3M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-23-Te7GjsP3P8qRQoeeXFJNtw-1; Fri, 24 Apr 2020 03:27:57 -0400 X-MC-Unique: Te7GjsP3P8qRQoeeXFJNtw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F061A835B42; Fri, 24 Apr 2020 07:27:54 +0000 (UTC) Received: from carbon (unknown [10.40.208.58]) by smtp.corp.redhat.com (Postfix) with ESMTP id C93621C94C; Fri, 24 Apr 2020 07:27:43 +0000 (UTC) Date: Fri, 24 Apr 2020 09:27:42 +0200 From: Jesper Dangaard Brouer To: David Ahern Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, prashantbhole.linux@gmail.com, jasowang@redhat.com, toke@redhat.com, toshiaki.makita1@gmail.com, daniel@iogearbox.net, john.fastabend@gmail.com, ast@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, dsahern@gmail.com, David Ahern , brouer@redhat.com Subject: Re: [PATCH v2 bpf-next 01/17] net: Refactor convert_to_xdp_frame Message-ID: <20200424092742.1f31d510@carbon> In-Reply-To: <20200424021148.83015-2-dsahern@kernel.org> References: <20200424021148.83015-1-dsahern@kernel.org> <20200424021148.83015-2-dsahern@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 23 Apr 2020 20:11:32 -0600 David Ahern wrote: > From: David Ahern > > Move the guts of convert_to_xdp_frame to a new helper, update_xdp_frame > so it can be reused in a later patch. > > Suggested-by: Jesper Dangaard Brouer > Signed-off-by: David Ahern Acked-by: Jesper Dangaard Brouer -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer