]> 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)
commitc8d282adfb3fb0870c03bff97db5c5ee90b7928d
treea5ea0224f3bb7998991a4c9e39f6f8aea7c70ba4
parent4c24f400d9ddf4553de8d67081e0fb46b6641da5
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