Home
last modified time | relevance | path

Searched refs:sw_idx (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c97 if (fsp->location <= rule->sw_idx) in txgbe_get_ethtool_fdir_entry()
101 if (!rule || fsp->location != rule->sw_idx) in txgbe_get_ethtool_fdir_entry()
163 rule_locs[cnt] = rule->sw_idx; in txgbe_get_ethtool_fdir_all()
262 u16 sw_idx) in txgbe_update_ethtool_fdir_entry() argument
273 if (rule->sw_idx >= sw_idx) in txgbe_update_ethtool_fdir_entry()
279 if (rule && rule->sw_idx == sw_idx) { in txgbe_update_ethtool_fdir_entry()
289 sw_idx); in txgbe_update_ethtool_fdir_entry()
366 input->sw_idx = fsp->location; in txgbe_add_ethtool_fdir_entry()
456 input->sw_idx, queue); in txgbe_add_ethtool_fdir_entry()
461 txgbe_update_ethtool_fdir_entry(txgbe, input, input->sw_idx); in txgbe_add_ethtool_fdir_entry()
H A Dtxgbe_fdir.c602 filter->sw_idx, in txgbe_fdir_filter_restore()
606 filter->sw_idx); in txgbe_fdir_filter_restore()
H A Dtxgbe_type.h252 u16 sw_idx; member
/linux/drivers/crypto/caam/
H A Djr.c261 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
275 sw_idx = tail = jrp->tail; in caam_jr_dequeue()
279 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue()
282 caam_dma_to_cpu(jrp->entinfo[sw_idx].desc_addr_dma)) in caam_jr_dequeue()
292 jrp->entinfo[sw_idx].desc_size, in caam_jr_dequeue()
296 jrp->entinfo[sw_idx].desc_addr_dma = 0; in caam_jr_dequeue()
299 usercall = jrp->entinfo[sw_idx].callbk; in caam_jr_dequeue()
300 userarg = jrp->entinfo[sw_idx].cbkarg; in caam_jr_dequeue()
301 userdesc = jrp->entinfo[sw_idx].desc_addr_virt; in caam_jr_dequeue()
323 if (sw_idx == tail) { in caam_jr_dequeue()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c72 int sw_idx, sw_bitpos; in vcap_iter_update() local
75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update()
78 itr->reg_idx = (sw_idx * itr->regs_per_sw) + (sw_bitpos / 32); in vcap_iter_update()
313 int sw_idx, res; in vcap_find_keystream_typegroup_sw() local
317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw()
318 if (!tgt[sw_idx]) in vcap_find_keystream_typegroup_sw()
322 tgt[sw_idx], mask, sw_max); in vcap_find_keystream_typegroup_sw()
324 return sw_idx; in vcap_find_keystream_typegroup_sw()
1367 int sw_idx, res; in vcap_find_actionstream_typegroup_sw() local
1371 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_actionstream_typegroup_sw()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2548 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2552 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2618 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all()
2711 u16 sw_idx) in ixgbe_update_ethtool_fdir_entry() argument
2724 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry()
2730 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry()
2735 sw_idx); in ixgbe_update_ethtool_fdir_entry()
2858 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2921 &input->filter, input->sw_idx, queue); in ixgbe_add_ethtool_fdir_entry()
2925 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_add_ethtool_fdir_entry()
H A Dixgbe.h861 u16 sw_idx; member
971 u16 sw_idx);
H A Dixgbe_main.c5303 &filter->filter, filter->sw_idx, queue); in ixgbe_fdir_filter_restore()
9724 input->sw_idx = loc; in ixgbe_configure_clsu32()
9740 input->sw_idx, queue); in ixgbe_configure_clsu32()
9744 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_configure_clsu32()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2440 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2444 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2494 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()
2845 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument
2855 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()
2861 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()
2954 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
2972 err = igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
H A Digb.h519 u16 sw_idx; member
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c6557 u32 sw_idx = tnapi->tx_cons; in tg3_tx() local
6567 while (sw_idx != hw_idx) { in tg3_tx()
6568 struct tg3_tx_ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6578 if (tnapi->tx_ring[sw_idx].len_flags & TXD_FLAG_HWTSTAMP) { in tg3_tx()
6600 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6601 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6604 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6607 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6608 if (unlikely(ri->skb != NULL || sw_idx == hw_idx)) in tg3_tx()
6618 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3746 u16 sw_idx, in i40e_update_ethtool_fdir_entry() argument
3760 if (rule->fd_id >= sw_idx) in i40e_update_ethtool_fdir_entry()
3766 if (rule && (rule->fd_id == sw_idx)) { in i40e_update_ethtool_fdir_entry()