/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve.c | 33 struct mlxsw_sp_nve_mc_entry *mc_entry, 36 const struct mlxsw_sp_nve_mc_entry *mc_entry); 38 const struct mlxsw_sp_nve_mc_entry *mc_entry, 41 const struct mlxsw_sp_nve_mc_entry *mc_entry, 87 struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_add() 90 mc_entry->addr4 = addr->addr4; in mlxsw_sp_nve_mc_record_ipv4_entry_add() 97 const struct mlxsw_sp_nve_mc_entry *mc_entry) in mlxsw_sp_nve_mc_record_ipv4_entry_del() 103 const struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_set() 106 u32 udip = be32_to_cpu(mc_entry->addr4); in mlxsw_sp_nve_mc_record_ipv4_entry_set() 113 const struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_compare() 86 mlxsw_sp_nve_mc_record_ipv4_entry_add(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv4_entry_add() argument 96 mlxsw_sp_nve_mc_record_ipv4_entry_del(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_ipv4_entry_del() argument 102 mlxsw_sp_nve_mc_record_ipv4_entry_set(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, char *tnumt_pl, unsigned int entry_index) mlxsw_sp_nve_mc_record_ipv4_entry_set() argument 112 mlxsw_sp_nve_mc_record_ipv4_entry_compare(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv4_entry_compare() argument 129 mlxsw_sp_nve_mc_record_ipv6_entry_add(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv6_entry_add() argument 147 mlxsw_sp_nve_mc_record_ipv6_entry_del(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_ipv6_entry_del() argument 155 mlxsw_sp_nve_mc_record_ipv6_entry_set(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, char *tnumt_pl, unsigned int entry_index) mlxsw_sp_nve_mc_record_ipv6_entry_set() argument 165 mlxsw_sp_nve_mc_record_ipv6_entry_compare(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv6_entry_compare() argument 387 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_record_refresh() local 423 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_entry_find() local 439 struct mlxsw_sp_nve_mc_entry *mc_entry = NULL; mlxsw_sp_nve_mc_record_ip_add() local 478 mlxsw_sp_nve_mc_record_entry_del(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_entry_del() argument 535 mlxsw_sp_nve_mc_record_find(struct mlxsw_sp_nve_mc_list *mc_list, enum mlxsw_sp_l3proto proto, union mlxsw_sp_l3addr *addr, struct mlxsw_sp_nve_mc_entry **mc_entry) mlxsw_sp_nve_mc_record_find() argument 583 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_list_ip_del() local 691 struct mlxsw_sp_nve_mc_entry *mc_entry = &mc_record->entries[i]; mlxsw_sp_nve_mc_record_delete() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve.c | 33 struct mlxsw_sp_nve_mc_entry *mc_entry, 36 const struct mlxsw_sp_nve_mc_entry *mc_entry); 38 const struct mlxsw_sp_nve_mc_entry *mc_entry, 41 const struct mlxsw_sp_nve_mc_entry *mc_entry, 87 struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_add() 90 mc_entry->addr4 = addr->addr4; in mlxsw_sp_nve_mc_record_ipv4_entry_add() 97 const struct mlxsw_sp_nve_mc_entry *mc_entry) in mlxsw_sp_nve_mc_record_ipv4_entry_del() 103 const struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_set() 106 u32 udip = be32_to_cpu(mc_entry->addr4); in mlxsw_sp_nve_mc_record_ipv4_entry_set() 113 const struct mlxsw_sp_nve_mc_entry *mc_entry, in mlxsw_sp_nve_mc_record_ipv4_entry_compare() 86 mlxsw_sp_nve_mc_record_ipv4_entry_add(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv4_entry_add() argument 96 mlxsw_sp_nve_mc_record_ipv4_entry_del(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_ipv4_entry_del() argument 102 mlxsw_sp_nve_mc_record_ipv4_entry_set(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, char *tnumt_pl, unsigned int entry_index) mlxsw_sp_nve_mc_record_ipv4_entry_set() argument 112 mlxsw_sp_nve_mc_record_ipv4_entry_compare(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv4_entry_compare() argument 129 mlxsw_sp_nve_mc_record_ipv6_entry_add(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv6_entry_add() argument 139 mlxsw_sp_nve_mc_record_ipv6_entry_del(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_ipv6_entry_del() argument 145 mlxsw_sp_nve_mc_record_ipv6_entry_set(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, char *tnumt_pl, unsigned int entry_index) mlxsw_sp_nve_mc_record_ipv6_entry_set() argument 155 mlxsw_sp_nve_mc_record_ipv6_entry_compare(const struct mlxsw_sp_nve_mc_record *mc_record, const struct mlxsw_sp_nve_mc_entry *mc_entry, const union mlxsw_sp_l3addr *addr) mlxsw_sp_nve_mc_record_ipv6_entry_compare() argument 377 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_record_refresh() local 413 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_entry_find() local 429 struct mlxsw_sp_nve_mc_entry *mc_entry = NULL; mlxsw_sp_nve_mc_record_ip_add() local 468 mlxsw_sp_nve_mc_record_entry_del(struct mlxsw_sp_nve_mc_record *mc_record, struct mlxsw_sp_nve_mc_entry *mc_entry) mlxsw_sp_nve_mc_record_entry_del() argument 525 mlxsw_sp_nve_mc_record_find(struct mlxsw_sp_nve_mc_list *mc_list, enum mlxsw_sp_l3proto proto, union mlxsw_sp_l3addr *addr, struct mlxsw_sp_nve_mc_entry **mc_entry) mlxsw_sp_nve_mc_record_find() argument 573 struct mlxsw_sp_nve_mc_entry *mc_entry; mlxsw_sp_nve_mc_list_ip_del() local 681 struct mlxsw_sp_nve_mc_entry *mc_entry = &mc_record->entries[i]; mlxsw_sp_nve_mc_record_delete() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 233 struct ehea_mc_list *mc_entry; in ehea_update_bcmc_registrations() local 250 list_for_each_entry(mc_entry, &port->mc_list->list,list) in ehea_update_bcmc_registrations() 284 list_for_each_entry(mc_entry, in ehea_update_bcmc_registrations() 293 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations() 295 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations() 301 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations() 303 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations() 1842 struct ehea_mc_list *mc_entry = port->mc_list; in ehea_drop_multicast_list() local 1849 mc_entry = list_entry(pos, struct ehea_mc_list, list); in ehea_drop_multicast_list() 1851 hret = ehea_multicast_reg_helper(port, mc_entry in ehea_drop_multicast_list() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 237 struct ehea_mc_list *mc_entry; in ehea_update_bcmc_registrations() local 254 list_for_each_entry(mc_entry, &port->mc_list->list,list) in ehea_update_bcmc_registrations() 288 list_for_each_entry(mc_entry, in ehea_update_bcmc_registrations() 297 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations() 299 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations() 305 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations() 307 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations() 1846 struct ehea_mc_list *mc_entry = port->mc_list; in ehea_drop_multicast_list() local 1853 mc_entry = list_entry(pos, struct ehea_mc_list, list); in ehea_drop_multicast_list() 1855 hret = ehea_multicast_reg_helper(port, mc_entry in ehea_drop_multicast_list() [all...] |