Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578529

Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver
Date 2017-02-10 16:00 +0100
Message-ID <t9kQ2-4Jf-27@gated-at.bofh.it> (permalink)
References <t6tZw-7qr-15@gated-at.bofh.it> <t6tZv-7qr-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 02, 2017 at 11:06:00AM -0700, Logan Gunthorpe wrote:
> Microsemi's "Switchtec" line of PCI switch devices is already well
> supported by the kernel with standard PCI switch drivers. However, the
> Switchtec device advertises a special management endpoint with a separate
> PCI function address and class code. This endpoint enables some additional
> functionality which includes:
> 
>  * Packet and Byte Counters
>  * Switch Firmware Upgrades
>  * Event and Error logs
>  * Querying port link status
>  * Custom user firmware commands
> 
> This patch introduces the switchtec kernel module which provides
> PCI driver that exposes a char device. The char device provides
> userspace access to this interface through read, write and (optionally)
> poll calls.
> 
> A userspace tool and library which utilizes this interface is available
> at [1]. This tool takes inspiration (and borrows some code) from
> nvme-cli [2]. The tool is largely complete at this time but additional
> features may be added in the future.
> 
> [1] https://github.com/sbates130272/switchtec-user
> [2] https://github.com/linux-nvme/nvme-cli
> 
> Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
> Signed-off-by: Stephen Bates <stephen.bates@microsemi.com>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] New Microsemi PCI Switch Management Driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-02 19:10 +0100
  [PATCH v2 1/4] MicroSemi Switchtec management interface driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-02 19:10 +0100
    Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 16:00 +0100
      Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-10 18:00 +0100
        Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 18:00 +0100
          Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 18:20 +0100
            Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-10 19:10 +0100
          Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-10 19:00 +0100
      [PATCH] switchtec: cleanup cdev init Logan Gunthorpe <logang@deltatee.com> - 2017-02-10 19:10 +0100
    Re: [PATCH v2 1/4] MicroSemi Switchtec management interface driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 16:00 +0100
  [PATCH v2 3/4] switchtec: Add sysfs attributes to the Switchtec driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-02 19:10 +0100
    Re: [PATCH v2 3/4] switchtec: Add sysfs attributes to the Switchtec  driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 16:00 +0100
  [PATCH v2 2/4] switchtec: Add user interface documentation Logan Gunthorpe <logang@deltatee.com> - 2017-02-02 19:10 +0100
  [PATCH v2 4/4] switchtec: Add IOCTLs to the Switchtec driver Logan Gunthorpe <logang@deltatee.com> - 2017-02-02 19:10 +0100
  Re: [PATCH v2 0/4] New Microsemi PCI Switch Management Driver Wei Zhang <wzhang@fb.com> - 2017-02-10 00:20 +0100
    Re: [PATCH v2 0/4] New Microsemi PCI Switch Management Driver Wei Zhang <wzhang@fb.com> - 2017-02-10 00:50 +0100
  Re: [PATCH v2 0/4] New Microsemi PCI Switch Management Driver Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 16:00 +0100
  Re: [PATCH v2 0/4] New Microsemi PCI Switch Management Driver Jens Axboe <axboe@kernel.dk> - 2017-02-10 17:20 +0100

csiph-web