From: "Paweł Staszewski" <pstaszewski@itcare.pl>
To: Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Mellanox driver / cant access /prox/irq/XX/smp_affinity after upgrade from linux-4.13-rc4-next-20170811 to 4.13.0-rc5-next-20170815
Date: Tue, 15 Aug 2017 14:21:39 +0200 [thread overview]
Message-ID: <357548fa-2987-4a90-1732-ad298384163e@itcare.pl> (raw)
Hi
After upgrading kernel to latest next there is problem with accessing
smp_affinity to write for mellanox driver
For example - MEllanox:
cat /proc/interrupts | grep ml
217: 3 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 PCI-MSI
91750400-edge mlx5_pages_eq@pci:0000:af:00.0
218: 12237 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 PCI-MSI
91750401-edge mlx5_cmd_eq@pci:0000:af:00.0
cat /proc/irq/218/smp_affinity
ffffff,ffffffff
echo "ffffff,ffffffff " > /proc/irq/218/smp_affinity
-su: echo: write error: Input/output error
For intel ixgbe:
90: 1 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 PCI-MSI
12589056-edge enp24s0f3
cat /proc/irq/90/smp_affinity
0003ff,f0003fff
echo "0003ff,f0003fff" > /proc/irq/90/smp_affinity
Without errors.
BR
Pawel
reply other threads:[~2017-08-15 12:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=357548fa-2987-4a90-1732-ad298384163e@itcare.pl \
--to=pstaszewski@itcare.pl \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox