[dpdk-dev] [PATCH v3 2/3] xen: Add netfront poll mode driver

Jan Blunck jblunck at infradead.org
Tue Mar 22 11:42:13 CET 2016


On Tue, Mar 22, 2016 at 11:07 AM, David Marchand
<david.marchand at 6wind.com> wrote:
> Hello,
>
> On Tue, Mar 22, 2016 at 10:55 AM, Jan Blunck <jblunck at infradead.org> 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 ?
>

I don't think so. Will constify it for the next round.

Thanks,
Jan

>
> --
> David Marchand


More information about the dev mailing list