|
@@ -766,6 +766,13 @@ struct netdev_phys_item_id {
|
|
|
unsigned char id_len;
|
|
|
};
|
|
|
|
|
|
+static inline bool netdev_phys_item_id_same(struct netdev_phys_item_id *a,
|
|
|
+ struct netdev_phys_item_id *b)
|
|
|
+{
|
|
|
+ return a->id_len == b->id_len &&
|
|
|
+ memcmp(a->id, b->id, a->id_len) == 0;
|
|
|
+}
|
|
|
+
|
|
|
typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
|
|
|
struct sk_buff *skb);
|
|
|
|