abstract transport to static driver functions and opaque driver specific information.
This splits a transport into static driver specific functions for the common iscsi commands. Optionally, a driver specific opaque memory is introduced which is currently only used by iSER transport. Last a lot of functions changed to static. Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -202,13 +202,6 @@ struct iser_conn {
|
||||
struct iser_tx_desc *tx_desc;
|
||||
};
|
||||
|
||||
|
||||
struct iser_transport { /* struct iser_conn */
|
||||
|
||||
struct iscsi_transport t;
|
||||
struct iser_conn iser_conn;
|
||||
};
|
||||
|
||||
void iscsi_init_iser_transport(struct iscsi_context *iscsi);
|
||||
|
||||
#endif /* __linux */
|
||||
|
||||
Reference in New Issue
Block a user