Hi Rusty,
On Tue, 2009-01-27 at 14:22 +1030, Rusty Russell wrote:
It does stand out a bit. I can't think of a valid reason for why I had
this, so I'll drop it.
Noted ;^)
The VLAN_ENABLE command can either enable or disable the VLAN filter, so
the vlan_filter arg is setting enable to "on". A feature bit might be
more efficient, but since this happens at device init and the enable
will fail if it's not supported by the backend, it seemed redundant.
I agree the success/failure logic would be more clear w/o the !, I'll
switch this to a == 0, or something better depending on what we decide
to do with send_command. Thanks for the comments,
Alex
--
Alex Williamson HP Open Source & Linux Org.
--
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:
Re: [PATCH 5/5] virtio_net: Add support for VLAN filtering ..., Alex Williamson, (Mon Jan 26, 9:19 pm)