Blame usr/cxgbi.c

Packit Service 646995
/*
Packit Service 646995
 * cxgb3i/cxgb4i helpers
Packit Service 646995
 *
Packit Service 646995
 * Copyright (C) 2006 Mike Christie
Packit Service 646995
 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
Packit Service 646995
 *
Packit Service 646995
 * This program is free software; you can redistribute it and/or modify
Packit Service 646995
 * it under the terms of the GNU General Public License as published
Packit Service 646995
 * by the Free Software Foundation; either version 2 of the License, or
Packit Service 646995
 * (at your option) any later version.
Packit Service 646995
 *
Packit Service 646995
 * This program is distributed in the hope that it will be useful, but
Packit Service 646995
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 646995
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Packit Service 646995
 * General Public License for more details.
Packit Service 646995
 */
Packit Service 646995
#include "initiator.h"
Packit Service 646995
Packit Service 646995
void cxgbi_create_conn(struct iscsi_conn *conn)
Packit Service 646995
{
Packit Service 646995
	/* card can handle up to 15360 bytes */
Packit Service 646995
	if (conn->max_recv_dlength > 8192)
Packit Service 646995
		conn->max_recv_dlength = 8192;
Packit Service 646995
}