On Thu, Sep 28, 2017 at 09:57:53PM +0300, Leon Romanovsky wrote:
On Thu, Sep 28, 2017 at 11:47:28AM -0700, Vishwanathapura, Niranjana wrote:
On Wed, Sep 27, 2017 at 11:26:17AM -0400, Doug Ledford wrote:
> On Tue, 2017-09-26 at 11:12 -0700, Vishwanathapura, Niranjana wrote:
> > The debugfs interface here is for VNIC port encapsulation
> > configuration.
> > They are not related to netdevice functionality.
> >
> > They are for debug purpose only and not the supported configuration
> > mechanism.
>
> OK, if this isn't the supported configuration mechanism, then what is
> the supported mechanism?
>
The supported mechanism is the Ethernet Manager providing the encapsulation
configuration (as in the opa_vnic.txt documentation)
This is just a debug interface to it.
Add tracepoint for that.
For some reason, I couldn't find Leon's earlier response on my mutt! Will
repond here.
It is not really for tracing, but to have a simple debug read/write access to
the encapsution configuration which allows us to triage issues.
We find it useful on an ongoing basis, more like some standard NICs providing
debugfs interface to read/write from/to some of its registers.
It is much easier to have it upstreamed and available instead of maintaining
these patches separately.
Niranjana
Niranjana
> -- >Doug Ledford <dledford@xxxxxxxxxx>
> GPG KeyID: B826A3330E572FDD
> Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
>
--
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