]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46efbf1b52a136db353972bbb7c21c9e099921c3
treee1cb5ba24809456bb50c4134dcfa9d826ca458aa
parenta365eba5e317f09f21dbf96a9246aeb526860937
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