RE: [PATCH net-next 0/7] r8152: tx/rx improvement

From: hayeswang
Date: Sun Mar 09 2014 - 23:45:29 EST


David Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Saturday, March 08, 2014 5:28 AM
> To: hayeswang@xxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx; nic_swsd@xxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH net-next 0/7] r8152: tx/rx improvement
[...]
> Note that if you ever add ->ndo_poll_controller support to
> this driver,
> you will have to revert your spin_lock_irq{save,restore}() changes to
> your ->ndo_start_xmit.
>
> Because the transmit function can indeed be invoked from hard IRQ
> context once you support netpoll.

Thank you for your reminder. I would notice that.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/