DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: dev@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>
Cc: Stephen Hurd <stephen.hurd@broadcom.com>; Ajit Khaparde
	<ajit.khaparde@broadcom.com>,
	Jan Medala <jan@semihalf.com>; Jakub Palider <jpa@semihalf.com>;
	Netanel Belgazal <netanel@amazon.com>; Evgeny Schemeilin
	<evgenys@amazon.com>, Ferruh Yigit <ferruh.yigit@intel.com>
Subject: [dpdk-dev] [PATCH] net/ena: make eth dev ops struct const
Date: Mon, 16 Jan 2017 13:27:39 +0000	[thread overview]
Message-ID: <20170116132739.30872-2-ferruh.yigit@intel.com> (raw)
In-Reply-To: <20170116132739.30872-1-ferruh.yigit@intel.com>

Reported-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 drivers/net/ena/ena_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index b9d0e8a..8497cd7 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -227,7 +227,7 @@ static int ena_rss_reta_query(struct rte_eth_dev *dev,
 			      uint16_t reta_size);
 static int ena_get_sset_count(struct rte_eth_dev *dev, int sset);
 
-static struct eth_dev_ops ena_dev_ops = {
+static const 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,
-- 
2.9.3

  reply	other threads:[~2017-01-16 13:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-12 19:12 [dpdk-dev] [PATCH 0/2] make a couple eth_dev_ops const Stephen Hemminger
2017-01-12 21:54 ` Ferruh Yigit
2017-01-13 15:38   ` Thomas Monjalon
2017-01-16 13:27 ` [dpdk-dev] [PATCH] net/bnxt: make eth dev ops struct const Ferruh Yigit
2017-01-16 13:27   ` Ferruh Yigit [this message]
2017-01-16 13:44   ` Ferruh Yigit
2017-01-17 20:57     ` Thomas Monjalon
2017-01-17 22:38       ` Stephen Hemminger
2017-01-18 12:01     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170116132739.30872-2-ferruh.yigit@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen.hurd@broadcom.com \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).