9p: create transport rpc cut-thru
[firefly-linux-kernel-4.4.55.git] / include / net / 9p / transport.h
index 9dd4a05619a886c7bd7fa79fff3aa53315fcb4cd..adbcafe9917720e7d274ad4998402c6fa8f36080 100644 (file)
@@ -39,6 +39,8 @@ struct p9_trans {
        int (*read) (struct p9_trans *, void *, int);
        void (*close) (struct p9_trans *);
        unsigned int (*poll)(struct p9_trans *, struct poll_table_struct *);
+       int (*rpc) (struct p9_trans *t, struct p9_fcall *tc,
+                                                       struct p9_fcall **rc);
 };
 
 struct p9_trans_module {