From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by dpdk.org (Postfix) with ESMTP id 30C552C4D for ; Mon, 21 Mar 2016 18:33:20 +0100 (CET) Received: by mail-pf0-f180.google.com with SMTP id 4so141315611pfd.0 for ; Mon, 21 Mar 2016 10:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ogR980MbLB11l9fUdrjRqCqYHMk0sHSnWv6bo3ln/nc=; b=rM0JtFSVZyZGJ+VgklNMD2QYHVUdcfWjTPh/ZC3wycw1YF014CVkKqe65e/EVq4n2z Fh6VfLOyYHi3zf70ynhMaTPOzEM9sewb+0k7Bv9AphkIvI6o0md/8Rj5k1ySEqimD9UD fycwWWptD8AGAh4MplzulgU+T7HOtIt+aD9DhrBJx3YgBswJf91nEqP/qyAyVXoXd8wA ma6phgjlsVOwnlMZXyMY3JFcKzvLUM9CUUM5itLLvCDIEFTW2mGwbIDbogW49oQWjnnJ CIyxHFwNervbLuxhs6l3F43MskR5cIZ74S9284KaQ1ipFBEcdEK8ouJJ+LEPhlCXJQxx 5bmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ogR980MbLB11l9fUdrjRqCqYHMk0sHSnWv6bo3ln/nc=; b=M8ehnEWmHHvGSoqlpLdaUlDl9Rz73sRWYO8pA3fz0Y4EdCIgMuVBb1ZGMnFIHMZxx3 bJ7ewVgVBQE5do76A8lSM5XbSRKKacKO5a2GujK/z5M4aJxHKaS31OGLrdMmWvGX+qkM KKq2S+H3+hetCEdyiXDCSVdWYacmOrjGGUhz4Yv7bxsn12IzGt9kvRCSlgyTU9BonUaK YSfCjd8ZiRbsfn7q4MZ/De3RSYPvTY6vIVzasBLzqrcD2oHelP3vwgX0SEgqB0vOv9Qx Hc8TC2vB/h8cV1m0XbEOW8h6fcsMollRLP1A8slAcfP1GdFqOZl7aPCPGEUmn/qXN8Zy zHGQ== X-Gm-Message-State: AD7BkJLcU/gllgnOTo6osXcKqPSQhn1Or7IE/QOgTxcJNHdUhIVhIuNDaFWBzUlp2PC5oQ== X-Received: by 10.66.141.103 with SMTP id rn7mr18980628pab.70.1458581599614; Mon, 21 Mar 2016 10:33:19 -0700 (PDT) Received: from xeon-e3 (static-50-53-65-230.bvtn.or.frontiernet.net. [50.53.65.230]) by smtp.gmail.com with ESMTPSA id s197sm42126726pfs.62.2016.03.21.10.33.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Mar 2016 10:33:19 -0700 (PDT) Date: Mon, 21 Mar 2016 10:33:32 -0700 From: Stephen Hemminger To: Jan Medala Cc: dev@dpdk.org, matua@amazon.com, Evgeny Schemeilin , Jakub Palider Message-ID: <20160321103332.02db0008@xeon-e3> In-Reply-To: <1458225078-17105-5-git-send-email-jan@semihalf.com> References: <1458225078-17105-1-git-send-email-jan@semihalf.com> <1458225078-17105-5-git-send-email-jan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 4/4] ena: DPDK polling-mode driver for Amazon Elastic Network Adapters (ENA) 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: Mon, 21 Mar 2016 17:33:20 -0000 On Thu, 17 Mar 2016 15:31:18 +0100 Jan Medala wrote: > +static struct eth_dev_ops ena_dev_ops = { > + .dev_configure = ena_dev_configure, > + .dev_infos_get = ena_infos_get, > + .rx_queue_setup = ena_rx_queue_setup, > + .tx_queue_setup = ena_tx_queue_setup, > + .dev_start = ena_start, > + .link_update = ena_link_update, > + .stats_get = ena_stats_get, > + .mtu_set = ena_mtu_set, > + .rx_queue_release = ena_rx_queue_release, > + .tx_queue_release = ena_tx_queue_release, > + .dev_close = ena_close, > + .reta_update = ena_rss_reta_update, > + .reta_query = ena_rss_reta_query, > +}; > + Why is ena_dev_ops not const?