Re: [PATCH rdma-next 26/29] IB/rxe: Interface to netdev stack

Jason Gunthorpe
2016-06-02T17:31:58Z

On Thu, Jun 02, 2016 at 07:57:34PM +0300, Moni Shoua wrote:
> + * note: this table is a replacement for a protocol specific pointer
> + * in struct net_device which exists for other ethertypes
> + * this allows us to not have to patch that data structure
> + * eventually we want to get our own when we're famous
> + */
> +struct rxe_net_info net_info[RXE_MAX_IF_INDEX];
> +spinlock_t net_info_lock; /* spinlock for net_info array */
> +struct rxe_recv_sockets recv_sockets;

This sort of stuff probably isn't suitable for mainline.

Jason