Thread (12 messages) flat view 12 messages, 4 authors, 2016-06-15

Re: [PATCH net-next v3 6/7] vmxnet3: introduce command to register memory region

From: Or Gerlitz <hidden>
Date: 2016-06-14 05:54:09
Also in: lkml

On Tue, Jun 14, 2016 at 4:50 AM, Shrikrishna Khare [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+++ b/drivers/net/vmxnet3/vmxnet3_defs.h
@@ -81,6 +81,7 @@ enum {
        VMXNET3_CMD_RESERVED2,
        VMXNET3_CMD_RESERVED3,
        VMXNET3_CMD_SET_COALESCE,
+       VMXNET3_CMD_REGISTER_MEMREGS,

        VMXNET3_CMD_FIRST_GET = 0xF00D0000,
        VMXNET3_CMD_GET_QUEUE_STATUS = VMXNET3_CMD_FIRST_GET,
@@ -668,6 +669,22 @@ struct Vmxnet3_CoalesceScheme {
        } coalPara;
 };

+struct Vmxnet3_MemoryRegion {
+       __le64                                  startPA;
+       __le32                                  length;
+       __le16                                  txQueueBits;
+       __le16                                  rxQueueBits;
+};

What is the use case for this command?

What's the role of the tx/rx queue bits fields?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help