diff options
| author | David S. Miller <davem@davemloft.net> | 2018-05-25 16:10:43 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-25 16:10:43 -0400 |
| commit | a527af9cbdb7f58d47983776cb07c414b71a2cd6 (patch) | |
| tree | 8bcd124b8ae3a1291dccdce055c738144a14c9e4 /include | |
| parent | e2f4f4e927f1356d561f612f1c55d64654f60353 (diff) | |
| parent | 608e00d0a2eb53079c55dc9c14d8711bbb3a4390 (diff) | |
| download | linux-a527af9cbdb7f58d47983776cb07c414b71a2cd6.tar.gz linux-a527af9cbdb7f58d47983776cb07c414b71a2cd6.tar.bz2 linux-a527af9cbdb7f58d47983776cb07c414b71a2cd6.zip | |
Merge branch 'qed-ethtool-rx-flow-classification-enhancements'
Manish Chopra says:
====================
qed*: ethtool rx flow classification enhancements.
This series re-structures the driver's ethtool rx flow
classification flow, following that it adds other flow
profiles and rx flow classification enhancements
via "ethtool -N/-U"
Please consider applying this to "net-next"
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/qed/qed_eth_if.h | 4 | ||||
| -rw-r--r-- | include/linux/qed/qed_if.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h index 7f9756fe9180..2978fa4add42 100644 --- a/include/linux/qed/qed_eth_if.h +++ b/include/linux/qed/qed_eth_if.h @@ -66,6 +66,7 @@ enum qed_filter_config_mode { QED_FILTER_CONFIG_MODE_5_TUPLE, QED_FILTER_CONFIG_MODE_L4_PORT, QED_FILTER_CONFIG_MODE_IP_DEST, + QED_FILTER_CONFIG_MODE_IP_SRC, }; struct qed_ntuple_filter_params { @@ -88,6 +89,9 @@ struct qed_ntuple_filter_params { /* true iff this filter is to be added. Else to be removed */ bool b_is_add; + + /* If flow needs to be dropped */ + bool b_is_drop; }; struct qed_dev_eth_info { diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index 44af652e7407..ac991a3b8f03 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -1129,6 +1129,7 @@ struct qed_eth_stats_common { u64 rx_bcast_pkts; u64 mftag_filter_discards; u64 mac_filter_discards; + u64 gft_filter_drop; u64 tx_ucast_bytes; u64 tx_mcast_bytes; u64 tx_bcast_bytes; |
