]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add netlink callbacks support for software based DCB
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Mon, 19 Oct 2020 23:50:29 +0000 (23:50 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 10 Feb 2021 22:28:40 +0000 (14:28 -0800)
commit218275ecdbedc31b57e12c99e710e5931ea5839f
treec7a0120aa407f490588556b23f33bfa2060a8604
parent6ae0b65e56161c20d16b2d8ca92dd0a0e379b848
i40e: Add netlink callbacks support for software based DCB

Add callbacks used by software based LLDP agent, which allows to
configure DCB feature from userspace.

Update copyright dates as appropriate.

If LLDP agent is turned off in BIOS, or after setting private flag
("disable-fw-lldp on"). The driver initialized DCB functionality with
default values, one traffic class with 100% bandwidth allocated.

The new netlink callbacks are required for software LLDP agent, it
must be able to acquire current DCB configuration of a network port
and apply DCB configuration changes, if required.

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c