qede: Linearize SKBs when needed
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 24 Feb 2016 14:52:46 +0000 (16:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:54:44 +0000 (16:54 -0500)
commitb1199b100e67f6d296e915b501f3c84d892a99c2
tree4262af743a7685dc43f4005687bbbddc77f86ed0
parent0e7441d73dafe5481f62029bad8ef046e22313b1
qede: Linearize SKBs when needed

There's a corner-case in HW where an SKB queued for transmission that
contains too many frags will cause FW to assert.
This patch solves this by linearizing the SKB if necessary.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c