Thread (14 messages) flat view 14 messages, 5 authors, 2021-10-19

Re: [PATCH net-next 1/6] ethernet: add a helper for assigning port addresses

From: Ido Schimmel <hidden>
Date: 2021-10-19 06:11:40

On Mon, Oct 18, 2021 at 02:10:02PM -0700, Jakub Kicinski wrote:
We have 5 drivers which offset base MAC addr by port id.
Create a helper for them.

This helper takes care of overflows, which some drivers
did not do, please complain if that's going to break
anything!

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
--
 - eth_hw_addr_set_port() -> eth_hw_addr_gen()
 - id u8 -> unsigned int
Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help