Skip to content

Commit f9ade97

Browse files
authored
Merge pull request #33 from sureshmarikkannu/gro_off
Disable GRO flag on the data_iface to improve the throughput
2 parents 9514700 + 2c24a9b commit f9ade97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

roles/router/tasks/install.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
when: inventory_hostname in groups['master_nodes']
7171
become: true
7272

73+
- name: Disable GRO flag on the {{ core.data_iface }} interface
74+
shell: ethtool -K {{ core.data_iface }} gro off
75+
when: inventory_hostname in groups['master_nodes']
76+
become: true
77+
7378
- name: find {{ core.data_iface }}'s netplan network directory
7479
shell: basename $(find /*/systemd/network -maxdepth 1 -not -type d -name '*{{ core.data_iface }}.network' -print)
7580
register: result

0 commit comments

Comments
 (0)