examples/l3fwd-power: add --parse-ptype option
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 17 Jan 2017 07:10:29 +0000 (07:10 +0000)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 17 Jan 2017 08:27:14 +0000 (09:27 +0100)
commit82bea46616267730ec5201645123f14a83f251a6
tree62f620e7ad6178253cc3372961a8c0f80c0b94e4
parent9ebdeefee8f38a77d661e93f6b9f7a7da45af491
examples/l3fwd-power: add --parse-ptype option

To support those devices that do not provide packet type info when
receiving packets, add a new option, --parse-ptype, to analyze
packet type in the Rx callback.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
examples/l3fwd-power/main.c