ops.c (70b4c53646e5960fd94f67c033aeca519908c3e9) | ops.c (780e87c29e77688a453a657ba14c9b8215dbec1c) |
---|---|
1/****************************************************************************** 2 * 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * GPL LICENSE SUMMARY 7 * 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. --- 822 unchanged lines hidden (view full) --- 831static void iwl_mvm_rx_mq(struct iwl_op_mode *op_mode, 832 struct napi_struct *napi, 833 struct iwl_rx_cmd_buffer *rxb) 834{ 835 struct iwl_rx_packet *pkt = rxb_addr(rxb); 836 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 837 838 if (likely(pkt->hdr.cmd == REPLY_RX_MPDU_CMD)) | 1/****************************************************************************** 2 * 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * GPL LICENSE SUMMARY 7 * 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. --- 822 unchanged lines hidden (view full) --- 831static void iwl_mvm_rx_mq(struct iwl_op_mode *op_mode, 832 struct napi_struct *napi, 833 struct iwl_rx_cmd_buffer *rxb) 834{ 835 struct iwl_rx_packet *pkt = rxb_addr(rxb); 836 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 837 838 if (likely(pkt->hdr.cmd == REPLY_RX_MPDU_CMD)) |
839 iwl_mvm_rx_rx_mpdu(mvm, napi, rxb); | 839 iwl_mvm_rx_mpdu_mq(mvm, napi, rxb, 0); |
840 else if (pkt->hdr.cmd == REPLY_RX_PHY_CMD) | 840 else if (pkt->hdr.cmd == REPLY_RX_PHY_CMD) |
841 iwl_mvm_rx_rx_phy_cmd(mvm, rxb); | 841 iwl_mvm_rx_phy_cmd_mq(mvm, rxb); |
842 else 843 iwl_mvm_rx_common(mvm, rxb, pkt); 844} 845 846static void iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int queue) 847{ 848 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 849 unsigned long mq; --- 634 unchanged lines hidden (view full) --- 1484 1485static void iwl_mvm_rx_mq_rss(struct iwl_op_mode *op_mode, 1486 struct napi_struct *napi, 1487 struct iwl_rx_cmd_buffer *rxb, 1488 unsigned int queue) 1489{ 1490 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 1491 | 842 else 843 iwl_mvm_rx_common(mvm, rxb, pkt); 844} 845 846static void iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int queue) 847{ 848 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 849 unsigned long mq; --- 634 unchanged lines hidden (view full) --- 1484 1485static void iwl_mvm_rx_mq_rss(struct iwl_op_mode *op_mode, 1486 struct napi_struct *napi, 1487 struct iwl_rx_cmd_buffer *rxb, 1488 unsigned int queue) 1489{ 1490 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); 1491 |
1492 iwl_mvm_rx_rx_mpdu(mvm, napi, rxb); | 1492 iwl_mvm_rx_mpdu_mq(mvm, napi, rxb, queue); |
1493} 1494 1495static const struct iwl_op_mode_ops iwl_mvm_ops_mq = { 1496 IWL_MVM_COMMON_OPS, 1497 .rx = iwl_mvm_rx_mq, 1498 .rx_rss = iwl_mvm_rx_mq_rss, 1499}; | 1493} 1494 1495static const struct iwl_op_mode_ops iwl_mvm_ops_mq = { 1496 IWL_MVM_COMMON_OPS, 1497 .rx = iwl_mvm_rx_mq, 1498 .rx_rss = iwl_mvm_rx_mq_rss, 1499}; |