Bug 2188134

Summary: macvlan: Add bclim parameter
Product: Red Hat Enterprise Linux 8 Reporter: Xin Long <lxin>
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: VERIFIED --- QA Contact: Fei Liu <feliu>
Severity: high Docs Contact:
Priority: high    
Version: 8.8CC: aclaudi, arajendr, feliu, herbert.xu, jbainbri, jiji, mariusz.gajecki, mleitner, mshi, mtesar, network-qe
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: 8.9   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-6.2.0-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2186945
: 2209687 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2186945, 2186948    
Bug Blocks: 2183896, 2210088, 2211365, 2211879, 2209687    

Comment 14 Mingyu Shi 2023-05-25 08:09:04 UTC
Checked with iproute-6.2.0-2.el8

Comment 19 Fei Liu 2023-07-17 02:41:37 UTC
# uname -r
4.18.0-496.el8.x86_64

# rpm -qa|grep iproute
iproute-6.2.0-2.el8.x86_64
iproute-tc-6.2.0-2.el8.x86_64

[root@dell-per740-04 ]# ip link ad link ens3f1 name macvlan0 type macvlan bclim 0
[root@dell-per740-04 ]# ip -d link show macvlan0
39: macvlan0@ens3f1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 56:67:42:13:10:4d brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 68 maxmtu 9978 
    macvlan mode vepa bcqueuelen 1000 usedbcqueuelen 1000 bclim 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 

[root@dell-per740-04 ]# ip li del macvlan0
[root@dell-per740-04 ]# ip link ad link ens3f1 name macvlan0 type macvlan bclim -1
[root@dell-per740-04 ]# ip -d link show macvlan0
40: macvlan0@ens3f1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether ea:67:ca:66:79:c0 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 68 maxmtu 9978 
    macvlan mode vepa bcqueuelen 1000 usedbcqueuelen 1000 bclim -1 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 

[root@dell-per740-04 ]# ip li del macvlan0
[root@dell-per740-04 ]# ip link ad link ens3f1 name macvlan0 type macvlan bclim 10
[root@dell-per740-04 ]# ip -d link show macvlan0
41: macvlan0@ens3f1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 62:21:d8:14:40:c1 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 68 maxmtu 9978 
    macvlan mode vepa bcqueuelen 1000 usedbcqueuelen 1000 bclim 10 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535