[ofa-general] Re: [PATCH 1/4] rdma/addr: keep the netdevice name in struct rdma_dev_addr

Roland Dreier rdreier at cisco.com
Wed Jun 18 13:44:21 PDT 2008


 > Taking into account that under this scheme the hw address of the netdevice
 > changes, I didn't see something really better than the name, were you
 > thinking on some specific alternative? just saving pointer to the netdevice
 > seemed quite not elegant...

To me using the pointer to the netdev seems much cleaner than doing a
string comparison on the name, but I'm probably missing something.  Why
didn't you like that idea?



More information about the general mailing list