: f9cf4f864150 ("net/ice: support device initialization")
Signed-off-by: Matthew Smith
---
drivers/net/intel/ice/ice_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/intel/ice/ice_ethdev.c
b/drivers/net/intel/ice/ice_ethdev.c
index 3cdfa16f77..21d3795954 10
I226-V devices can hang when EEE is enabled. Explicitly disable
EEE during initialization of the device, as the Linux and FreeBSD
kernel drivers do.
Signed-off-by: Matthew Smith
---
drivers/net/igc/base/igc_i225.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/igc/base
40e.h
> index 4cb21c3713..a802f989e9 100644
> --- a/drivers/net/i40e/rte_pmd_i40e.h
> +++ b/drivers/net/i40e/rte_pmd_i40e.h
> @@ -1134,6 +1134,23 @@ __rte_experimental
> int
> rte_pmd_i40e_set_switch_dev(uint16_t port_id, struct rte_eth_dev *switch_dev);
>
> +/**
> + * Enable/Disable source prune on all the PF.
> + *
> + * @param port
> + *The port identifier of the Ethernet device.
> + * @param on
> + *1 - Enable source prune.
> + *0 - Disable source prune.
> + * @return
> + * - (0) if successful.
> + * - (-ENODEV) if *port* invalid.
> + * - (-EINVAL) if bad parameter.
> + */
> +__rte_experimental
> +int rte_pmd_i40e_set_pf_src_prune(uint16_t port,
> +uint8_t on);
> +
> #ifdef __cplusplus
> }
> #endif
> diff --git a/drivers/net/i40e/version.map b/drivers/net/i40e/version.map
> index 561db50eac..51e1ac4f06 100644
> --- a/drivers/net/i40e/version.map
> +++ b/drivers/net/i40e/version.map
> @@ -46,4 +46,5 @@ EXPERIMENTAL {
>rte_pmd_i40e_get_fdir_stats;
>rte_pmd_i40e_set_gre_key_len;
>rte_pmd_i40e_set_switch_dev;
> + rte_pmd_i40e_set_pf_src_prune;
> };
> —
> 2.25.1
>
The patch appears to correct the issue reported in bug 648.
Tested-by: Matthew Smith mailto:mgsm...@netgate.com>>
the port using rte_eth_link_get_nowait().
Increase the maximum wait time in ixgbe_setup_mac_link_multispeed_fiber()
to 1 s.
Bugzilla ID: 69
Fixes: f3430431abaf ("ixgbe/base: add SFP+ dual-speed support")
Cc: sta...@dpdk.org
Signed-off-by: Matthew Smith
---
drivers/net/ixgbe/base/ixgb
4 matches
Mail list logo