From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by dpdk.org (Postfix) with ESMTP id 352042BF5 for ; Tue, 22 Mar 2016 11:07:30 +0100 (CET) Received: by mail-ob0-f179.google.com with SMTP id m7so196295095obh.3 for ; Tue, 22 Mar 2016 03:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oYcLnA3mmtmU7Qm2LRRM4gywfJ9leIx+Y5YJMk8NWQo=; b=lUVCeA/eJTqKdnNLNGiTOwStrKqVMe2ruwwtAssspqhxKI2O1NsY6x0bt6/r/ubr5a g+7TrnC7B6yZEjyoCXgTlrAAdh/RMTLVgnZ/r/7/+jFf2Oe2MJyDbRySkZZe0vgf9Evr v7Ir5tus4ngwwgFVH6m7Aq27Sc7I8g82CtxjRRZbzEgJtGwq5Z9Ap/YlocAwo8cUmkO8 e+KXlgxzAWPuRgEbOba4Pm2HmYZedOnmiKNTQilobSHVM2vkEkJZ4NlNYsS5FzYKee/f WyPut2zqwo5JQo2yTdjQVk6VLUT2GvFmPBTIwYD62kU6/n5igbB4NXT+JqpavzcaF2Zp HXkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oYcLnA3mmtmU7Qm2LRRM4gywfJ9leIx+Y5YJMk8NWQo=; b=b1/PKMBE6/rQY29OEQT9aiBVBRPNE/DiEini1Qu0YXfYJ0TKsiwwOPqE8qWzXi6OdW rARe7yGSIC4Hec68WJdJybs0UL1mcs3t9TGeYTJitdIqn65P8LqMyHlqDqegUpqvQhnl 0Q1OjBe/0Tu9oyuiiNR6ooKOLuBNbPVl+s5Mwg4ozvtOxdhyfsuAAk/SWumSUaRnLrXR NH0QwsPRsZcD2xRuhr/o8CaHu6jId78ZEEmsV1H8rDcxhN5Xwx1SkVB/0xOy3YU3DLTL N8azY6hgyacwjWesuf0lfwoXvn1iFv9kQhC5Cdlgt/95syJwL6SqSUwZew7tACFFOSFo fI7A== X-Gm-Message-State: AD7BkJIYxk19qrtUoBDul3DqCtqlGBv+8YRLJdKd8bVzsAOjY/3YTMLef8wK8auTLszTGPnCoPBwAbIwqlSDMqx/ X-Received: by 10.60.82.229 with SMTP id l5mr19587438oey.6.1458641249548; Tue, 22 Mar 2016 03:07:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Tue, 22 Mar 2016 03:07:09 -0700 (PDT) In-Reply-To: <1458640529-9183-3-git-send-email-jblunck@infradead.org> References: <1424013889-2226-4-git-send-email-shemming@brocade.com> <1458640529-9183-1-git-send-email-jblunck@infradead.org> <1458640529-9183-3-git-send-email-jblunck@infradead.org> From: David Marchand Date: Tue, 22 Mar 2016 11:07:09 +0100 Message-ID: To: Jan Blunck Cc: "dev@dpdk.org" , jblunck@brocade.com, Stephen Hemminger , Stephen Hemminger Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH v3 2/3] xen: Add netfront poll mode driver 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: Tue, 22 Mar 2016 10:07:30 -0000 Hello, On Tue, Mar 22, 2016 at 10:55 AM, Jan Blunck wrote: > +static struct eth_dev_ops xen_eth_dev_ops = { > + /*dev*/ > + .dev_configure = xen_dev_configure, > + .dev_close = xen_dev_close, > + .dev_start = xen_dev_start, > + .dev_stop = xen_dev_stop, > + .dev_infos_get = xen_dev_info_get, > + .link_update = xen_dev_link_update, > + /*rxtx*/ > + .stats_get = xen_dev_stats_get, > + .stats_reset = xen_dev_stats_reset, > + .rx_queue_setup = xen_dev_rx_queue_setup, > + .rx_queue_release = xen_dev_rx_queue_release, > + .tx_queue_setup = xen_dev_tx_queue_setup, > + .tx_queue_release = xen_dev_tx_queue_release, > +}; Is there anything preventing it from being const ? -- David Marchand