is_upper_nde...aster_filter(9)
π is_upper_ndev_bond_master_filter(9) π
okay so bestie, this is the Kernel API Manual page for is_upper_ndev_bond_master_filter, and the header was out here doing the most with is_upper_nde...aster_filter(9) β truncated queen behavior, honestly. The full name is the long one, and she's an absolute icon.
β¨ NAME β¨
is_upper_ndev_bond_master_filter β check if a given netdevice is bond master device of netdevice of the RDMA device of port. that's the whole mission, no cap.
π°οΈ SYNOPSIS π°οΈ
here's the signature exactly as it is, because we do not mess with the code:
bool is_upper_ndev_bond_master_filter (struct ib_device *ib_dev , u32
port , struct net_device *rdma_ndev , void *cookie );
π ARGUMENTS π
four arguments, bestie, each one doing its little main-character thing:
ib_devβ IB device to check.portβ Port to consider for adding default GID.rdma_ndevβ Pointer to rdma netdevice.cookieβ Netdevice to consider to form a default GID.
π DESCRIPTION π
so the vibe check is: is_upper_ndev_bond_master_filter returns true if a cookie_netdev is bond master device and rdma_ndev is its lower netdevice. It might not have been established as slave device yet β iykyk, that's the caveat, don't come for me.
π SEE ALSO π
- Kernel file
./drivers/infiniband/core/roce_gid_mgmt.c is_ndev_for_default_gid_filter(9)del_default_gids(9)rdma_roce_rescan_device(9)rdma_roce_rescan_port(9)
mwah π this page comes from ./drivers/infiniband/core, dated October 2026, and the footer was calling it is_upper_nde...aster_filter(9) β love that for her. byeee π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms