Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c345 interface->glort = hw->mac.dglort_map & FM10K_DGLORTMAP_NONE; in fm10k_request_glort_range()
359 interface->glort += mask; in fm10k_request_glort_range()
362 interface->glort += interface->glort_count; in fm10k_request_glort_range()
365 interface->glort += 64; in fm10k_request_glort_range()
682 int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort, in fm10k_queue_mac_request() argument
701 request->mac.glort = glort; in fm10k_queue_mac_request()
724 u16 glort, bool vlans) in fm10k_clear_macvlan_queue() argument
738 if (r->mac.glort != glort) in fm10k_clear_macvlan_queue()
757 u16 glort = interface->glort; in fm10k_uc_vlan_unsync() local
765 err = fm10k_queue_mac_request(interface, glort, uc_addr, vid, set); in fm10k_uc_vlan_unsync()
[all …]
Dfm10k_pf.c285 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf() argument
287 glort &= hw->mac.dglort_map >> FM10K_DGLORTMAP_MASK_SHIFT; in fm10k_glort_valid_pf()
289 return glort == (hw->mac.dglort_map & FM10K_DGLORTMAP_NONE); in fm10k_glort_valid_pf()
304 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf() argument
315 if (!fm10k_glort_valid_pf(hw, glort) || vid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_xc_addr_pf()
326 mac_update.glort = cpu_to_le16(glort); in fm10k_update_xc_addr_pf()
351 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf() argument
358 return fm10k_update_xc_addr_pf(hw, glort, mac, vid, add, flags); in fm10k_update_uc_addr_pf()
372 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf() argument
379 return fm10k_update_xc_addr_pf(hw, glort, mac, vid, add, 0); in fm10k_update_mc_addr_pf()
[all …]
Dfm10k_iov.c111 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
137 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
229 u16 glort = vf_info->glort; in fm10k_iov_mbx() local
235 if (vf_info->vf_flags && !fm10k_glort_valid_pf(hw, glort)) { in fm10k_iov_mbx()
237 fm10k_clear_macvlan_queue(interface, glort, false); in fm10k_iov_mbx()
302 fm10k_clear_macvlan_queue(interface, vf_info->glort, false); in fm10k_iov_suspend()
351 dglort.glort = hw->mac.dglort_map & FM10K_DGLORTMAP_NONE; in fm10k_iov_resume()
383 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) in fm10k_iov_update_pvid() argument
388 u16 vf_idx = (glort - hw->mac.dglort_map) & FM10K_DGLORTMAP_NONE; in fm10k_iov_update_pvid()
555 fm10k_clear_macvlan_queue(interface, vf_info->glort, false); in fm10k_reset_vf_info()
Dfm10k.h236 u16 glort; member
386 u16 glort; member
449 __le32 glort; member
514 int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort,
517 u16 glort, bool vlans);
531 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
Dfm10k_pf.h10 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort);
68 __le16 glort; member
Dfm10k_vf.c271 u16 __always_unused glort, in fm10k_update_uc_addr_vf() argument
315 u16 __always_unused glort, in fm10k_update_mc_addr_vf() argument
399 u16 __always_unused glort, in fm10k_update_lport_state_vf() argument
428 u16 __always_unused glort, u8 mode) in fm10k_update_xcast_mode_vf() argument
Dfm10k_pci.c817 item->mac.glort, in fm10k_macvlan_task()
824 item->mac.glort, in fm10k_macvlan_task()
1131 dglort.glort = interface->glort + 64; in fm10k_configure_dglort()
1140 dglort.glort = interface->glort; in fm10k_configure_dglort()
1594 u16 glort, pvid; in fm10k_update_pvid() local
1604 glort = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_GLORT); in fm10k_update_pvid()
1608 if (!fm10k_glort_valid_pf(hw, glort)) in fm10k_update_pvid()
1618 err = fm10k_iov_update_pvid(interface, glort, pvid); in fm10k_update_pvid()
2258 fm10k_clear_macvlan_queue(interface, interface->glort, true); in fm10k_remove()
Dfm10k_type.h455 u16 glort; /* GLORT base */ member
586 u16 glort; /* resource tag for this VF */ member
708 __le32 glort; /* sglort/dglort */ member
Dfm10k_main.c468 FM10K_CB(skb)->fi.d.glort = rx_desc->d.glort; in fm10k_process_skb_fields()