Go to the documentation of this file.
23 #ifndef __BOND_ALB_H__
24 #define __BOND_ALB_H__
26 #include <linux/if_ether.h>
31 #define BOND_ALB_INFO(bond) ((bond)->alb_info)
32 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
34 #define ALB_TIMER_TICKS_PER_SEC 10
35 #define BOND_TLB_REBALANCE_INTERVAL 10
39 #define BOND_ALB_LP_INTERVAL 1
43 #define BOND_TLB_REBALANCE_TICKS (BOND_TLB_REBALANCE_INTERVAL \
44 * ALB_TIMER_TICKS_PER_SEC)
46 #define BOND_ALB_LP_TICKS (BOND_ALB_LP_INTERVAL \
47 * ALB_TIMER_TICKS_PER_SEC)
49 #define TLB_HASH_TABLE_SIZE 256
55 #define TLB_NULL_INDEX 0xffffffff
56 #define MAX_LP_BURST 3
59 #define RLB_HASH_TABLE_SIZE 256
60 #define RLB_NULL_INDEX 0xffffffff
61 #define RLB_UPDATE_DELAY (2*ALB_TIMER_TICKS_PER_SEC)
62 #define RLB_ARP_BURST_SIZE 2
63 #define RLB_UPDATE_RETRY 3
69 #define RLB_PROMISC_TIMEOUT (10*ALB_TIMER_TICKS_PER_SEC)