git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethdev: make dev_ops const
[dpdk.git]
/
lib
/
librte_pmd_mlx4
/
mlx4.c
diff --git
a/lib/librte_pmd_mlx4/mlx4.c
b/lib/librte_pmd_mlx4/mlx4.c
index
0eca322
..
e096071
100644
(file)
--- a/
lib/librte_pmd_mlx4/mlx4.c
+++ b/
lib/librte_pmd_mlx4/mlx4.c
@@
-4162,7
+4162,7
@@
mlx4_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on)
return -ret;
}
-static struct eth_dev_ops mlx4_dev_ops = {
+static
const
struct eth_dev_ops mlx4_dev_ops = {
.dev_configure = mlx4_dev_configure,
.dev_start = mlx4_dev_start,
.dev_stop = mlx4_dev_stop,