On Thu, 17 Mar 2016 15:31:18 +0100 Jan Medala <jan at semihalf.com> 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?