examples/ip_pipeline: avoid panic if link up/down not supported
authorAndriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
Fri, 31 Mar 2017 13:36:33 +0000 (15:36 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Apr 2017 00:15:12 +0000 (02:15 +0200)
commit0469250961215809568153615fb2e0e9addfafed
treede45e9d25671c805195847e03afc1b2997408580
parentb58c9c3677718164e98dd2536add5f06f44134e9
examples/ip_pipeline: avoid panic if link up/down not supported

Some PMDs (mostly VFs) do not provide link up/down functionality.

Signed-off-by: Andriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/init.c