]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add support for MPA header being split over two tcp packets
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Mon, 9 Oct 2017 09:37:53 +0000 (12:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:21:27 +0000 (10:21 -0700)
commitc6d9ddc11ccb8d49747974f51f7f4ec6cdce61f9
tree2b2312e0eb70ff13ff86ad11e0ae0710bdae55d4
parent06fbdf2dbb86eb402f6cbf4d1f06d9f06fc02a33
qed: Add support for MPA header being split over two tcp packets

There is a special case where an MPA header is split over to tcp
packets, in this case we need to wait for the next packet to
get the fpdu length. We use the incomplete_bytes to mark this
fpdu as a "special" one which requires updating the length with
the next packet

Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
drivers/net/ethernet/qlogic/qed/qed_iwarp.h