diff options
| author | nabijaczleweli <nabijaczleweli@gmail.com> | 2020-04-29 02:00:25 +0200 |
|---|---|---|
| committer | nabijaczleweli <nabijaczleweli@gmail.com> | 2020-04-29 18:57:13 +0200 |
| commit | e81f5fc4e86cef5a99e37eaaa2e5fb869bc76039 (patch) | |
| tree | be1d79f32dcec30948f3a92e9da659df116a1edd /src/shared/ethtool-util.h | |
| parent | 80af9bdabe2aa6421568d5d20f4c513cf49a3e43 (diff) | |
| download | systemd-e81f5fc4e86cef5a99e37eaaa2e5fb869bc76039.tar.gz | |
link: Allow configuring RX mini and jumbo ring sizes, too
This now covers all ethtool_ringparam configurables (as of v5.6;
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/ethtool.h?h=v5.6#n488)
Diffstat (limited to 'src/shared/ethtool-util.h')
| -rw-r--r-- | src/shared/ethtool-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/ethtool-util.h b/src/shared/ethtool-util.h index 55c41f5bc7..4730241708 100644 --- a/src/shared/ethtool-util.h +++ b/src/shared/ethtool-util.h @@ -84,9 +84,13 @@ typedef struct netdev_channels { typedef struct netdev_ring_param { uint32_t rx_pending; + uint32_t rx_mini_pending; + uint32_t rx_jumbo_pending; uint32_t tx_pending; bool rx_pending_set; + bool rx_mini_pending_set; + bool rx_jumbo_pending_set; bool tx_pending_set; } netdev_ring_param; |
