enic: Add support for MTU change via port profile on a dynamic vnic
commitc97c894dc7bcae28d0308dbcd010185079de4a28
authorRoopa Prabhu <roprabhu@cisco.com>
Fri, 3 Jun 2011 14:35:17 +0000 (3 14:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2011 05:48:47 +0000 (6 22:48 -0700)
tree777ffc3509de41fb3cb0c182e9f6ef69e6f1c698
parent8d13e670d3fb83f4668c9e37196c3bbf5b9f094c
enic: Add support for MTU change via port profile on a dynamic vnic

enic driver gets MTU change notifications for MTU changes in the
port profile associated to a dynamic vnic. This patch adds support
in enic driver to set new MTU on the dynamic vnic and dynamically
adjust its buffers with new MTU size in response to such notifications.

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c