commit | e958203796650e3959a43708d67534bf36f4c83b | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Thu Apr 17 19:18:16 2025 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Thu Apr 17 19:18:16 2025 +0800 |
tree | b2d43b7c77053224287779c12b5e890cadc3d327 | |
parent | f51a5559b56d8fd47d9623531065443befb43e5b [diff] [blame] |
ASR_BASE Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/marvell/linux/include/net/netns/hash.h b/marvell/linux/include/net/netns/hash.h new file mode 100644 index 0000000..d9b6651 --- /dev/null +++ b/marvell/linux/include/net/netns/hash.h
@@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NET_NS_HASH_H__ +#define __NET_NS_HASH_H__ + +#include <net/net_namespace.h> + +static inline u32 net_hash_mix(const struct net *net) +{ + return net->hash_mix; +} +#endif