Lines Matching refs:htonl
864 sgl->len0 = htonl(len); in write_sgl()
868 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); in write_sgl()
872 sgl->cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) | in write_sgl()
1201 wr->equiq_to_len16 = htonl(wr_mid); in t4_eth_xmit()
1214 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1216 lso->c.lso_ctrl = htonl(LSO_OPCODE(CPL_TX_PKT_LSO) | in t4_eth_xmit()
1224 lso->c.seqno_offset = htonl(0); in t4_eth_xmit()
1226 lso->c.len = htonl(skb->len); in t4_eth_xmit()
1228 lso->c.len = htonl(LSO_T5_XFER_SIZE(skb->len)); in t4_eth_xmit()
1237 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1256 cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) | in t4_eth_xmit()
1330 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ctrlq_check_stop()
1512 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ofldtxq_stop()
1863 if ((pkt->l2info & htonl(RXF_TCP_F)) && in t4_ethrx_handler()
1886 if (csum_ok && (pkt->l2info & htonl(RXF_UDP_F | RXF_TCP_F))) { in t4_ethrx_handler()
1890 } else if (pkt->l2info & htonl(RXF_IP_F)) { in t4_ethrx_handler()
2458 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_rxq()
2461 c.alloc_to_len16 = htonl(FW_IQ_CMD_ALLOC_F | FW_IQ_CMD_IQSTART_F | in t4_sge_alloc_rxq()
2463 c.type_to_iqandstindex = htonl(FW_IQ_CMD_TYPE_V(FW_IQ_TYPE_FL_INT_CAP) | in t4_sge_alloc_rxq()
2484 c.iqns_to_fl0congen = htonl(FW_IQ_CMD_FL0PACKEN_F | in t4_sge_alloc_rxq()
2590 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_ETH_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_eth_txq()
2594 c.alloc_to_len16 = htonl(FW_EQ_ETH_CMD_ALLOC_F | in t4_sge_alloc_eth_txq()
2596 c.viid_pkd = htonl(FW_EQ_ETH_CMD_AUTOEQUEQE_F | in t4_sge_alloc_eth_txq()
2598 c.fetchszm_to_iqid = htonl(FW_EQ_ETH_CMD_HOSTFCMODE_V(2) | in t4_sge_alloc_eth_txq()
2602 c.dcaen_to_eqsize = htonl(FW_EQ_ETH_CMD_FBMIN_V(2) | in t4_sge_alloc_eth_txq()
2644 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_CTRL_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_ctrl_txq()
2648 c.alloc_to_len16 = htonl(FW_EQ_CTRL_CMD_ALLOC_F | in t4_sge_alloc_ctrl_txq()
2650 c.cmpliqid_eqid = htonl(FW_EQ_CTRL_CMD_CMPLIQID_V(cmplqid)); in t4_sge_alloc_ctrl_txq()
2651 c.physeqid_pkd = htonl(0); in t4_sge_alloc_ctrl_txq()
2652 c.fetchszm_to_iqid = htonl(FW_EQ_CTRL_CMD_HOSTFCMODE_V(2) | in t4_sge_alloc_ctrl_txq()
2656 c.dcaen_to_eqsize = htonl(FW_EQ_CTRL_CMD_FBMIN_V(2) | in t4_sge_alloc_ctrl_txq()
2698 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_ofld_txq()
2702 c.alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_ALLOC_F | in t4_sge_alloc_ofld_txq()
2704 c.fetchszm_to_iqid = htonl(FW_EQ_OFLD_CMD_HOSTFCMODE_V(2) | in t4_sge_alloc_ofld_txq()
2708 c.dcaen_to_eqsize = htonl(FW_EQ_OFLD_CMD_FBMIN_V(2) | in t4_sge_alloc_ofld_txq()