diff options
| author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-08-22 06:25:11 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-22 21:24:52 -0400 |
| commit | d8c2c7e3404e5bcaeae4af78d6935e5b8fcc97ee (patch) | |
| tree | e9beb5dc5d4bf584102e0e96830590ee5e0535cd /include/linux | |
| parent | 11a85d759ea5064c986c47112607681c09cdcdd9 (diff) | |
qed*: Add support for VFs over legacy PFs
Modern VFs can't run on old non-compatible as the fastpath HSI is
slightly changed - but as the HSI is actually very close [basically,
a single bit whose meaning flipped] this can be supported with small
modifications.
The major differences would be in:
- Recognizing that VF is running on top of a legacy PF.
- Returning some slowpath configurations that are no longer needed
on top of modern PFs, but would be required when working over
the legacy ones.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/qed/qed_eth_if.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h index 4475a9d8ae15..33c24ebc9b7f 100644 --- a/include/linux/qed/qed_eth_if.h +++ b/include/linux/qed/qed_eth_if.h | |||
| @@ -23,6 +23,9 @@ struct qed_dev_eth_info { | |||
| 23 | 23 | ||
| 24 | u8 port_mac[ETH_ALEN]; | 24 | u8 port_mac[ETH_ALEN]; |
| 25 | u8 num_vlan_filters; | 25 | u8 num_vlan_filters; |
| 26 | |||
| 27 | /* Legacy VF - this affects the datapath, so qede has to know */ | ||
| 28 | bool is_legacy; | ||
| 26 | }; | 29 | }; |
| 27 | 30 | ||
| 28 | struct qed_update_vport_rss_params { | 31 | struct qed_update_vport_rss_params { |
