Lines Matching refs:ramrod_param
6147 struct bnx2x_rx_mode_ramrod_params ramrod_param; in bnx2x_set_q_rx_mode() local
6150 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_q_rx_mode()
6153 ramrod_param.cid = 0; in bnx2x_set_q_rx_mode()
6154 ramrod_param.cl_id = cl_id; in bnx2x_set_q_rx_mode()
6155 ramrod_param.rx_mode_obj = &bp->rx_mode_obj; in bnx2x_set_q_rx_mode()
6156 ramrod_param.func_id = BP_FUNC(bp); in bnx2x_set_q_rx_mode()
6158 ramrod_param.pstate = &bp->sp_state; in bnx2x_set_q_rx_mode()
6159 ramrod_param.state = BNX2X_FILTER_RX_MODE_PENDING; in bnx2x_set_q_rx_mode()
6161 ramrod_param.rdata = bnx2x_sp(bp, rx_mode_rdata); in bnx2x_set_q_rx_mode()
6162 ramrod_param.rdata_mapping = bnx2x_sp_mapping(bp, rx_mode_rdata); in bnx2x_set_q_rx_mode()
6166 ramrod_param.ramrod_flags = ramrod_flags; in bnx2x_set_q_rx_mode()
6167 ramrod_param.rx_mode_flags = rx_mode_flags; in bnx2x_set_q_rx_mode()
6169 ramrod_param.rx_accept_flags = rx_accept_flags; in bnx2x_set_q_rx_mode()
6170 ramrod_param.tx_accept_flags = tx_accept_flags; in bnx2x_set_q_rx_mode()
6172 rc = bnx2x_config_rx_mode(bp, &ramrod_param); in bnx2x_set_q_rx_mode()
8415 struct bnx2x_vlan_mac_ramrod_params ramrod_param; in bnx2x_set_mac_one() local
8417 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_mac_one()
8420 ramrod_param.vlan_mac_obj = obj; in bnx2x_set_mac_one()
8421 ramrod_param.ramrod_flags = *ramrod_flags; in bnx2x_set_mac_one()
8425 memcpy(ramrod_param.user_req.u.mac.mac, mac, ETH_ALEN); in bnx2x_set_mac_one()
8427 __set_bit(mac_type, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_mac_one()
8431 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_set_mac_one()
8433 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_set_mac_one()
8436 rc = bnx2x_config_vlan_mac(bp, &ramrod_param); in bnx2x_set_mac_one()
8453 struct bnx2x_vlan_mac_ramrod_params ramrod_param; in bnx2x_set_vlan_one() local
8455 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_vlan_one()
8458 ramrod_param.vlan_mac_obj = obj; in bnx2x_set_vlan_one()
8459 ramrod_param.ramrod_flags = *ramrod_flags; in bnx2x_set_vlan_one()
8463 ramrod_param.user_req.u.vlan.vlan = vlan; in bnx2x_set_vlan_one()
8464 __set_bit(BNX2X_VLAN, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_vlan_one()
8467 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_set_vlan_one()
8469 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_set_vlan_one()
8472 rc = bnx2x_config_vlan_mac(bp, &ramrod_param); in bnx2x_set_vlan_one()