ethernet: fix packet tracing 93/18793/3
authorBenoît Ganne <bganne@cisco.com>
Wed, 10 Apr 2019 12:21:11 +0000 (14:21 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 10 Apr 2019 18:08:49 +0000 (18:08 +0000)
commit9847792e18f1fd9f3b8fedea4fc53eed1096ab75
treedf360e532b587ad52c12cdf704ff72f9d5cab502
parentb063ad00f13a6080a5e9a34d266df6aa84fff148
ethernet: fix packet tracing

Node tracing condition was wrongly reversed by commit "5ecd5a5d15 Move
pcap rx/tx trace code out of the dpdk plugin".
This prevented packet tracing in ethernet-input node and also impacted
performance in the no tracing case.

Change-Id: I345a11191d027c6c4ec474a2901995338050680a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/ethernet/node.c