Wen Gu
4398888268
net/smc: add operations to merge sndbuf with peer DMB
...
In some scenarios using Emulated-ISM device, sndbuf can share the same
physical memory region with peer DMB to avoid data copy from one side
to the other. In such case the sndbuf is only a descriptor that
describes the shared memory and does not actually occupy memory, it's
more like a ghost buffer.
+----------+ +----------+
| socket A | | socket B |
+----------+ +----------+
| |
+--------+ +--------+
| sndbuf | | DMB |
| desc | | desc |
+--------+ +--------+
| |
| +----v-----+
+--------------------------> memory |
+----------+
So here introduces three new SMC-D device operations to check if this
feature is supported by device, and to {attach|detach} ghost sndbuf to
peer DMB. For now only loopback-ism supports this.
Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-and-tested-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-04-30 13:24:48 +02:00
..
2024-04-24 16:26:11 -04:00
2023-08-10 18:24:48 -07:00
2024-03-13 09:23:48 +01:00
2024-04-24 11:06:25 -07:00
2024-04-11 07:38:28 -07:00
2024-04-11 12:13:11 +02:00
2023-12-15 11:01:27 +00:00
2024-03-05 11:21:18 -08:00
2024-04-24 11:06:25 -07:00
2024-02-05 11:08:06 +00:00
2024-01-02 12:41:16 +00:00
2024-02-02 10:57:55 -08:00
2024-04-09 17:09:05 -07:00
2023-12-24 15:22:50 +00:00
2024-04-25 12:41:37 -07:00
2023-12-15 10:37:35 +00:00
2024-02-06 13:17:54 +01:00
2024-02-06 13:17:54 +01:00
2024-02-06 13:17:54 +01:00
2024-02-09 10:01:09 -08:00
2024-04-19 10:17:16 +02:00
2024-03-06 21:01:26 +01:00
2023-07-14 20:39:29 -07:00
2023-07-27 17:17:32 -07:00
2024-04-22 13:05:19 -07:00
2024-02-28 10:39:21 +00:00
2023-08-14 08:01:06 +01:00
2023-10-24 13:08:14 -07:00
2024-04-22 13:05:19 -07:00
2024-04-01 10:49:28 +01:00
2023-08-22 13:19:02 +02:00
2024-02-06 11:45:53 +01:00
2024-03-05 19:21:17 -08:00
2024-04-01 21:27:08 -07:00
2024-01-03 16:42:48 -08:00
2024-04-01 10:49:28 +01:00
2024-04-15 10:33:14 +01:00
2023-11-02 09:31:02 +01:00
2023-08-08 15:58:23 -07:00
2024-04-01 21:44:34 -07:00
2024-04-01 10:49:28 +01:00
2024-03-11 14:13:14 -07:00
2023-07-28 14:07:59 -07:00
2024-03-07 21:12:43 -08:00
2023-10-12 15:14:27 +03:00
2023-11-20 11:43:03 +01:00
2024-02-26 18:40:34 -08:00
2023-08-15 13:57:51 -07:00
2023-08-14 07:06:13 +01:00
2024-04-02 18:21:13 -07:00
2023-07-14 20:39:29 -07:00
2023-12-22 22:15:35 +00:00
2024-03-06 12:37:06 +00:00
2024-04-01 21:27:58 -07:00
2024-02-28 11:19:41 +00:00
2024-04-29 13:32:01 +01:00
2024-04-29 13:32:01 +01:00
2024-04-01 10:49:28 +01:00
2024-02-26 11:46:12 +00:00
2024-04-11 14:23:47 -07:00
2024-01-26 21:05:26 -08:00
2023-10-30 14:36:57 -07:00
2024-03-01 08:42:31 +00:00
2023-08-22 21:40:40 +02:00
2023-08-04 15:33:17 -07:00
2023-08-04 15:33:17 -07:00
2023-07-20 10:46:28 +02:00
2024-01-19 21:30:09 -08:00
2023-08-18 16:05:26 +02:00
2024-04-25 12:41:37 -07:00
2024-04-25 08:20:54 -07:00
2024-02-29 14:24:56 -08:00
2023-08-22 17:31:18 -07:00
2023-08-07 08:53:55 +01:00
2023-11-28 12:18:29 +01:00
2024-02-07 18:55:10 -08:00
2024-04-30 10:51:33 +02:00
2023-12-04 18:04:05 -08:00
2023-11-20 10:15:16 -08:00
2024-02-07 12:38:30 +00:00
2024-04-06 18:20:14 +01:00
2024-02-20 09:22:58 +01:00
2024-04-25 15:24:23 -07:00
2023-11-20 11:43:45 +01:00
2023-07-14 20:39:29 -07:00
2023-08-04 15:33:50 -07:00
2024-04-01 10:49:28 +01:00
2023-07-14 20:39:30 -07:00
2024-03-29 09:46:39 +00:00
2024-02-02 10:57:55 -08:00
2024-03-07 21:12:43 -08:00
2024-04-19 11:34:07 +01:00
2023-09-18 09:44:05 +02:00
2024-04-26 15:34:00 +02:00
2024-04-11 19:52:11 -07:00
2024-04-01 11:28:32 +01:00
2023-07-14 20:39:30 -07:00
2024-04-26 15:34:00 +02:00
2024-02-26 11:46:12 +00:00
2024-04-26 10:46:41 +02:00
2024-03-29 08:27:50 -07:00
2024-04-30 13:24:48 +02:00
2024-04-25 12:41:37 -07:00
2023-10-04 11:49:20 -07:00
2024-02-16 09:36:37 +00:00
2024-02-14 10:49:37 +01:00
2024-01-04 18:06:46 -08:00
2023-12-04 14:45:26 -08:00
2024-04-29 13:12:19 -07:00
2023-10-23 15:01:53 -07:00
2023-07-28 14:07:59 -07:00
2024-04-25 12:41:37 -07:00
2023-08-01 15:06:27 -07:00
2024-04-01 10:49:28 +01:00
2023-08-07 08:53:55 +01:00
2023-09-14 16:16:36 +02:00
2023-11-16 22:33:31 +00:00
2024-01-24 16:24:06 -08:00
2024-03-19 13:47:29 +01:00
2023-12-14 16:38:59 +01:00
2024-02-05 16:45:49 -08:00
2023-12-13 16:16:40 -08:00