diff options
author | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-29 06:46:01 +0000 |
---|---|---|
committer | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-29 06:46:01 +0000 |
commit | 6e1ebbe9e2b2823a9bab979931087774f152e751 (patch) | |
tree | 7f380864d5fd64f55e980a0ebd1019bd9f1562bb /sys/dev/sfxge/common/efx.h | |
parent | d222b6174302502d44d86d583fa27de44dd11c63 (diff) | |
download | src-6e1ebbe9e2b2823a9bab979931087774f152e751.tar.gz src-6e1ebbe9e2b2823a9bab979931087774f152e751.zip |
sfxge(4): get actions MARK and FLAG support
Filter actions MARK and FLAG are supported on Medford2 by DPDK
firmware variant.
Submitted by: Roman Zhukov <roman.zhukov at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18238
Notes
Notes:
svn path=/head/; revision=341207
Diffstat (limited to 'sys/dev/sfxge/common/efx.h')
-rw-r--r-- | sys/dev/sfxge/common/efx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/efx.h b/sys/dev/sfxge/common/efx.h index 72e987f4c345..339918a4b7ca 100644 --- a/sys/dev/sfxge/common/efx.h +++ b/sys/dev/sfxge/common/efx.h @@ -1321,6 +1321,9 @@ typedef struct efx_nic_cfg_s { /* Firmware support for extended MAC_STATS buffer */ uint32_t enc_mac_stats_nstats; boolean_t enc_fec_counters; + /* Firmware support for "FLAG" and "MARK" filter actions */ + boolean_t enc_filter_action_flag_supported; + boolean_t enc_filter_action_mark_supported; } efx_nic_cfg_t; #define EFX_PCI_FUNCTION_IS_PF(_encp) ((_encp)->enc_vf == 0xffff) |