net/atlantic: enable broadcast traffic
authorIgor Russkikh <igor.russkikh@aquantia.com>
Mon, 29 Apr 2019 08:20:09 +0000 (08:20 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
Broadcast was not correctly and fully initialized

Fixes: 7906661edac6 ("net/atlantic: add b0 hardware layer")
Cc: stable@dpdk.org
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/hw_atl/hw_atl_b0.c

index 03b1a64..dc8229b 100644 (file)
@@ -286,6 +286,8 @@ int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self)
        hw_atl_rpfl2broadcast_flr_act_set(self, 1U);
        hw_atl_rpfl2broadcast_count_threshold_set(self, 0xFFFFU & (~0U / 256U));
 
+       hw_atl_rpfl2broadcast_en_set(self, 1U);
+
        hw_atl_rdm_rx_dca_en_set(self, 0U);
        hw_atl_rdm_rx_dca_mode_set(self, 0U);