1*3715b5dfSEric Dumazet /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*3715b5dfSEric Dumazet #ifndef _NET_ALIGNED_DATA_H 3*3715b5dfSEric Dumazet #define _NET_ALIGNED_DATA_H 4*3715b5dfSEric Dumazet 5*3715b5dfSEric Dumazet #include <linux/types.h> 6*3715b5dfSEric Dumazet 7*3715b5dfSEric Dumazet /* Structure holding cacheline aligned fields on SMP builds. 8*3715b5dfSEric Dumazet * Each field or group should have an ____cacheline_aligned_in_smp 9*3715b5dfSEric Dumazet * attribute to ensure no accidental false sharing can happen. 10*3715b5dfSEric Dumazet */ 11*3715b5dfSEric Dumazet struct net_aligned_data { 12*3715b5dfSEric Dumazet }; 13*3715b5dfSEric Dumazet 14*3715b5dfSEric Dumazet extern struct net_aligned_data net_aligned_data; 15*3715b5dfSEric Dumazet 16*3715b5dfSEric Dumazet #endif /* _NET_ALIGNED_DATA_H */ 17