Lines Matching +full:1 +full:qav

208 static int debug = -1;
315 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump()
422 16, 1, buffer_info->skb->data, in igb_dump()
445 * 63 1 0 in igb_dump()
447 * 0 | Packet Buffer Address [63:1] |A0/NSE| in igb_dump()
449 * 8 | Header Buffer Address [63:1] | DD | in igb_dump()
512 16, 1, in igb_dump()
543 * @state: I2C data value (0 or 1) to set
667 #define Q_IDX_82576(i) (((i & 0x1) << 3) + (i >> 1))
683 * is allocated queues 0 and 8, VF 1 queues 1 and 9, etc. in igb_cache_ring_register()
757 #define IGB_N0_QUEUE -1
796 (rx_queue & 0x8) << 1); in igb_assign_vector()
800 ((tx_queue & 0x8) << 1) + 8); in igb_assign_vector()
816 rx_queue >> 1, in igb_assign_vector()
820 tx_queue >> 1, in igb_assign_vector()
833 q_vector->set_itr = 1; in igb_assign_vector()
1084 adapter->num_tx_queues = 1; in igb_set_interrupt_capability()
1091 /* if Tx handler is separate add 1 for every Tx queue */ in igb_set_interrupt_capability()
1098 /* add 1 vector for link status interrupts */ in igb_set_interrupt_capability()
1134 adapter->rss_queues = 1; in igb_set_interrupt_capability()
1136 adapter->num_rx_queues = 1; in igb_set_interrupt_capability()
1137 adapter->num_tx_queues = 1; in igb_set_interrupt_capability()
1138 adapter->num_q_vectors = 1; in igb_set_interrupt_capability()
1172 /* igb only supports 1 Tx and/or 1 Rx queue per vector */ in igb_alloc_q_vector()
1173 if (txr_count > 1 || rxr_count > 1) in igb_alloc_q_vector()
1312 0, 0, 1, rxr_idx); in igb_alloc_q_vectors()
1620 WARN_ON(queue < 0 || queue > 1); in set_queue_mode()
1657 * igb_config_tx_modes - Configure "Qav Tx mode" features on igb
1675 WARN_ON(queue < 0 || queue > 1); in igb_config_tx_modes()
1678 /* If any of the Qav features is enabled, configure queues as SR and in igb_config_tx_modes()
1693 * Priority mode while the Qav mode is enabled, so, in igb_config_tx_modes()
1698 * Queue0 QueueMode must be set to 1b when in igb_config_tx_modes()
1699 * TransmitMode is set to Qav." in igb_config_tx_modes()
1760 * the TQAVCC register (1Gbps / 61034), which reduces in igb_config_tx_modes()
1834 …netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredi… in igb_config_tx_modes()
1877 * igb_setup_tx_mode - Switch to/from Qav Tx mode when applicable
1898 /* Configure TQAVCTRL register: set transmit mode to 'Qav', in igb_setup_tx_mode()
1930 * reason, we set MAX_ TPKT_SIZE to (4kB - 1) / 64. in igb_setup_tx_mode()
1932 val = (4096 - 1) / 64; in igb_setup_tx_mode()
1990 * at least 1 descriptor unused to make sure in igb_configure()
2137 hw->mac.get_link_status = 1; in igb_up()
2304 * rounded up to the next 1KB and expressed in KB. Likewise, in igb_reset()
2314 * count since the value we care about is 2 frames, not 1. in igb_reset()
2354 fc->send_xon = 1; in igb_reset()
2493 return 1; in igb_set_features()
2573 /* CBS offloading is only supported by queue 0 and queue 1. */ in igb_offload_cbs()
2574 if (qopt->queue < 0 || qopt->queue > 1) in igb_offload_cbs()
2811 /* Launchtime offloading is only supported by queues 0 and 1. */ in igb_offload_txtime()
2812 if (qopt->queue < 0 || qopt->queue > 1) in igb_offload_txtime()
3099 hw->nvm.ops.read(hw, NVM_COMPAT, 1, &eeprom_data); in igb_init_mas()
3195 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()
4536 /* Don't need to set TUOFL or IPOFL, they default to 1 */ in igb_setup_mrqc()
4568 if (adapter->rss_queues > 1) in igb_setup_mrqc()
4700 if (adapter->rss_queues > 1 && vfn == adapter->vfs_allocated_count) in igb_set_vmolr()
4741 adapter->num_rx_queues > 1)) in igb_setup_srrctl()
5183 return 1; in igb_vlan_promisc_enable()
5614 adapter->tx_timeout_factor = 1; in igb_watchdog_task()
5713 if (igb_desc_unused(tx_ring) + 1 < tx_ring->count) { in igb_watchdog_task()
5758 low_latency = 1,
5827 q_vector->set_itr = 1; in igb_update_ring_itr()
5960 q_vector->set_itr = 1; in igb_set_itr()
6079 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igb_tso()
6093 return 1; in igb_tso()
6164 cmd_type ^= IGB_SET_FLAG(skb->no_fcs, 1, E1000_ADVTXD_DCMD_IFCS); in igb_tx_cmd_type()
6369 return -1; in igb_tx_map()
6396 tx_head->gso_segs = 1; in igb_xmit_xdp_ring()
6491 /* need: 1 descriptor per page * PAGE_SIZE/IGB_MAX_DATA_PER_TXD, in igb_xmit_frame_ring()
6492 * + 1 desc for skb_headlen/IGB_MAX_DATA_PER_TXD, in igb_xmit_frame_ring()
6494 * + 1 desc for context descriptor, in igb_xmit_frame_ring()
6514 first->gso_segs = 1; in igb_xmit_frame_ring()
6923 level_mask = (tsintr_tt == 1) ? 0x80000 : 0x40000; in igb_perout()
6924 level = (rd32(E1000_CTRL) & level_mask) ? 1 : 0; in igb_perout()
6926 level_mask = (tsintr_tt == 1) ? 0x80 : 0x40; in igb_perout()
6927 level = (rd32(E1000_CTRL_EXT) & level_mask) ? 1 : 0; in igb_perout()
6934 div_u64_rem(now, ns << 1, &rem); in igb_perout()
6945 if (level == 1) { in igb_perout()
6964 wr32((tsintr_tt == 1) ? E1000_TRGTTIML1 : E1000_TRGTTIML0, ts.tv_nsec); in igb_perout()
6965 wr32((tsintr_tt == 1) ? E1000_TRGTTIMH1 : E1000_TRGTTIMH0, (u32)ts.tv_sec); in igb_perout()
6977 int auxstmpl = (tsintr_tt == 1) ? E1000_AUXSTMPL1 : E1000_AUXSTMPL0; in igb_extts()
6978 int auxstmph = (tsintr_tt == 1) ? E1000_AUXSTMPH1 : E1000_AUXSTMPH0; in igb_extts()
7039 igb_perout(adapter, 1); in igb_tsync_interrupt()
7045 igb_extts(adapter, 1); in igb_tsync_interrupt()
7073 hw->mac.get_link_status = 1; in igb_msix_other()
7076 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_msix_other()
7192 adapter->q_vector[i]->cpu = -1; in igb_setup_dca()
7273 igb_write_mbx(hw, &ping, 1, i); in igb_ping_all_vfs()
7320 u16 *hash_list = (u16 *)&msgbuf[1]; in igb_set_vf_multicasts()
7580 int vid = (msgbuf[1] & E1000_VLVF_VLANID_MASK); in igb_set_vf_vlan_msg()
7584 return -1; in igb_set_vf_vlan_msg()
7636 u8 *addr = (u8 *)(&msgbuf[1]); in igb_vf_reset_msg()
7903 entry->vf = -1; in igb_set_vf_mac_filter()
7951 unsigned char *addr = (unsigned char *)&msg[1]; in igb_set_vf_mac_addr()
7987 igb_write_mbx(hw, &msg, 1, vf); in igb_rcv_ack_from_vf()
8027 retval = -1; in igb_rcv_msg_from_vf()
8042 retval = igb_set_vf_rlpml(adapter, msgbuf[1], vf); in igb_rcv_msg_from_vf()
8045 retval = -1; in igb_rcv_msg_from_vf()
8055 retval = -1; in igb_rcv_msg_from_vf()
8068 igb_write_mbx(hw, msgbuf, 1, vf); in igb_rcv_msg_from_vf()
8106 * set all the hash bits to 1 and use the VMOLR ROPE bit as a promiscuous
8147 hw->mac.get_link_status = 1; in igb_intr_msi()
8149 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_intr_msi()
8192 hw->mac.get_link_status = 1; in igb_intr()
8195 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igb_intr()
8213 if ((adapter->num_q_vectors == 1) && !adapter->vf_data) in igb_ring_irq_enable()
8514 if (unlikely((rx_buf_pgcnt - pagecnt_bias) > 1)) in igb_can_reuse_rx_page()
8528 if (unlikely(pagecnt_bias == 1)) { in igb_can_reuse_rx_page()
8529 page_ref_add(page, USHRT_MAX - 1); in igb_can_reuse_rx_page()
8796 u32 ntc = rx_ring->next_to_clean + 1; in igb_is_non_eop()
9145 page_ref_add(page, USHRT_MAX - 1); in igb_alloc_mapped_page()
9372 u16 vid = 1; in igb_restore_vlan()
9388 /* Make sure dplx is at most 1 bit and lsb of speed is not set in igb_set_spd_dplx()
9391 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx()
9422 mac->autoneg = 1; in igb_set_spd_dplx()
9618 return __igb_shutdown(to_pci_dev(dev), NULL, 1); in igb_runtime_suspend()
9813 int rar_entry = hw->mac.rar_entry_count - (vf + 1); in igb_set_vf_mac()