Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I06d4012552eee918ae29e0bd789d3d316840ad4a
# SR-IOV initialization
case "${1:-start}" in
"start" )
- sriov_totalvfs=$(< "${pci_path}"/sriov_totalvfs)
+ if [ $(< "${pci_path}"/sriov_totalvfs) -gt 128 ]
+ then
+ sriov_totalvfs=128
+ else
+ sriov_totalvfs=$(< "${pci_path}"/sriov_totalvfs)
+ fi
;;
"stop" )
sriov_totalvfs=0
"1n_skx")
# Add Intel Corporation XL710/X710 Virtual Function to the
# whitelist.
+ # Add Intel Corporation E810 Virtual Function to the
+ # whitelist.
pci_id="0x154c\|0x1889"
- tg_netdev=(ens1 enp134)
- dut1_netdev=(ens5 enp175)
+ tg_netdev=(ens1 enp94 enp134)
+ dut1_netdev=(ens5 enp175 enp175)
ports_per_nic=2
;;
"1n_tx2")