From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 659832E8F for ; Mon, 21 Mar 2016 18:53:18 +0100 (CET) Received: by mail-pf0-f176.google.com with SMTP id n5so272904351pfn.2 for ; Mon, 21 Mar 2016 10:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8pFuTc9KIu97UGIVysQnwO9TYy+aNo6ddz/gSvPp28s=; b=gHSw9iT43KXkR8uZZTXE4XttTYMP5PUjTOf7qAw+UlcTiKL+L8vzmjiPdBR6ug0rx8 csDbX72CFWcC6cwgQO8lkYx+EB7Ts8olxloxqDxeqJZI18mLuuUBr7N3bpogcLJ8wUn3 irqVL6K1Ur0TXT57AvDlwt5RLHz1OfFQBpoOpYhxSF61EXjdahkY2ZSoVtk021YZqqDO u86KNTymKelNtq394HmMne2Sz/7znRh4KsTV1UTjgNu3foqsRC+ZTuYDnDSndj4vA76W V8YGWhNzaqJz3OvyCH4N2YaZQ+vxvH2Z6xMKS56n+poErETSI8s42AVElCj0/HNWzX7M PSoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8pFuTc9KIu97UGIVysQnwO9TYy+aNo6ddz/gSvPp28s=; b=OgbFT+Ivq5Itao6Y/ZMGoUeGj1YG5pqtquz0X0lVuKVFffS35bW7owUr3dGFAfPo0j g7YGIdpJIE7utJ8RKw+K7J1pUwyD5IQF94nCu6blM/70o2mzX4SWVhrIN+I59OB5G1HU GeTu+Qond7qbtsPggSuLz09e70W+Fy5t6t5FbMgyopsDoQXTMrMGvoFb7vhMHLDlPYWi V3LBx+TkoIwH9zfkdGlSK+kXdCx9pDyEYwh5Y/z36OCVqZMm/pdcVvWdnS8vhYWJzwxs WGKLbFwS03hiDxvUNq5Iu5dTNPhdIGZ179+RlWzoZREln58X0KJjKe1nS0lo4S4kiaQJ 6mDg== X-Gm-Message-State: AD7BkJJ3ifUUWLxoNBpRMNrgNLhdvQqjeSBMpKFrmdIboJ04qL/M4PdUin1W1rygATmwug== X-Received: by 10.66.146.164 with SMTP id td4mr47251002pab.47.1458582797713; Mon, 21 Mar 2016 10:53:17 -0700 (PDT) Received: from xeon-e3.home.lan (static-50-53-65-230.bvtn.or.frontiernet.net. [50.53.65.230]) by smtp.gmail.com with ESMTPSA id h2sm42201898pfd.91.2016.03.21.10.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Mar 2016 10:53:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 21 Mar 2016 10:53:27 -0700 Message-Id: <1458582809-19628-5-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458582809-19628-1-git-send-email-stephen@networkplumber.org> References: <1458582809-19628-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 4/6] nfp: make eth_dev_ops const 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:53:18 -0000 Signed-off-by: Stephen Hemminger --- drivers/net/nfp/nfp_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 8810704..85d4009 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -2272,7 +2272,7 @@ nfp_net_rss_hash_conf_get(struct rte_eth_dev *dev, } /* Initialise and register driver with DPDK Application */ -static struct eth_dev_ops nfp_net_eth_dev_ops = { +static const struct eth_dev_ops nfp_net_eth_dev_ops = { .dev_configure = nfp_net_configure, .dev_start = nfp_net_start, .dev_stop = nfp_net_stop, -- 2.1.4