kernel_optimize_test/drivers/net/bonding
Jianhua Xie cb8dda90c2 bonding: change AD_LINK_SPEED_BITMASK to enum to suport more speed
Port Key was determined as 16 bits according to the link speed,
duplex and user key (which is yet not supported).  In the old
speed field, 5 bits are for speed [1|10|100|1000|10000]Mbps as
below:
--------------------------------------------------------------
Port key :| User key        | Speed         |       Duplex|
--------------------------------------------------------------
    16                  6               1               0
This patch keeps the old layout, but changes AD_LINK_SPEED_BITMASK
from bit type to an enum type.  In this way, the speed field can
expand speed type from 5 to 32.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: David S. Miller <davem@davemloft.net>

Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-19 19:10:16 -05:00
..
bond_3ad.c bonding: change AD_LINK_SPEED_BITMASK to enum to suport more speed 2014-11-19 19:10:16 -05:00
bond_alb.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_debugfs.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_main.c net: generic dev_disable_lro() stacked device handling 2014-11-13 14:48:56 -05:00
bond_netlink.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_options.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_procfs.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_sysfs_slave.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
bond_sysfs.c net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00