svn commit: r241626 - head/sys/dev/cxgbe/tom
Navdeep Parhar
np at FreeBSD.org
Wed Oct 17 05:08:36 UTC 2012
Author: np
Date: Wed Oct 17 05:08:35 2012
New Revision: 241626
URL: http://svn.freebsd.org/changeset/base/241626
Log:
Whitespace cleanup.
MFC after: 3 days
Modified:
head/sys/dev/cxgbe/tom/t4_cpl_io.c
head/sys/dev/cxgbe/tom/t4_listen.c
Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_cpl_io.c Wed Oct 17 00:44:34 2012 (r241625)
+++ head/sys/dev/cxgbe/tom/t4_cpl_io.c Wed Oct 17 05:08:35 2012 (r241626)
@@ -73,8 +73,8 @@ VNET_DECLARE(int, tcp_autorcvbuf_max);
void
send_flowc_wr(struct toepcb *toep, struct flowc_tx_params *ftxp)
{
- struct wrqe *wr;
- struct fw_flowc_wr *flowc;
+ struct wrqe *wr;
+ struct fw_flowc_wr *flowc;
unsigned int nparams = ftxp ? 8 : 4, flowclen;
struct port_info *pi = toep->port;
struct adapter *sc = pi->adapter;
@@ -102,13 +102,13 @@ send_flowc_wr(struct toepcb *toep, struc
V_FW_WR_FLOWID(toep->tid));
flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN;
- flowc->mnemval[0].val = htobe32(pfvf);
- flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
- flowc->mnemval[1].val = htobe32(pi->tx_chan);
- flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
- flowc->mnemval[2].val = htobe32(pi->tx_chan);
- flowc->mnemval[3].mnemonic = FW_FLOWC_MNEM_IQID;
- flowc->mnemval[3].val = htobe32(toep->ofld_rxq->iq.abs_id);
+ flowc->mnemval[0].val = htobe32(pfvf);
+ flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
+ flowc->mnemval[1].val = htobe32(pi->tx_chan);
+ flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
+ flowc->mnemval[2].val = htobe32(pi->tx_chan);
+ flowc->mnemval[3].mnemonic = FW_FLOWC_MNEM_IQID;
+ flowc->mnemval[3].val = htobe32(toep->ofld_rxq->iq.abs_id);
if (ftxp) {
uint32_t sndbuf = min(ftxp->snd_space, sc->tt.sndbuf);
Modified: head/sys/dev/cxgbe/tom/t4_listen.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_listen.c Wed Oct 17 00:44:34 2012 (r241625)
+++ head/sys/dev/cxgbe/tom/t4_listen.c Wed Oct 17 05:08:35 2012 (r241626)
@@ -271,8 +271,8 @@ send_reset_synqe(struct toedev *tod, str
struct ifnet *ifp = m->m_pkthdr.rcvif;
struct port_info *pi = ifp->if_softc;
struct l2t_entry *e = &sc->l2t->l2tab[synqe->l2e_idx];
- struct wrqe *wr;
- struct fw_flowc_wr *flowc;
+ struct wrqe *wr;
+ struct fw_flowc_wr *flowc;
struct cpl_abort_req *req;
int txqid, rxqid, flowclen;
struct sge_wrq *ofld_txq;
@@ -312,13 +312,13 @@ send_reset_synqe(struct toedev *tod, str
flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) |
V_FW_WR_FLOWID(synqe->tid));
flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN;
- flowc->mnemval[0].val = htobe32(pfvf);
- flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
- flowc->mnemval[1].val = htobe32(pi->tx_chan);
- flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
- flowc->mnemval[2].val = htobe32(pi->tx_chan);
- flowc->mnemval[3].mnemonic = FW_FLOWC_MNEM_IQID;
- flowc->mnemval[3].val = htobe32(ofld_rxq->iq.abs_id);
+ flowc->mnemval[0].val = htobe32(pfvf);
+ flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
+ flowc->mnemval[1].val = htobe32(pi->tx_chan);
+ flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
+ flowc->mnemval[2].val = htobe32(pi->tx_chan);
+ flowc->mnemval[3].mnemonic = FW_FLOWC_MNEM_IQID;
+ flowc->mnemval[3].val = htobe32(ofld_rxq->iq.abs_id);
synqe->flags |= TPF_FLOWC_WR_SENT;
/* ... then ABORT request */
More information about the svn-src-all
mailing list