On Thu, Jan 25, 2018 at 1:20 PM, William Tu wrote:
> Originally the erspan fields are defined as a group into a __be16 field,
> and use mask and offset to access each field. This is more costly due to
> calling ntohs/htons. The patch changes it to use bitfields.
>
> Signed-off-by: William Tu
A
Originally the erspan fields are defined as a group into a __be16 field,
and use mask and offset to access each field. This is more costly due to
calling ntohs/htons. The patch changes it to use bitfields.
Signed-off-by: William Tu
---
include/net/erspan.h | 127 +++