Lines Matching defs:bp
28 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl()
57 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep()
72 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local
114 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags()
133 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf()
142 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf()
164 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() local
183 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local
216 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local
248 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local
294 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() local
337 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() local
369 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
381 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
402 static void bnxt_free_vf_resources(struct bnxt *bp) in bnxt_free_vf_resources()
424 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
470 static int bnxt_hwrm_func_buf_rgtr(struct bnxt *bp) in bnxt_hwrm_func_buf_rgtr()
490 static int __bnxt_set_vf_params(struct bnxt *bp, int vf_id) in __bnxt_set_vf_params()
523 static void bnxt_hwrm_roce_sriov_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_roce_sriov_cfg()
576 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg()
697 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg()
782 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg()
790 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
818 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
922 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
956 struct bnxt *bp = netdev_priv(dev); in bnxt_sriov_configure() local
996 static int bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_resp()
1026 static int bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_err_resp()
1049 static int bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_exec_fwd_resp()
1072 static int bnxt_vf_configure_mac(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_configure_mac()
1095 static int bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_validate_set_mac()
1132 static int bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_set_link()
1191 static int bnxt_vf_req_validate_snd(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_req_validate_snd()
1220 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
1236 int bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) in bnxt_approve_mac()
1269 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()
1311 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
1318 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
1322 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
1327 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()
1331 int bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) in bnxt_approve_mac()