Lines Matching refs:ramrod_param
6167 struct bnx2x_rx_mode_ramrod_params ramrod_param; in bnx2x_set_q_rx_mode() local
6170 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_q_rx_mode()
6173 ramrod_param.cid = 0; in bnx2x_set_q_rx_mode()
6174 ramrod_param.cl_id = cl_id; in bnx2x_set_q_rx_mode()
6175 ramrod_param.rx_mode_obj = &bp->rx_mode_obj; in bnx2x_set_q_rx_mode()
6176 ramrod_param.func_id = BP_FUNC(bp); in bnx2x_set_q_rx_mode()
6178 ramrod_param.pstate = &bp->sp_state; in bnx2x_set_q_rx_mode()
6179 ramrod_param.state = BNX2X_FILTER_RX_MODE_PENDING; in bnx2x_set_q_rx_mode()
6181 ramrod_param.rdata = bnx2x_sp(bp, rx_mode_rdata); in bnx2x_set_q_rx_mode()
6182 ramrod_param.rdata_mapping = bnx2x_sp_mapping(bp, rx_mode_rdata); in bnx2x_set_q_rx_mode()
6186 ramrod_param.ramrod_flags = ramrod_flags; in bnx2x_set_q_rx_mode()
6187 ramrod_param.rx_mode_flags = rx_mode_flags; in bnx2x_set_q_rx_mode()
6189 ramrod_param.rx_accept_flags = rx_accept_flags; in bnx2x_set_q_rx_mode()
6190 ramrod_param.tx_accept_flags = tx_accept_flags; in bnx2x_set_q_rx_mode()
6192 rc = bnx2x_config_rx_mode(bp, &ramrod_param); in bnx2x_set_q_rx_mode()
8435 struct bnx2x_vlan_mac_ramrod_params ramrod_param; in bnx2x_set_mac_one() local
8437 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_mac_one()
8440 ramrod_param.vlan_mac_obj = obj; in bnx2x_set_mac_one()
8441 ramrod_param.ramrod_flags = *ramrod_flags; in bnx2x_set_mac_one()
8445 memcpy(ramrod_param.user_req.u.mac.mac, mac, ETH_ALEN); in bnx2x_set_mac_one()
8447 __set_bit(mac_type, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_mac_one()
8451 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_set_mac_one()
8453 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_set_mac_one()
8456 rc = bnx2x_config_vlan_mac(bp, &ramrod_param); in bnx2x_set_mac_one()
8473 struct bnx2x_vlan_mac_ramrod_params ramrod_param; in bnx2x_set_vlan_one() local
8475 memset(&ramrod_param, 0, sizeof(ramrod_param)); in bnx2x_set_vlan_one()
8478 ramrod_param.vlan_mac_obj = obj; in bnx2x_set_vlan_one()
8479 ramrod_param.ramrod_flags = *ramrod_flags; in bnx2x_set_vlan_one()
8483 ramrod_param.user_req.u.vlan.vlan = vlan; in bnx2x_set_vlan_one()
8484 __set_bit(BNX2X_VLAN, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_vlan_one()
8487 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_set_vlan_one()
8489 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_set_vlan_one()
8492 rc = bnx2x_config_vlan_mac(bp, &ramrod_param); in bnx2x_set_vlan_one()