]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()
authorKumar Sanghvi <kumaras@chelsio.com>
Tue, 18 Feb 2014 12:26:14 +0000 (17:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:23:01 +0000 (16:23 -0500)
commit0034b2986ae44c72f8b784cf419e67f48e5304de
tree632865a2df3be013709ba9474c27fc47e7083740
parentc1f49e3e4adfba6eb953481d6731b2ee07085237
cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()

Also, modify is_eth_imm() to return header length so it doesn't
have to be recomputed in calc_tx_flits().

Based on original work by Mike Werner <werner@chelsio.com>

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c