Lines Matching defs:bp
22 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep()
42 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local
83 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local
113 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local
141 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local
176 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() local
217 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() local
248 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
261 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
281 static void bnxt_free_vf_resources(struct bnxt *bp) in bnxt_free_vf_resources()
302 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
348 static int bnxt_hwrm_func_buf_rgtr(struct bnxt *bp) in bnxt_hwrm_func_buf_rgtr()
366 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int *num_vfs) in bnxt_hwrm_func_cfg()
440 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
520 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
546 struct bnxt *bp = netdev_priv(dev); in bnxt_sriov_configure() local
586 static int bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_resp()
622 static int bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_err_resp()
653 static int bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_exec_fwd_resp()
684 static int bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_validate_set_mac()
697 static int bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_set_link()
750 static int bnxt_vf_req_validate_snd(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_req_validate_snd()
776 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
792 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()
817 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
821 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
826 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()