Home
last modified time | relevance | path

Searched refs:rss (Results 1 – 25 of 45) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c41 int is_tx, int rss, int qpn, int cqn, in mlx4_en_fill_qp_context() argument
48 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); in mlx4_en_fill_qp_context()
51 if (!is_tx && !rss) in mlx4_en_fill_qp_context()
72 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c565 struct rss_params *rss = &adapter->params.rss; in t4vf_get_rss_glb_config() local
588 rss->mode = FW_RSS_GLB_CONFIG_CMD_MODE_GET( in t4vf_get_rss_glb_config()
590 switch (rss->mode) { in t4vf_get_rss_glb_config()
595 rss->u.basicvirtual.synmapen = in t4vf_get_rss_glb_config()
597 rss->u.basicvirtual.syn4tupenipv6 = in t4vf_get_rss_glb_config()
599 rss->u.basicvirtual.syn2tupenipv6 = in t4vf_get_rss_glb_config()
601 rss->u.basicvirtual.syn4tupenipv4 = in t4vf_get_rss_glb_config()
603 rss->u.basicvirtual.syn2tupenipv4 = in t4vf_get_rss_glb_config()
606 rss->u.basicvirtual.ofdmapen = in t4vf_get_rss_glb_config()
609 rss->u.basicvirtual.tnlmapen = in t4vf_get_rss_glb_config()
[all …]
Dt4vf_common.h213 struct rss_params rss; /* Receive Side Scaling */ member
Dcxgb4vf_main.c614 u16 rss[MAX_PORT_QSETS]; in setup_rss() local
618 rss[qs] = rxq[qs].rspq.abs_id; in setup_rss()
621 0, pi->rss_size, rss, pi->nqsets); in setup_rss()
628 switch (adapter->params.rss.mode) { in setup_rss()
637 if (!adapter->params.rss.u.basicvirtual.tnlalllookup) { in setup_rss()
2169 if (adapter->params.rss.mode != in adap_init0()
2172 " mode %d\n", adapter->params.rss.mode); in adap_init0()
/drivers/isdn/i4l/
Disdn_ttyfax.c53 char rss[50]; in isdn_tty_fax_modem_result() local
95 sprintf(rss, "%c%s", rp[i] + 48, in isdn_tty_fax_modem_result()
97 strcat(rs, rss); in isdn_tty_fax_modem_result()
114 sprintf(rss, "%c%s", rp[i] + 48, in isdn_tty_fax_modem_result()
116 strcat(rs, rss); in isdn_tty_fax_modem_result()
419 char rss[50]; in isdn_tty_cmd_FCLASS2() local
713 sprintf(rss, "%c%s", rp[i] + 48, in isdn_tty_cmd_FCLASS2()
715 strcat(rs, rss); in isdn_tty_cmd_FCLASS2()
759 sprintf(rss, "%c%s", rp[i] + 48, in isdn_tty_cmd_FCLASS2()
761 strcat(rs, rss); in isdn_tty_cmd_FCLASS2()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c1781 struct bnx2x_config_rss_params rss; in bnx2x_vf_mbx_update_rss() local
1793 memset(&rss, 0, sizeof(struct bnx2x_config_rss_params)); in bnx2x_vf_mbx_update_rss()
1796 memcpy(rss.ind_table, rss_tlv->ind_table, in bnx2x_vf_mbx_update_rss()
1798 memcpy(rss.rss_key, rss_tlv->rss_key, sizeof(rss_tlv->rss_key)); in bnx2x_vf_mbx_update_rss()
1799 rss.rss_obj = &vf->rss_conf_obj; in bnx2x_vf_mbx_update_rss()
1800 rss.rss_result_mask = rss_tlv->rss_result_mask; in bnx2x_vf_mbx_update_rss()
1803 rss.rss_flags = 0; in bnx2x_vf_mbx_update_rss()
1804 rss.ramrod_flags = 0; in bnx2x_vf_mbx_update_rss()
1807 __set_bit(BNX2X_RSS_MODE_DISABLED, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
1809 __set_bit(BNX2X_RSS_MODE_REGULAR, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
[all …]
Dbnx2x_sriov.h452 struct bnx2x_config_rss_params *rss);
/drivers/net/ethernet/intel/i40evf/
Di40e_type.h220 bool rss; member
502 __le32 rss; /* RSS Hash */ member
532 __le32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c207 struct ixgbe_ring_feature *rss = &adapter->ring_feature[RING_F_RSS]; in ixgbe_cache_ring_sriov() local
224 if ((reg_idx & ~vmdq->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
243 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
Dixgbe_sriov.c177 int rss; in ixgbe_disable_sriov() local
224 rss = min_t(int, IXGBE_MAX_RSS_INDICES, num_online_cpus()); in ixgbe_disable_sriov()
226 rss = min_t(int, IXGBE_MAX_L2A_QUEUES, num_online_cpus()); in ixgbe_disable_sriov()
230 adapter->ring_feature[RING_F_RSS].limit = rss; in ixgbe_disable_sriov()
Dixgbe_fcoe.c412 ddp->len = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss); in ixgbe_fcoe_ddp()
426 ddp->len = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss); in ixgbe_fcoe_ddp()
/drivers/net/ethernet/intel/i40e/
Di40e_type.h220 bool rss; member
503 __le32 rss; /* RSS Hash */ member
533 __le32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/ixgbevf/
Ddefines.h218 __le32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/igb/
De1000_82575.h95 __le32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/e1000e/
Dhw.h211 __le32 rss; /* RSS Hash */ member
241 __le32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/igbvf/
Dvf.h77 u32 rss; /* RSS Hash */ member
/drivers/net/ethernet/intel/fm10k/
Dfm10k_debugfs.c107 i, rxd->d.data, rxd->d.rss, rxd->d.staterr, in fm10k_dbg_rx_desc_seq_show()
Dfm10k_pci.c1563 unsigned int rss; in fm10k_sw_init() local
1586 rss = min_t(int, FM10K_MAX_RSS_INDICES, num_online_cpus()); in fm10k_sw_init()
1587 interface->ring_feature[RING_F_RSS].limit = rss; in fm10k_sw_init()
Dfm10k_type.h713 __le32 rss; /* RSS Hash */ member
/drivers/net/vmxnet3/
Dvmxnet3_int.h333 bool rss; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1064 u16 *rss; in write_rss() local
1068 rss = kmalloc(pi->rss_size * sizeof(u16), GFP_KERNEL); in write_rss()
1069 if (!rss) in write_rss()
1074 rss[i] = q[*queues].rspq.abs_id; in write_rss()
1077 pi->rss_size, rss, pi->rss_size); in write_rss()
1078 kfree(rss); in write_rss()
1095 err = write_rss(pi, pi->rss); in setup_rss()
3023 p[n] = pi->rss[n]; in get_rss_table()
3033 pi->rss[i] = p[i]; in set_rss_table()
3035 return write_rss(pi, pi->rss); in set_rss_table()
[all …]
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1180 struct rss_info *rss = &adapter->rss_info; in be_get_rxfh() local
1184 indir[i] = rss->rss_queue[i]; in be_get_rxfh()
1188 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh()
Dbe_main.c2860 struct rss_info *rss = &adapter->rss_info; in be_rx_qs_create() local
2890 rss->rsstable[j + i] = rxo->rss_id; in be_rx_qs_create()
2891 rss->rss_queue[j + i] = i; in be_rx_qs_create()
2894 rss->rss_flags = RSS_ENABLE_TCP_IPV4 | RSS_ENABLE_IPV4 | in be_rx_qs_create()
2898 rss->rss_flags |= RSS_ENABLE_UDP_IPV4 | in be_rx_qs_create()
2902 rss->rss_flags = RSS_ENABLE_NONE; in be_rx_qs_create()
2906 rc = be_cmd_rss_config(adapter, rss->rsstable, rss->rss_flags, in be_rx_qs_create()
2909 rss->rss_flags = RSS_ENABLE_NONE; in be_rx_qs_create()
2913 memcpy(rss->rss_hkey, rss_hkey, RSS_HASH_KEY_LEN); in be_rx_qs_create()
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h555 unsigned int rss; /* Receive Side Scaling */ member
/drivers/infiniband/hw/cxgb4/
Dcm.c3596 struct rss_header *rss = (void *)skb->data; in rx_pkt() local
3598 struct cpl_pass_accept_req *req = (void *)(rss + 1); in rx_pkt()
3618 if (!(rss->filter_hit && rss->filter_tid)) in rx_pkt()
3624 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()
3648 skb_set_network_header(skb, (void *)iph - (void *)rss); in rx_pkt()
3649 skb_set_transport_header(skb, (void *)tcph - (void *)rss); in rx_pkt()

12