net/enic: support scatter Rx in MTU update
authorJohn Daley <johndale@cisco.com>
Thu, 22 Sep 2016 17:02:46 +0000 (10:02 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitc3e09182bcd6640c136e9d32a53c8b7607ef6448
treee5b3330a503a221b94aa329343d08fee44cb61e0
parentd10798072c5cb3ed4a7c636a003285120b2f3ce7
net/enic: support scatter Rx in MTU update

Re-initialize Rq's when MTU is changed. This allows for more
efficient use of mbufs when moving from an MTU that is greater
than the mbuf size to one that is less. Also move to using Rx
scatter mode when moving from an MTU less than the mbuf size
to one that is greater.

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_rq.h
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c
drivers/net/enic/enic_rxtx.c