[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180116200255.07ee2586@cakuba.netronome.com>
Date:   Tue, 16 Jan 2018 20:02:55 -0800
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc:     daniel@...earbox.net, netdev@...r.kernel.org,
        oss-drivers@...ronome.com, Jiong Wang <jiong.wang@...ronome.com>,
        "Francois H. Theron" <francois.theron@...ronome.com>
Subject: Re: [PATCH bpf-next 3/3] tools: bpftool: improve architecture
 detection by using ifindex
CC: Francois
On Tue, 16 Jan 2018 19:42:15 -0800, Alexei Starovoitov wrote:
> > +	switch (vendor_id) {
> > +	case 0x19ee:
> > +		device_id = read_sysfs_netdev_hex_int(devname, "device");
> > +		if (device_id != 0x4000 &&
> > +		    device_id != 0x6000 &&
> > +		    device_id != 0x6003)
> > +			p_info("Unknown NFP device ID, assuming it is NFP-6xxx arch");
> > +		return "NFP-6xxx";  
> 
> is this a canonical name that bfd will understand?
Yes, we started with just "nfp", but tossed "6k" for good measure.
> a link to bfd patches?
Unfortunately not posted, yet.
Powered by blists - more mailing lists