lwip: Remove SYS_ARCH_PROTECT calls in input
Remove protect and unprotect calls in xemacif_input because this is alreayd present inside individual interface's input calls and interrupt should be disabled only for that duration. Signed-off-by: Harini Katakam <harinik@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
eb187277b1
commit
c7705e5843
2 changed files with 1 additions and 6 deletions
1
ThirdParty/sw_services/lwip141/src/ChangeLog
vendored
1
ThirdParty/sw_services/lwip141/src/ChangeLog
vendored
|
@ -3,6 +3,7 @@ Change Log for lwip
|
||||||
2015-09-30
|
2015-09-30
|
||||||
* Created a new version lwip141_v1_3.
|
* Created a new version lwip141_v1_3.
|
||||||
* Made changes in xemacpsif_dma.c to add required barriers.
|
* Made changes in xemacpsif_dma.c to add required barriers.
|
||||||
|
* Remove repeated sysarch protect and unprotect calls.
|
||||||
2015-09-09
|
2015-09-09
|
||||||
* Fix compilation issues with the non hier axi eth design
|
* Fix compilation issues with the non hier axi eth design
|
||||||
2015-09-04
|
2015-09-04
|
||||||
|
|
|
@ -216,9 +216,7 @@ xemacif_input(struct netif *netif)
|
||||||
switch (emac->type) {
|
switch (emac->type) {
|
||||||
case xemac_type_xps_emaclite:
|
case xemac_type_xps_emaclite:
|
||||||
#ifdef XLWIP_CONFIG_INCLUDE_EMACLITE
|
#ifdef XLWIP_CONFIG_INCLUDE_EMACLITE
|
||||||
SYS_ARCH_PROTECT(lev);
|
|
||||||
n_packets = xemacliteif_input(netif);
|
n_packets = xemacliteif_input(netif);
|
||||||
SYS_ARCH_UNPROTECT(lev);
|
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
print("incorrect configuration: xps_ethernetlite drivers not present?");
|
print("incorrect configuration: xps_ethernetlite drivers not present?");
|
||||||
|
@ -227,9 +225,7 @@ xemacif_input(struct netif *netif)
|
||||||
#endif
|
#endif
|
||||||
case xemac_type_axi_ethernet:
|
case xemac_type_axi_ethernet:
|
||||||
#ifdef XLWIP_CONFIG_INCLUDE_AXI_ETHERNET
|
#ifdef XLWIP_CONFIG_INCLUDE_AXI_ETHERNET
|
||||||
SYS_ARCH_PROTECT(lev);
|
|
||||||
n_packets = xaxiemacif_input(netif);
|
n_packets = xaxiemacif_input(netif);
|
||||||
SYS_ARCH_UNPROTECT(lev);
|
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
print("incorrect configuration: axi_ethernet drivers not present?");
|
print("incorrect configuration: axi_ethernet drivers not present?");
|
||||||
|
@ -239,9 +235,7 @@ xemacif_input(struct netif *netif)
|
||||||
#if defined (__arm__) || defined (__aarch64__)
|
#if defined (__arm__) || defined (__aarch64__)
|
||||||
case xemac_type_emacps:
|
case xemac_type_emacps:
|
||||||
#ifdef XLWIP_CONFIG_INCLUDE_GEM
|
#ifdef XLWIP_CONFIG_INCLUDE_GEM
|
||||||
SYS_ARCH_PROTECT(lev);
|
|
||||||
n_packets = xemacpsif_input(netif);
|
n_packets = xemacpsif_input(netif);
|
||||||
SYS_ARCH_UNPROTECT(lev);
|
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
xil_printf("incorrect configuration: ps7_ethernet drivers not present?\r\n");
|
xil_printf("incorrect configuration: ps7_ethernet drivers not present?\r\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue