ethernet: support pin emac task to core

This commit is contained in:
morris
2020-05-27 18:55:38 +08:00
parent 9718338984
commit d96d68ea38
4 changed files with 16 additions and 4 deletions

View File

@@ -275,6 +275,7 @@ typedef struct {
} eth_mac_config_t;
#define ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE (1 << 0) /*!< MAC driver can work when cache is disabled */
#define ETH_MAC_FLAG_PIN_TO_CORE (1 << 1) /*!< Pin MAC task to the CPU core where driver installation happened */
/**
* @brief Default configuration for Ethernet MAC object