net/enic: update MTU for non-scattered Rx
authorJohn Daley <johndale@cisco.com>
Fri, 24 Jun 2016 22:29:28 +0000 (15:29 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 29 Jun 2016 09:58:26 +0000 (11:58 +0200)
commit396a6d71e556cc5311f917ea494a0eecc4e9cce3
tree9de79fa5f218a132970d8bb2b7d019c9b23dfe48
parentbb34ffb848a01e2abe7300e9655ada109ffab62a
net/enic: update MTU for non-scattered Rx

Provide an update MTU callback. The function returns -ENOTSUP
if Rx scatter is enabled. Updating the MTU to be greater than
the value configured via the Cisco CIMC/UCSM management interface
is allowed provided it is still less than the maximum egress packet
size allowed by the NIC minus the size of the L2 header.

Signed-off-by: John Daley <johndale@cisco.com>
doc/guides/nics/overview.rst
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c