Lines Matching refs:cpu_to_le32
2457 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_IPV4 |
2462 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_WSCALE);
2464 nesqp->nesqp_context->misc2 |= cpu_to_le32(64 << NES_QPCONTEXT_MISC2_TTL_SHIFT);
2466 nesqp->nesqp_context->mss |= cpu_to_le32(((u32)cm_node->tcp_cntxt.mss) << 16);
2468 nesqp->nesqp_context->tcp_state_flow_label |= cpu_to_le32(
2471 nesqp->nesqp_context->pd_index_wscale |= cpu_to_le32(
2475 nesqp->nesqp_context->pd_index_wscale |= cpu_to_le32(
2479 nesqp->nesqp_context->keepalive = cpu_to_le32(0x80);
2482 nesqp->nesqp_context->snd_nxt = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
2483 nesqp->nesqp_context->snd_wnd = cpu_to_le32(cm_node->tcp_cntxt.snd_wnd);
2484 nesqp->nesqp_context->rcv_nxt = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
2485 nesqp->nesqp_context->rcv_wnd = cpu_to_le32(cm_node->tcp_cntxt.rcv_wnd <<
2487 nesqp->nesqp_context->snd_max = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
2488 nesqp->nesqp_context->snd_una = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
2490 nesqp->nesqp_context->rttvar = cpu_to_le32(0x6);
2491 nesqp->nesqp_context->ssthresh = cpu_to_le32(0x3FFFC000);
2492 nesqp->nesqp_context->cwnd = cpu_to_le32(2*cm_node->tcp_cntxt.mss);
2493 nesqp->nesqp_context->snd_wl1 = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
2494 nesqp->nesqp_context->snd_wl2 = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
2495 nesqp->nesqp_context->max_snd_wnd = cpu_to_le32(cm_node->tcp_cntxt.max_snd_wnd);
2855 cpu_to_le32(NES_IWARP_SQ_WQE_STREAMING |
2858 cpu_to_le32(conn_param->private_data_len +
2864 cpu_to_le32(conn_param->private_data_len +
2873 cpu_to_le32(NES_QPCONTEXT_ORDIRD_LSMM_PRESENT |
2877 cpu_to_le32(NES_QPCONTEXT_ORDIRD_WRPDU);
2903 cpu_to_le32(ntohl(nesvnic->local_ipaddr));
2906 cpu_to_le32(ntohl(cm_id->remote_addr.sin_addr.s_addr));
2908 nesqp->nesqp_context->misc2 |= cpu_to_le32(
2913 cpu_to_le32(nes_arp_table(nesdev,
2917 nesqp->nesqp_context->ts_val_delta = cpu_to_le32(
2920 nesqp->nesqp_context->ird_index = cpu_to_le32(nesqp->hwqp.qp_id);
2922 nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32(
2925 cpu_to_le32((u32)conn_param->ord);
2929 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24);
2944 nesqp->nesqp_context->hte_index = cpu_to_le32(nesqp->hte_index);
3076 nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32((u32)conn_param->ord);
3296 cpu_to_le32(ntohl(nesvnic->local_ipaddr));
3299 cpu_to_le32(ntohl(cm_id->remote_addr.sin_addr.s_addr));
3301 nesqp->nesqp_context->misc2 |= cpu_to_le32(
3304 nesqp->nesqp_context->arp_index_vlan |= cpu_to_le32(
3308 nesqp->nesqp_context->ts_val_delta = cpu_to_le32(
3310 nesqp->nesqp_context->ird_index = cpu_to_le32(nesqp->hwqp.qp_id);
3312 cpu_to_le32((u32)1 <<
3327 cpu_to_le32(NES_IWARP_SQ_OP_RDMAW);
3341 cpu_to_le32(~(NES_QPCONTEXT_ORDIRD_LSMM_PRESENT |
3354 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24);
3369 nesqp->nesqp_context->hte_index = cpu_to_le32(nesqp->hte_index);