Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c1734 struct bnx2x_vlan_mac_registry_elem *reg_elem; in bnx2x_vlan_mac_get_registry_elem() local
1739 reg_elem = kzalloc(sizeof(*reg_elem), GFP_ATOMIC); in bnx2x_vlan_mac_get_registry_elem()
1740 if (!reg_elem) in bnx2x_vlan_mac_get_registry_elem()
1744 if (!o->get_cam_offset(o, &reg_elem->cam_offset)) { in bnx2x_vlan_mac_get_registry_elem()
1749 kfree(reg_elem); in bnx2x_vlan_mac_get_registry_elem()
1753 DP(BNX2X_MSG_SP, "Got cam offset %d\n", reg_elem->cam_offset); in bnx2x_vlan_mac_get_registry_elem()
1756 memcpy(&reg_elem->u, &elem->cmd_data.vlan_mac.u, in bnx2x_vlan_mac_get_registry_elem()
1757 sizeof(reg_elem->u)); in bnx2x_vlan_mac_get_registry_elem()
1760 reg_elem->vlan_mac_flags = in bnx2x_vlan_mac_get_registry_elem()
1763 reg_elem = o->check_del(bp, o, &elem->cmd_data.vlan_mac.u); in bnx2x_vlan_mac_get_registry_elem()
[all …]