diff options
| author | wangmenglan <[email protected]> | 2024-04-26 21:50:01 +0630 |
|---|---|---|
| committer | 付明卫 <[email protected]> | 2024-04-26 16:31:33 +0000 |
| commit | 4bd5c180fcfb2a7e97cb2a7c7f5dd5502a23b6ac (patch) | |
| tree | bbaadf56b02c9436d85074c1fd50f1ca50902714 | |
| parent | 98f5b9595d2cce34293a02ae3e058a08d6baabd3 (diff) | |
enable flow controlv24.02.16
| -rwxr-xr-x | ansible/roles/OFED/files/enable_dropless_rq.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/OFED/files/enable_dropless_rq.sh b/ansible/roles/OFED/files/enable_dropless_rq.sh index dcc3f5b5..61df7192 100755 --- a/ansible/roles/OFED/files/enable_dropless_rq.sh +++ b/ansible/roles/OFED/files/enable_dropless_rq.sh @@ -8,8 +8,8 @@ NET_INTERFACE=$(basename /sys/bus/pci/devices/${PCI_ADDRESS}/net/*) # Enable dropless_rq feature # /sbin/ethtool --set-priv-flags ${NET_INTERFACE} dropless_rq on -# Disable flow control -/sbin/ethtool -A ${NET_INTERFACE} rx off tx off +# Enable flow control +/sbin/ethtool -A ${NET_INTERFACE} rx on tx on # Change PCI MaxReadReq to 1024B current_value=$(/usr/sbin/setpci -s ${PCI_ADDRESS} 68.w) |
