net/enic: pick the right Rx handler after changing MTU
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 18 Jul 2018 02:02:16 +0000 (19:02 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commit920aae3f5c19ee3c3663b87ff38251990a8d396a
tree5058a8bb5284bf98e50d9c1187851e60ddf5ecb0
parent3d416511b62b07884c598815d65c047e6b02a431
net/enic: pick the right Rx handler after changing MTU

enic_set_mtu always reverts to the default Rx handler after changing
MTU. Try to use the simpler, non-scatter handler in this case as well.

Fixes: 35e2cb6a1795 ("net/enic: add simple Rx handler")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_main.c