but never used, all over the network drivers.
t_or *orp;
clock_t timebefore, t0;
phys_bytes phys_user;
- phys_bytes iov_src = 0;
hermes_t *hw;
struct hermes_tx_descriptor desc;
struct header_struct hdr;
o = 0;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof (orp->or_iovec[0]),
iov_offset += IOVEC_NR * sizeof (orp->or_iovec[0])) {
n = IOVEC_NR;
t_or *orp;
clock_t timebefore, t0;
phys_bytes phys_user;
- phys_bytes iov_src = 0;
hermes_t *hw;
struct hermes_tx_descriptor desc;
int iov_offset = 0;
size = 0;
o = 0;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof (orp->or_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof (orp->or_iovec_s[0])) {
n = IOVEC_NR;
unsigned amount, totlen, packlen;
struct hermes_rx_descriptor desc;
phys_bytes dst_phys;
- phys_bytes iov_src = 0;
u16_t d_start, d_end, rxfid, status;
struct header_struct hdr;
int length, offset;
size = 0;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof (orp->or_iovec[0]),
iov_offset += IOVEC_NR * sizeof(orp->or_iovec[0])) {
n = IOVEC_NR;
unsigned amount, totlen, packlen;
struct hermes_rx_descriptor desc;
phys_bytes dst_phys;
- phys_bytes iov_src = 0;
u16_t d_start, d_end, rxfid, status;
struct header_struct hdr;
u32_t l, rxstat;
* *databuf and will be copied to the vecor below */
size = 0;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof (orp->or_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof(orp->or_iovec_s[0])) {
n = IOVEC_NR;
if (i + n > count)
port_t port;
unsigned amount, totlen, packlen;
phys_bytes src_phys, dst_phys;
- phys_bytes iov_src = 0;
u16_t d_start, d_end;
u32_t l, rxstat = 0x12345678;
re_t *rep;
o= d_start+4;
src_phys= rep->re_rx_buf;
for (i= 0; i<count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec[0]))
{
n= IOVEC_NR;
port_t port;
unsigned amount, totlen, packlen;
phys_bytes src_phys, dst_phys;
- phys_bytes iov_src = 0;
u16_t d_start, d_end;
u32_t l, rxstat = 0x12345678;
re_t *rep;
o= d_start+4;
src_phys= rep->re_rx_buf;
for (i= 0; i<count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec_s[0]))
{
n= IOVEC_NR;
*===========================================================================*/
static void rl_writev(message *mp, int from_int, int vectored)
{
- phys_bytes iov_src = 0;
phys_bytes phys_user;
int i, j, n, s, port, count, size;
int tx_head, re_client;
size= 0;
ret = rep->re_tx[tx_head].v_ret_buf;
for (i= 0; i<count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec[0]))
{
n= IOVEC_NR;
*===========================================================================*/
static void rl_writev_s(message *mp, int from_int)
{
- phys_bytes iov_src = 0;
int i, j, n, s, port, count, size;
int tx_head, re_client;
re_t *rep;
size= 0;
ret = rep->re_tx[tx_head].v_ret_buf;
for (i= 0; i<count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec_s[0]))
{
n= IOVEC_NR;
port_t port;
unsigned totlen, packlen;
phys_bytes src_phys;
- phys_bytes iov_src = 0;
re_desc *desc;
u32_t rxstat = 0x12345678;
re_t *rep;
size = 0;
src_phys = rep->re_rx[index].ret_buf;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec_s[0]))
{
n = IOVEC_NR;
*===========================================================================*/
static void rl_writev_s(message *mp, int from_int)
{
- phys_bytes iov_src = 0;
int i, j, n, s, port, count, size;
int tx_head, re_client;
re_t *rep;
size = 0;
ret = rep->re_tx[tx_head].v_ret_buf;
for (i = 0; i < count; i += IOVEC_NR,
- iov_src += IOVEC_NR * sizeof(rep->re_iovec_s[0]),
iov_offset += IOVEC_NR * sizeof(rep->re_iovec_s[0]))
{
n = IOVEC_NR;