We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5726ebe commit 7931a29Copy full SHA for 7931a29
headers/xdp/xsk.h
@@ -204,6 +204,20 @@ struct xsk_umem_config {
204
__u32 tx_metadata_len;
205
};
206
207
+/* The following fields are required, and must be set at once:
208
+ *
209
+ * @umem_area, @fill, @comp
210
211
+ * The following fields are optional:
212
213
+ * @fd, @size, @usr_config
214
+ * If @fd is unset, a new sockfd will be created.
215
+ * If @size is unset, @umem_area must be page-aligned.
216
+ * If @usr_config is unset, all fields in @usr_config will be set to
217
+ * default value (see `xsk_set_umem_config()`).
218
219
+ * Except for the fields mentioned above, none field can be set.
220
+ */
221
struct xsk_umem_opts {
222
size_t sz;
223
int fd;
0 commit comments