github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/bindata/scripts/switchdev-vf-link-name.sh (about)

     1  #!/bin/bash
     2  set -x
     3  PORT="$1"
     4  echo "NUMBER=${PORT##pf*vf}"