]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
cnic: Fix the type field in SPQ messages
authorMichael Chan <mchan@broadcom.com>
Wed, 5 Jan 2011 15:14:13 +0000 (15:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jan 2011 19:27:22 +0000 (11:27 -0800)
commit68d7c1aa2fee6acb11fcb826a207e4b81d8a1f57
tree8f95cc15abcc81b0a3e47ec2c370373bd9c02219
parentcba85b532e4aabdb97f44c18987d45141fd93faa
cnic: Fix the type field in SPQ messages

The new firmware interface requires each Slow Path Queue (SPQ) message's
type field to include the function number.  The existing code does not
do this consistently.  We fix this by OR'ing in the function number
into the type field centrally in cnic_submit_kwqe_16().

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c