]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Check the enabling mtu flag in SET_PORT wrapper flow
authorShaker Daibes <shakerd@mellanox.com>
Sun, 29 Jan 2017 16:56:19 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 20:26:43 +0000 (15:26 -0500)
commit4f17135fd9df0a8e8816a626c1ec9da41d49d4c4
tree9a657271f0444579fcfa7567fa4383be00cf531b
parentd987e202d89b38a2dd225dbe45b5b725c12fe0d1
net/mlx4_en: Check the enabling mtu flag in SET_PORT wrapper flow

Make sure MTU mask flag is set using new field upon set port
request. In addition, move this code into a helper function for better
code readability.

Signed-off-by: Shaker Daibes <shakerd@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c