Project

General

Profile

Bug #12892

nxge: smatch error: npi_txc_pkt_stuffed_get() warn: mask and shift to zero

Added by Toomas Soome 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While building on x86, the smatch does complain:

/code/12654/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/io/nxge/npi/npi_txc.c:793 npi_txc_pkt_stuffed_get() warn: mask and shift to zero

I think, it is endian issue, but as I do not have hw to test, I can not really test it myself.

History

#1

Updated by Garrett D'Amore 3 months ago

I don't think anyone can use nxge on x86 -- I'm pretty sure this was never offered as an external NIC, and only present on systems with Niagara (T-series) sparc CPUs.

Probably we could (should?) just remove it from the x86 build altogether.

#2

Updated by Toomas Soome 3 months ago

Garrett D'Amore wrote:

I don't think anyone can use nxge on x86 -- I'm pretty sure this was never offered as an external NIC, and only present on systems with Niagara (T-series) sparc CPUs.

Probably we could (should?) just remove it from the x86 build altogether.

I still think, we should have project to collect prtconf (or like) output and build device DB...

Also available in: Atom PDF