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 09:03:16AM +0200, Hannes Reinecke 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...
>
> 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?
>

+1, please don't forget ability to provide netdev_index in addition
to netdev name. It will be helpful for automatic tools.

Thanks

> 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

Attachment: signature.asc
Description: PGP signature


[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