Re: [PATCH 2/2][RFC] virtio_net: Add MAC fitler table support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark McLoughlin
Date: Friday, January 9, 2009 - 4:34 am

On Wed, 2009-01-07 at 11:06 -0700, Alex Williamson wrote:

Maybe a goto set_status here?


Use ETH_ALEN.


You're using two bytes per entry to indicate the flag is valid. Why not
an array of 6 byte entries with a count of how many entries are valid?

That would also keep the virtio-net I/O space under 128 bytes.

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2][RFC] virtio_net: Add MAC fitler table support, Alex Williamson, (Wed Jan 7, 11:06 am)
Re: [PATCH 2/2][RFC] virtio_net: Add MAC fitler table support, Mark McLoughlin, (Fri Jan 9, 4:34 am)
Re: [PATCH 2/2][RFC] virtio_net: Add MAC fitler table support, Anthony Liguori, (Sat Jan 10, 11:18 am)
Re: [PATCH 2/2][RFC] virtio_net: Add MAC fitler table support, Alex Williamson, (Sat Jan 10, 11:50 am)
Re: [PATCH 2/2][RFC] virtio_net: Add MAC fitler table support, Anthony Liguori, (Sat Jan 10, 12:41 pm)