summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2012-10-17 05:08:35 +0000
committernp <np@FreeBSD.org>2012-10-17 05:08:35 +0000
commit08e1add7e86ba335b7e73637e835e2a4f5b33d27 (patch)
treed6e6615d05977a6a49c3071a170b336d0f8350fd
parent19f11b875baec8f2fe330de020ab982aef517542 (diff)
downloadFreeBSD-src-08e1add7e86ba335b7e73637e835e2a4f5b33d27.zip
FreeBSD-src-08e1add7e86ba335b7e73637e835e2a4f5b33d27.tar.gz
Whitespace cleanup.
MFC after: 3 days
-rw-r--r--sys/dev/cxgbe/tom/t4_cpl_io.c18
-rw-r--r--sys/dev/cxgbe/tom/t4_listen.c18
2 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c
index f3c3481..07d3ec7 100644
--- a/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ b/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -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, struct flowc_tx_params *ftxp)
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);
diff --git a/sys/dev/cxgbe/tom/t4_listen.c b/sys/dev/cxgbe/tom/t4_listen.c
index 19b9b4b..400a337 100644
--- a/sys/dev/cxgbe/tom/t4_listen.c
+++ b/sys/dev/cxgbe/tom/t4_listen.c
@@ -271,8 +271,8 @@ send_reset_synqe(struct toedev *tod, struct synq_entry *synqe)
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, struct synq_entry *synqe)
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 */
OpenPOWER on IntegriCloud