]> Git Repo - linux.git/blob - drivers/net/wireless/quantenna/qtnfmac/switchdev.h
efi/x86: add headroom to decompressor BSS to account for setup block
[linux.git] / drivers / net / wireless / quantenna / qtnfmac / switchdev.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Copyright (c) 2019 Quantenna Communications. All rights reserved. */
3
4 #ifndef QTNFMAC_SWITCHDEV_H_
5 #define QTNFMAC_SWITCHDEV_H_
6
7 #include <linux/skbuff.h>
8
9 #ifdef CONFIG_NET_SWITCHDEV
10
11 static inline void qtnfmac_switch_mark_skb_flooded(struct sk_buff *skb)
12 {
13         skb->offload_fwd_mark = 1;
14 }
15
16 #else
17
18 static inline void qtnfmac_switch_mark_skb_flooded(struct sk_buff *skb)
19 {
20 }
21
22 #endif
23
24 #endif /* QTNFMAC_SWITCHDEV_H_ */
This page took 0.034018 seconds and 4 git commands to generate.