Eric Dumazet
354259fa73
net: remove skb->vlan_present
...
skb->vlan_present seems redundant.
We can instead derive it from this boolean expression:
vlan_present = skb->vlan_proto != 0 || skb->vlan_tci != 0
Add a new union, to access both fields in a single load/store
when possible.
union {
u32 vlan_all;
struct {
__be16 vlan_proto;
__u16 vlan_tci;
};
};
This allows following patch to remove a conditional test in GRO stack.
Note:
We move remcsum_offload to keep TC_AT_INGRESS_MASK
and SKB_MONO_DELIVERY_TIME_MASK unchanged.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Acked-by: Yonghong Song <yhs@fb.com >
Acked-by: Martin KaFai Lau <martin.lau@kernel.org >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2022-11-11 18:18:05 -08:00
..
2022-08-26 18:40:14 +08:00
2022-10-18 15:08:42 -06:00
2022-07-17 17:31:39 -07:00
2022-07-29 18:12:34 -07:00
2022-08-07 10:03:24 -07:00
2022-10-11 17:42:58 -06:00
2022-10-03 03:52:58 +09:00
2022-08-02 17:14:47 -06:00
2022-09-26 12:19:12 -07:00
2022-09-01 16:55:35 +02:00
2022-10-11 17:42:58 -06:00
2022-09-11 21:55:06 -07:00
2022-10-06 05:57:36 -07:00
2022-10-01 10:22:57 -07:00
2022-09-01 18:04:43 +02:00
2022-09-07 17:04:49 +02:00
2022-09-11 21:55:10 -07:00
2022-07-17 17:31:38 -07:00
2022-10-11 17:42:55 -06:00
2022-10-11 17:42:55 -06:00
2022-10-06 05:57:36 -07:00
2022-09-19 14:35:08 +02:00
2022-09-14 07:04:15 -07:00
2022-10-03 14:03:21 -07:00
2022-10-03 14:03:18 -07:00
2022-09-07 16:37:27 -07:00
2022-10-10 13:04:25 -07:00
2022-10-28 13:37:23 -07:00
2022-10-03 14:02:57 -07:00
2022-10-11 12:01:24 +02:00
2022-10-03 14:03:22 -07:00
2022-07-14 15:45:26 -07:00
2022-10-11 17:42:55 -06:00
2022-09-11 21:55:06 -07:00
2022-07-17 17:31:37 -07:00
2022-10-10 17:53:04 -07:00
2022-10-28 13:37:23 -07:00
2022-09-07 16:37:48 -07:00
2022-11-09 19:28:02 -08:00
2022-11-08 15:06:56 -08:00
2022-10-03 17:34:32 -07:00
2022-10-25 14:57:42 -07:00
2022-07-17 17:31:38 -07:00
2022-10-11 17:42:58 -06:00
2022-08-24 13:46:57 +01:00
2022-10-11 17:42:58 -06:00
2022-07-17 17:31:39 -07:00
2022-09-23 16:46:19 +02:00
2022-09-26 19:46:29 -07:00
2022-07-17 17:31:41 -07:00
2022-10-03 14:03:18 -07:00
2022-09-30 13:21:22 -06:00
2022-09-05 14:51:46 +01:00
2022-10-03 14:03:22 -07:00
2022-10-01 10:22:58 -07:00
2022-11-11 18:18:05 -08:00
2022-09-07 17:04:49 +02:00
2022-10-11 17:42:58 -06:00
2022-07-17 17:14:36 -07:00
2022-10-11 17:42:55 -06:00
2022-10-12 18:51:50 -07:00
2022-10-12 18:51:50 -07:00
2022-10-11 17:42:58 -06:00
2022-10-11 17:42:55 -06:00
2022-09-26 19:46:14 -07:00
2022-10-12 18:51:49 -07:00
2022-10-11 17:42:58 -06:00
2022-10-11 17:42:58 -06:00
2022-07-28 10:38:30 +02:00
2022-10-26 13:39:09 +01:00
2022-10-11 17:42:58 -06:00
2022-10-11 17:42:55 -06:00
2022-07-17 17:31:39 -07:00
2022-10-03 14:03:18 -07:00
2022-10-11 17:42:58 -06:00
2022-10-10 11:24:19 -07:00