This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# ───────────────────────────────────────────────────────────────────────────── | |
# Script Name : setup_sriov_vfs.sh | |
# Description : Automates the configuration of SR-IOV Virtual Functions (VFs) | |
# on specified Physical Functions (PFs), assigns VLAN IDs, and | |
# pins IRQs to specific CPUs for optimal NUMA locality and | |
# performance tuning. Also disables reverse path filtering (rp_filter) | |
# to ensure proper network behavior in advanced routing scenarios. | |
# |