Lines Matching +full:1 +full:qav
211 static int debug = -1;
318 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump()
425 16, 1, buffer_info->skb->data, in igb_dump()
448 * 63 1 0 in igb_dump()
450 * 0 | Packet Buffer Address [63:1] |A0/NSE| in igb_dump()
452 * 8 | Header Buffer Address [63:1] | DD | in igb_dump()
510 16, 1, in igb_dump()
541 * @state: I2C data value (0 or 1) to set
661 #define Q_IDX_82576(i) (((i & 0x1) << 3) + (i >> 1))
677 * is allocated queues 0 and 8, VF 1 queues 1 and 9, etc. in igb_cache_ring_register()
751 #define IGB_N0_QUEUE -1
790 (rx_queue & 0x8) << 1); in igb_assign_vector()
794 ((tx_queue & 0x8) << 1) + 8); in igb_assign_vector()
810 rx_queue >> 1, in igb_assign_vector()
814 tx_queue >> 1, in igb_assign_vector()
827 q_vector->set_itr = 1; in igb_assign_vector()
1078 adapter->num_tx_queues = 1; in igb_set_interrupt_capability()
1085 /* if Tx handler is separate add 1 for every Tx queue */ in igb_set_interrupt_capability()
1092 /* add 1 vector for link status interrupts */ in igb_set_interrupt_capability()
1128 adapter->rss_queues = 1; in igb_set_interrupt_capability()
1130 adapter->num_rx_queues = 1; in igb_set_interrupt_capability()
1131 adapter->num_tx_queues = 1; in igb_set_interrupt_capability()
1132 adapter->num_q_vectors = 1; in igb_set_interrupt_capability()
1166 /* igb only supports 1 Tx and/or 1 Rx queue per vector */ in igb_alloc_q_vector()
1167 if (txr_count > 1 || rxr_count > 1) in igb_alloc_q_vector()
1306 0, 0, 1, rxr_idx); in igb_alloc_q_vectors()
1614 WARN_ON(queue < 0 || queue > 1); in set_queue_mode()
1651 * igb_config_tx_modes - Configure "Qav Tx mode" features on igb
1669 WARN_ON(queue < 0 || queue > 1); in igb_config_tx_modes()
1672 /* If any of the Qav features is enabled, configure queues as SR and in igb_config_tx_modes()
1687 * Priority mode while the Qav mode is enabled, so, in igb_config_tx_modes()
1692 * Queue0 QueueMode must be set to 1b when in igb_config_tx_modes()
1693 * TransmitMode is set to Qav." in igb_config_tx_modes()
1754 * the TQAVCC register (1Gbps / 61034), which reduces in igb_config_tx_modes()
1828 …netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredi… in igb_config_tx_modes()
1871 * igb_setup_tx_mode - Switch to/from Qav Tx mode when applicable
1892 /* Configure TQAVCTRL register: set transmit mode to 'Qav', in igb_setup_tx_mode()
1924 * reason, we set MAX_ TPKT_SIZE to (4kB - 1) / 64. in igb_setup_tx_mode()
1926 val = (4096 - 1) / 64; in igb_setup_tx_mode()
1984 * at least 1 descriptor unused to make sure in igb_configure()
2127 hw->mac.get_link_status = 1; in igb_up()
2294 * rounded up to the next 1KB and expressed in KB. Likewise, in igb_reset()
2304 * count since the value we care about is 2 frames, not 1. in igb_reset()
2344 fc->send_xon = 1; in igb_reset()
2483 return 1; in igb_set_features()
2563 /* CBS offloading is only supported by queue 0 and queue 1. */ in igb_offload_cbs()
2564 if (qopt->queue < 0 || qopt->queue > 1) in igb_offload_cbs()
2801 /* Launchtime offloading is only supported by queues 0 and 1. */ in igb_offload_txtime()
2802 if (qopt->queue < 0 || qopt->queue > 1) in igb_offload_txtime()
3100 hw->nvm.ops.read(hw, NVM_COMPAT, 1, &eeprom_data); in igb_init_mas()
3196 WARN(1, KERN_ERR "%s (%x:%x) should not be a VF!\n", in igb_probe()
3422 NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1, in igb_probe()
3424 else if (hw->bus.func == 1) in igb_probe()
3425 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_B, 1, &eeprom_data); in igb_probe()
3537 hw->nvm.ops.read(hw, NVM_ETS_CFG, 1, &ets_word); in igb_probe()
3768 (1 + IGB_PF_MAC_FILTERS_RESERVED + in igb_enable_sriov()
3781 mac_list->vf = -1; in igb_enable_sriov()
3953 max_rss_queues = 1; in igb_get_max_rss_queues()
4192 hw->mac.get_link_status = 1; in __igb_open()
4533 /* Don't need to set TUOFL or IPOFL, they default to 1 */ in igb_setup_mrqc()
4565 if (adapter->rss_queues > 1) in igb_setup_mrqc()
4697 if (adapter->rss_queues > 1 && vfn == adapter->vfs_allocated_count) in igb_set_vmolr()
4733 adapter->num_rx_queues > 1)) in igb_setup_srrctl()
5143 return 1; in igb_vlan_promisc_enable()
5574 adapter->tx_timeout_factor = 1; in igb_watchdog_task()
5673 if (igb_desc_unused(tx_ring) + 1 < tx_ring->count) { in igb_watchdog_task()
5718 low_latency = 1,
5787 q_vector->set_itr = 1; in igb_update_ring_itr()
5920 q_vector->set_itr = 1; in igb_set_itr()
6039 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igb_tso()
6053 return 1; in igb_tso()
6124 cmd_type ^= IGB_SET_FLAG(skb->no_fcs, 1, E1000_ADVTXD_DCMD_IFCS); in igb_tx_cmd_type()
6329 return -1; in igb_tx_map()
6356 tx_head->gso_segs = 1; in igb_xmit_xdp_ring()
6451 /* need: 1 descriptor per page * PAGE_SIZE/IGB_MAX_DATA_PER_TXD, in igb_xmit_frame_ring()
6452 * + 1 desc for skb_headlen/IGB_MAX_DATA_PER_TXD, in igb_xmit_frame_ring()
6454 * + 1 desc for context descriptor, in igb_xmit_frame_ring()
6471 first->gso_segs = 1; in igb_xmit_frame_ring()
6880 level_mask = (tsintr_tt == 1) ? 0x80000 : 0x40000; in igb_perout()
6881 level = (rd32(E1000_CTRL) & level_mask) ? 1 : 0; in igb_perout()
6883 level_mask = (tsintr_tt == 1) ? 0x80 : 0x40; in igb_perout()
6884 level = (rd32(E1000_CTRL_EXT) & level_mask) ? 1 : 0; in igb_perout()
6891 div_u64_rem(now, ns << 1, &rem); in igb_perout()
6902 if (level == 1) { in igb_perout()
6921 wr32((tsintr_tt == 1) ? E1000_TRGTTIML1 : E1000_TRGTTIML0, ts.tv_nsec); in igb_perout()
6922 wr32((tsintr_tt == 1) ? E1000_TRGTTIMH1 : E1000_TRGTTIMH0, (u32)ts.tv_sec); in igb_perout()
6934 int auxstmpl = (tsintr_tt == 1) ? E1000_AUXSTMPL1 : E1000_AUXSTMPL0; in igb_extts()
6935 int auxstmph = (tsintr_tt == 1) ? E1000_AUXSTMPH1 : E1000_AUXSTMPH0; in igb_extts()
6996 igb_perout(adapter, 1); in igb_tsync_interrupt()
7002 igb_extts(adapter, 1); in igb_tsync_interrupt()
7030 hw->mac.get_link_status = 1; in igb_msix_other()
7033 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_msix_other()
7149 adapter->q_vector[i]->cpu = -1; in igb_setup_dca()
7230 igb_write_mbx(hw, &ping, 1, i); in igb_ping_all_vfs()
7277 u16 *hash_list = (u16 *)&msgbuf[1]; in igb_set_vf_multicasts()
7537 int vid = (msgbuf[1] & E1000_VLVF_VLANID_MASK); in igb_set_vf_vlan_msg()
7541 return -1; in igb_set_vf_vlan_msg()
7593 u8 *addr = (u8 *)(&msgbuf[1]); in igb_vf_reset_msg()
7860 entry->vf = -1; in igb_set_vf_mac_filter()
7908 unsigned char *addr = (unsigned char *)&msg[1]; in igb_set_vf_mac_addr()
7944 igb_write_mbx(hw, &msg, 1, vf); in igb_rcv_ack_from_vf()
7984 retval = -1; in igb_rcv_msg_from_vf()
7999 retval = igb_set_vf_rlpml(adapter, msgbuf[1], vf); in igb_rcv_msg_from_vf()
8002 retval = -1; in igb_rcv_msg_from_vf()
8012 retval = -1; in igb_rcv_msg_from_vf()
8025 igb_write_mbx(hw, msgbuf, 1, vf); in igb_rcv_msg_from_vf()
8063 * set all the hash bits to 1 and use the VMOLR ROPE bit as a promiscuous
8104 hw->mac.get_link_status = 1; in igb_intr_msi()
8106 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_intr_msi()
8149 hw->mac.get_link_status = 1; in igb_intr()
8152 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_intr()
8170 if ((adapter->num_q_vectors == 1) && !adapter->vf_data) in igb_ring_irq_enable()
8440 if (unlikely((rx_buf_pgcnt - pagecnt_bias) > 1)) in igb_can_reuse_rx_page()
8454 if (unlikely(pagecnt_bias == 1)) { in igb_can_reuse_rx_page()
8455 page_ref_add(page, USHRT_MAX - 1); in igb_can_reuse_rx_page()
8723 u32 ntc = rx_ring->next_to_clean + 1; in igb_is_non_eop()
9061 page_ref_add(page, USHRT_MAX - 1); in igb_alloc_mapped_page()
9288 u16 vid = 1; in igb_restore_vlan()
9304 /* Make sure dplx is at most 1 bit and lsb of speed is not set in igb_set_spd_dplx()
9307 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx()
9338 mac->autoneg = 1; in igb_set_spd_dplx()
9534 return __igb_shutdown(to_pci_dev(dev), NULL, 1); in igb_runtime_suspend()
9729 int rar_entry = hw->mac.rar_entry_count - (vf + 1); in igb_set_vf_mac()