summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-09-13 14:14:02 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-11-24 21:31:37 +0100
commit21d4314f5c8e295e1f850086201af861aeeab89c (patch)
tree74145de8427fbb3d4ff32405728123c3bfb1bdb1 /doc
parent4055ef7c8c8c412d300c0c2b7835ece57fa4d09b (diff)
downloaddpdk-21d4314f5c8e295e1f850086201af861aeeab89c.zip
dpdk-21d4314f5c8e295e1f850086201af861aeeab89c.tar.gz
dpdk-21d4314f5c8e295e1f850086201af861aeeab89c.tar.xz
ethdev: fix non-reconfigurable pmd init
Some Poll-Mode Drivers (PMD) are not reconfigurable and, thus, do not implement (rx|tx)_queue_release functions. For these drivers, the functions rte_eth_dev_(rx|tx)_queue_config must return an ENOTSUP error only when reconfiguring, but not at initial configuration. Move the FUNC_PTR_OR_ERR_RET check into the case of reconfiguration. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions