diff options
author | Michal Swiatkowski <michal.swiatkowski@linux.intel.com> | 2024-08-20 09:57:53 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-09-06 21:01:24 +0300 |
commit | 415db8399d06a45ebd7b7d26b951f831a4b01801 (patch) | |
tree | e0367ea34acd2c0d5c58f9f9305c10166ef100a6 /drivers/net/ethernet/intel/e1000e/ich8lan.h | |
parent | 8f9b681adb4437c8b2d1ad998d66b79558bc900a (diff) | |
download | linux-415db8399d06a45ebd7b7d26b951f831a4b01801.tar.xz |
ice: make representor code generic
Keep the same flow of port representor creation, but instead of general
attach function create helpers for specific representor type.
Store function pointer for add and remove representor.
Type of port representor can be also known based on VSI type, but it
is more clean to have it directly saved in port representor structure.
Add devlink lock for whole port representor creation and destruction.
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/ich8lan.h')
0 files changed, 0 insertions, 0 deletions