Home
last modified time | relevance | path

Searched refs:macvlan (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/include/linux/
Dif_macvlan.h71 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_dev_real_dev() local
73 return macvlan->lowerdev; in macvlan_dev_real_dev()
86 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_accel_priv() local
88 return macvlan->accel_priv; in macvlan_accel_priv()
93 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_supports_dest_filter() local
95 return macvlan->mode == MACVLAN_MODE_PRIVATE || in macvlan_supports_dest_filter()
96 macvlan->mode == MACVLAN_MODE_VEPA || in macvlan_supports_dest_filter()
97 macvlan->mode == MACVLAN_MODE_BRIDGE; in macvlan_supports_dest_filter()
102 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_release_l2fw_offload() local
104 macvlan->accel_priv = NULL; in macvlan_release_l2fw_offload()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c982 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_update_vid()
1238 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1265 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1481 size = offsetof(struct fm10k_l2_accel, macvlan[7]); in fm10k_dfwd_add_station()
1499 macvlan[(l2_accel->size * 2) + 1]); in fm10k_dfwd_add_station()
1506 macvlan[old_l2_accel->size])); in fm10k_dfwd_add_station()
1517 if (!l2_accel->macvlan[i]) in fm10k_dfwd_add_station()
1522 l2_accel->macvlan[i] = sdev; in fm10k_dfwd_add_station()
1572 if (l2_accel->macvlan[i] == sdev) in fm10k_dfwd_del_station()
1601 l2_accel->macvlan[i] = NULL; in fm10k_dfwd_del_station()
Dfm10k.h44 struct net_device *macvlan[0]; member
Dfm10k_main.c426 if (idx < l2_accel->size && l2_accel->macvlan[idx]) in fm10k_type_trans()
427 dev = l2_accel->macvlan[idx]; in fm10k_type_trans()
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dvxlan_asymmetric.sh204 address 00:00:5e:00:01:01 type macvlan mode private
210 address 00:00:5e:00:01:01 type macvlan mode private
348 address 00:00:5e:00:01:01 type macvlan mode private
354 address 00:00:5e:00:01:01 type macvlan mode private
Dvxlan_symmetric.sh222 address 00:00:5e:00:01:01 type macvlan mode private
228 address 00:00:5e:00:01:01 type macvlan mode private
387 address 00:00:5e:00:01:01 type macvlan mode private
393 address 00:00:5e:00:01:01 type macvlan mode private
/Linux-v5.4/drivers/net/
DMakefile16 obj-$(CONFIG_MACVLAN) += macvlan.o
DKconfig130 "ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"
133 will be called macvlan.
143 can be added in the same way as a macvlan device, using 'type
/Linux-v5.4/Documentation/networking/
Dipvlan.txt8 This is conceptually very similar to the macvlan driver with one major
91 6. What to choose (macvlan vs. ipvlan)?
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh543 type macvlan mode private &> /dev/null
547 ip link add link br0.10 name macvlan0 type macvlan mode private