]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Support iSCSI PDU padding
authorOr Gerlitz <ogerlitz@mellanox.com>
Mon, 1 Aug 2011 21:14:09 +0000 (21:14 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 17 Aug 2011 16:45:07 +0000 (09:45 -0700)
commit7c7363e219036c0e5f7bf9993fe1ecadfe408c75
treea5ea0224f3bb7998991a4c9e39f6f8aea7c70ba4
parentfccc686e6b7531104ac763bab32089cefadc8c9b
IB/iser: Support iSCSI PDU padding

RFC3270 mandates that iSCSI PDUs are padded to the closest integer
number of four byte words.  Fix the iser code to support that on both
the TX/RX flows.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_initiator.c