diff options
Diffstat (limited to 'sys/dev/qlxgbe/ql_hw.c')
| -rw-r--r-- | sys/dev/qlxgbe/ql_hw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/qlxgbe/ql_hw.c b/sys/dev/qlxgbe/ql_hw.c index 816e86a2c94c..340fc779b10c 100644 --- a/sys/dev/qlxgbe/ql_hw.c +++ b/sys/dev/qlxgbe/ql_hw.c @@ -2751,6 +2751,7 @@ qla_config_rss_ind_table(qla_host_t *ha) static int qla_config_soft_lro(qla_host_t *ha) { +#if defined(INET) || defined(INET6) int i; qla_hw_t *hw = &ha->hw; struct lro_ctrl *lro; @@ -2780,12 +2781,14 @@ qla_config_soft_lro(qla_host_t *ha) } QL_DPRINT2(ha, (ha->pci_dev, "%s: LRO initialized\n", __func__)); +#endif return (0); } static void qla_drain_soft_lro(qla_host_t *ha) { +#if defined(INET) || defined(INET6) int i; qla_hw_t *hw = &ha->hw; struct lro_ctrl *lro; @@ -2805,6 +2808,7 @@ qla_drain_soft_lro(qla_host_t *ha) } #endif /* #if (__FreeBSD_version >= 1100101) */ } +#endif return; } @@ -2812,6 +2816,7 @@ qla_drain_soft_lro(qla_host_t *ha) static void qla_free_soft_lro(qla_host_t *ha) { +#if defined(INET) || defined(INET6) int i; qla_hw_t *hw = &ha->hw; struct lro_ctrl *lro; @@ -2820,6 +2825,7 @@ qla_free_soft_lro(qla_host_t *ha) lro = &hw->sds[i].lro; tcp_lro_free(lro); } +#endif return; } |
