]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge: never set RX_DESCQ_EN during self-test
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Sat, 21 Feb 2015 06:26:10 +0000 (06:26 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Sat, 21 Feb 2015 06:26:10 +0000 (06:26 +0000)
commitf95b698965ec83b9c9aaa407e28a53f687c562ee
tree87bc0c7e10c560eaf66f81d32ba4d41dcde16fc4
parent45923e76906ddbcb280d40ff56c747a380291e40
sfxge: never set RX_DESCQ_EN during self-test

We must not enable RX queues with random parameters when they are
mapped into a VF with an untrusted driver.  It's probably not a good
idea to do this anyway, so take this bit out of the table test masks.

Submitted by:   Ben Hutchings
Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
sys/dev/sfxge/common/siena_nic.c