]> git.baikalelectronics.ru Git - kernel.git/commit
enic: Add support for MTU change via port profile on a dynamic vnic
authorRoopa Prabhu <roprabhu@cisco.com>
Fri, 3 Jun 2011 14:35:17 +0000 (14:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2011 05:48:47 +0000 (22:48 -0700)
commitf094a9625f8380a804818079c93a7379e7b810cc
tree777ffc3509de41fb3cb0c182e9f6ef69e6f1c698
parent35093c291234b5535d6763be09629e4d54d4714d
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