common/sfc_efx/base: indicate support for TSO version 3
Riverhead boards support TSO version 3. Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andrew Lee <andrewle@xilinx.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
This commit is contained in:
parent
96a8519dea
commit
1306effb9f
@ -1109,6 +1109,12 @@ ef10_get_datapath_caps(
|
||||
else
|
||||
encp->enc_fw_assisted_tso_v2_encap_enabled = B_FALSE;
|
||||
|
||||
/* Check if TSOv3 is supported */
|
||||
if (CAP_FLAGS2(req, TX_TSO_V3))
|
||||
encp->enc_tso_v3_enabled = B_TRUE;
|
||||
else
|
||||
encp->enc_tso_v3_enabled = B_FALSE;
|
||||
|
||||
/* Check if the firmware has vadapter/vport/vswitch support */
|
||||
if (CAP_FLAGS1(req, EVB))
|
||||
encp->enc_datapath_cap_evb = B_TRUE;
|
||||
|
@ -1469,6 +1469,7 @@ typedef struct efx_nic_cfg_s {
|
||||
boolean_t enc_fw_assisted_tso_enabled;
|
||||
boolean_t enc_fw_assisted_tso_v2_enabled;
|
||||
boolean_t enc_fw_assisted_tso_v2_encap_enabled;
|
||||
boolean_t enc_tso_v3_enabled;
|
||||
/* Number of TSO contexts on the NIC (FATSOv2) */
|
||||
uint32_t enc_fw_assisted_tso_v2_n_contexts;
|
||||
boolean_t enc_hw_tx_insert_vlan_enabled;
|
||||
|
@ -176,6 +176,7 @@ siena_board_cfg(
|
||||
encp->enc_fw_assisted_tso_enabled = B_FALSE;
|
||||
encp->enc_fw_assisted_tso_v2_enabled = B_FALSE;
|
||||
encp->enc_fw_assisted_tso_v2_n_contexts = 0;
|
||||
encp->enc_tso_v3_enabled = B_FALSE;
|
||||
encp->enc_allow_set_mac_with_installed_filters = B_TRUE;
|
||||
encp->enc_rx_packed_stream_supported = B_FALSE;
|
||||
encp->enc_rx_var_packed_stream_supported = B_FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user