net/mlx4_en: break out tx_desc write into separate function
authorBrenden Blanco <bblanco@plumgrid.com>
Tue, 19 Jul 2016 19:16:54 +0000 (12:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 04:46:33 +0000 (21:46 -0700)
commit224e92e02a769b8028ca2450443586af8b4f1715
treece194a7d8fad10dfb1edf32036b2cbe585665559
parent6ce96ca348a9e949f8c43f4d3e98db367d93cffd
net/mlx4_en: break out tx_desc write into separate function

In preparation for writing the tx descriptor from multiple functions,
create a helper for both normal and blueflame access.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/qp.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
include/linux/mlx4/qp.h