vnet_classify: Handle non-aligned vectors and various bugfixes 40/540/4
authorPierre Pfister <ppfister@cisco.com>
Wed, 16 Mar 2016 09:14:28 +0000 (09:14 +0000)
committerGerrit Code Review <gerrit@fd.io>
Fri, 18 Mar 2016 14:22:37 +0000 (14:22 +0000)
commitcb656303dfae0497c06ac925a08bda9f2b9d4d91
treeb5b9065652ed603e7f754789188cf0854c3542b2
parentdbf19ca7f9b93a843503f9204afd0815f3ef8332
vnet_classify: Handle non-aligned vectors and various bugfixes

classifier used to crash when packet data was not aligned.
This commit also includes:
- writer lock initialization bugfix
- CLI help was missing opaque-index
- ip_input_acl was applying the mask on buffer->data instead of packet head

On a side note, my tests failed to show any improvements
when using SSE. Further tests might be interesting to see if they
actually perform better.

Change-Id: Ic34eecd6a2226919121ffce2fe4324506deee52f
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/classify/vnet_classify.c
vnet/vnet/classify/vnet_classify.h