[Intel-wired-lan] [PATCH S28 v2 6/9] ice: Allow for delayed LLDP MIB change registration
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Sep 4 22:27:07 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Tuesday, September 3, 2019 1:31 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S28 v2 6/9] ice: Allow for delayed LLDP MIB
> change registration
>
> From: Dave Ertman <david.m.ertman at intel.com>
>
> Add an additional boolean parameter to the ice_init_dcb function. This
> boolean controls if the LLDP MIB change events are registered for. Also, add
> a new function defined ice_cfg_lldp_mib_change. The additional function is
> necessary to be able to register for LLDP MIB change events after calling
> ice_init_dcb. The net effect of these two changes is to allow a delayed
> registration for MIB change events so that the driver is not accepting events
> before it is ready for them.
>
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_dcb.c | 39 ++++++++++++++++++--
> drivers/net/ethernet/intel/ice/ice_dcb.h | 11 ++----
> drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 +-
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 ++++-
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +
> 5 files changed, 51 insertions(+), 15 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list