net/mlx5: optimize copy of Ethernet header
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 24 Nov 2016 16:03:35 +0000 (17:03 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:53 +0000 (19:40 +0100)
commiteef822dd73d4cc0ee5b998d75c8b6faf9b859d02
treecd52638dcccbad65613e62f7a358135e685e8433
parent61b09ae45a977eceb16b0d4511e12fc4888ef89d
net/mlx5: optimize copy of Ethernet header

Use fewer instructions to copy the first two bytes of Ethernet headers to
work queue elements.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c