]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/atlantic/hw_atl/hw_atl_b0.c
net/bnxt: update trusted VF status only when it changes
[dpdk.git] / drivers / net / atlantic / hw_atl / hw_atl_b0.c
index dc8229bfcd3d4314e75398e70604059ede416c15..7d0e72401937396bd5ac37082e7911af127f9451 100644 (file)
@@ -26,6 +26,12 @@ int hw_atl_b0_hw_reset(struct aq_hw_s *self)
        return err;
 }
 
+int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc)
+{
+       hw_atl_rpb_rx_xoff_en_per_tc_set(self, !!(fc & AQ_NIC_FC_RX), tc);
+       return 0;
+}
+
 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self)
 {
        u32 tc = 0U;