commit | f9cac93e5b3eefc5c6340ba4efd3628f2347e1ef | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Thu Jul 02 17:29:24 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 02 14:47:40 2020 -0700 |
tree | 7251950f44c3d2702da0a05d35b477fd5befcb1b | |
parent | 67e6398e2e058d0ec126f47ac123cca590c7a2ba [diff] |
sfc: make tx_queues_per_channel variable at runtime Siena needs four TX queues (csum * highpri), EF10 needs two (csum), and EF100 only needs one (as checksumming is controlled entirely by the transmit descriptor). Rather than having various bits of ad-hoc code to decide which queues to set up etc., put the knowledge of how many TXQs a channel has in one place. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>