commit | dcf10ec772ade4e9ba76f31c07dc1927b58eb4b4 | [log] [tgz] |
---|---|---|
author | Raju Rangoju <rajur@chelsio.com> | Thu May 23 19:21:21 2019 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu May 23 09:36:14 2019 -0700 |
tree | bda089b1c08bef8dd0f0223eec72b1eb24644c99 | |
parent | 00e31a09613619a2f99adcd1ea9fceda9365fa30 [diff] |
cxgb4: use firmware API for validating filter spec Adds support for validating hardware filter spec configured in firmware before offloading exact match flows. Use the new fw api FW_PARAM_DEV_FILTER_MODE_MASK to read the filter mode and mask from firmware. If the api isn't supported, then fall-back to older way of reading just the mode from indirect register. Signed-off-by: Raju Rangoju <rajur@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>