aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_repr.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-05-22 12:44:44 +0100
committerDavid S. Miller <davem@davemloft.net>2023-05-22 12:44:44 +0100
commitd49b9b07725f5dfa3344dc3eed59b8ccc0a0ddbc (patch)
tree001c24bd24b6dc0775b14f5236a7b5932c8695be /drivers/net/ethernet/intel/ice/ice_repr.h
parentefc3001f8b44bf5da0f178bd726a73c73f370707 (diff)
parent0ef4479d13af4c5516920520d9cf7bcfe801b353 (diff)
downloadlinux-d49b9b07725f5dfa3344dc3eed59b8ccc0a0ddbc.tar.gz
linux-d49b9b07725f5dfa3344dc3eed59b8ccc0a0ddbc.tar.bz2
linux-d49b9b07725f5dfa3344dc3eed59b8ccc0a0ddbc.zip
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue
Tony Nguyen says: ==================== ice: allow matching on meta data Michal Swiatkowski says: This patchset is intended to improve the usability of the switchdev slow path. Without matching on a meta data values slow path works based on VF's MAC addresses. It causes a problem when the VF wants to use more than one MAC address (e.g. when it is in trusted mode). Parse all meta data in the same place where protocol type fields are parsed. Add description for the currently implemented meta data. It is important to note that depending on DDP not all described meta data can be available. Using not available meta data leads to error returned by function which is looking for correct words in profiles read from DDP. There is also one small improvement, remove of rx field in rule info structure (patch 2). It is redundant. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_repr.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_repr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_repr.h b/drivers/net/ethernet/intel/ice/ice_repr.h
index 378a45bfa256..9c2a6f496b3b 100644
--- a/drivers/net/ethernet/intel/ice/ice_repr.h
+++ b/drivers/net/ethernet/intel/ice/ice_repr.h
@@ -13,9 +13,8 @@ struct ice_repr {
struct net_device *netdev;
struct metadata_dst *dst;
#ifdef CONFIG_ICE_SWITCHDEV
- /* info about slow path MAC rule */
- struct ice_rule_query_data *mac_rule;
- u8 rule_added;
+ /* info about slow path rule */
+ struct ice_rule_query_data sp_rule;
#endif
};