linux/include/net/netns/smc.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef __NETNS_SMC_H__
   3#define __NETNS_SMC_H__
   4#include <linux/mutex.h>
   5#include <linux/percpu.h>
   6
   7struct smc_stats_rsn;
   8struct smc_stats;
   9struct netns_smc {
  10        /* per cpu counters for SMC */
  11        struct smc_stats __percpu       *smc_stats;
  12        /* protect fback_rsn */
  13        struct mutex                    mutex_fback_rsn;
  14        struct smc_stats_rsn            *fback_rsn;
  15};
  16#endif
  17