/linux/include/linux/ |
H A D | if_macvlan.h | 74 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_dev_real_dev() local 76 return macvlan->lowerdev; in macvlan_dev_real_dev() 89 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_accel_priv() local 91 return macvlan->accel_priv; in macvlan_accel_priv() 96 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_supports_dest_filter() local 98 return macvlan->mode == MACVLAN_MODE_PRIVATE || in macvlan_supports_dest_filter() 99 macvlan->mode == MACVLAN_MODE_VEPA || in macvlan_supports_dest_filter() 100 macvlan->mode == MACVLAN_MODE_BRIDGE; in macvlan_supports_dest_filter() 105 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_release_l2fw_offload() local 107 macvlan->accel_priv = NULL; in macvlan_release_l2fw_offload() [all …]
|
/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_macvlan.sh | 49 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge 55 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge
|
H A D | lag_lib.sh | 48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 869 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_update_vid() 1125 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state() 1152 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state() 1368 size = offsetof(struct fm10k_l2_accel, macvlan[7]); in fm10k_dfwd_add_station() 1386 macvlan[(l2_accel->size * 2) + 1]); in fm10k_dfwd_add_station() 1393 macvlan[old_l2_accel->size])); in fm10k_dfwd_add_station() 1404 if (!l2_accel->macvlan[i]) in fm10k_dfwd_add_station() 1409 l2_accel->macvlan[i] = sdev; in fm10k_dfwd_add_station() 1459 if (l2_accel->macvlan[i] == sdev) in fm10k_dfwd_del_station() 1488 l2_accel->macvlan[i] = NULL; in fm10k_dfwd_del_station()
|
H A D | fm10k.h | 44 struct net_device *macvlan[]; member
|
H A D | fm10k_main.c | 422 if (idx < l2_accel->size && l2_accel->macvlan[idx]) in fm10k_type_trans() 423 dev = l2_accel->macvlan[idx]; in fm10k_type_trans()
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | br_netfilter.sh | 85 ip -net "$ns0" link add link br0 name macvlan0 type macvlan mode private 92 ip -net "$ns0" link add link veth4 name macvlan4 type macvlan mode passthru
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_asymmetric_ipv6.sh | 204 address 00:00:5e:00:01:01 type macvlan mode private 210 address 00:00:5e:00:01:01 type macvlan mode private 353 address 00:00:5e:00:01:01 type macvlan mode private 359 address 00:00:5e:00:01:01 type macvlan mode private
|
H A D | vxlan_asymmetric.sh | 204 address 00:00:5e:00:01:01 type macvlan mode private 210 address 00:00:5e:00:01:01 type macvlan mode private 354 address 00:00:5e:00:01:01 type macvlan mode private 360 address 00:00:5e:00:01:01 type macvlan mode private
|
H A D | lib.sh | 2098 ip link add link $dev name macvlan-tmp type macvlan mode private 2099 ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1))) 2100 ip link set macvlan-tmp up 2104 ip link del macvlan-tmp
|
H A D | vxlan_symmetric_ipv6.sh | 222 address 00:00:5e:00:01:01 type macvlan mode private 228 address 00:00:5e:00:01:01 type macvlan mode private 394 address 00:00:5e:00:01:01 type macvlan mode private 400 address 00:00:5e:00:01:01 type macvlan mode private
|
H A D | vxlan_symmetric.sh | 222 address 00:00:5e:00:01:01 type macvlan mode private 228 address 00:00:5e:00:01:01 type macvlan mode private 393 address 00:00:5e:00:01:01 type macvlan mode private 399 address 00:00:5e:00:01:01 type macvlan mode private
|
H A D | local_termination.sh | 412 ip link add link $lower name macvlan0 type macvlan mode private
|
/linux/tools/testing/selftests/net/ |
H A D | setup_loopback.sh | 51 address "${ns_mac}" type macvlan
|
/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.h | 90 u64 macvlan; member
|
H A D | debug.c | 105 vid = key2vid(node->macvlan); in mlx5_vdpa_add_rx_counters()
|
H A D | mlx5_vnet.c | 1931 vid = key2vid(node->macvlan); in mlx5_vdpa_add_mac_vlan_rules() 2022 if (pos->macvlan == value) in mac_vlan_lookup() 2044 ptr->macvlan = val; in mac_vlan_add()
|
/linux/Documentation/networking/ |
H A D | ipvlan.rst | 12 This is conceptually very similar to the macvlan driver with one major 120 6. What to choose (macvlan vs. ipvlan)?
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 438 struct macvlan_dev *macvlan = netdev_priv(dev); in mlx5e_rep_macvlan_mode_supported() local 440 return macvlan->mode == MACVLAN_MODE_PASSTHRU; in mlx5e_rep_macvlan_mode_supported()
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-params.rst | 121 - Typically macvlan, vlan net devices mac are also programmed in their
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rtnetlink.sh | 484 ip link add link br0.10 name macvlan0 type macvlan mode private 485 check_err $? "did not manage to create a macvlan when should"
|