Home
last modified time | relevance | path

Searched refs:bond_info (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/bonding/
H A Dbond_alb.c127 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); in tlb_initialize() local
138 bond_info->tx_hashtbl = new_hashtbl; in tlb_initialize()
141 tlb_init_table_entry(&bond_info->tx_hashtbl[i], 0); in tlb_initialize()
151 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); in tlb_deinitialize() local
155 kfree(bond_info->tx_hashtbl); in tlb_deinitialize()
156 bond_info->tx_hashtbl = NULL; in tlb_deinitialize()
194 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); in __tlb_choose_channel() local
198 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel()
250 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); in rlb_update_entry_from_arp() local
257 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_update_entry_from_arp()
[all …]
H A Dbond_debugfs.c21 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); in bond_debug_rlb_hash_show() local
33 hash_index = bond_info->rx_hashtbl_used_head; in bond_debug_rlb_hash_show()
36 client_info = &(bond_info->rx_hashtbl[hash_index]); in bond_debug_rlb_hash_show()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_bond.c658 static bool is_bond_setting_supported(struct netdev_lag_upper_info *bond_info) in is_bond_setting_supported() argument
660 if (!bond_info) in is_bond_setting_supported()
663 if (bond_info->tx_type != NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in is_bond_setting_supported()
664 bond_info->tx_type != NETDEV_LAG_TX_TYPE_HASH) in is_bond_setting_supported()
667 if (bond_info->tx_type == NETDEV_LAG_TX_TYPE_HASH && in is_bond_setting_supported()
668 bond_info->hash_type > NETDEV_LAG_HASH_L23) in is_bond_setting_supported()
704 static bool check_linking_bond_support(struct netdev_lag_upper_info *bond_info, in check_linking_bond_support() argument
708 if (!is_bond_setting_supported(bond_info)) in check_linking_bond_support()