Skip to content

Commit

Permalink
Set NS_MOREFRAG in ixgbe when EOP is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Barbette authored and giuseppelettieri committed Nov 14, 2015
1 parent 0afac96 commit fc1e775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LINUX/ixgbe_netmap_linux.h
Expand Up @@ -358,7 +358,8 @@ ixgbe_netmap_rxsync(struct netmap_kring *kring, int flags)
if ((staterr & IXGBE_RXD_STAT_DD) == 0)
break;
ring->slot[nm_i].len = le16toh(curr->wb.upper.length);
ring->slot[nm_i].flags = slot_flags;
ring->slot[nm_i].flags = (!(staterr & IXGBE_RXD_STAT_EOP) ? NS_MOREFRAG |
slot_flags:slot_flags);
nm_i = nm_next(nm_i, lim);
nic_i = nm_next(nic_i, lim);
}
Expand Down

0 comments on commit fc1e775

Please sign in to comment.