Re: [PATCH 2/2] rxe: allow several interfaces to be specified for 'add'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 13, 2018 at 10:03 AM Hannes Reinecke <hare@xxxxxxx> wrote:
>
> On Wed, 13 Jun 2018 09:16:56 +0300
> Moni Shoua <monis@xxxxxxxxxxxx> wrote:
>
> > >
> > > Good point.
> > > (I hate the sysfs interface anyway.)
> > > Will be looking into it.
> > >
> > Sure, go ahead but remember that bonding driver still uses the sysfs
> > interface and probably for a good reason. So, consider this when you
> > make plans.
> >
>
> ???
> Not sure what this got to do with it...
>
bonding module uses sysfs interface to add slaves
the discussion here is about the sysfs interace in rxe to add device
the relevance looks pretty clear to me.
Anyway, your plan is to add an interface and not replace it so as I
said before, go ahead


> Anyway, current plan is to hook into iproute2 'rdma' tool; we already
> have:
>
> ./rdma/rdma link show
> 1/1: rxe0/1: state ACTIVE physical_state LINK_UP netdev eth1
> 2/1: rxe1/1: state ACTIVE physical_state LINK_UP netdev eth2
>
> Plan is to add an interface
>
> rdma link add <dev/port> netdev <ifname>
> rdma link del <dev/port> netdev <ifname>
>
> to cover the functionality of the current sysfs interface.
> D'accord?
>
> Cheers,
>

> Hannes
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux