net/enic: fix bad packet handling on Rx
authorJohn Daley <johndale@cisco.com>
Fri, 3 Jun 2016 00:22:46 +0000 (17:22 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:56 +0000 (17:13 +0200)
commit6cd6d65b7baa9fb87bb18dccb09d6bb1e552c38f
tree515aa2bdc84ab6abdc8e8f768e177a714ee7b676
parent65b5434dae667b19375d9c7676d5d3e7ec56b234
net/enic: fix bad packet handling on Rx

Following the discussions from:
http://dpdk.org/ml/archives/dev/2015-July/021721.html
http://dpdk.org/ml/archives/dev/2016-April/038143.html

Remove the unused flag from enic driver. Also, the enic driver is
now modified to drop bad packets instead of using a non-existent
flag to try and identify them as bad.

Fixes: 947d860c821f ("enic: improve Rx performance")
Fixes: 5776c30293bb ("enic: fix error packets handling")
Fixes: 50765c820e98 ("enic: remove packet error conditional")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_rx.c