freebsd-src/sys/dev/sfxge
Andrew Rybchenko bd1be89ebe sfxge(4): use simpler code to check hash algorithm type
The API which is used to list supported hash flags verifies
hash algorithm choice before writing the output. This check
is based on a switch() statement which has only two options
and no distinctive actions to be conducted for each of them.
Use simpler code instead of switch() to improve readability.

Submitted by:   Ivan Malov <ivan.malov at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18266
2018-11-30 07:06:58 +00:00
..
common sfxge(4): use simpler code to check hash algorithm type 2018-11-30 07:06:58 +00:00
sfxge.c sfxge(4): support choosing firmware variant 2018-11-29 06:43:00 +00:00
sfxge.h sfxge(4): report memory BAR number 2018-11-27 12:59:43 +00:00
sfxge_dma.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
sfxge_ev.c
sfxge_intr.c
sfxge_ioc.h
sfxge_mcdi.c
sfxge_nvram.c sfxge(4): extend NVRAM RW finish to return verify result 2018-11-23 10:20:32 +00:00
sfxge_port.c sfxge(4): remove MAC stats size define 2018-11-27 14:16:14 +00:00
sfxge_rx.c sfxge(4): control RxQ scatter using flag instead of type 2018-11-24 18:13:07 +00:00
sfxge_rx.h
sfxge_tx.c sfxge(4): add outer IP ID parameter to TSOv2 descriptor 2018-11-28 09:25:43 +00:00
sfxge_tx.h
sfxge_version.h