ixgbe_4.13_compat.patch 553 B

1234567891011121314
  1. diff --git a/src/ixgbe_main.c.orig b/src/ixgbe_main.c
  2. index 68bead6..bb3a100 100644
  3. --- a/src/ixgbe_main.c.orig
  4. +++ b/src/ixgbe_main.c
  5. @@ -9809,7 +9809,8 @@ static void ixgbe_set_prio_tc_map(struct ixgbe_adapter __maybe_unused *adapter)
  6. #ifdef NETIF_F_HW_TC
  7. static int
  8. __ixgbe_setup_tc(struct net_device *dev, __always_unused u32 handle,
  9. - __always_unused __be16 proto, struct tc_to_netdev *tc)
  10. + __always_unused u32 chain_index, __always_unused __be16 proto,
  11. + struct tc_to_netdev *tc)
  12. {
  13. if (tc->type != TC_SETUP_MQPRIO)
  14. return -EINVAL;