Lines Matching refs:ft_i
490 u_int ft_i = 0; /* start from 0 */ in nm_vale_preflush() local
510 ft[ft_i].ft_len = slot->len; in nm_vale_preflush()
511 ft[ft_i].ft_flags = slot->flags; in nm_vale_preflush()
512 ft[ft_i].ft_offset = 0; in nm_vale_preflush()
519 ft[ft_i].ft_next = NM_FT_NULL; in nm_vale_preflush()
520 buf = ft[ft_i].ft_buf = (slot->flags & NS_INDIRECT) ? in nm_vale_preflush()
526 kring->name, j, ft[ft_i].ft_len); in nm_vale_preflush()
527 buf = ft[ft_i].ft_buf = NETMAP_BUF_BASE(&na->up); in nm_vale_preflush()
528 ft[ft_i].ft_len = 0; in nm_vale_preflush()
529 ft[ft_i].ft_flags = 0; in nm_vale_preflush()
532 ++ft_i; in nm_vale_preflush()
538 nm_prlim(5, "%d frags at %d", frags, ft_i - frags); in nm_vale_preflush()
539 ft[ft_i - frags].ft_frags = frags; in nm_vale_preflush()
541 if (unlikely((int)ft_i >= bridge_batch)) in nm_vale_preflush()
542 ft_i = nm_vale_flush(ft, ft_i, na, ring_nr); in nm_vale_preflush()
548 ft[ft_i - 1].ft_flags &= ~NS_MOREFRAG; in nm_vale_preflush()
549 ft[ft_i - frags].ft_frags = frags; in nm_vale_preflush()
550 nm_prlim(5, "Truncate incomplete fragment at %d (%d frags)", ft_i, frags); in nm_vale_preflush()
552 if (ft_i) in nm_vale_preflush()
553 ft_i = nm_vale_flush(ft, ft_i, na, ring_nr); in nm_vale_preflush()