William Tu c69de58ba8 net: erspan: use bitfield instead of mask and offset
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 <u9012063@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-25 21:39:43 -05:00
..
2017-07-11 06:08:58 -04:00
2018-01-19 14:02:12 -05:00
2017-04-05 10:15:20 +02:00
2016-07-08 12:20:57 +02:00
2017-11-30 09:54:27 -05:00
2017-10-11 09:49:34 +02:00
2017-11-16 10:49:00 +09:00
2017-12-11 14:10:06 -05:00
2017-12-15 12:34:00 -05:00
2017-09-29 06:19:32 +01:00
2016-08-17 19:36:23 -04:00
2016-10-03 02:00:22 -04:00
2016-07-08 12:20:57 +02:00
2017-11-08 16:12:33 +09:00
2017-12-05 14:37:13 -05:00
2018-01-24 19:13:45 -05:00
2017-12-04 11:32:53 -05:00
2018-01-17 16:07:24 -05:00