diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-08-22 13:25:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-22 18:24:52 -0700 |
commit | d8c2c7e3404e5bcaeae4af78d6935e5b8fcc97ee (patch) | |
tree | e9beb5dc5d4bf584102e0e96830590ee5e0535cd /drivers/net/ethernet/qlogic/qede/qede.h | |
parent | 11a85d759ea5064c986c47112607681c09cdcdd9 (diff) | |
download | linux-d8c2c7e3404e5bcaeae4af78d6935e5b8fcc97ee.tar.bz2 |
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 'drivers/net/ethernet/qlogic/qede/qede.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qede/qede.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede.h b/drivers/net/ethernet/qlogic/qede/qede.h index 32325ca5951f..700b509f7143 100644 --- a/drivers/net/ethernet/qlogic/qede/qede.h +++ b/drivers/net/ethernet/qlogic/qede/qede.h @@ -268,6 +268,8 @@ struct qede_tx_queue { u16 num_tx_buffers; u64 xmit_pkts; u64 stopped_cnt; + + bool is_legacy; }; #define BD_UNMAP_ADDR(bd) HILO_U64(le32_to_cpu((bd)->addr.hi), \ |