ethtool: add support for the ethtool-dma namespace
This commit is contained in:
parent
2078f63e62
commit
3e7125aca0
1 changed files with 3 additions and 0 deletions
|
@ -50,5 +50,8 @@ up)
|
||||||
|
|
||||||
offload_settings=$(gather_params ETHTOOL_OFFLOAD)
|
offload_settings=$(gather_params ETHTOOL_OFFLOAD)
|
||||||
[ -z "$offload_settings" ] || $MOCK ethtool --offload "$IFACE" $offload_settings
|
[ -z "$offload_settings" ] || $MOCK ethtool --offload "$IFACE" $offload_settings
|
||||||
|
|
||||||
|
dma_settings=$(gather_params ETHTOOL_DMA_RING)
|
||||||
|
[ -z "$dma_settings" ] || $MOCK ethtool --set-ring "$IFACE" $dma_settings
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue