net/smc: Make SMC statistics network namespace aware
authorGuvenc Gulce <guvenc@linux.ibm.com>
Wed, 16 Jun 2021 14:52:58 +0000 (16:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:54:02 +0000 (12:54 -0700)
commit194730a9beb52d2b030ea45e12d94868d4a0e6fd
treee1cb5ba24809456bb50c4134dcfa9d826ca458aa
parentf0dd7bf5e33066e554442c509ef6351728b95b51
net/smc: Make SMC statistics network namespace aware

Make the gathered SMC statistics network namespace aware, for each
namespace collect an own set of statistic information.

Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
include/net/netns/smc.h [new file with mode: 0644]
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_rx.c
net/smc/smc_stats.c
net/smc/smc_stats.h
net/smc/smc_tx.c