net/mlx5e: IPoIB, Xmit flow
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Apr 2017 03:37:02 +0000 (06:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:08:31 +0000 (11:08 -0400)
commit258545449b7b410727b516b782256f8a3bde8bf2
treee5a5c167a5551cbac046fe1f2f96edeeba8940fa
parent77bdf8950b3cd17c780b4e5a2803806a9f573f51
net/mlx5e: IPoIB, Xmit flow

Implement mlx5e's IPoIB SKB transmit using the helper functions provided
by mlx5e ethernet tx flow, the only difference in the code between
mlx5e_xmit and mlx5i_xmit is that IPoIB has some extra fields to fill
(UD datagram segment) in the TX descriptor (WQE) and it doesn't need to
have any vlan handling.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib.h
include/linux/mlx5/qp.h