/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_ethtool.c | 97 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 D | txgbe_fdir.c | 602 filter->sw_idx, in txgbe_fdir_filter_restore() 606 filter->sw_idx); in txgbe_fdir_filter_restore()
|
H A D | txgbe_type.h | 252 u16 sw_idx; member
|
/linux/drivers/crypto/caam/ |
H A D | jr.c | 261 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 D | vcap_api.c | 72 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 D | ixgbe_ethtool.c | 2548 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 D | ixgbe.h | 861 u16 sw_idx; member 971 u16 sw_idx);
|
H A D | ixgbe_main.c | 5303 &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 D | igb_ethtool.c | 2440 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 D | igb.h | 519 u16 sw_idx; member
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6557 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 D | i40e_ethtool.c | 3746 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()
|