|
@@ -506,6 +506,7 @@ static inline u32 skb_mstamp_us_delta(const struct skb_mstamp *t1,
|
|
|
* @no_fcs: Request NIC to treat last 4 bytes as Ethernet FCS
|
|
|
* @napi_id: id of the NAPI struct this skb came from
|
|
|
* @secmark: security marking
|
|
|
+ * @offload_fwd_mark: fwding offload mark
|
|
|
* @mark: Generic packet mark
|
|
|
* @vlan_proto: vlan encapsulation protocol
|
|
|
* @vlan_tci: vlan tag control information
|
|
@@ -650,9 +651,15 @@ struct sk_buff {
|
|
|
unsigned int sender_cpu;
|
|
|
};
|
|
|
#endif
|
|
|
+ union {
|
|
|
#ifdef CONFIG_NETWORK_SECMARK
|
|
|
- __u32 secmark;
|
|
|
+ __u32 secmark;
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_NET_SWITCHDEV
|
|
|
+ __u32 offload_fwd_mark;
|
|
|
#endif
|
|
|
+ };
|
|
|
+
|
|
|
union {
|
|
|
__u32 mark;
|
|
|
__u32 reserved_tailroom;
|